[INFO] cloning repository https://github.com/saukymo/group-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saukymo/group-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaukymo%2Fgroup-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaukymo%2Fgroup-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45193f40b9ff5b90387e32b7bfcc1311d8cf01fa [INFO] testing saukymo/group-api against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaukymo%2Fgroup-api" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saukymo/group-api on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/saukymo/group-api [INFO] finished tweaking git repo https://github.com/saukymo/group-api [INFO] tweaked toml for git repo https://github.com/saukymo/group-api written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/saukymo/group-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c5671f1d09b1418d6cbc63c5d3e486aeac5cd9ee25975ded6f5caea89910d4c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7c5671f1d09b1418d6cbc63c5d3e486aeac5cd9ee25975ded6f5caea89910d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c5671f1d09b1418d6cbc63c5d3e486aeac5cd9ee25975ded6f5caea89910d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c5671f1d09b1418d6cbc63c5d3e486aeac5cd9ee25975ded6f5caea89910d4c", kill_on_drop: false }` [INFO] [stdout] 7c5671f1d09b1418d6cbc63c5d3e486aeac5cd9ee25975ded6f5caea89910d4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e586b25f501b0c50d29024c72263189b42879df051fdcfed3f413f339dc56ace [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e586b25f501b0c50d29024c72263189b42879df051fdcfed3f413f339dc56ace", kill_on_drop: false }` [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling sval v1.0.0-alpha.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling async-task v4.1.0 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling simple-mutex v1.1.5 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling async-dup v1.2.2 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling femme v2.1.1 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Compiling async-rustls v0.2.0 [INFO] [stderr] Compiling serde_with v1.12.0 [INFO] [stderr] Compiling sqlx-rt v0.5.11 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling sqlx-core v0.5.11 [INFO] [stderr] Compiling async-h1 v2.3.3 [INFO] [stderr] Compiling http-client v6.5.1 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling sqlx-macros v0.5.11 [INFO] [stderr] Compiling sqlx v0.5.11 [INFO] [stderr] Compiling group-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/users.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | let created_user = query_as!(User, r#"INSERT INTO users (name, wx_open_id) VALUES ($1, $2) RETURNING user_id, name, wx_open_id [INFO] [stdout] | ____________________________^ [INFO] [stdout] 9 | | "#, new_user.name, new_user.wx_open_id).fetch_one(pg_conn).await?; [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/users.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let users = query_as!(User, r#"SELECT user_id, name, wx_open_id FROM users"#).fetch_all(pg_conn).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/users.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | ... let user = query_as!(User, r#"SELECT user_id, name, wx_open_id FROM users where user_id=$1"#, user_id).fetch_optional(pg_conn).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/games.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | let created_game = query_as!(Game, r#" [INFO] [stdout] | ____________________________^ [INFO] [stdout] 8 | | INSERT INTO games ( [INFO] [stdout] 9 | | name, [INFO] [stdout] 10 | | author, [INFO] [stdout] ... | [INFO] [stdout] 22 | | cover [INFO] [stdout] 23 | | "#, new_game.name, new_game.author, new_game.publisher, new_game.description, new_game.quota, new_game.cover) [INFO] [stdout] | |_____________________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/games.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | ... let games = query_as!(Game, r#"SELECT game_id, name, author, publisher, description, quota, cover FROM games"#).fetch_all(pg_conn).... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/games.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let game = query_as!(Game, r#"SELECT [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | game_id, [INFO] [stdout] 38 | | name, [INFO] [stdout] 39 | | author, [INFO] [stdout] ... | [INFO] [stdout] 43 | | cover [INFO] [stdout] 44 | | FROM games WHERE game_id=$1"#, game_id).fetch_optional(pg_conn).await?; [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/games.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let games = query_as!(Game, r#" [INFO] [stdout] | _____________________^ [INFO] [stdout] 57 | | SELECT [INFO] [stdout] 58 | | game_id, [INFO] [stdout] 59 | | name, [INFO] [stdout] ... | [INFO] [stdout] 65 | | FROM games WHERE game_id = ANY($1) [INFO] [stdout] 66 | | "#, &games_ids[..]).fetch_all(pg_conn).await?; [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/appointments.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | let created_appointment = query_as!(Appointment, r#" [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 8 | | INSERT INTO appointments [INFO] [stdout] 9 | | (proposal_id, user_id) [INFO] [stdout] 10 | | VALUES [INFO] [stdout] 11 | | ($1, $2) [INFO] [stdout] 12 | | RETURNING appointment_id, proposal_id, user_id [INFO] [stdout] 13 | | "#, new_appointment.proposal_id, new_appointment.user_id) [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/appointments.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | let appointments = query_as!(Appointment, r#" [INFO] [stdout] | ____________________________^ [INFO] [stdout] 22 | | SELECT [INFO] [stdout] 23 | | appointment_id, [INFO] [stdout] 24 | | proposal_id, [INFO] [stdout] 25 | | user_id [INFO] [stdout] 26 | | FROM appointments [INFO] [stdout] 27 | | "#).fetch_all(pg_conn).await?; [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/appointments.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let appointment = query_as!(Appointment, r#" [INFO] [stdout] | ___________________________^ [INFO] [stdout] 34 | | SELECT [INFO] [stdout] 35 | | appointment_id, [INFO] [stdout] 36 | | proposal_id, [INFO] [stdout] ... | [INFO] [stdout] 39 | | WHERE appointment_id=$1 [INFO] [stdout] 40 | | "#, appointment_id) [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/appointments.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | let appointments = query_as!(Appointment, r#" [INFO] [stdout] | ____________________________^ [INFO] [stdout] 49 | | SELECT [INFO] [stdout] 50 | | appointment_id, [INFO] [stdout] 51 | | proposal_id, [INFO] [stdout] ... | [INFO] [stdout] 54 | | WHERE user_id=$1 [INFO] [stdout] 55 | | "#, user_id) [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/proposals.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | let created_proposal = query_as!(Proposal, r#" [INFO] [stdout] | ________________________________^ [INFO] [stdout] 8 | | INSERT INTO proposals [INFO] [stdout] 9 | | (vendor_id, asset_id, price, date_time, quota) [INFO] [stdout] 10 | | VALUES [INFO] [stdout] ... | [INFO] [stdout] 13 | | proposal_id, vendor_id, asset_id, price, date_time, quota [INFO] [stdout] 14 | | "#, new_proposal.vendor_id, new_proposal.asset_id, new_proposal.price, new_proposal.date_time, new_proposal.quota) [INFO] [stdout] | |__________________________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/proposals.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | let proposals = query_as!(Proposal, r#" [INFO] [stdout] | _________________________^ [INFO] [stdout] 23 | | SELECT [INFO] [stdout] 24 | | proposal_id, vendor_id, asset_id, price, date_time, quota [INFO] [stdout] 25 | | FROM proposals [INFO] [stdout] 26 | | "#).fetch_all(pg_conn).await?; [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/proposals.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | let proposal = query_as!(Proposal, r#" [INFO] [stdout] | ________________________^ [INFO] [stdout] 33 | | SELECT [INFO] [stdout] 34 | | proposal_id, vendor_id, asset_id, price, date_time, quota [INFO] [stdout] 35 | | FROM proposals [INFO] [stdout] 36 | | WHERE proposal_id=$1 [INFO] [stdout] 37 | | "#, proposal_id).fetch_optional(pg_conn).await?; [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/proposals.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | let proposals = query_as!(Proposal, r#" [INFO] [stdout] | _________________________^ [INFO] [stdout] 44 | | SELECT [INFO] [stdout] 45 | | proposal_id, vendor_id, asset_id, price, date_time, quota [INFO] [stdout] 46 | | FROM proposals [INFO] [stdout] 47 | | WHERE [INFO] [stdout] 48 | | vendor_id=$1 [INFO] [stdout] 49 | | "#, vendor_id).fetch_all(pg_conn).await?; [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/assets.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | let created_asset = query_as!(Asset, [INFO] [stdout] | _____________________________^ [INFO] [stdout] 8 | | r#" [INFO] [stdout] 9 | | INSERT INTO assets ( [INFO] [stdout] 10 | | vendor_id, [INFO] [stdout] ... | [INFO] [stdout] 20 | | new_asset.game_id, [INFO] [stdout] 21 | | new_asset.price) [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/assets.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let assets = query_as!(Asset, r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 29 | | SELECT [INFO] [stdout] 30 | | asset_id, [INFO] [stdout] 31 | | vendor_id, [INFO] [stdout] ... | [INFO] [stdout] 34 | | FROM assets [INFO] [stdout] 35 | | "#) [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/assets.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | let asset = query_as!(Asset, r#" [INFO] [stdout] | _____________________^ [INFO] [stdout] 43 | | SELECT [INFO] [stdout] 44 | | asset_id, [INFO] [stdout] 45 | | vendor_id, [INFO] [stdout] ... | [INFO] [stdout] 51 | | "#, [INFO] [stdout] 52 | | asset_id) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/assets.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let assets = query_as!(Asset, r#" [INFO] [stdout] | ______________________^ [INFO] [stdout] 60 | | SELECT [INFO] [stdout] 61 | | asset_id, [INFO] [stdout] 62 | | vendor_id, [INFO] [stdout] ... | [INFO] [stdout] 68 | | "#, [INFO] [stdout] 69 | | vendor_id) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/vendors.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let created_vendor = query_as!(Vendor, r#"INSERT INTO vendors (name, address, avatar) VALUES ($1, $2, $3) RETURNING vendor_id, na... [INFO] [stdout] | ______________________________^ [INFO] [stdout] 8 | | "#, new_vendor.name, new_vendor.address, new_vendor.avatar).fetch_one(pg_conn).await?; [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/vendors.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let vendors = query_as!(Vendor, r#"SELECT vendor_id, name, address, avatar FROM vendors"#).fetch_all(pg_conn).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/vendors.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | ... let vendor = query_as!(Vendor, r#"SELECT vendor_id, name, address, avatar FROM vendors WHERE vendor_id=$1"#, vendor_id).fetch_optio... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `group-api` due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "e586b25f501b0c50d29024c72263189b42879df051fdcfed3f413f339dc56ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e586b25f501b0c50d29024c72263189b42879df051fdcfed3f413f339dc56ace", kill_on_drop: false }` [INFO] [stdout] e586b25f501b0c50d29024c72263189b42879df051fdcfed3f413f339dc56ace