[INFO] cloning repository https://github.com/r0m4n27/help_me [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r0m4n27/help_me" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr0m4n27%2Fhelp_me", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr0m4n27%2Fhelp_me'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66c3cdfef6dcfc9f88ff66649805e92e7d64abf5 [INFO] checking r0m4n27/help_me against master#1e225413a21fa69570bd3fefea9eb05e33f8b917 for pr-107421 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr0m4n27%2Fhelp_me" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r0m4n27/help_me on toolchain 1e225413a21fa69570bd3fefea9eb05e33f8b917 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1e225413a21fa69570bd3fefea9eb05e33f8b917" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/r0m4n27/help_me [INFO] finished tweaking git repo https://github.com/r0m4n27/help_me [INFO] tweaked toml for git repo https://github.com/r0m4n27/help_me written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/r0m4n27/help_me already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1e225413a21fa69570bd3fefea9eb05e33f8b917" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/SergioBenitez/Rocket` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-rt v0.5.9 [INFO] [stderr] Downloaded sqlx-macros v0.5.9 [INFO] [stderr] Downloaded tracing-subscriber v0.3.4 [INFO] [stderr] Downloaded cookie v0.16.0-rc.1 [INFO] [stderr] Downloaded sqlx-core v0.5.9 [INFO] [stderr] Downloaded sqlx v0.5.9 [INFO] [stderr] Downloaded blake2 v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+1e225413a21fa69570bd3fefea9eb05e33f8b917" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1dd8c0a0cd4dab924d1ee07a44e272126792e8828c8533a1a7068b29ee9d0051 [INFO] running `Command { std: "docker" "start" "-a" "1dd8c0a0cd4dab924d1ee07a44e272126792e8828c8533a1a7068b29ee9d0051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dd8c0a0cd4dab924d1ee07a44e272126792e8828c8533a1a7068b29ee9d0051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dd8c0a0cd4dab924d1ee07a44e272126792e8828c8533a1a7068b29ee9d0051", kill_on_drop: false }` [INFO] [stdout] 1dd8c0a0cd4dab924d1ee07a44e272126792e8828c8533a1a7068b29ee9d0051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+1e225413a21fa69570bd3fefea9eb05e33f8b917" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee6961107a650ce0343eda28856614e796520fbb1f620b176d7515648e7af76a [INFO] running `Command { std: "docker" "start" "-a" "ee6961107a650ce0343eda28856614e796520fbb1f620b176d7515648e7af76a", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling syn v1.0.83 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling bumpalo v3.8.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling cookie v0.16.0-rc.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling time v0.3.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling dbg v1.0.4 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sqlx-rt v0.5.9 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking js-sys v0.3.55 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling sqlx-core v0.5.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking web-sys v0.3.55 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking crypto-common v0.1.1 [INFO] [stderr] Checking block-buffer v0.10.0 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 (https://github.com/SergioBenitez/Rocket?rev=8cae077#8cae077b) [INFO] [stderr] Compiling seed v0.8.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking digest v0.10.1 [INFO] [stderr] Checking rocket_http v0.5.0-rc.1 (https://github.com/SergioBenitez/Rocket?rev=8cae077#8cae077b) [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.28 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking enclose v1.1.8 [INFO] [stderr] Compiling help_me-backend v0.1.0 (/opt/rustwide/workdir/backend) [INFO] [stderr] Checking fern v0.6.0 [INFO] [stderr] Checking blake2 v0.10.0 [INFO] [stderr] Compiling sqlx-macros v0.5.9 [INFO] [stderr] Checking gloo-events v0.1.1 [INFO] [stderr] Checking gloo-timers v0.2.2 [INFO] [stderr] Checking gloo-file v0.1.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 (https://github.com/SergioBenitez/Rocket?rev=8cae077#8cae077b) [INFO] [stderr] Checking help_me-frontend v0.1.0 (/opt/rustwide/workdir/frontend) [INFO] [stderr] Checking sqlx v0.5.9 [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/auth.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / query!( [INFO] [stdout] 43 | | "INSERT INTO user(user_name, password_hash, user_type) [INFO] [stdout] 44 | | VALUES ($1, $2, $3)", [INFO] [stdout] 45 | | user_name, [INFO] [stdout] 46 | | password, [INFO] [stdout] 47 | | user_type_string [INFO] [stdout] 48 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/auth.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | let user = query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 59 | | User, [INFO] [stdout] 60 | | "SELECT * FROM user [INFO] [stdout] 61 | | WHERE user_name = ?", [INFO] [stdout] 62 | | user_name [INFO] [stdout] 63 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/auth.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | / query!( [INFO] [stdout] 102 | | "DELETE FROM user_token [INFO] [stdout] 103 | | WHERE token = ?", [INFO] [stdout] 104 | | token [INFO] [stdout] 105 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/auth.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | / query!( [INFO] [stdout] 119 | | "INSERT INTO user_token(user_name, token, expiry) VALUES ($1, $2, $3)", [INFO] [stdout] 120 | | user_name, [INFO] [stdout] 121 | | token, [INFO] [stdout] 122 | | expiry [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/auth.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | let token = query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 134 | | UserToken, [INFO] [stdout] 135 | | "SELECT * FROM user_token [INFO] [stdout] 136 | | WHERE token = ?", [INFO] [stdout] 137 | | token [INFO] [stdout] 138 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/auth.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / query!( [INFO] [stdout] 152 | | "UPDATE user_token [INFO] [stdout] 153 | | SET expiry = $1 [INFO] [stdout] 154 | | WHERE token = $2", [INFO] [stdout] 155 | | expiry, [INFO] [stdout] 156 | | token [INFO] [stdout] 157 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/auth.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | let user = query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 168 | | User, [INFO] [stdout] 169 | | "SELECT user.* [INFO] [stdout] 170 | | FROM user [INFO] [stdout] ... | [INFO] [stdout] 175 | | token [INFO] [stdout] 176 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/auth.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | let tokens = query_as!(UserToken, "SELECT * FROM user_token") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/auth.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | query!("DELETE FROM user_token WHERE token = ?", token.token) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/auth.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | query!("DELETE FROM user_token WHERE user_name = ?", user_name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/auth.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / query!( [INFO] [stdout] 43 | | "INSERT INTO user(user_name, password_hash, user_type) [INFO] [stdout] 44 | | VALUES ($1, $2, $3)", [INFO] [stdout] 45 | | user_name, [INFO] [stdout] 46 | | password, [INFO] [stdout] 47 | | user_type_string [INFO] [stdout] 48 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/auth.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | let user = query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 59 | | User, [INFO] [stdout] 60 | | "SELECT * FROM user [INFO] [stdout] 61 | | WHERE user_name = ?", [INFO] [stdout] 62 | | user_name [INFO] [stdout] 63 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/auth.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | / query!( [INFO] [stdout] 102 | | "DELETE FROM user_token [INFO] [stdout] 103 | | WHERE token = ?", [INFO] [stdout] 104 | | token [INFO] [stdout] 105 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/invite.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let invites = query_as!(Invite, "SELECT * FROM invite") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/auth.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | / query!( [INFO] [stdout] 119 | | "INSERT INTO user_token(user_name, token, expiry) VALUES ($1, $2, $3)", [INFO] [stdout] 120 | | user_name, [INFO] [stdout] 121 | | token, [INFO] [stdout] 122 | | expiry [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/invite.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / query!( [INFO] [stdout] 31 | | "DELETE FROM invite [INFO] [stdout] 32 | | WHERE invite_code = ?", [INFO] [stdout] 33 | | invite_code [INFO] [stdout] 34 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/auth.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | let token = query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 134 | | UserToken, [INFO] [stdout] 135 | | "SELECT * FROM user_token [INFO] [stdout] 136 | | WHERE token = ?", [INFO] [stdout] 137 | | token [INFO] [stdout] 138 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/auth.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / query!( [INFO] [stdout] 152 | | "UPDATE user_token [INFO] [stdout] 153 | | SET expiry = $1 [INFO] [stdout] 154 | | WHERE token = $2", [INFO] [stdout] 155 | | expiry, [INFO] [stdout] 156 | | token [INFO] [stdout] 157 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/invite.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | / query!( [INFO] [stdout] 47 | | "INSERT INTO invite(invite_code) [INFO] [stdout] 48 | | VALUES (?)", [INFO] [stdout] 49 | | invite_code [INFO] [stdout] 50 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/invite.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | let invite = query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 61 | | Invite, [INFO] [stdout] 62 | | "SELECT * FROM invite [INFO] [stdout] 63 | | WHERE invite_code = ?", [INFO] [stdout] 64 | | invite_code [INFO] [stdout] 65 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/auth.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | let user = query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 168 | | User, [INFO] [stdout] 169 | | "SELECT user.* [INFO] [stdout] 170 | | FROM user [INFO] [stdout] ... | [INFO] [stdout] 175 | | token [INFO] [stdout] 176 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/auth.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | let tokens = query_as!(UserToken, "SELECT * FROM user_token") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/task.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let mut tasks = query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 52 | | Task, [INFO] [stdout] 53 | | "SELECT * [INFO] [stdout] 54 | | FROM task [INFO] [stdout] 55 | | WHERE state != 'done'" [INFO] [stdout] 56 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/task.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | query_as!(Task, "SELECT * FROM task WHERE id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/auth.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | query!("DELETE FROM user_token WHERE token = ?", token.token) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/auth.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | query!("DELETE FROM user_token WHERE user_name = ?", user_name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/invite.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let invites = query_as!(Invite, "SELECT * FROM invite") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/task.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / query!( [INFO] [stdout] 101 | | "INSERT INTO task(id, title, body, state, created_at) [INFO] [stdout] 102 | | VALUES ($1, $2, $3, 'pending', $4)", [INFO] [stdout] 103 | | task_id, [INFO] [stdout] ... | [INFO] [stdout] 106 | | now [INFO] [stdout] 107 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/invite.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / query!( [INFO] [stdout] 31 | | "DELETE FROM invite [INFO] [stdout] 32 | | WHERE invite_code = ?", [INFO] [stdout] 33 | | invite_code [INFO] [stdout] 34 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/task.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | query!("UPDATE task SET state = 'doing' WHERE id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/invite.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | / query!( [INFO] [stdout] 47 | | "INSERT INTO invite(invite_code) [INFO] [stdout] 48 | | VALUES (?)", [INFO] [stdout] 49 | | invite_code [INFO] [stdout] 50 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/invite.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | let invite = query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 61 | | Invite, [INFO] [stdout] 62 | | "SELECT * FROM invite [INFO] [stdout] 63 | | WHERE invite_code = ?", [INFO] [stdout] 64 | | invite_code [INFO] [stdout] 65 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/task.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | query!("UPDATE task SET state = 'done' WHERE id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/task.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | query!("UPDATE task SET state = 'done' WHERE id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/task.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | query!("UPDATE task SET title = $1 WHERE id = $2", title, id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/task.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | query!("UPDATE task SET body = $1 WHERE id = $2", body, id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/user.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | / query_as!( [INFO] [stdout] 18 | | User, [INFO] [stdout] 19 | | "SELECT user.* [INFO] [stdout] 20 | | FROM user [INFO] [stdout] ... | [INFO] [stdout] 24 | | token [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/user.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | / query_as!( [INFO] [stdout] 42 | | User, [INFO] [stdout] 43 | | "SELECT * [INFO] [stdout] 44 | | FROM user" [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/user.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | query!("DELETE FROM user WHERE user_name = ?", user_name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/user.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | / query!( [INFO] [stdout] 79 | | "UPDATE user [INFO] [stdout] 80 | | SET user_name = $1 [INFO] [stdout] 81 | | WHERE user_name = $2", [INFO] [stdout] 82 | | new_username, [INFO] [stdout] 83 | | user.user_name [INFO] [stdout] 84 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/user.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / query!( [INFO] [stdout] 96 | | "UPDATE user [INFO] [stdout] 97 | | SET password_hash = $1 [INFO] [stdout] 98 | | WHERE user_name = $2", [INFO] [stdout] 99 | | new_password, [INFO] [stdout] 100 | | user.user_name [INFO] [stdout] 101 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/task.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let mut tasks = query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 52 | | Task, [INFO] [stdout] 53 | | "SELECT * [INFO] [stdout] 54 | | FROM task [INFO] [stdout] 55 | | WHERE state != 'done'" [INFO] [stdout] 56 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/task.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | query_as!(Task, "SELECT * FROM task WHERE id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/task.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / query!( [INFO] [stdout] 101 | | "INSERT INTO task(id, title, body, state, created_at) [INFO] [stdout] 102 | | VALUES ($1, $2, $3, 'pending', $4)", [INFO] [stdout] 103 | | task_id, [INFO] [stdout] ... | [INFO] [stdout] 106 | | now [INFO] [stdout] 107 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/task.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | query!("UPDATE task SET state = 'doing' WHERE id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/task.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | query!("UPDATE task SET state = 'done' WHERE id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/task.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | query!("UPDATE task SET state = 'done' WHERE id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/task.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | query!("UPDATE task SET title = $1 WHERE id = $2", title, id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/task.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | query!("UPDATE task SET body = $1 WHERE id = $2", body, id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/user.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | / query_as!( [INFO] [stdout] 18 | | User, [INFO] [stdout] 19 | | "SELECT user.* [INFO] [stdout] 20 | | FROM user [INFO] [stdout] ... | [INFO] [stdout] 24 | | token [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/user.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | / query_as!( [INFO] [stdout] 42 | | User, [INFO] [stdout] 43 | | "SELECT * [INFO] [stdout] 44 | | FROM user" [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> backend/src/models/user.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | query!("DELETE FROM user WHERE user_name = ?", user_name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/user.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | / query!( [INFO] [stdout] 79 | | "UPDATE user [INFO] [stdout] 80 | | SET user_name = $1 [INFO] [stdout] 81 | | WHERE user_name = $2", [INFO] [stdout] 82 | | new_username, [INFO] [stdout] 83 | | user.user_name [INFO] [stdout] 84 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/models/user.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / query!( [INFO] [stdout] 96 | | "UPDATE user [INFO] [stdout] 97 | | SET password_hash = $1 [INFO] [stdout] 98 | | WHERE user_name = $2", [INFO] [stdout] 99 | | new_password, [INFO] [stdout] 100 | | user.user_name [INFO] [stdout] 101 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> backend/src/models/auth.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{generate_random_string, QueriesError, QueriesResult, User, UserType}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> backend/src/models/auth.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{generate_random_string, QueriesError, QueriesResult, User, UserType}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `help_me-backend` due to 28 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 27 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `help_me-backend` due to 28 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ee6961107a650ce0343eda28856614e796520fbb1f620b176d7515648e7af76a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee6961107a650ce0343eda28856614e796520fbb1f620b176d7515648e7af76a", kill_on_drop: false }` [INFO] [stdout] ee6961107a650ce0343eda28856614e796520fbb1f620b176d7515648e7af76a