[INFO] cloning repository https://github.com/MarcusDunn/our_edu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarcusDunn/our_edu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcusDunn%2Four_edu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcusDunn%2Four_edu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4cb8ee8e9b496b88ec1789de714ece5c83f2041d [INFO] checking MarcusDunn/our_edu against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcusDunn%2Four_edu" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MarcusDunn/our_edu on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/source/rust-toolchain [INFO] started tweaking git repo https://github.com/MarcusDunn/our_edu [INFO] finished tweaking git repo https://github.com/MarcusDunn/our_edu [INFO] tweaked toml for git repo https://github.com/MarcusDunn/our_edu written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/MarcusDunn/our_edu already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", 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] d0f65262c4d5f82bff9e3c75621f6a6281d7a2ef25bd8b3bc06412623aea724c [INFO] running `Command { std: "docker" "start" "-a" "d0f65262c4d5f82bff9e3c75621f6a6281d7a2ef25bd8b3bc06412623aea724c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0f65262c4d5f82bff9e3c75621f6a6281d7a2ef25bd8b3bc06412623aea724c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0f65262c4d5f82bff9e3c75621f6a6281d7a2ef25bd8b3bc06412623aea724c", kill_on_drop: false }` [INFO] [stdout] d0f65262c4d5f82bff9e3c75621f6a6281d7a2ef25bd8b3bc06412623aea724c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "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] b8e819c53e7f98329510b1d9330ec20a0c2070dce0b174e7a3ad89e275074bd7 [INFO] running `Command { std: "docker" "start" "-a" "b8e819c53e7f98329510b1d9330ec20a0c2070dce0b174e7a3ad89e275074bd7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Checking local-waker v0.1.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling cpufeatures v0.1.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cookie v0.15.0 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Checking smartstring v0.2.6 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking brotli-sys v0.3.2 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Checking actix-service v2.0.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking ahash v0.7.2 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking sha-1 v0.9.5 [INFO] [stderr] Checking sha2 v0.9.4 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking nom v6.1.2 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking sqlformat v0.1.6 [INFO] [stderr] Compiling tokio-stream v0.1.5 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Checking actix-codec v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling juniper_codegen v0.15.4 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.2 [INFO] [stderr] Compiling futures-enum v0.1.17 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking actix-rt v2.2.0 [INFO] [stderr] Checking sqlx-rt v0.5.2 [INFO] [stderr] Checking actix-server v2.0.0-beta.5 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking time v0.2.26 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking graphql-parser v0.3.0 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking actix-tls v3.0.0-beta.5 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking bson v1.2.2 [INFO] [stderr] Checking sqlx-core v0.5.2 [INFO] [stderr] Checking juniper v0.15.4 [INFO] [stderr] Checking actix-http v3.0.0-beta.6 [INFO] [stderr] Checking actix-web v4.0.0-beta.6 [INFO] [stderr] Compiling sqlx-macros v0.5.2 [INFO] [stderr] Checking sqlx v0.5.2 [INFO] [stderr] Checking our_edu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/data/students.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | sqlx::query_as!(Student, "SELECT * FROM students WHERE id = $1", 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/data/students.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / sqlx::query_as!( [INFO] [stdout] 24 | | Student, [INFO] [stdout] 25 | | "SELECT * FROM students LIMIT $1 OFFSET $2", [INFO] [stdout] 26 | | limit as i64, [INFO] [stdout] 27 | | offset as i64 [INFO] [stdout] 28 | | ) [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/data/students.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | / sqlx::query_as!( [INFO] [stdout] 44 | | Student, [INFO] [stdout] 45 | | "INSERT INTO students (user_id, date_of_birth) VALUES ($1, $2) RETURNING *", [INFO] [stdout] 46 | | user_id, [INFO] [stdout] 47 | | date_of_birth, [INFO] [stdout] 48 | | ) [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/data/students.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | / sqlx::query_as!( [INFO] [stdout] 65 | | Student, [INFO] [stdout] 66 | | "\ [INFO] [stdout] 67 | | UPDATE students SET \ [INFO] [stdout] ... | [INFO] [stdout] 75 | | id [INFO] [stdout] 76 | | ).fetch_one(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/data/students.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / sqlx::query_as!( [INFO] [stdout] 84 | | Student, [INFO] [stdout] 85 | | "DELETE FROM students WHERE id = $1 RETURNING *", [INFO] [stdout] 86 | | id [INFO] [stdout] 87 | | ) [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/data/users.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | sqlx::query_as!(User, "SELECT * FROM users WHERE id = $1", 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/data/users.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / sqlx::query_as!( [INFO] [stdout] 25 | | User, [INFO] [stdout] 26 | | "SELECT * FROM users LIMIT $1 OFFSET $2", [INFO] [stdout] 27 | | limit as i64, [INFO] [stdout] 28 | | offset as i64 [INFO] [stdout] 29 | | ) [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/data/students.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | sqlx::query_as!(Student, "SELECT * FROM students WHERE id = $1", 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/data/students.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / sqlx::query_as!( [INFO] [stdout] 24 | | Student, [INFO] [stdout] 25 | | "SELECT * FROM students LIMIT $1 OFFSET $2", [INFO] [stdout] 26 | | limit as i64, [INFO] [stdout] 27 | | offset as i64 [INFO] [stdout] 28 | | ) [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/data/users.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | let current_middle_name = sqlx::query_as!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 50 | | MiddleName, [INFO] [stdout] 51 | | "SELECT middle_name FROM users WHERE id = $1", [INFO] [stdout] 52 | | id [INFO] [stdout] 53 | | ) [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/data/students.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | / sqlx::query_as!( [INFO] [stdout] 44 | | Student, [INFO] [stdout] 45 | | "INSERT INTO students (user_id, date_of_birth) VALUES ($1, $2) RETURNING *", [INFO] [stdout] 46 | | user_id, [INFO] [stdout] 47 | | date_of_birth, [INFO] [stdout] 48 | | ) [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/data/users.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / sqlx::query_as!( [INFO] [stdout] 63 | | User, [INFO] [stdout] 64 | | "UPDATE users \ [INFO] [stdout] 65 | | SET first_name = CASE WHEN $1::varchar(255) IS NULL THEN first_name ELSE $1 END, \ [INFO] [stdout] ... | [INFO] [stdout] 73 | | id [INFO] [stdout] 74 | | ) [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/data/students.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | / sqlx::query_as!( [INFO] [stdout] 65 | | Student, [INFO] [stdout] 66 | | "\ [INFO] [stdout] 67 | | UPDATE students SET \ [INFO] [stdout] ... | [INFO] [stdout] 75 | | id [INFO] [stdout] 76 | | ).fetch_one(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/data/students.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / sqlx::query_as!( [INFO] [stdout] 84 | | Student, [INFO] [stdout] 85 | | "DELETE FROM students WHERE id = $1 RETURNING *", [INFO] [stdout] 86 | | id [INFO] [stdout] 87 | | ) [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/data/users.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | / sqlx::query_as!( [INFO] [stdout] 91 | | User, [INFO] [stdout] 92 | | "INSERT INTO users (first_name, middle_name, last_name) VALUES ($1, $2, $3) RETURNING *", [INFO] [stdout] 93 | | first_name, [INFO] [stdout] 94 | | middle_name, [INFO] [stdout] 95 | | last_name, [INFO] [stdout] 96 | | ) [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/data/users.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | sqlx::query_as!(User, "DELETE FROM users WHERE id = $1 RETURNING *", 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/data/users.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | sqlx::query_as!(User, "SELECT * FROM users WHERE id = $1", 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/data/users.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / sqlx::query_as!( [INFO] [stdout] 25 | | User, [INFO] [stdout] 26 | | "SELECT * FROM users LIMIT $1 OFFSET $2", [INFO] [stdout] 27 | | limit as i64, [INFO] [stdout] 28 | | offset as i64 [INFO] [stdout] 29 | | ) [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/data/users.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | let current_middle_name = sqlx::query_as!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 50 | | MiddleName, [INFO] [stdout] 51 | | "SELECT middle_name FROM users WHERE id = $1", [INFO] [stdout] 52 | | id [INFO] [stdout] 53 | | ) [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/data/users.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / sqlx::query_as!( [INFO] [stdout] 63 | | User, [INFO] [stdout] 64 | | "UPDATE users \ [INFO] [stdout] 65 | | SET first_name = CASE WHEN $1::varchar(255) IS NULL THEN first_name ELSE $1 END, \ [INFO] [stdout] ... | [INFO] [stdout] 73 | | id [INFO] [stdout] 74 | | ) [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/data/users.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | / sqlx::query_as!( [INFO] [stdout] 91 | | User, [INFO] [stdout] 92 | | "INSERT INTO users (first_name, middle_name, last_name) VALUES ($1, $2, $3) RETURNING *", [INFO] [stdout] 93 | | first_name, [INFO] [stdout] 94 | | middle_name, [INFO] [stdout] 95 | | last_name, [INFO] [stdout] 96 | | ) [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/data/users.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | sqlx::query_as!(User, "DELETE FROM users WHERE id = $1 RETURNING *", 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: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `our_edu` [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] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b8e819c53e7f98329510b1d9330ec20a0c2070dce0b174e7a3ad89e275074bd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8e819c53e7f98329510b1d9330ec20a0c2070dce0b174e7a3ad89e275074bd7", kill_on_drop: false }` [INFO] [stdout] b8e819c53e7f98329510b1d9330ec20a0c2070dce0b174e7a3ad89e275074bd7