[INFO] cloning repository https://github.com/toadslop/ezytutors [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toadslop/ezytutors" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoadslop%2Fezytutors", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoadslop%2Fezytutors'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99a37c79f3eb21141dd31330d7e5d75444894104 [INFO] testing toadslop/ezytutors against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoadslop%2Fezytutors" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/toadslop/ezytutors [INFO] finished tweaking git repo https://github.com/toadslop/ezytutors [INFO] tweaked toml for git repo https://github.com/toadslop/ezytutors written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/toadslop/ezytutors on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/toadslop/ezytutors 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-5-tc1/source/tutor-web-service/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `sqlx` dependency) [INFO] [stderr] warning: /workspace/builds/worker-5-tc1/source/tutor-web-app-ssr/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `sqlx` dependency) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-macros v0.4.2 [INFO] [stderr] Downloaded sqlx-rt v0.2.0 [INFO] [stderr] Downloaded atoi v0.4.0 [INFO] [stderr] Downloaded crossbeam-queue v0.3.4 [INFO] [stderr] Downloaded sqlx v0.4.2 [INFO] [stderr] Downloaded v_escape v0.15.0 [INFO] [stderr] Downloaded buf-min v0.4.0 [INFO] [stderr] Downloaded crc32fast v1.3.1 [INFO] [stderr] Downloaded ignore v0.4.18 [INFO] [stderr] Downloaded tera v1.15.0 [INFO] [stderr] Downloaded rust-argon2 v1.0.0 [INFO] [stderr] Downloaded ahash v0.6.3 [INFO] [stderr] Downloaded hashlink v0.6.0 [INFO] [stderr] Downloaded humansize v1.1.1 [INFO] [stderr] Downloaded v_htmlescape v0.12.0 [INFO] [stderr] Downloaded actix-files v0.5.0 [INFO] [stderr] Downloaded cargo_metadata v0.12.3 [INFO] [stderr] Downloaded tokio-native-tls v0.1.0 [INFO] [stderr] Downloaded globset v0.4.8 [INFO] [stderr] Downloaded sqlx-core v0.4.2 [INFO] [stderr] Downloaded openssl-src v111.17.0+1.1.1m [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97c1a4c76a478eb8652e0d461cadce91c8d98ecbcf73448a3adb445029c92244 [INFO] running `Command { std: "docker" "start" "-a" "97c1a4c76a478eb8652e0d461cadce91c8d98ecbcf73448a3adb445029c92244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97c1a4c76a478eb8652e0d461cadce91c8d98ecbcf73448a3adb445029c92244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97c1a4c76a478eb8652e0d461cadce91c8d98ecbcf73448a3adb445029c92244", kill_on_drop: false }` [INFO] [stdout] 97c1a4c76a478eb8652e0d461cadce91c8d98ecbcf73448a3adb445029c92244 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f52ffd4376c2f1f3811b1f6faadf0f774960bf467a99a64adeb2f92d1dd7b8e3 [INFO] running `Command { std: "docker" "start" "-a" "f52ffd4376c2f1f3811b1f6faadf0f774960bf467a99a64adeb2f92d1dd7b8e3", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/tutor-web-app-ssr/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `sqlx` dependency) [INFO] [stderr] warning: /opt/rustwide/workdir/tutor-web-service/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `sqlx` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling openssl-src v111.17.0+1.1.1m [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling brotli v3.3.3 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling v_escape v0.15.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling buf-min v0.4.0 [INFO] [stderr] Compiling v_htmlescape v0.12.0 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling blake2b_simd v1.0.0 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Compiling rust-argon2 v1.0.0 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling v_escape_derive v0.8.5 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling actix-rt v2.6.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling pin-project v0.4.29 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-http v2.2.2 [INFO] [stderr] Compiling tera v1.15.0 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.3 [INFO] [stderr] Compiling actix-files v0.5.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling tokio-native-tls v0.1.0 [INFO] [stderr] Compiling sqlx-rt v0.2.0 [INFO] [stderr] Compiling sqlx-core v0.4.2 [INFO] [stderr] Compiling sqlx-macros v0.4.2 [INFO] [stderr] Compiling sqlx v0.4.2 [INFO] [stderr] Compiling tutor-db v0.1.0 (/opt/rustwide/workdir/tutor-web-service) [INFO] [stderr] Compiling tutor-web-app-ssr v0.1.0 (/opt/rustwide/workdir/tutor-web-app-ssr) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> tutor-web-service/src/./app/dbaccess/course.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | let course_rows: Vec = sqlx::query_as!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 11 | | Course, [INFO] [stdout] 12 | | "SELECT * FROM courses where tutor_id = $1", [INFO] [stdout] 13 | | tutor_id [INFO] [stdout] 14 | | ) [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] --> tutor-web-service/src/./app/dbaccess/course.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let course_row = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 27 | | Course, [INFO] [stdout] 28 | | "SELECT * FROM courses WHERE tutor_id = $1 AND course_id = $2", [INFO] [stdout] 29 | | tutor_id, [INFO] [stdout] 30 | | course_id, [INFO] [stdout] 31 | | ) [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] --> tutor-web-service/src/./app/dbaccess/course.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | let course_row = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 47 | | Course, [INFO] [stdout] 48 | | "INSERT INTO courses( \ [INFO] [stdout] 49 | | tutor_id, \ [INFO] [stdout] ... | [INFO] [stdout] 78 | | new_course.course_price, [INFO] [stdout] 79 | | ) [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] --> tutor-web-service/src/./app/dbaccess/course.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | let course_row = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 92 | | "DELETE FROM courses WHERE tutor_id = $1 AND course_id = $2", [INFO] [stdout] 93 | | tutor_id, [INFO] [stdout] 94 | | course_id, [INFO] [stdout] 95 | | ) [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] --> tutor-web-service/src/./app/dbaccess/course.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | let current_course_row = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 110 | | Course, [INFO] [stdout] 111 | | "SELECT * FROM courses where tutor_id = $1 and course_id = $2", [INFO] [stdout] 112 | | tutor_id, [INFO] [stdout] 113 | | course_id [INFO] [stdout] 114 | | ) [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] --> tutor-web-service/src/./app/dbaccess/course.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | / sqlx::query_as!( [INFO] [stdout] 163 | | Course, [INFO] [stdout] 164 | | "UPDATE courses set course_name = $1, course_description = $2, course_format = $3, [INFO] [stdout] 165 | | course_structure = $4, course_duration = $5, course_price = $6, course_language = $7, [INFO] [stdout] ... | [INFO] [stdout] 169 | | structure, duration, price, language,level, tutor_id, course_id [INFO] [stdout] 170 | | ) [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] --> tutor-web-service/src/./app/dbaccess/tutor.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(sqlx::query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 9 | | Tutor, [INFO] [stdout] 10 | | "SELECT * FROM tutors", [INFO] [stdout] 11 | | ) [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] --> tutor-web-service/src/./app/dbaccess/tutor.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | Ok(sqlx::query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 22 | | Tutor, [INFO] [stdout] 23 | | "SELECT * FROM tutors WHERE tutor_id = $1", [INFO] [stdout] 24 | | tutor_id, [INFO] [stdout] 25 | | ) [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] --> tutor-web-service/src/./app/dbaccess/tutor.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(sqlx::query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 36 | | Tutor, [INFO] [stdout] 37 | | "INSERT INTO tutors(tutor_id, tutor_name, tutor_pic_url, tutor_profile) \ [INFO] [stdout] 38 | | VALUES (DEFAULT, $1, $2, $3) RETURNING \ [INFO] [stdout] 39 | | tutor_id, tutor_name, tutor_pic_url, tutor_profile", [INFO] [stdout] 40 | | new_tutor.tutor_name, new_tutor.tutor_pic_url, new_tutor.tutor_profile, [INFO] [stdout] 41 | | ) [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] --> tutor-web-service/src/./app/dbaccess/tutor.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | let current_tutor_info = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 53 | | Tutor, [INFO] [stdout] 54 | | "SELECT * FROM tutors WHERE tutor_id = $1", [INFO] [stdout] 55 | | tutor_id, [INFO] [stdout] 56 | | ) [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] --> tutor-web-service/src/./app/dbaccess/tutor.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | Ok(sqlx::query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 69 | | Tutor, [INFO] [stdout] 70 | | "UPDATE tutors set tutor_name = $1, tutor_pic_url = $2, tutor_profile = $3 \ [INFO] [stdout] 71 | | WHERE tutor_id = $4 \ [INFO] [stdout] 72 | | RETURNING tutor_id, tutor_name, tutor_pic_url, tutor_profile", [INFO] [stdout] 73 | | new_info.tutor_name, new_info.tutor_pic_url, new_info.tutor_profile, new_info.tutor_id, [INFO] [stdout] 74 | | ) [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] --> tutor-web-service/src/./app/dbaccess/tutor.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | Ok(sqlx::query!( [INFO] [stdout] | ________^ [INFO] [stdout] 85 | | "DELETE FROM tutors WHERE tutor_id = $1", [INFO] [stdout] 86 | | tutor_id, [INFO] [stdout] 87 | | ) [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] --> tutor-web-app-ssr/src/dbaccess.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | let user_row = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 7 | | User, [INFO] [stdout] 8 | | "SELECT * FROM users where username = $1", [INFO] [stdout] 9 | | username [INFO] [stdout] 10 | | ) [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] --> tutor-web-app-ssr/src/dbaccess.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | let user_row= sqlx::query_as!(User,"insert into users (username, tutor_id, user_password) values ($1,$2,$3) returning username, tutor... [INFO] [stdout] | ___________________^ [INFO] [stdout] 23 | | new_user.username, new_user.tutor_id, new_user.user_password) [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] [stderr] error: could not compile `tutor-db` (bin "tutor-db") due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tutor-web-app-ssr` (bin "tutor-web-app-ssr") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "f52ffd4376c2f1f3811b1f6faadf0f774960bf467a99a64adeb2f92d1dd7b8e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f52ffd4376c2f1f3811b1f6faadf0f774960bf467a99a64adeb2f92d1dd7b8e3", kill_on_drop: false }` [INFO] [stdout] f52ffd4376c2f1f3811b1f6faadf0f774960bf467a99a64adeb2f92d1dd7b8e3