[INFO] cloning repository https://github.com/Doilee/sojas-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Doilee/sojas-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoilee%2Fsojas-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoilee%2Fsojas-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b255b8af6a406a52ab756d4f2aa14abda1d326eb
[INFO] testing Doilee/sojas-api against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDoilee%2Fsojas-api" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Doilee/sojas-api on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Doilee/sojas-api
[INFO] finished tweaking git repo https://github.com/Doilee/sojas-api
[INFO] tweaked toml for git repo https://github.com/Doilee/sojas-api written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Doilee/sojas-api 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded openssl-sys v0.9.85
[INFO] [stderr]   Downloaded openssl v0.10.50
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aa0d048f52078679ebce9b11b087019d4ec6c05881ee12aaebf35ccc7fc4f457
[INFO] running `Command { std: "docker" "start" "-a" "aa0d048f52078679ebce9b11b087019d4ec6c05881ee12aaebf35ccc7fc4f457", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aa0d048f52078679ebce9b11b087019d4ec6c05881ee12aaebf35ccc7fc4f457", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa0d048f52078679ebce9b11b087019d4ec6c05881ee12aaebf35ccc7fc4f457", kill_on_drop: false }`
[INFO] [stdout] aa0d048f52078679ebce9b11b087019d4ec6c05881ee12aaebf35ccc7fc4f457
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 186826d5ca581ea673c252c07f19880553995e48e6ea5e418e4a5d868c4e1144
[INFO] running `Command { std: "docker" "start" "-a" "186826d5ca581ea673c252c07f19880553995e48e6ea5e418e4a5d868c4e1144", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling proc-macro2 v1.0.52
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling futures-core v0.3.27
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling tokio v1.27.0
[INFO] [stderr]    Compiling jobserver v0.1.26
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling mio v0.8.6
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling syn v2.0.12
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling libm v0.2.6
[INFO] [stderr]    Compiling futures-sink v0.3.27
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling futures-channel v0.3.27
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling serde_derive v1.0.156
[INFO] [stderr]    Compiling futures-task v0.3.27
[INFO] [stderr]    Compiling serde v1.0.156
[INFO] [stderr]    Compiling futures-util v0.3.27
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling futures-io v0.3.27
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling paste v1.0.12
[INFO] [stderr]    Compiling unicode-bidi v0.3.11
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling rustls v0.20.8
[INFO] [stderr]    Compiling pem-rfc7468 v0.3.1
[INFO] [stderr]    Compiling crypto-bigint v0.3.2
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling const-oid v0.7.1
[INFO] [stderr]    Compiling zeroize v1.6.0
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling openssl-sys v0.9.85
[INFO] [stderr]    Compiling der v0.5.1
[INFO] [stderr]    Compiling num-bigint-dig v0.8.2
[INFO] [stderr]    Compiling tokio-macros v2.0.0
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling base64 v0.21.0
[INFO] [stderr]    Compiling spki v0.5.4
[INFO] [stderr]    Compiling zstd-sys v2.0.7+zstd.1.5.4
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling pkcs8 v0.8.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling crossbeam-utils v0.8.15
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling pkcs1 v0.3.3
[INFO] [stderr]    Compiling futures-macro v0.3.27
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling bytestring v1.3.0
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling zstd-safe v6.0.4+zstd.1.5.4
[INFO] [stderr]    Compiling thiserror v1.0.39
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling openssl v0.10.50
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.8
[INFO] [stderr]    Compiling local-waker v0.1.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling regex v1.7.1
[INFO] [stderr]    Compiling tokio-util v0.7.7
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling h2 v0.3.16
[INFO] [stderr]    Compiling thiserror-impl v1.0.39
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling url v2.4.0
[INFO] [stderr]    Compiling sha1 v0.10.5
[INFO] [stderr]    Compiling ahash v0.8.3
[INFO] [stderr]    Compiling crc-catalog v2.2.0
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling time-macros v0.2.8
[INFO] [stderr]    Compiling sqlformat v0.2.1
[INFO] [stderr]    Compiling crc v3.0.1
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling futures-intrusive v0.4.2
[INFO] [stderr]    Compiling actix-rt v2.8.0
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling rustls-pemfile v1.0.2
[INFO] [stderr]    Compiling actix-service v2.0.2
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling atoi v1.0.0
[INFO] [stderr]    Compiling encoding_rs v0.8.32
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling dotenvy v0.15.6
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling brotli v3.3.4
[INFO] [stderr]    Compiling flate2 v1.0.25
[INFO] [stderr]    Compiling time v0.3.20
[INFO] [stderr]    Compiling rsa v0.6.1
[INFO] [stderr]    Compiling sqlx-rt v0.6.2
[INFO] [stderr]    Compiling actix-router v0.5.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling actix-codec v0.5.0
[INFO] [stderr]    Compiling local-channel v0.1.3
[INFO] [stderr]    Compiling tokio-stream v0.1.12
[INFO] [stderr]    Compiling hashlink v0.8.1
[INFO] [stderr]    Compiling chrono v0.4.26
[INFO] [stderr]    Compiling webpki-roots v0.22.6
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling hyper v0.14.25
[INFO] [stderr]    Compiling actix-web-codegen v4.2.0
[INFO] [stderr]    Compiling sqlx-core v0.6.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling actix-server v2.2.0
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]    Compiling futures-executor v0.3.27
[INFO] [stderr]    Compiling ipnet v2.7.2
[INFO] [stderr]    Compiling futures v0.3.27
[INFO] [stderr]    Compiling urlencoding v2.1.2
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.16
[INFO] [stderr]    Compiling sqlx-macros v0.6.2
[INFO] [stderr]    Compiling zstd v0.12.3+zstd.1.5.2
[INFO] [stderr]    Compiling actix-http v3.3.1
[INFO] [stderr]    Compiling sqlx v0.6.2
[INFO] [stderr]    Compiling actix-web v4.3.1
[INFO] [stderr]    Compiling actix-cors v0.6.4
[INFO] [stderr]    Compiling sojas-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]  --> src/lib.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |         if (key_value[0] == "") {
[INFO] [stdout]   |            ^                  ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 9 -         if (key_value[0] == "") {
[INFO] [stdout] 9 +         if key_value[0] == "" {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/users.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 64 |       let result = sqlx::query!(r#"
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 65 | |          INSERT INTO users (display_name, username, email, jwt) VALUES(?, ?, ?, ?)
[INFO] [stdout] 66 | |          AS n ON DUPLICATE KEY UPDATE display_name = n.display_name, username = n.username, email = n.email, jwt = n.jwt"#,
[INFO] [stdout] 67 | |         login_response.user_display_name,
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | |         login_response.token,
[INFO] [stdout] 71 | |     ).execute(&app_state.pool).await;
[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 to use query macros
[INFO] [stdout]   --> src/users.rs:85:47
[INFO] [stdout]    |
[INFO] [stdout] 85 |       let Ok(user): Result<User, sqlx::Error> = sqlx::query_as!(
[INFO] [stdout]    |  _______________________________________________^
[INFO] [stdout] 86 | |         User,
[INFO] [stdout] 87 | |         "SELECT * FROM users WHERE id=?",
[INFO] [stdout] 88 | |         id
[INFO] [stdout] 89 | |     ).fetch_one(&app_state.pool).await else {
[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_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]    --> src/users.rs:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 |       HttpResponse::Ok().json(sqlx::query_as!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 106 | |         User,
[INFO] [stdout] 107 | |         "SELECT * FROM users",
[INFO] [stdout] 108 | |     ).fetch_all(&app_state.pool).await.unwrap())
[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_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]   --> src/events.rs:87:40
[INFO] [stdout]    |
[INFO] [stdout] 87 |       let results: Vec<DatabaseResult> = sqlx::query_as!(
[INFO] [stdout]    |  ________________________________________^
[INFO] [stdout] 88 | |         DatabaseResult,
[INFO] [stdout] 89 | |         "SELECT events.*, participants.user_id FROM events LEFT JOIN participants ON participants.event_id = events.id WHERE start_date >...
[INFO] [stdout] 90 | |         date_as_string,
[INFO] [stdout] 91 | |     ).fetch_all(&app_state.pool).await.unwrap();
[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_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]    --> src/events.rs:125:41
[INFO] [stdout]     |
[INFO] [stdout] 125 |       let Ok(_): Result<_, sqlx::Error> = sqlx::query!(
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 126 | |         "SELECT * FROM events WHERE id=?",
[INFO] [stdout] 127 | |         event_id
[INFO] [stdout] 128 | |     ).fetch_one(&app_state.pool).await else {
[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 to use query macros
[INFO] [stdout]    --> src/events.rs:134:63
[INFO] [stdout]     |
[INFO] [stdout] 134 |       let Ok(_created): Result<MySqlQueryResult, sqlx::Error> = sqlx::query!(
[INFO] [stdout]     |  _______________________________________________________________^
[INFO] [stdout] 135 | |         "INSERT INTO participants(event_id, user_id) VALUES(?, ?) ON DUPLICATE KEY UPDATE event_id=event_id",
[INFO] [stdout] 136 | |         event_id,
[INFO] [stdout] 137 | |         user.id,
[INFO] [stdout] 138 | |     ).execute(&app_state.pool).await else {
[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 to use query macros
[INFO] [stdout]    --> src/events.rs:153:63
[INFO] [stdout]     |
[INFO] [stdout] 153 |       let Ok(_deleted): Result<MySqlQueryResult, sqlx::Error> = sqlx::query!(
[INFO] [stdout]     |  _______________________________________________________________^
[INFO] [stdout] 154 | |         "DELETE FROM participants WHERE event_id = ? AND user_id = ?",
[INFO] [stdout] 155 | |         event_id,
[INFO] [stdout] 156 | |         user.id,
[INFO] [stdout] 157 | |     ).execute(&app_state.pool).await else {
[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 to use query macros
[INFO] [stdout]   --> src/jwt.rs:42:47
[INFO] [stdout]    |
[INFO] [stdout] 42 |       let Ok(user): Result<User, sqlx::Error> = sqlx::query_as!(
[INFO] [stdout]    |  _______________________________________________^
[INFO] [stdout] 43 | |         User,
[INFO] [stdout] 44 | |         "SELECT * FROM users WHERE jwt=?",
[INFO] [stdout] 45 | |         token
[INFO] [stdout] 46 | |     ).fetch_one(&app_state.pool).await else {
[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_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]    --> src/pinkpolitiek_api.rs:105:22
[INFO] [stdout]     |
[INFO] [stdout] 105 |           let result = sqlx::query!(r#"
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 106 | |             INSERT INTO events (id, title, description, source, url, start_date, all_day)
[INFO] [stdout] 107 | |             VALUES(?, ?, ?, 'external', ?, ?, ?) AS n ON DUPLICATE KEY UPDATE
[INFO] [stdout] 108 | |             title = n.title, description = n.description, source = n.source, url = n.url, start_date = n.start_date, all_day = n.all_day"#,
[INFO] [stdout] ...   |
[INFO] [stdout] 114 | |             event.all_day,
[INFO] [stdout] 115 | |         ).execute(&app_state.pool).await;
[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: `Utc`
[INFO] [stdout]  --> src/events.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{Utc, NaiveDateTime, Local};
[INFO] [stdout]   |              ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::HttpResponse`
[INFO] [stdout]  --> src/pinkpolitiek_api.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix_web::HttpResponse;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app_state`
[INFO] [stdout]   --> src/users.rs:99:21
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub async fn get_me(app_state: web::Data<AppState>, user: User) -> HttpResponse {
[INFO] [stdout]    |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sojas-api` (bin "sojas-api") due to 10 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "186826d5ca581ea673c252c07f19880553995e48e6ea5e418e4a5d868c4e1144", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "186826d5ca581ea673c252c07f19880553995e48e6ea5e418e4a5d868c4e1144", kill_on_drop: false }`
[INFO] [stdout] 186826d5ca581ea673c252c07f19880553995e48e6ea5e418e4a5d868c4e1144
