[INFO] cloning repository https://github.com/discapes/eliittilukio-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/discapes/eliittilukio-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiscapes%2Feliittilukio-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiscapes%2Feliittilukio-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4715ba8fa9bd44a7a03d95ea64cfe30438f28841 [INFO] checking discapes/eliittilukio-backend against master#96df4943409564a187894018f15f795426dc2e1f for pr-118968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiscapes%2Feliittilukio-backend" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/discapes/eliittilukio-backend on toolchain 96df4943409564a187894018f15f795426dc2e1f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+96df4943409564a187894018f15f795426dc2e1f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/discapes/eliittilukio-backend [INFO] finished tweaking git repo https://github.com/discapes/eliittilukio-backend [INFO] tweaked toml for git repo https://github.com/discapes/eliittilukio-backend written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/discapes/eliittilukio-backend 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" "+96df4943409564a187894018f15f795426dc2e1f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking discapes/eliittilukio-backend against try#7e4f74fb8736fea8f455bb6e094122965ae8f4cd for pr-118968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiscapes%2Feliittilukio-backend" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/discapes/eliittilukio-backend on toolchain 7e4f74fb8736fea8f455bb6e094122965ae8f4cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/discapes/eliittilukio-backend [INFO] finished tweaking git repo https://github.com/discapes/eliittilukio-backend [INFO] tweaked toml for git repo https://github.com/discapes/eliittilukio-backend written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/discapes/eliittilukio-backend 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" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5b4a63b66f6a41e6545cb456f499bd6324893ecd14bd99889175766c89ef09c [INFO] running `Command { std: "docker" "start" "-a" "e5b4a63b66f6a41e6545cb456f499bd6324893ecd14bd99889175766c89ef09c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5b4a63b66f6a41e6545cb456f499bd6324893ecd14bd99889175766c89ef09c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5b4a63b66f6a41e6545cb456f499bd6324893ecd14bd99889175766c89ef09c", kill_on_drop: false }` [INFO] [stdout] e5b4a63b66f6a41e6545cb456f499bd6324893ecd14bd99889175766c89ef09c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f7160058648f2cc512f79405fa1f54288fd9b6fa91b34dfb3c755468a1d94fe [INFO] running `Command { std: "docker" "start" "-a" "2f7160058648f2cc512f79405fa1f54288fd9b6fa91b34dfb3c755468a1d94fe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling zerocopy v0.7.25 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking deranged v0.3.9 [INFO] [stderr] Compiling time-macros v0.2.15 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling rustls v0.21.8 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling bigdecimal v0.4.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking rustls-webpki v0.100.3 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking email-encoding v0.2.0 [INFO] [stderr] Checking webpki-roots v0.23.1 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking email_address v0.2.4 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking quoted_printable v0.4.8 [INFO] [stderr] Checking argon2 v0.5.2 [INFO] [stderr] Checking time v0.3.30 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking lettre v0.10.4 [INFO] [stderr] Checking tower-http v0.4.4 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking sqlformat v0.2.2 [INFO] [stderr] Checking sqlx-core v0.7.2 [INFO] [stderr] Checking sqlx-sqlite v0.7.2 [INFO] [stderr] Compiling sqlx-macros-core v0.7.2 [INFO] [stderr] Compiling sqlx-macros v0.7.2 [INFO] [stderr] Checking sqlx v0.7.2 [INFO] [stderr] Checking eliittilukio-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/user_api.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | if sqlx::query!( [INFO] [stdout] | ________^ [INFO] [stdout] 43 | | "UPDATE users SET score = ?1 WHERE username = ?2 AND score <= ?1", [INFO] [stdout] 44 | | payload.newscore, [INFO] [stdout] 45 | | claims.sub, [INFO] [stdout] 46 | | ) [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 `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/user_api.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | if sqlx::query!( [INFO] [stdout] | ________^ [INFO] [stdout] 43 | | "UPDATE users SET score = ?1 WHERE username = ?2 AND score <= ?1", [INFO] [stdout] 44 | | payload.newscore, [INFO] [stdout] 45 | | claims.sub, [INFO] [stdout] 46 | | ) [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 `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/user_api.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / sqlx::query!( [INFO] [stdout] 76 | | "INSERT INTO feedback (username, email, text) VALUES (?, ?, ?)", [INFO] [stdout] 77 | | sender_name, [INFO] [stdout] 78 | | sender_email, [INFO] [stdout] 79 | | payload.text [INFO] [stdout] 80 | | ) [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 `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/user_api.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / sqlx::query!( [INFO] [stdout] 76 | | "INSERT INTO feedback (username, email, text) VALUES (?, ?, ?)", [INFO] [stdout] 77 | | sender_name, [INFO] [stdout] 78 | | sender_email, [INFO] [stdout] 79 | | payload.text [INFO] [stdout] 80 | | ) [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 `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/user_api.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | let res = sqlx::query!("SELECT AVG(score) as average FROM users WHERE banned=0") [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 `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/user_api.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | let res = sqlx::query!("SELECT AVG(score) as average FROM users WHERE banned=0") [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 `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/user_api.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | / sqlx::query!( [INFO] [stdout] 140 | | "INSERT INTO users (username, email, hash) VALUES (?, ?, ?)", [INFO] [stdout] 141 | | payload.username, [INFO] [stdout] 142 | | payload.email, [INFO] [stdout] 143 | | password_hash, [INFO] [stdout] 144 | | ) [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 `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/user_api.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | / sqlx::query!( [INFO] [stdout] 140 | | "INSERT INTO users (username, email, hash) VALUES (?, ?, ?)", [INFO] [stdout] 141 | | payload.username, [INFO] [stdout] 142 | | payload.email, [INFO] [stdout] 143 | | password_hash, [INFO] [stdout] 144 | | ) [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 `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/user_api.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | let list = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 171 | | "SELECT username, score FROM users WHERE banned = 0 AND approved = 1 ORDER BY score DESC LIMIT 10" [INFO] [stdout] 172 | | ) [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 `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/user_api.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | let list = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 171 | | "SELECT username, score FROM users WHERE banned = 0 AND approved = 1 ORDER BY score DESC LIMIT 10" [INFO] [stdout] 172 | | ) [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 `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/user_api.rs:191:15 [INFO] [stdout] | [INFO] [stdout] 191 | let rec = sqlx::query!("SELECT * FROM users WHERE username = ?", claims.sub) [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 `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/user_api.rs:191:15 [INFO] [stdout] | [INFO] [stdout] 191 | let rec = sqlx::query!("SELECT * FROM users WHERE username = ?", claims.sub) [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 `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/user_api.rs:234:15 [INFO] [stdout] | [INFO] [stdout] 234 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 235 | | "SELECT hash, username, email FROM users WHERE username = ?", [INFO] [stdout] 236 | | payload.username, [INFO] [stdout] 237 | | ) [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 `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros [INFO] [stdout] --> src/user_api.rs:234:15 [INFO] [stdout] | [INFO] [stdout] 234 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 235 | | "SELECT hash, username, email FROM users WHERE username = ?", [INFO] [stdout] 236 | | payload.username, [INFO] [stdout] 237 | | ) [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 `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ISO_FORMAT` [INFO] [stdout] --> src/user_api.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | ISO_FORMAT, JWT_TTL, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ISO_FORMAT` [INFO] [stdout] --> src/user_api.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | ISO_FORMAT, JWT_TTL, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bigdecimal::ToPrimitive` [INFO] [stdout] --> src/user_api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use bigdecimal::ToPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bigdecimal::ToPrimitive` [INFO] [stdout] --> src/user_api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use bigdecimal::ToPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eliittilukio-backend` (bin "eliittilukio-backend") due to 8 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `eliittilukio-backend` (bin "eliittilukio-backend" test) due to 8 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2f7160058648f2cc512f79405fa1f54288fd9b6fa91b34dfb3c755468a1d94fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f7160058648f2cc512f79405fa1f54288fd9b6fa91b34dfb3c755468a1d94fe", kill_on_drop: false }` [INFO] [stdout] 2f7160058648f2cc512f79405fa1f54288fd9b6fa91b34dfb3c755468a1d94fe