[INFO] cloning repository https://github.com/lightsing/vtuber-quiz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lightsing/vtuber-quiz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flightsing%2Fvtuber-quiz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flightsing%2Fvtuber-quiz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd17984833a1ece6dee14e00a7ef926893d32366 [INFO] testing lightsing/vtuber-quiz against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flightsing%2Fvtuber-quiz" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lightsing/vtuber-quiz on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lightsing/vtuber-quiz [INFO] finished tweaking git repo https://github.com/lightsing/vtuber-quiz [INFO] tweaked toml for git repo https://github.com/lightsing/vtuber-quiz written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/lightsing/vtuber-quiz already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af7a637af3fc0ff42d992eefd0c346d79a83c562ae1eb41125317527eb9b7d1d [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" "af7a637af3fc0ff42d992eefd0c346d79a83c562ae1eb41125317527eb9b7d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af7a637af3fc0ff42d992eefd0c346d79a83c562ae1eb41125317527eb9b7d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af7a637af3fc0ff42d992eefd0c346d79a83c562ae1eb41125317527eb9b7d1d", kill_on_drop: false }` [INFO] [stdout] af7a637af3fc0ff42d992eefd0c346d79a83c562ae1eb41125317527eb9b7d1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b74a6667aca30cce21d05e7c09cf85dc4fbe71376630f97e7a9ef49e21e8e89 [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" "5b74a6667aca30cce21d05e7c09cf85dc4fbe71376630f97e7a9ef49e21e8e89", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling local-waker v0.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.15.0 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling actix-service v2.0.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rust-argon2 v0.8.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling actix-codec v0.4.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling sqlx-rt v0.5.5 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.2 [INFO] [stderr] Compiling actix-rt v2.2.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling actix-server v2.0.0-beta.5 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling actix-tls v3.0.0-beta.5 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-http v3.0.0-beta.6 [INFO] [stderr] Compiling serde_plain v0.3.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling hyper v0.14.7 [INFO] [stderr] Compiling sqlx-core v0.5.5 [INFO] [stderr] Compiling actix-web v4.0.0-beta.6 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling actix-session v0.5.0-beta.1 (https://github.com/nhruo123/actix-extras.git?branch=beta-6-patch#b4e8db44) [INFO] [stderr] Compiling hcaptcha v1.0.1 [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Compiling sqlx v0.5.5 [INFO] [stderr] Compiling vtuber-quiz-commons v0.1.0 (/opt/rustwide/workdir/commons) [INFO] [stderr] Compiling vtuber-quiz-backend v0.1.0 (/opt/rustwide/workdir/backend) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/db.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / query!(r#" [INFO] [stdout] 24 | | insert into "user" (username, password) [INFO] [stdout] 25 | | values ( $1, $2 ) [INFO] [stdout] 26 | | returning id"#, [INFO] [stdout] 27 | | username, [INFO] [stdout] 28 | | hashed [INFO] [stdout] 29 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/db.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | let user = query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 46 | | User, [INFO] [stdout] 47 | | r#" [INFO] [stdout] 48 | | select id, username, password, challenge, blocked, role as "role: UserRole", reputation, created, updated [INFO] [stdout] ... | [INFO] [stdout] 53 | | username [INFO] [stdout] 54 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/db.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | let user = query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 62 | | User, [INFO] [stdout] 63 | | r#" [INFO] [stdout] 64 | | select id, username, password, challenge, blocked, role as "role: UserRole", reputation, created, updated [INFO] [stdout] ... | [INFO] [stdout] 68 | | id [INFO] [stdout] 69 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/db.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | match query!(r#"update "user" set challenge = $1 where id = $2"#, &challenge, id).execute(pool).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/db.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | match query!(r#"insert into following (follower, followee, private) values ($1, $2, $3)"#, from, to, private).execute(pool).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/db.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | query!(r#"delete from following where follower = $1 and followee = $2"#, from, to) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/db.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | / query!(r#" [INFO] [stdout] 128 | | insert into question (creator, description, choices, answer, "type", audiences, draft) [INFO] [stdout] 129 | | values ($1, $2, $3, $4, $5, $6, $7) [INFO] [stdout] 130 | | returning id"#, [INFO] [stdout] ... | [INFO] [stdout] 137 | | question.draft [INFO] [stdout] 138 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/db.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | / query!(r#" [INFO] [stdout] 147 | | update question [INFO] [stdout] 148 | | set [INFO] [stdout] 149 | | description = $1, [INFO] [stdout] ... | [INFO] [stdout] 161 | | question.id [INFO] [stdout] 162 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/db.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | / query_as!( [INFO] [stdout] 171 | | Question, [INFO] [stdout] 172 | | r#" [INFO] [stdout] 173 | | select id, creator, description, choices, answer, [INFO] [stdout] ... | [INFO] [stdout] 179 | | qid [INFO] [stdout] 180 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/db.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | query!(r#"update question set deleted = true where id = $1"#, qid) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/db.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | query!(r#"insert into apply_to (question, vtuber) values ($1, $2) on conflict do nothing"#, qid, uid) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/db.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | query!(r#"delete from apply_to where question = $1 and vtuber = $2"#, qid, uid) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/db.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | query!(r#"select vtuber from apply_to where question = $1"#, qid) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/db.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | query!(r#"insert into vote (voter, question, action) values ($1, $2, $3)"#, uid, qid, action as _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> backend/src/db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::StreamExt` [INFO] [stdout] --> backend/src/db.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | use futures_util::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vtuber-quiz-backend` due to 15 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5b74a6667aca30cce21d05e7c09cf85dc4fbe71376630f97e7a9ef49e21e8e89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b74a6667aca30cce21d05e7c09cf85dc4fbe71376630f97e7a9ef49e21e8e89", kill_on_drop: false }` [INFO] [stdout] 5b74a6667aca30cce21d05e7c09cf85dc4fbe71376630f97e7a9ef49e21e8e89