[INFO] cloning repository https://github.com/Killavus/actix-todo-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Killavus/actix-todo-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKillavus%2Factix-todo-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKillavus%2Factix-todo-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f59542f9c45653ef2e15ef5d787d6f4b21983d09 [INFO] checking Killavus/actix-todo-api against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKillavus%2Factix-todo-api" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Killavus/actix-todo-api on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Killavus/actix-todo-api [INFO] finished tweaking git repo https://github.com/Killavus/actix-todo-api [INFO] tweaked toml for git repo https://github.com/Killavus/actix-todo-api written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Killavus/actix-todo-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4d7483733c6302762dc772938e64bbe509bf333ef8f95fd88f1d4635e7d5a0d [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" "d4d7483733c6302762dc772938e64bbe509bf333ef8f95fd88f1d4635e7d5a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4d7483733c6302762dc772938e64bbe509bf333ef8f95fd88f1d4635e7d5a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4d7483733c6302762dc772938e64bbe509bf333ef8f95fd88f1d4635e7d5a0d", kill_on_drop: false }` [INFO] [stdout] d4d7483733c6302762dc772938e64bbe509bf333ef8f95fd88f1d4635e7d5a0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7c2721ce20f9bc64d4fba0fa9757304898f21571d1ee05a211791bd634344abf [INFO] running `Command { std: "docker" "start" "-a" "7c2721ce20f9bc64d4fba0fa9757304898f21571d1ee05a211791bd634344abf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.64 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling wasm-bindgen v0.2.64 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Checking adler v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling parking v1.0.4 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling fastrand v1.3.3 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling whoami v0.9.0 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling hashbrown v0.8.0 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling concurrent-queue v1.1.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking encoding_rs v0.8.23 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num-integer v0.1.43 [INFO] [stderr] Checking atoi v0.3.2 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking sqlformat v0.1.0 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.64 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.64 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.64 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Checking js-sys v0.3.41 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Checking actix-threadpool v0.3.2 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking web-sys v0.3.41 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Checking serde v1.0.114 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking actix-service v1.0.5 [INFO] [stderr] Checking blocking v0.4.6 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Checking smol v0.1.18 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking actix-utils v1.0.6 [INFO] [stderr] Checking async-std v1.6.2 [INFO] [stderr] Checking actix-server v1.0.3 [INFO] [stderr] Checking actix-tls v1.0.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking actix-router v0.2.4 [INFO] [stderr] Checking actix-connect v1.0.2 [INFO] [stderr] Checking actix-http v1.0.1 [INFO] [stderr] Checking validator v0.10.1 [INFO] [stderr] Compiling validator_derive v0.10.1 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking sqlx-rt v0.1.0-pre (https://github.com/launchbadge/sqlx#c327e63f) [INFO] [stderr] Checking sqlx-core v0.4.0-pre (https://github.com/launchbadge/sqlx#c327e63f) [INFO] [stderr] Checking awc v1.0.1 [INFO] [stderr] Checking actix-web v2.0.0 [INFO] [stderr] Compiling sqlx-macros v0.4.0-pre (https://github.com/launchbadge/sqlx#c327e63f) [INFO] [stderr] Checking sqlx v0.4.0-pre (https://github.com/launchbadge/sqlx#c327e63f) [INFO] [stderr] Checking todo-list-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/model/todo.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | ... sqlx::query_as!(Todo, "SELECT todos.* FROM todos JOIN work_lists ON work_lists.id = todos.work_list_id WHERE todos.id = ? AND work_lists.client_id = ?", id, client_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/model/todo.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | / sqlx::query!( [INFO] [stdout] 87 | | "INSERT INTO todos (content, completed, work_list_id) VALUES (?, false, ?)", [INFO] [stdout] 88 | | form.content, [INFO] [stdout] 89 | | form.work_list_id [INFO] [stdout] 90 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/model/todo.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | sqlx::query!("DELETE FROM todos WHERE id = ?", self.id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/model/work_list.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | / sqlx::query!( [INFO] [stdout] 51 | | "INSERT INTO work_lists (name, client_id) VALUES (?, ?)", [INFO] [stdout] 52 | | name, [INFO] [stdout] 53 | | client_id [INFO] [stdout] 54 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/model/work_list.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | let rows_affected: u64 = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 100 | | "DELETE FROM work_lists WHERE id = ? AND client_id = ?", [INFO] [stdout] 101 | | self.id, [INFO] [stdout] 102 | | client_id [INFO] [stdout] 103 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/model/work_list.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | let rows_affected: u64 = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 123 | | "UPDATE work_lists SET name = ? WHERE id = ? AND client_id = ?", [INFO] [stdout] 124 | | new_name, [INFO] [stdout] 125 | | self.id, [INFO] [stdout] 126 | | client_id [INFO] [stdout] 127 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/model/todo.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | ... sqlx::query_as!(Todo, "SELECT todos.* FROM todos JOIN work_lists ON work_lists.id = todos.work_list_id WHERE todos.id = ? AND work_lists.client_id = ?", id, client_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/model/todo.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | / sqlx::query!( [INFO] [stdout] 87 | | "INSERT INTO todos (content, completed, work_list_id) VALUES (?, false, ?)", [INFO] [stdout] 88 | | form.content, [INFO] [stdout] 89 | | form.work_list_id [INFO] [stdout] 90 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/model/work_list.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let todos = sqlx::query_as!(Todo, "SELECT * FROM todos WHERE todos.work_list_id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/web_app/client.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | sqlx::query_as!(Client, "SELECT * FROM clients WHERE id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/model/todo.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | sqlx::query!("DELETE FROM todos WHERE id = ?", self.id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/model/work_list.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | / sqlx::query!( [INFO] [stdout] 51 | | "INSERT INTO work_lists (name, client_id) VALUES (?, ?)", [INFO] [stdout] 52 | | name, [INFO] [stdout] 53 | | client_id [INFO] [stdout] 54 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/model/work_list.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | let rows_affected: u64 = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 100 | | "DELETE FROM work_lists WHERE id = ? AND client_id = ?", [INFO] [stdout] 101 | | self.id, [INFO] [stdout] 102 | | client_id [INFO] [stdout] 103 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/model/work_list.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | let rows_affected: u64 = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 123 | | "UPDATE work_lists SET name = ? WHERE id = ? AND client_id = ?", [INFO] [stdout] 124 | | new_name, [INFO] [stdout] 125 | | self.id, [INFO] [stdout] 126 | | client_id [INFO] [stdout] 127 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/model/work_list.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let todos = sqlx::query_as!(Todo, "SELECT * FROM todos WHERE todos.work_list_id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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/web_app/client.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | sqlx::query_as!(Client, "SELECT * FROM clients WHERE id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `todo-list-api` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7c2721ce20f9bc64d4fba0fa9757304898f21571d1ee05a211791bd634344abf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c2721ce20f9bc64d4fba0fa9757304898f21571d1ee05a211791bd634344abf", kill_on_drop: false }` [INFO] [stdout] 7c2721ce20f9bc64d4fba0fa9757304898f21571d1ee05a211791bd634344abf