[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] 9fb810f7762c001695f05b49c34abc16b4b72287 [INFO] checking hone/erebor-record-keeper against try#b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f for pr-76104 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhone%2Ferebor-record-keeper" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hone/erebor-record-keeper on toolchain b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/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" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-trait v0.1.37 [INFO] [stderr] Downloaded sqlx-rt v0.1.1 [INFO] [stderr] Downloaded sqlx v0.4.0-beta.1 [INFO] [stderr] Downloaded serenity v0.9.0-rc.0 [INFO] [stderr] Downloaded command_attr v0.3.0-rc.0 [INFO] [stderr] Downloaded sqlx-core v0.4.0-beta.1 [INFO] [stderr] Downloaded sqlx-macros v0.4.0-beta.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 170acf3d5e1bf824a24ff13f918d90c4e26bb0e4d713b8ef5bfc3f2d535f8b01 [INFO] running `Command { std: "docker" "start" "-a" "170acf3d5e1bf824a24ff13f918d90c4e26bb0e4d713b8ef5bfc3f2d535f8b01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "170acf3d5e1bf824a24ff13f918d90c4e26bb0e4d713b8ef5bfc3f2d535f8b01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "170acf3d5e1bf824a24ff13f918d90c4e26bb0e4d713b8ef5bfc3f2d535f8b01", kill_on_drop: false }` [INFO] [stdout] 170acf3d5e1bf824a24ff13f918d90c4e26bb0e4d713b8ef5bfc3f2d535f8b01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a0d5b8e39d282e90009a671c71bf63e2facf3ebea014927c7a1a86585ed66316 [INFO] running `Command { std: "docker" "start" "-a" "a0d5b8e39d282e90009a671c71bf63e2facf3ebea014927c7a1a86585ed66316", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling whoami v0.9.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Compiling serenity v0.9.0-rc.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking typemap_rev v0.1.3 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking tracing-core v0.1.11 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking tracing v0.1.17 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking atoi v0.3.2 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sqlformat v0.1.0 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking tungstenite v0.10.1 [INFO] [stderr] Checking rustls v0.18.0 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking webpki-roots v0.17.0 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling command_attr v0.3.0-rc.0 [INFO] [stderr] Compiling async-trait v0.1.37 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-native-tls v0.1.0 [INFO] [stderr] Checking tokio-rustls v0.14.0 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking sqlx-rt v0.1.1 [INFO] [stderr] Checking serde v1.0.114 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking sqlx-core v0.4.0-beta.1 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking async-tls v0.6.0 [INFO] [stderr] Checking async-tungstenite v0.4.2 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking hyper v0.13.7 [INFO] [stderr] Compiling sqlx-macros v0.4.0-beta.1 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.7 [INFO] [stderr] Checking sqlx v0.4.0-beta.1 [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/bin/fetch_scenarios.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | let queried_sets = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 22 | | r#" [INFO] [stdout] 23 | | SELECT id [INFO] [stdout] 24 | | FROM sets [INFO] [stdout] ... | [INFO] [stdout] 27 | | scenario.set [INFO] [stdout] 28 | | ) [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/bin/fetch_scenarios.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | let set = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 34 | | r#" [INFO] [stdout] 35 | | INSERT INTO sets ( name ) [INFO] [stdout] 36 | | VALUES ( $1 ) [INFO] [stdout] ... | [INFO] [stdout] 39 | | scenario.set [INFO] [stdout] 40 | | ) [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/bin/fetch_scenarios.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | / sqlx::query!( [INFO] [stdout] 52 | | r#" [INFO] [stdout] 53 | | INSERT INTO scenarios ( title, set_id, number, code ) [INFO] [stdout] 54 | | VALUES ( $1, $2, $3, $4 ) [INFO] [stdout] ... | [INFO] [stdout] 60 | | generate_code(set_id, scenario.number), [INFO] [stdout] 61 | | ) [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: aborting due to 3 previous errors [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] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/bin/fetch_scenarios.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | let queried_sets = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 22 | | r#" [INFO] [stdout] 23 | | SELECT id [INFO] [stdout] 24 | | FROM sets [INFO] [stdout] ... | [INFO] [stdout] 27 | | scenario.set [INFO] [stdout] 28 | | ) [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/event.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | let scenarios = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 104 | | r#" [INFO] [stdout] 105 | | SELECT id, title [INFO] [stdout] 106 | | FROM scenarios [INFO] [stdout] ... | [INFO] [stdout] 109 | | set_id [INFO] [stdout] 110 | | ) [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/event.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | let row_count = sqlx::query!( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 125 | | r#" [INFO] [stdout] 126 | | INSERT INTO events_scenarios ( event_id, scenario_id ) [INFO] [stdout] 127 | | VALUES ( $1, $2 ) [INFO] [stdout] ... | [INFO] [stdout] 130 | | scenario.id [INFO] [stdout] 131 | | ) [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/event.rs:147:33 [INFO] [stdout] | [INFO] [stdout] 147 | let row_count = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 148 | | r#" [INFO] [stdout] 149 | | INSERT INTO events_scenarios ( event_id, scenario_id ) [INFO] [stdout] 150 | | SELECT $1, scenarios.id [INFO] [stdout] ... | [INFO] [stdout] 160 | | set_id [INFO] [stdout] 161 | | ) [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/event.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | let row_count = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 174 | | r#" [INFO] [stdout] 175 | | INSERT INTO events_scenarios ( event_id, scenario_id ) [INFO] [stdout] 176 | | SELECT $1, scenarios.id [INFO] [stdout] ... | [INFO] [stdout] 184 | | event.id, [INFO] [stdout] 185 | | ) [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/bin/fetch_scenarios.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | let set = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 34 | | r#" [INFO] [stdout] 35 | | INSERT INTO sets ( name ) [INFO] [stdout] 36 | | VALUES ( $1 ) [INFO] [stdout] ... | [INFO] [stdout] 39 | | scenario.set [INFO] [stdout] 40 | | ) [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/bin/fetch_scenarios.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | / sqlx::query!( [INFO] [stdout] 52 | | r#" [INFO] [stdout] 53 | | INSERT INTO scenarios ( title, set_id, number, code ) [INFO] [stdout] 54 | | VALUES ( $1, $2, $3, $4 ) [INFO] [stdout] ... | [INFO] [stdout] 60 | | generate_code(set_id, scenario.number), [INFO] [stdout] 61 | | ) [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/event.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 207 | let events = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 208 | | r#" [INFO] [stdout] 209 | | SELECT id, name [INFO] [stdout] 210 | | FROM events [INFO] [stdout] ... | [INFO] [stdout] 213 | | "# [INFO] [stdout] 214 | | ) [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/event.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | / sqlx::query!( [INFO] [stdout] 227 | | r#" [INFO] [stdout] 228 | | UPDATE events [INFO] [stdout] 229 | | SET active = false, [INFO] [stdout] ... | [INFO] [stdout] 232 | | "# [INFO] [stdout] 233 | | ) [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/event.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | / sqlx::query!( [INFO] [stdout] 238 | | r#" [INFO] [stdout] 239 | | UPDATE events [INFO] [stdout] 240 | | SET active = true, [INFO] [stdout] ... | [INFO] [stdout] 243 | | event.id [INFO] [stdout] 244 | | ) [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/event.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | / sqlx::query!( [INFO] [stdout] 289 | | r#" [INFO] [stdout] 290 | | UPDATE events [INFO] [stdout] 291 | | SET active = false, [INFO] [stdout] ... | [INFO] [stdout] 296 | | event.id [INFO] [stdout] 297 | | ) [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/event.rs:326:21 [INFO] [stdout] | [INFO] [stdout] 326 | let times = sqlx::query!(r#" [INFO] [stdout] | _____________________^ [INFO] [stdout] 327 | | SELECT cast(extract(epoch from current_timestamp) AS integer) AS current, cast(extract(epoch from CURRENT_TIMESTAMP - INTERVAL '1 minutes... [INFO] [stdout] 328 | | FROM events_scenarios [INFO] [stdout] 329 | | WHERE events_scenarios.event_id = $1 [INFO] [stdout] 330 | | "#, event.id).fetch_all(pool).await?; [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/event.rs:339:25 [INFO] [stdout] | [INFO] [stdout] 339 | let scenarios = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 340 | | r#" [INFO] [stdout] 341 | | SELECT scenarios.title, sets.name AS set_name, scenarios.code [INFO] [stdout] 342 | | FROM scenarios, events_scenarios, sets [INFO] [stdout] ... | [INFO] [stdout] 352 | | quantity, [INFO] [stdout] 353 | | ) [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/event.rs:410:24 [INFO] [stdout] | [INFO] [stdout] 410 | if let Ok(s) = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 411 | | r#" [INFO] [stdout] 412 | | SELECT id, title [INFO] [stdout] 413 | | FROM scenarios [INFO] [stdout] ... | [INFO] [stdout] 416 | | code [INFO] [stdout] 417 | | ) [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/event.rs:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | let row_count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 434 | | r#" [INFO] [stdout] 435 | | UPDATE events_scenarios [INFO] [stdout] 436 | | SET complete = true, [INFO] [stdout] ... | [INFO] [stdout] 442 | | scenario.id, [INFO] [stdout] 443 | | ) [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/event.rs:481:24 [INFO] [stdout] | [INFO] [stdout] 481 | if let Ok(s) = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 482 | | r#" [INFO] [stdout] 483 | | SELECT id, title [INFO] [stdout] 484 | | FROM scenarios [INFO] [stdout] ... | [INFO] [stdout] 487 | | code [INFO] [stdout] 488 | | ) [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/event.rs:504:29 [INFO] [stdout] | [INFO] [stdout] 504 | if let Ok(result) = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 505 | | r#" [INFO] [stdout] 506 | | UPDATE events_scenarios [INFO] [stdout] 507 | | SET checkout = CURRENT_TIMESTAMP, [INFO] [stdout] ... | [INFO] [stdout] 516 | | scenario.id, [INFO] [stdout] 517 | | ) [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/event.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | let scenarios = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 104 | | r#" [INFO] [stdout] 105 | | SELECT id, title [INFO] [stdout] 106 | | FROM scenarios [INFO] [stdout] ... | [INFO] [stdout] 109 | | set_id [INFO] [stdout] 110 | | ) [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/event.rs:124:37 [INFO] [stdout] | [INFO] [stdout] 124 | let row_count = sqlx::query!( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 125 | | r#" [INFO] [stdout] 126 | | INSERT INTO events_scenarios ( event_id, scenario_id ) [INFO] [stdout] 127 | | VALUES ( $1, $2 ) [INFO] [stdout] ... | [INFO] [stdout] 130 | | scenario.id [INFO] [stdout] 131 | | ) [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/event.rs:147:33 [INFO] [stdout] | [INFO] [stdout] 147 | let row_count = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 148 | | r#" [INFO] [stdout] 149 | | INSERT INTO events_scenarios ( event_id, scenario_id ) [INFO] [stdout] 150 | | SELECT $1, scenarios.id [INFO] [stdout] ... | [INFO] [stdout] 160 | | set_id [INFO] [stdout] 161 | | ) [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/event.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | let row_count = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 174 | | r#" [INFO] [stdout] 175 | | INSERT INTO events_scenarios ( event_id, scenario_id ) [INFO] [stdout] 176 | | SELECT $1, scenarios.id [INFO] [stdout] ... | [INFO] [stdout] 184 | | event.id, [INFO] [stdout] 185 | | ) [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/event.rs:548:20 [INFO] [stdout] | [INFO] [stdout] 548 | let calc = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 549 | | r#" [INFO] [stdout] 550 | | SELECT (cnt/total::float)*100 AS perc [INFO] [stdout] 551 | | FROM ( [INFO] [stdout] ... | [INFO] [stdout] 558 | | event.id [INFO] [stdout] 559 | | ) [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/event.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 207 | let events = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 208 | | r#" [INFO] [stdout] 209 | | SELECT id, name [INFO] [stdout] 210 | | FROM events [INFO] [stdout] ... | [INFO] [stdout] 213 | | "# [INFO] [stdout] 214 | | ) [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/quest.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let scenarios = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 40 | | Scenario, [INFO] [stdout] 41 | | r#" [INFO] [stdout] 42 | | SELECT scenarios.title, sets.name AS set_name [INFO] [stdout] ... | [INFO] [stdout] 48 | | quantity [INFO] [stdout] 49 | | ) [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/event.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | / sqlx::query!( [INFO] [stdout] 227 | | r#" [INFO] [stdout] 228 | | UPDATE events [INFO] [stdout] 229 | | SET active = false, [INFO] [stdout] ... | [INFO] [stdout] 232 | | "# [INFO] [stdout] 233 | | ) [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/event.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | / sqlx::query!( [INFO] [stdout] 238 | | r#" [INFO] [stdout] 239 | | UPDATE events [INFO] [stdout] 240 | | SET active = true, [INFO] [stdout] ... | [INFO] [stdout] 243 | | event.id [INFO] [stdout] 244 | | ) [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/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/commands/event.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | / sqlx::query!( [INFO] [stdout] 289 | | r#" [INFO] [stdout] 290 | | UPDATE events [INFO] [stdout] 291 | | SET active = false, [INFO] [stdout] ... | [INFO] [stdout] 296 | | event.id [INFO] [stdout] 297 | | ) [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/event.rs:326:21 [INFO] [stdout] | [INFO] [stdout] 326 | let times = sqlx::query!(r#" [INFO] [stdout] | _____________________^ [INFO] [stdout] 327 | | SELECT cast(extract(epoch from current_timestamp) AS integer) AS current, cast(extract(epoch from CURRENT_TIMESTAMP - INTERVAL '1 minutes... [INFO] [stdout] 328 | | FROM events_scenarios [INFO] [stdout] 329 | | WHERE events_scenarios.event_id = $1 [INFO] [stdout] 330 | | "#, event.id).fetch_all(pool).await?; [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/event.rs:339:25 [INFO] [stdout] | [INFO] [stdout] 339 | let scenarios = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 340 | | r#" [INFO] [stdout] 341 | | SELECT scenarios.title, sets.name AS set_name, scenarios.code [INFO] [stdout] 342 | | FROM scenarios, events_scenarios, sets [INFO] [stdout] ... | [INFO] [stdout] 352 | | quantity, [INFO] [stdout] 353 | | ) [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/event.rs:410:24 [INFO] [stdout] | [INFO] [stdout] 410 | if let Ok(s) = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 411 | | r#" [INFO] [stdout] 412 | | SELECT id, title [INFO] [stdout] 413 | | FROM scenarios [INFO] [stdout] ... | [INFO] [stdout] 416 | | code [INFO] [stdout] 417 | | ) [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/event.rs:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | let row_count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 434 | | r#" [INFO] [stdout] 435 | | UPDATE events_scenarios [INFO] [stdout] 436 | | SET complete = true, [INFO] [stdout] ... | [INFO] [stdout] 442 | | scenario.id, [INFO] [stdout] 443 | | ) [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/event.rs:481:24 [INFO] [stdout] | [INFO] [stdout] 481 | if let Ok(s) = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 482 | | r#" [INFO] [stdout] 483 | | SELECT id, title [INFO] [stdout] 484 | | FROM scenarios [INFO] [stdout] ... | [INFO] [stdout] 487 | | code [INFO] [stdout] 488 | | ) [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/event.rs:504:29 [INFO] [stdout] | [INFO] [stdout] 504 | if let Ok(result) = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 505 | | r#" [INFO] [stdout] 506 | | UPDATE events_scenarios [INFO] [stdout] 507 | | SET checkout = CURRENT_TIMESTAMP, [INFO] [stdout] ... | [INFO] [stdout] 516 | | scenario.id, [INFO] [stdout] 517 | | ) [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/event.rs:548:20 [INFO] [stdout] | [INFO] [stdout] 548 | let calc = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 549 | | r#" [INFO] [stdout] 550 | | SELECT (cnt/total::float)*100 AS perc [INFO] [stdout] 551 | | FROM ( [INFO] [stdout] ... | [INFO] [stdout] 558 | | event.id [INFO] [stdout] 559 | | ) [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/quest.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let scenarios = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 40 | | Scenario, [INFO] [stdout] 41 | | r#" [INFO] [stdout] 42 | | SELECT scenarios.title, sets.name AS set_name [INFO] [stdout] ... | [INFO] [stdout] 48 | | quantity [INFO] [stdout] 49 | | ) [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/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[E0609]: no field `name` on type `&_` [INFO] [stdout] --> src/commands/event.rs:251:64 [INFO] [stdout] | [INFO] [stdout] 251 | format!("'{}' is now the active event.", event.name), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `&_` [INFO] [stdout] --> src/commands/event.rs:251:64 [INFO] [stdout] | [INFO] [stdout] 251 | format!("'{}' is now the active event.", event.name), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::prelude::Done` [INFO] [stdout] --> src/commands/event.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sqlx::prelude::Done; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::prelude::Done` [INFO] [stdout] --> src/commands/event.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sqlx::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] [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] [INFO] [stdout] error: aborting due to 21 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a0d5b8e39d282e90009a671c71bf63e2facf3ebea014927c7a1a86585ed66316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0d5b8e39d282e90009a671c71bf63e2facf3ebea014927c7a1a86585ed66316", kill_on_drop: false }` [INFO] [stdout] a0d5b8e39d282e90009a671c71bf63e2facf3ebea014927c7a1a86585ed66316