[INFO] cloning repository https://github.com/lostking-202/ws
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lostking-202/ws" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flostking-202%2Fws", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flostking-202%2Fws'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bfa825a49f1708b4a13dee258d148f51bf0ef389
[INFO] testing lostking-202/ws against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flostking-202%2Fws" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lostking-202/ws
[INFO] finished tweaking git repo https://github.com/lostking-202/ws
[INFO] tweaked toml for git repo https://github.com/lostking-202/ws written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lostking-202/ws on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lostking-202/ws 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" "+1.99.0-beta.1" "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]   |
[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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b87f528ab6c4bdea7bc058a5a1dc8316fe3171927b517b8afffee78eea2f229e
[INFO] running `Command { std: "docker" "start" "b87f528ab6c4bdea7bc058a5a1dc8316fe3171927b517b8afffee78eea2f229e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b87f528ab6c4bdea7bc058a5a1dc8316fe3171927b517b8afffee78eea2f229e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b87f528ab6c4bdea7bc058a5a1dc8316fe3171927b517b8afffee78eea2f229e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b87f528ab6c4bdea7bc058a5a1dc8316fe3171927b517b8afffee78eea2f229e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b87f528ab6c4bdea7bc058a5a1dc8316fe3171927b517b8afffee78eea2f229e" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", 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]   |
[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.158
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling serde_json v1.0.127
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling rustls v0.23.12
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling rustls-pki-types v1.8.0
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling allocator-api2 v0.2.18
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling cpufeatures v0.2.13
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling parking v2.2.0
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling rustix v0.38.35
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling rustls-pemfile v2.1.3
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling webpki-roots v0.26.5
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]    Compiling unicode-properties v0.1.2
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling whoami v1.5.2
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling cc v1.1.15
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling sqlformat v0.2.4
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling tempfile v3.12.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling brotli-decompressor v4.0.1
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling bytestring v1.3.1
[INFO] [stderr]    Compiling actix-service v2.0.2
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling flate2 v1.0.33
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling serde_derive v1.0.209
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling regex v1.10.6
[INFO] [stderr]    Compiling brotli v6.0.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling indexmap v2.5.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling impl-more v0.1.6
[INFO] [stderr]    Compiling rustls-webpki v0.102.7
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling tokio v1.40.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]    Compiling actix-server v2.5.0
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling sqlx-core v0.8.1
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling sqlx-postgres v0.8.1
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.1
[INFO] [stderr]    Compiling sqlx-macros v0.8.1
[INFO] [stderr]    Compiling zstd v0.13.2
[INFO] [stderr]    Compiling sqlx v0.8.1
[INFO] [stderr]    Compiling actix-http v3.9.0
[INFO] [stderr]    Compiling actix-web v4.9.0
[INFO] [stderr]    Compiling webservice v0.1.0 (/opt/rustwide/workdir/webservice)
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]  --> webservice/src/dbaccess/course.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let rows=sqlx::query_as!(Course,r"select * from course where teacher_id=$1",teacher_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]   --> webservice/src/dbaccess/course.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let row=sqlx::query_as!(Course,r"select * from course where teacher_id=$1 and id=$2",teacher_id,course_id).fetch_optional(pool)....
[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]   --> webservice/src/dbaccess/course.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let row=sqlx::query_as!(Course,
[INFO] [stdout]    |  _____________^
[INFO] [stdout] 23 | |         r#"insert into course (teacher_id,name,description,format,structure,duration,price,language,level)
[INFO] [stdout] 24 | |         values ($1,$2,$3,$4,$5,$6,$7,$8,$9)
[INFO] [stdout] 25 | |         returning id,teacher_id,name,description,format,structure,duration,price,language,level,time"#,
[INFO] [stdout] 26 | |         new_course.teacher_id,new_course.name,new_course.description,new_course.format,new_course.structure,new_course.duration,
[INFO] [stdout] 27 | |         new_course.price,new_course.language,new_course.level
[INFO] [stdout] 28 | |     ).fetch_one(pool).await?;
[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]   --> webservice/src/dbaccess/course.rs:33:20
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let course_row=sqlx::query!("delete from course where teacher_id=$1 and id=$2",teacher_id,id).execute(pool).await?;
[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]   --> webservice/src/dbaccess/course.rs:39:28
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let current_course_row=sqlx::query_as!(Course,"select * from course where teacher_id=$1 and id=$2",teacher_id,id).fetch_one(pool...
[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]   --> webservice/src/dbaccess/course.rs:90:20
[INFO] [stdout]    |
[INFO] [stdout] 90 |       let course_row=sqlx::query_as!(Course,
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 91 | |         "update course set name=$1,description=$2,format=$3,structure=$4,duration=$5,price=$6,language=$7,level=$8
[INFO] [stdout] 92 | |         where teacher_id=$9 and id=$10 returning id,teacher_id,name,description,format,structure,duration,price,language,level,time",
[INFO] [stdout] 93 | |         name,description,format,structure,duration,price,language,level,teacher_id,id).fetch_one(pool).await;
[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]  --> webservice/src/dbaccess/teacher.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let rows:Vec<Teacher>=sqlx::query_as!(Teacher,r"select * from teacher").fetch_all(pool).await?;
[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]   --> webservice/src/dbaccess/teacher.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Ok(sqlx::query_as!(Teacher,"select * from teacher where id=$1",teacher_id).fetch_one(pool).await?)
[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]   --> webservice/src/dbaccess/teacher.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 |       Ok(sqlx::query_as!(Teacher,"insert into teacher(name,picture_url,profile)values($1,$2,$3) returning id,name,picture_url,profile",
[INFO] [stdout]    |  ________^
[INFO] [stdout] 16 | |     new_teacher.name,new_teacher.picture_url,new_teacher.profile).fetch_one(pool).await?)
[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]   --> webservice/src/dbaccess/teacher.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let current_teacher_row=sqlx::query_as!(Teacher,"select * from teacher where id=$1",id).fetch_one(pool).await
[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]   --> webservice/src/dbaccess/teacher.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...ow=sqlx::query_as!(Teacher,"update teacher set name=$1,picture_url=$2,profile=$3 where id=$4 returning id,name,picture_url,profile",name,picture_url,profile,id).fe...
[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]   --> webservice/src/dbaccess/teacher.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let row=sqlx::query!("delete from teacher where id=$1",teacher_id).execute(pool).await.map_err(|e| MyError::DBError("unable to d...
[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]  --> webservice/src/bin/../dbaccess/course.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let rows=sqlx::query_as!(Course,r"select * from course where teacher_id=$1",teacher_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]   --> webservice/src/bin/../dbaccess/course.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let row=sqlx::query_as!(Course,r"select * from course where teacher_id=$1 and id=$2",teacher_id,course_id).fetch_optional(pool)....
[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]   --> webservice/src/bin/../dbaccess/course.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let row=sqlx::query_as!(Course,
[INFO] [stdout]    |  _____________^
[INFO] [stdout] 23 | |         r#"insert into course (teacher_id,name,description,format,structure,duration,price,language,level)
[INFO] [stdout] 24 | |         values ($1,$2,$3,$4,$5,$6,$7,$8,$9)
[INFO] [stdout] 25 | |         returning id,teacher_id,name,description,format,structure,duration,price,language,level,time"#,
[INFO] [stdout] 26 | |         new_course.teacher_id,new_course.name,new_course.description,new_course.format,new_course.structure,new_course.duration,
[INFO] [stdout] 27 | |         new_course.price,new_course.language,new_course.level
[INFO] [stdout] 28 | |     ).fetch_one(pool).await?;
[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]   --> webservice/src/bin/../dbaccess/course.rs:33:20
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let course_row=sqlx::query!("delete from course where teacher_id=$1 and id=$2",teacher_id,id).execute(pool).await?;
[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]   --> webservice/src/bin/../dbaccess/course.rs:39:28
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let current_course_row=sqlx::query_as!(Course,"select * from course where teacher_id=$1 and id=$2",teacher_id,id).fetch_one(pool...
[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]   --> webservice/src/bin/../dbaccess/course.rs:90:20
[INFO] [stdout]    |
[INFO] [stdout] 90 |       let course_row=sqlx::query_as!(Course,
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 91 | |         "update course set name=$1,description=$2,format=$3,structure=$4,duration=$5,price=$6,language=$7,level=$8
[INFO] [stdout] 92 | |         where teacher_id=$9 and id=$10 returning id,teacher_id,name,description,format,structure,duration,price,language,level,time",
[INFO] [stdout] 93 | |         name,description,format,structure,duration,price,language,level,teacher_id,id).fetch_one(pool).await;
[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]  --> webservice/src/bin/../dbaccess/teacher.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let rows:Vec<Teacher>=sqlx::query_as!(Teacher,r"select * from teacher").fetch_all(pool).await?;
[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]   --> webservice/src/bin/../dbaccess/teacher.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Ok(sqlx::query_as!(Teacher,"select * from teacher where id=$1",teacher_id).fetch_one(pool).await?)
[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]   --> webservice/src/bin/../dbaccess/teacher.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 |       Ok(sqlx::query_as!(Teacher,"insert into teacher(name,picture_url,profile)values($1,$2,$3) returning id,name,picture_url,profile",
[INFO] [stdout]    |  ________^
[INFO] [stdout] 16 | |     new_teacher.name,new_teacher.picture_url,new_teacher.profile).fetch_one(pool).await?)
[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]   --> webservice/src/bin/../dbaccess/teacher.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let current_teacher_row=sqlx::query_as!(Teacher,"select * from teacher where id=$1",id).fetch_one(pool).await
[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]   --> webservice/src/bin/../dbaccess/teacher.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...ow=sqlx::query_as!(Teacher,"update teacher set name=$1,picture_url=$2,profile=$3 where id=$4 returning id,name,picture_url,profile",name,picture_url,profile,id).fe...
[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]   --> webservice/src/bin/../dbaccess/teacher.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let row=sqlx::query!("delete from teacher where id=$1",teacher_id).execute(pool).await.map_err(|e| MyError::DBError("unable to d...
[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] warning: unused import: `actix_web::cookie::time::format_description::modifier::SubsecondDigits::One`
[INFO] [stdout]  --> webservice/src/bin/teacher-service.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_web::cookie::time::format_description::modifier::SubsecondDigits::One;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `App`
[INFO] [stdout]  --> webservice/src/bin/../handlers/teacher.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, App, HttpResponse};
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::web`
[INFO] [stdout]  --> webservice/src/bin/../models/course.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::web;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> webservice/src/bin/../errors.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> webservice/src/errors.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::web`
[INFO] [stdout]  --> webservice/src/models/course.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::web;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `App`
[INFO] [stdout]  --> webservice/src/handlers/teacher.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, App, HttpResponse};
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> webservice/src/errors.rs:54:30
[INFO] [stdout]    |
[INFO] [stdout] 54 |             MyError::DBError(msg)|MyError::ActixError(msg)|MyError::InvalidInput(msg)=>StatusCode::INTERNAL_SERVER_ERROR,
[INFO] [stdout]    |                              ^^^                      ^^^                        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 54 |             MyError::DBError(_msg)|MyError::ActixError(_msg)|MyError::InvalidInput(_msg)=>StatusCode::INTERNAL_SERVER_ERROR,
[INFO] [stdout]    |                              +                         +                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> webservice/src/errors.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |             MyError::NotFound(msg)=>StatusCode::NOT_FOUND
[INFO] [stdout]    |                               ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> webservice/src/bin/../errors.rs:54:30
[INFO] [stdout]    |
[INFO] [stdout] 54 |             MyError::DBError(msg)|MyError::ActixError(msg)|MyError::InvalidInput(msg)=>StatusCode::INTERNAL_SERVER_ERROR,
[INFO] [stdout]    |                              ^^^                      ^^^                        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 54 |             MyError::DBError(_msg)|MyError::ActixError(_msg)|MyError::InvalidInput(_msg)=>StatusCode::INTERNAL_SERVER_ERROR,
[INFO] [stdout]    |                              +                         +                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> webservice/src/bin/../errors.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 55 |             MyError::NotFound(msg)=>StatusCode::NOT_FOUND
[INFO] [stdout]    |                               ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `webservice` (bin "webservice") due to 12 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `webservice` (bin "teacher-service") due to 12 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b87f528ab6c4bdea7bc058a5a1dc8316fe3171927b517b8afffee78eea2f229e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b87f528ab6c4bdea7bc058a5a1dc8316fe3171927b517b8afffee78eea2f229e", kill_on_drop: false }`
[INFO] [stdout] b87f528ab6c4bdea7bc058a5a1dc8316fe3171927b517b8afffee78eea2f229e
