[INFO] cloning repository https://github.com/jf908/rust-svelte-crud-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jf908/rust-svelte-crud-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjf908%2Frust-svelte-crud-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjf908%2Frust-svelte-crud-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17363ae67b0420c3827d59f671383085d2567100 [INFO] checking jf908/rust-svelte-crud-app against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjf908%2Frust-svelte-crud-app" "/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/jf908/rust-svelte-crud-app on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jf908/rust-svelte-crud-app [INFO] finished tweaking git repo https://github.com/jf908/rust-svelte-crud-app [INFO] tweaked toml for git repo https://github.com/jf908/rust-svelte-crud-app written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/jf908/rust-svelte-crud-app already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex v1.4.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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2522e776aebbc77e061b6791ebb8faab88b328e4aa041cc919400797731605aa [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" "2522e776aebbc77e061b6791ebb8faab88b328e4aa041cc919400797731605aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2522e776aebbc77e061b6791ebb8faab88b328e4aa041cc919400797731605aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2522e776aebbc77e061b6791ebb8faab88b328e4aa041cc919400797731605aa", kill_on_drop: false }` [INFO] [stdout] 2522e776aebbc77e061b6791ebb8faab88b328e4aa041cc919400797731605aa [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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85b66281285e6baf941950e8f740adb4a4b7e2cd83e2242ef1eb6ed2100f1eb5 [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" "85b66281285e6baf941950e8f740adb4a4b7e2cd83e2242ef1eb6ed2100f1eb5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling whoami v1.1.0 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking sqlformat v0.1.6 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking tokio-util v0.6.4 [INFO] [stderr] Checking tokio-stream v0.1.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking sqlx-rt v0.3.0 [INFO] [stderr] Checking h2 v0.3.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking sqlx-core v0.5.1 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Compiling sqlx-macros v0.5.1 [INFO] [stderr] Checking warp v0.3.0 [INFO] [stderr] Checking sqlx v0.5.1 [INFO] [stderr] Checking seikatsu-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/handlers.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | let id = sqlx::query!( [INFO] [stdout] | ____________^ [INFO] [stdout] 17 | | "INSERT INTO questions (body, created_at, modified_at) VALUES(?,?,?)", [INFO] [stdout] 18 | | q.body, [INFO] [stdout] 19 | | now, [INFO] [stdout] 20 | | now [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/handlers.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | sqlx::query!("INSERT INTO question_tags VALUES(?,?)", id, tag,) [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:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let tags = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 87 | | "SELECT tag_id FROM question_tags [INFO] [stdout] 88 | | INNER JOIN tags ON id = tag_id [INFO] [stdout] 89 | | WHERE question_id = ? [INFO] [stdout] 90 | | ORDER BY name", [INFO] [stdout] 91 | | q.id [INFO] [stdout] 92 | | ) [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:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | let tags = sqlx::query_as!(Tag, "SELECT id, name, color FROM tags ORDER BY 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/handlers.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | / sqlx::query!( [INFO] [stdout] 127 | | "UPDATE questions SET body = ?, modified_at = ? WHERE id = ?", [INFO] [stdout] 128 | | json.body, [INFO] [stdout] 129 | | now, [INFO] [stdout] 130 | | json.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/handlers.rs:140:3 [INFO] [stdout] | [INFO] [stdout] 140 | sqlx::query!("DELETE FROM questions WHERE id = ?", id.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/handlers.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | let id = sqlx::query!( [INFO] [stdout] | ____________^ [INFO] [stdout] 152 | | "INSERT INTO tags (name, color, created_at, modified_at) VALUES(?,?,?,?)", [INFO] [stdout] 153 | | tag.name, [INFO] [stdout] 154 | | tag.color, [INFO] [stdout] 155 | | now, [INFO] [stdout] 156 | | now [INFO] [stdout] 157 | | ) [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:170:3 [INFO] [stdout] | [INFO] [stdout] 170 | sqlx::query!("DELETE FROM tags WHERE id = ?", id.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/handlers.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / sqlx::query!( [INFO] [stdout] 185 | | "UPDATE tags SET name = ?, modified_at = ? WHERE id = ?", [INFO] [stdout] 186 | | name, [INFO] [stdout] 187 | | now, [INFO] [stdout] 188 | | json.id [INFO] [stdout] 189 | | ) [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:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | / sqlx::query!( [INFO] [stdout] 197 | | "UPDATE tags SET color = ?, modified_at = ? WHERE id = ?", [INFO] [stdout] 198 | | color, [INFO] [stdout] 199 | | now, [INFO] [stdout] 200 | | json.id [INFO] [stdout] 201 | | ) [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:216:3 [INFO] [stdout] | [INFO] [stdout] 216 | / sqlx::query!( [INFO] [stdout] 217 | | "INSERT INTO question_tags VALUES(?,?)", [INFO] [stdout] 218 | | tag.question_id, [INFO] [stdout] 219 | | tag.tag_id [INFO] [stdout] 220 | | ) [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:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | let id = sqlx::query!( [INFO] [stdout] | ____________^ [INFO] [stdout] 17 | | "INSERT INTO questions (body, created_at, modified_at) VALUES(?,?,?)", [INFO] [stdout] 18 | | q.body, [INFO] [stdout] 19 | | now, [INFO] [stdout] 20 | | now [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/handlers.rs:232:3 [INFO] [stdout] | [INFO] [stdout] 232 | / sqlx::query!( [INFO] [stdout] 233 | | "DELETE FROM question_tags WHERE question_id = ? AND tag_id = ?", [INFO] [stdout] 234 | | tag.question_id, [INFO] [stdout] 235 | | tag.tag_id, [INFO] [stdout] 236 | | ) [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:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | sqlx::query!("INSERT INTO question_tags VALUES(?,?)", id, tag,) [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:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let tags = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 87 | | "SELECT tag_id FROM question_tags [INFO] [stdout] 88 | | INNER JOIN tags ON id = tag_id [INFO] [stdout] 89 | | WHERE question_id = ? [INFO] [stdout] 90 | | ORDER BY name", [INFO] [stdout] 91 | | q.id [INFO] [stdout] 92 | | ) [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:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | let tags = sqlx::query_as!(Tag, "SELECT id, name, color FROM tags ORDER BY 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/handlers.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | / sqlx::query!( [INFO] [stdout] 127 | | "UPDATE questions SET body = ?, modified_at = ? WHERE id = ?", [INFO] [stdout] 128 | | json.body, [INFO] [stdout] 129 | | now, [INFO] [stdout] 130 | | json.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/handlers.rs:140:3 [INFO] [stdout] | [INFO] [stdout] 140 | sqlx::query!("DELETE FROM questions WHERE id = ?", id.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/handlers.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | let id = sqlx::query!( [INFO] [stdout] | ____________^ [INFO] [stdout] 152 | | "INSERT INTO tags (name, color, created_at, modified_at) VALUES(?,?,?,?)", [INFO] [stdout] 153 | | tag.name, [INFO] [stdout] 154 | | tag.color, [INFO] [stdout] 155 | | now, [INFO] [stdout] 156 | | now [INFO] [stdout] 157 | | ) [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:170:3 [INFO] [stdout] | [INFO] [stdout] 170 | sqlx::query!("DELETE FROM tags WHERE id = ?", id.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/handlers.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / sqlx::query!( [INFO] [stdout] 185 | | "UPDATE tags SET name = ?, modified_at = ? WHERE id = ?", [INFO] [stdout] 186 | | name, [INFO] [stdout] 187 | | now, [INFO] [stdout] 188 | | json.id [INFO] [stdout] 189 | | ) [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:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | / sqlx::query!( [INFO] [stdout] 197 | | "UPDATE tags SET color = ?, modified_at = ? WHERE id = ?", [INFO] [stdout] 198 | | color, [INFO] [stdout] 199 | | now, [INFO] [stdout] 200 | | json.id [INFO] [stdout] 201 | | ) [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:216:3 [INFO] [stdout] | [INFO] [stdout] 216 | / sqlx::query!( [INFO] [stdout] 217 | | "INSERT INTO question_tags VALUES(?,?)", [INFO] [stdout] 218 | | tag.question_id, [INFO] [stdout] 219 | | tag.tag_id [INFO] [stdout] 220 | | ) [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:232:3 [INFO] [stdout] | [INFO] [stdout] 232 | / sqlx::query!( [INFO] [stdout] 233 | | "DELETE FROM question_tags WHERE question_id = ? AND tag_id = ?", [INFO] [stdout] 234 | | tag.question_id, [INFO] [stdout] 235 | | tag.tag_id, [INFO] [stdout] 236 | | ) [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: `Tag` [INFO] [stdout] --> src/handlers.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | QuestionTag, Tag, TagEdit, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tag` [INFO] [stdout] --> src/handlers.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | QuestionTag, Tag, TagEdit, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `seikatsu-server` [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 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "85b66281285e6baf941950e8f740adb4a4b7e2cd83e2242ef1eb6ed2100f1eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85b66281285e6baf941950e8f740adb4a4b7e2cd83e2242ef1eb6ed2100f1eb5", kill_on_drop: false }` [INFO] [stdout] 85b66281285e6baf941950e8f740adb4a4b7e2cd83e2242ef1eb6ed2100f1eb5