[INFO] cloning repository https://github.com/enigbe/tutorfront [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enigbe/tutorfront" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigbe%2Ftutorfront", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigbe%2Ftutorfront'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86d601116394c1e19cdbba714a4786c38b737b5d [INFO] testing enigbe/tutorfront against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigbe%2Ftutorfront" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enigbe/tutorfront on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/enigbe/tutorfront [INFO] finished tweaking git repo https://github.com/enigbe/tutorfront [INFO] tweaked toml for git repo https://github.com/enigbe/tutorfront written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/enigbe/tutorfront 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" "+beta-2025-04-13" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded awc v3.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98ad3f5b8276969afd8526c1be0f3545c1a651118ea55316b3cc4ab9fe526a0c [INFO] running `Command { std: "docker" "start" "-a" "98ad3f5b8276969afd8526c1be0f3545c1a651118ea55316b3cc4ab9fe526a0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98ad3f5b8276969afd8526c1be0f3545c1a651118ea55316b3cc4ab9fe526a0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98ad3f5b8276969afd8526c1be0f3545c1a651118ea55316b3cc4ab9fe526a0c", kill_on_drop: false }` [INFO] [stdout] 98ad3f5b8276969afd8526c1be0f3545c1a651118ea55316b3cc4ab9fe526a0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90711c1e2beddb2f8015be9650c6fed4f436996810ddc2f8df48246101053ffc [INFO] running `Command { std: "docker" "start" "-a" "90711c1e2beddb2f8015be9650c6fed4f436996810ddc2f8df48246101053ffc", 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] Compiling libc v0.2.139 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling tokio v1.24.1 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling serde_json v1.0.93 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling openssl-src v111.24.0+1.1.1s [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling zstd-safe v6.0.4+zstd.1.5.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling zstd-sys v2.0.7+zstd.1.5.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling bytestring v1.2.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling phf_codegen v0.11.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling phf v0.11.1 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling hashlink v0.8.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling whoami v1.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling dotenvy v0.15.6 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling chrono-tz-build v0.0.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling bstr v1.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling sqlformat v0.2.1 [INFO] [stderr] Compiling globset v0.4.10 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling chrono-tz v0.6.3 [INFO] [stderr] Compiling constant_time_eq v0.2.4 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling blake2b_simd v1.0.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling ignore v0.4.20 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling rust-argon2 v1.0.0 [INFO] [stderr] Compiling actix-rt v2.8.0 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling actix-tls v3.0.3 [INFO] [stderr] Compiling pest v2.5.5 [INFO] [stderr] Compiling pest_meta v2.5.5 [INFO] [stderr] Compiling pest_generator v2.5.5 [INFO] [stderr] Compiling pest_derive v2.5.5 [INFO] [stderr] Compiling zstd v0.12.3+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.3.0 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-web-codegen v4.1.0 [INFO] [stderr] Compiling awc v3.1.0 [INFO] [stderr] Compiling actix-web v4.2.1 [INFO] [stderr] Compiling tera v1.17.1 [INFO] [stderr] Compiling actix-files v0.6.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling sqlx-rt v0.6.2 [INFO] [stderr] Compiling sqlx-core v0.6.2 [INFO] [stderr] Compiling sqlx-macros v0.6.2 [INFO] [stderr] Compiling sqlx v0.6.2 [INFO] [stderr] Compiling tutor-web-service v0.1.0 (/opt/rustwide/workdir/tutor-web-service) [INFO] [stderr] Compiling tutor-web-app v0.1.0 (/opt/rustwide/workdir/tutor-web-app) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> tutor-web-service/src/bin/../iter5/dbaccess/course.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | let course_rows = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 10 | | Course, [INFO] [stdout] 11 | | "select * from tutor_course where tutor_id = $1", [INFO] [stdout] 12 | | tutor_id [INFO] [stdout] 13 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> tutor-web-service/src/bin/../iter5/dbaccess/course.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let course_row = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 25 | | Course, [INFO] [stdout] 26 | | "select * from tutor_course where tutor_id = $1 and course_id = $2", [INFO] [stdout] 27 | | tutor_id, [INFO] [stdout] 28 | | course_id [INFO] [stdout] 29 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> tutor-web-service/src/bin/../iter5/dbaccess/course.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let course_row = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 44 | | Course, [INFO] [stdout] 45 | | "insert into tutor_course ( [INFO] [stdout] 46 | | tutor_id, [INFO] [stdout] ... | [INFO] [stdout] 75 | | new_course.course_price [INFO] [stdout] 76 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> tutor-web-service/src/bin/../iter5/dbaccess/course.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | let course_row = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 88 | | "delete from tutor_course where tutor_id = $1 and course_id = $2", [INFO] [stdout] 89 | | tutor_id, [INFO] [stdout] 90 | | course_id [INFO] [stdout] 91 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> tutor-web-service/src/bin/../iter5/dbaccess/course.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | let current_course_row = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 104 | | Course, [INFO] [stdout] 105 | | "select * from tutor_course where tutor_id = $1 and course_id = $2", [INFO] [stdout] 106 | | tutor_id, [INFO] [stdout] 107 | | course_id [INFO] [stdout] 108 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> tutor-web-service/src/bin/../iter5/dbaccess/course.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 154 | let course_row = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 155 | | Course, [INFO] [stdout] 156 | | "UPDATE tutor_course set course_name = $1, [INFO] [stdout] 157 | | course_description = $2, course_format = $3, [INFO] [stdout] ... | [INFO] [stdout] 174 | | course_id [INFO] [stdout] 175 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> tutor-web-service/src/bin/../iter5/dbaccess/tutor.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | sqlx::query!("SELECT tutor_id, tutor_name, tutor_pic_url, tutor_profile FROM tutor") [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> tutor-web-service/src/bin/../iter5/dbaccess/tutor.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let tutor_row = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 27 | | "SELECT tutor_id, tutor_name, tutor_pic_url, tutor_profile FROM tutor where tutor_id = $1", [INFO] [stdout] 28 | | tutor_id [INFO] [stdout] 29 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> tutor-web-service/src/bin/../iter5/dbaccess/tutor.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | ... = sqlx::query!("insert into tutor (tutor_name, tutor_pic_url, tutor_profile) values ($1,$2,$3) returning tutor_id, tutor_name, tutor_pic_url, tutor_profile", new_tutor.tutor_name, new_tutor.tutor_pic_url, new_tutor.tutor_profile) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> tutor-web-service/src/bin/../iter5/dbaccess/tutor.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | let current_tutor = sqlx::query_as!(Tutor, "select * from tutor where tutor_id = $1", tutor_id) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> tutor-web-service/src/bin/../iter5/dbaccess/tutor.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let tutor_row = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 85 | | Tutor, [INFO] [stdout] 86 | | "update tutor set tutor_name = $1, tutor_pic_url = $2, tutor_profile = $3 returning tutor_id, tutor_name, tutor_pic_url, tutor_pr... [INFO] [stdout] 87 | | tutor_name, [INFO] [stdout] 88 | | tutor_pic_url, [INFO] [stdout] 89 | | tutor_profile [INFO] [stdout] 90 | | ) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> tutor-web-service/src/bin/../iter5/dbaccess/tutor.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | let tutor_row = sqlx::query!("delete from tutor where tutor_id = $1", tutor_id,) [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> tutor-web-app/src/bin/../iter5/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 user_table 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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> tutor-web-app/src/bin/../iter5/dbaccess.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | let user_row= sqlx::query_as!(User,"insert into user_table (username, tutor_id, user_password) values ($1,$2,$3) returning username, ... [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] [stdout] warning: unused import: `dbaccess` [INFO] [stdout] --> tutor-web-app/src/bin/iter5-ssr.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use iter5::{dbaccess, errors, handler, model, routes, state::AppState}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tutor-web-app` (bin "iter5-ssr") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tutor-web-service` (bin "main") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "90711c1e2beddb2f8015be9650c6fed4f436996810ddc2f8df48246101053ffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90711c1e2beddb2f8015be9650c6fed4f436996810ddc2f8df48246101053ffc", kill_on_drop: false }` [INFO] [stdout] 90711c1e2beddb2f8015be9650c6fed4f436996810ddc2f8df48246101053ffc