[INFO] cloning repository https://github.com/dpointtt/sun-class-app
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dpointtt/sun-class-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpointtt%2Fsun-class-app", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpointtt%2Fsun-class-app'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 59c1911c1e32bc8d74b0edc4ae34447b109b4ef2
[INFO] checking dpointtt/sun-class-app against try#8a2f6fe57adadb246778b8d41925d3dc46d468cb for pr-158320
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpointtt%2Fsun-class-app" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dpointtt/sun-class-app
[INFO] finished tweaking git repo https://github.com/dpointtt/sun-class-app
[INFO] tweaked toml for git repo https://github.com/dpointtt/sun-class-app written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dpointtt/sun-class-app on toolchain 8a2f6fe57adadb246778b8d41925d3dc46d468cb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dpointtt/sun-class-app 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" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded deranged v0.4.1
[INFO] [stderr]   Downloaded iana-time-zone v0.1.62
[INFO] [stderr]   Downloaded openssl-sys v0.9.106
[INFO] [stderr]   Downloaded axum-extra v0.10.1
[INFO] [stderr]   Downloaded rustix v1.0.3
[INFO] [stderr]   Downloaded openssl v0.10.71
[INFO] [stderr]   Downloaded tokio v1.44.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 064d38e474ab95c4ad0ae423c864cf8fad4f8053c01288022e808a284661f4bc
[INFO] running `Command { std: "docker" "start" "064d38e474ab95c4ad0ae423c864cf8fad4f8053c01288022e808a284661f4bc", 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" "064d38e474ab95c4ad0ae423c864cf8fad4f8053c01288022e808a284661f4bc" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "064d38e474ab95c4ad0ae423c864cf8fad4f8053c01288022e808a284661f4bc", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "064d38e474ab95c4ad0ae423c864cf8fad4f8053c01288022e808a284661f4bc" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]    Compiling cc v1.2.17
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]     Checking tokio v1.44.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.62
[INFO] [stderr]    Compiling rustix v1.0.3
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]     Checking deranged v0.4.1
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling indexmap v2.8.0
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking axum-core v0.5.2
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]     Checking multer v3.1.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking headers-core v0.3.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking headers v0.4.0
[INFO] [stderr]     Checking bcrypt v0.17.0
[INFO] [stderr]     Checking tower-http v0.6.2
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]     Checking tower-cookies v0.11.0
[INFO] [stderr]     Checking axum v0.8.3
[INFO] [stderr]     Checking sqlx-core v0.8.3
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking sqlx-postgres v0.8.3
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking axum-extra v0.10.1
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.3
[INFO] [stderr]    Compiling sqlx-macros v0.8.3
[INFO] [stderr]     Checking sqlx v0.8.3
[INFO] [stderr]     Checking sun-class v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/user.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let user = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 30 | |         "SELECT id, name, email FROM users WHERE id = $1",
[INFO] [stdout] 31 | |         claims.sub
[INFO] [stdout] 32 | |     )
[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]   --> src/handlers/user.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 51 |       let user = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 52 | |         "SELECT id, name, email FROM users WHERE id = $1",
[INFO] [stdout] 53 | |         claims.sub
[INFO] [stdout] 54 | |     )
[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]   --> src/handlers/user.rs:78:16
[INFO] [stdout]    |
[INFO] [stdout] 78 |       let user = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 79 | |         "UPDATE users SET name = $1 WHERE id = $2 RETURNING id, name, email",
[INFO] [stdout] 80 | |         request.name,
[INFO] [stdout] 81 | |         claims.sub
[INFO] [stdout] 82 | |     )
[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]    --> src/handlers/user.rs:105:16
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/user.rs:115:31
[INFO] [stdout]     |
[INFO] [stdout] 115 |       let enrolled_classrooms = sqlx::query_as!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 116 | |         FUCKEDClassroom,
[INFO] [stdout] 117 | |         "SELECT 
[INFO] [stdout] 118 | |         c.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 135 | |         claims.sub
[INFO] [stdout] 136 | |     )
[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]    --> src/handlers/user.rs:151:31
[INFO] [stdout]     |
[INFO] [stdout] 151 |       let teaching_classrooms = sqlx::query_as!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 152 | |         FUCKEDClassroom,
[INFO] [stdout] 153 | |         r#"
[INFO] [stdout] 154 | |     SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 172 | |         claims.sub
[INFO] [stdout] 173 | |     )
[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]   --> src/handlers/auth.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let existing_user = sqlx::query!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 22 | |         "SELECT email FROM users WHERE email = $1",
[INFO] [stdout] 23 | |         request.email
[INFO] [stdout] 24 | |     )
[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]   --> src/handlers/user.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let user = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 30 | |         "SELECT id, name, email FROM users WHERE id = $1",
[INFO] [stdout] 31 | |         claims.sub
[INFO] [stdout] 32 | |     )
[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]   --> src/handlers/auth.rs:38:16
[INFO] [stdout]    |
[INFO] [stdout] 38 |       let user = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 39 | |         "INSERT INTO users (name, email, password_hash) 
[INFO] [stdout] 40 | |          VALUES ($1, $2, $3)
[INFO] [stdout] 41 | |          RETURNING id, name, email",
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |         hashed_password
[INFO] [stdout] 45 | |     )
[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]   --> src/handlers/auth.rs:67:16
[INFO] [stdout]    |
[INFO] [stdout] 67 |       let user = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 68 | |         "SELECT id, name, email, password_hash FROM users WHERE email = $1",
[INFO] [stdout] 69 | |         request.email
[INFO] [stdout] 70 | |     )
[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]   --> src/handlers/user.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 51 |       let user = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 52 | |         "SELECT id, name, email FROM users WHERE id = $1",
[INFO] [stdout] 53 | |         claims.sub
[INFO] [stdout] 54 | |     )
[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]   --> src/handlers/auth.rs:87:27
[INFO] [stdout]    |
[INFO] [stdout] 87 |       let classroom_roles = sqlx::query_as!(UserClassroomRole, 
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 88 | |         "SELECT user_id, classroom_id, role AS \"role: ClassroomRole\", joined_at FROM user_classroom_roles WHERE user_id = $1", 
[INFO] [stdout] 89 | |         user.id
[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]   --> src/handlers/user.rs:78:16
[INFO] [stdout]    |
[INFO] [stdout] 78 |       let user = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 79 | |         "UPDATE users SET name = $1 WHERE id = $2 RETURNING id, name, email",
[INFO] [stdout] 80 | |         request.name,
[INFO] [stdout] 81 | |         claims.sub
[INFO] [stdout] 82 | |     )
[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]   --> src/handlers/classroom.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/user.rs:105:16
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]   --> src/handlers/classroom.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |       let classroom = sqlx::query!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 39 | |         "INSERT INTO classrooms (id_base64, name, description, join_code, creator_id)
[INFO] [stdout] 40 | |         VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] 41 | |         RETURNING id",
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | |         claims.sub
[INFO] [stdout] 47 | |     )
[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]   --> src/handlers/classroom.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | /     sqlx::query!(
[INFO] [stdout] 53 | |         "INSERT INTO user_classroom_roles (classroom_id, user_id, role)
[INFO] [stdout] 54 | |         VALUES ($1, $2, 'teacher')",
[INFO] [stdout] 55 | |         classroom.id,
[INFO] [stdout] 56 | |         claims.sub
[INFO] [stdout] 57 | |     )
[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]    --> src/handlers/user.rs:115:31
[INFO] [stdout]     |
[INFO] [stdout] 115 |       let enrolled_classrooms = sqlx::query_as!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 116 | |         FUCKEDClassroom,
[INFO] [stdout] 117 | |         "SELECT 
[INFO] [stdout] 118 | |         c.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 135 | |         claims.sub
[INFO] [stdout] 136 | |     )
[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]   --> src/handlers/classroom.rs:72:16
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]   --> src/handlers/classroom.rs:82:21
[INFO] [stdout]    |
[INFO] [stdout] 82 |       let classroom = sqlx::query!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 83 | |         r#"SELECT c.id, c.join_code, c.name as title, c.description, u.name as teacher FROM classrooms c JOIN users u ON c.creator...
[INFO] [stdout] 84 | |         id
[INFO] [stdout] 85 | |     )
[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]   --> src/handlers/classroom.rs:95:23
[INFO] [stdout]    |
[INFO] [stdout] 95 |       let assignments = sqlx::query!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 96 | |         "SELECT id, title, due_date FROM assignments WHERE classroom_id = $1",
[INFO] [stdout] 97 | |         classroom.id
[INFO] [stdout] 98 | |     )
[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]    --> src/handlers/user.rs:151:31
[INFO] [stdout]     |
[INFO] [stdout] 151 |       let teaching_classrooms = sqlx::query_as!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 152 | |         FUCKEDClassroom,
[INFO] [stdout] 153 | |         r#"
[INFO] [stdout] 154 | |     SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 172 | |         claims.sub
[INFO] [stdout] 173 | |     )
[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]    --> src/handlers/classroom.rs:114:17
[INFO] [stdout]     |
[INFO] [stdout] 114 |       let users = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 115 | |         "SELECT u.name, uc.role as role FROM users u JOIN user_classroom_roles uc ON u.id = uc.user_id WHERE uc.classroom_id = $1",
[INFO] [stdout] 116 | |         classroom.id
[INFO] [stdout] 117 | |     )
[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]    --> src/handlers/classroom.rs:150:16
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]   --> src/handlers/auth.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let existing_user = sqlx::query!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 22 | |         "SELECT email FROM users WHERE email = $1",
[INFO] [stdout] 23 | |         request.email
[INFO] [stdout] 24 | |     )
[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]    --> src/handlers/classroom.rs:160:21
[INFO] [stdout]     |
[INFO] [stdout] 160 |       let classroom = sqlx::query!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 161 | |         r#"SELECT c.name FROM classrooms c JOIN users u ON c.creator_id = u.id WHERE c.id = $1"#,
[INFO] [stdout] 162 | |         id
[INFO] [stdout] 163 | |     )
[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]   --> src/handlers/auth.rs:38:16
[INFO] [stdout]    |
[INFO] [stdout] 38 |       let user = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 39 | |         "INSERT INTO users (name, email, password_hash) 
[INFO] [stdout] 40 | |          VALUES ($1, $2, $3)
[INFO] [stdout] 41 | |          RETURNING id, name, email",
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |         hashed_password
[INFO] [stdout] 45 | |     )
[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]    --> src/handlers/classroom.rs:173:23
[INFO] [stdout]     |
[INFO] [stdout] 173 |       let is_enrolled = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 174 | |         "SELECT role FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2",
[INFO] [stdout] 175 | |         id,
[INFO] [stdout] 176 | |         claims.sub
[INFO] [stdout] 177 | |     )
[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]    --> src/handlers/classroom.rs:199:16
[INFO] [stdout]     |
[INFO] [stdout] 199 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]   --> src/handlers/auth.rs:67:16
[INFO] [stdout]    |
[INFO] [stdout] 67 |       let user = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 68 | |         "SELECT id, name, email, password_hash FROM users WHERE email = $1",
[INFO] [stdout] 69 | |         request.email
[INFO] [stdout] 70 | |     )
[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]    --> src/handlers/classroom.rs:209:21
[INFO] [stdout]     |
[INFO] [stdout] 209 |       let classroom = sqlx::query!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 210 | |         r#"SELECT c.id FROM classrooms c JOIN users u ON c.creator_id = u.id WHERE c.join_code = $1"#,
[INFO] [stdout] 211 | |         request.join_code
[INFO] [stdout] 212 | |     )
[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]    --> src/handlers/classroom.rs:222:23
[INFO] [stdout]     |
[INFO] [stdout] 222 |       let is_enrolled = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 223 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2",
[INFO] [stdout] 224 | |         classroom.id,
[INFO] [stdout] 225 | |         claims.sub
[INFO] [stdout] 226 | |     )
[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]   --> src/handlers/auth.rs:87:27
[INFO] [stdout]    |
[INFO] [stdout] 87 |       let classroom_roles = sqlx::query_as!(UserClassroomRole, 
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 88 | |         "SELECT user_id, classroom_id, role AS \"role: ClassroomRole\", joined_at FROM user_classroom_roles WHERE user_id = $1", 
[INFO] [stdout] 89 | |         user.id
[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]    --> src/handlers/classroom.rs:239:5
[INFO] [stdout]     |
[INFO] [stdout] 239 | /     sqlx::query!(
[INFO] [stdout] 240 | |         "INSERT INTO user_classroom_roles (user_id, classroom_id, role) VALUES ($1, $2, $3)",
[INFO] [stdout] 241 | |         claims.sub,
[INFO] [stdout] 242 | |         classroom.id,
[INFO] [stdout] 243 | |         "student"
[INFO] [stdout] 244 | |     )
[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]   --> src/handlers/classroom.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:260:16
[INFO] [stdout]     |
[INFO] [stdout] 260 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:270:22
[INFO] [stdout]     |
[INFO] [stdout] 270 |       let is_teacher = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 271 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2 AND role = 'teacher'",
[INFO] [stdout] 272 | |         id,
[INFO] [stdout] 273 | |         claims.sub
[INFO] [stdout] 274 | |     )
[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]   --> src/handlers/classroom.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |       let classroom = sqlx::query!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 39 | |         "INSERT INTO classrooms (id_base64, name, description, join_code, creator_id)
[INFO] [stdout] 40 | |         VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] 41 | |         RETURNING id",
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | |         claims.sub
[INFO] [stdout] 47 | |     )
[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]    --> src/handlers/classroom.rs:300:30
[INFO] [stdout]     |
[INFO] [stdout] 300 |       let created_assignment = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 301 | |         "INSERT INTO assignments (id_base64, classroom_id, title, description, due_date, points, created_by) VALUES ($1, $2, $3, ...
[INFO] [stdout] 302 | |         unique_string_id,
[INFO] [stdout] 303 | |         id,
[INFO] [stdout] ...   |
[INFO] [stdout] 308 | |         claims.sub
[INFO] [stdout] 309 | |     )
[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]   --> src/handlers/classroom.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | /     sqlx::query!(
[INFO] [stdout] 53 | |         "INSERT INTO user_classroom_roles (classroom_id, user_id, role)
[INFO] [stdout] 54 | |         VALUES ($1, $2, 'teacher')",
[INFO] [stdout] 55 | |         classroom.id,
[INFO] [stdout] 56 | |         claims.sub
[INFO] [stdout] 57 | |     )
[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]    --> src/handlers/classroom.rs:326:16
[INFO] [stdout]     |
[INFO] [stdout] 326 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]   --> src/handlers/classroom.rs:72:16
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:336:23
[INFO] [stdout]     |
[INFO] [stdout] 336 |       let is_enrolled = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 337 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2",
[INFO] [stdout] 338 | |         c_id,
[INFO] [stdout] 339 | |         claims.sub
[INFO] [stdout] 340 | |     )
[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]    --> src/handlers/classroom.rs:353:22
[INFO] [stdout]     |
[INFO] [stdout] 353 |       let assignment = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 354 | |         r#"
[INFO] [stdout] 355 | |     SELECT 
[INFO] [stdout] 356 | |         assignments.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 368 | |         a_id
[INFO] [stdout] 369 | |     )
[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]   --> src/handlers/classroom.rs:82:21
[INFO] [stdout]    |
[INFO] [stdout] 82 |       let classroom = sqlx::query!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 83 | |         r#"SELECT c.id, c.join_code, c.name as title, c.description, u.name as teacher FROM classrooms c JOIN users u ON c.creator...
[INFO] [stdout] 84 | |         id
[INFO] [stdout] 85 | |     )
[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]    --> src/handlers/classroom.rs:379:21
[INFO] [stdout]     |
[INFO] [stdout] 379 |       let materials = sqlx::query!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 380 | |         "SELECT id, file_name, content_type, assignment_file_type FROM assignment_files WHERE assignment_id = $1 AND assignment_f...
[INFO] [stdout] 381 | |         a_id
[INFO] [stdout] 382 | |     )
[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]   --> src/handlers/classroom.rs:95:23
[INFO] [stdout]    |
[INFO] [stdout] 95 |       let assignments = sqlx::query!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 96 | |         "SELECT id, title, due_date FROM assignments WHERE classroom_id = $1",
[INFO] [stdout] 97 | |         classroom.id
[INFO] [stdout] 98 | |     )
[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]    --> src/handlers/classroom.rs:114:17
[INFO] [stdout]     |
[INFO] [stdout] 114 |       let users = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 115 | |         "SELECT u.name, uc.role as role FROM users u JOIN user_classroom_roles uc ON u.id = uc.user_id WHERE uc.classroom_id = $1",
[INFO] [stdout] 116 | |         classroom.id
[INFO] [stdout] 117 | |     )
[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]    --> src/handlers/classroom.rs:397:28
[INFO] [stdout]     |
[INFO] [stdout] 397 |       let submission_files = sqlx::query!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 398 | |         "SELECT id, file_name, content_type, assignment_file_type FROM assignment_files WHERE assignment_id = $1 AND user_id = $2...
[INFO] [stdout] 399 | |         a_id,
[INFO] [stdout] 400 | |         claims.sub
[INFO] [stdout] 401 | |     )
[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]    --> src/handlers/classroom.rs:150:16
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:416:24
[INFO] [stdout]     |
[INFO] [stdout] 416 |       let is_submitted = sqlx::query!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 417 | |         "SELECT 1 as one FROM submissions WHERE assignment_id = $1 AND user_id = $2 AND submitted_at IS NOT NULL",
[INFO] [stdout] 418 | |         a_id,
[INFO] [stdout] 419 | |         claims.sub
[INFO] [stdout] 420 | |     )
[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]    --> src/handlers/classroom.rs:160:21
[INFO] [stdout]     |
[INFO] [stdout] 160 |       let classroom = sqlx::query!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 161 | |         r#"SELECT c.name FROM classrooms c JOIN users u ON c.creator_id = u.id WHERE c.id = $1"#,
[INFO] [stdout] 162 | |         id
[INFO] [stdout] 163 | |     )
[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]    --> src/handlers/classroom.rs:429:17
[INFO] [stdout]     |
[INFO] [stdout] 429 |           grade = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 430 | |             "SELECT grade FROM submissions WHERE assignment_id = $1 AND user_id = $2",
[INFO] [stdout] 431 | |             a_id,
[INFO] [stdout] 432 | |             claims.sub
[INFO] [stdout] 433 | |         )
[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]    --> src/handlers/classroom.rs:173:23
[INFO] [stdout]     |
[INFO] [stdout] 173 |       let is_enrolled = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 174 | |         "SELECT role FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2",
[INFO] [stdout] 175 | |         id,
[INFO] [stdout] 176 | |         claims.sub
[INFO] [stdout] 177 | |     )
[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]    --> src/handlers/classroom.rs:469:16
[INFO] [stdout]     |
[INFO] [stdout] 469 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:199:16
[INFO] [stdout]     |
[INFO] [stdout] 199 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:479:23
[INFO] [stdout]     |
[INFO] [stdout] 479 |       let is_enrolled = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 480 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2",
[INFO] [stdout] 481 | |         c_id,
[INFO] [stdout] 482 | |         claims.sub
[INFO] [stdout] 483 | |     )
[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]    --> src/handlers/classroom.rs:209:21
[INFO] [stdout]     |
[INFO] [stdout] 209 |       let classroom = sqlx::query!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 210 | |         r#"SELECT c.id FROM classrooms c JOIN users u ON c.creator_id = u.id WHERE c.join_code = $1"#,
[INFO] [stdout] 211 | |         request.join_code
[INFO] [stdout] 212 | |     )
[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]    --> src/handlers/classroom.rs:512:9
[INFO] [stdout]     |
[INFO] [stdout] 512 | /         sqlx::query!(
[INFO] [stdout] 513 | |             "INSERT INTO assignment_files (assignment_id, user_id, file_name, file_path, content_type, assignment_file_type)
[INFO] [stdout] 514 | |              VALUES ($1, $2, $3, $4, $5, $6)",
[INFO] [stdout] 515 | |             a_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 520 | |             "submission"
[INFO] [stdout] 521 | |         )
[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]    --> src/handlers/classroom.rs:222:23
[INFO] [stdout]     |
[INFO] [stdout] 222 |       let is_enrolled = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 223 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2",
[INFO] [stdout] 224 | |         classroom.id,
[INFO] [stdout] 225 | |         claims.sub
[INFO] [stdout] 226 | |     )
[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]    --> src/handlers/classroom.rs:532:27
[INFO] [stdout]     |
[INFO] [stdout] 532 |       let is_resubmitting = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 533 | |         "SELECT 1 as one FROM submissions WHERE assignment_id = $1 AND user_id = $2",
[INFO] [stdout] 534 | |         a_id,
[INFO] [stdout] 535 | |         claims.sub,
[INFO] [stdout] 536 | |     )
[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]    --> src/handlers/classroom.rs:239:5
[INFO] [stdout]     |
[INFO] [stdout] 239 | /     sqlx::query!(
[INFO] [stdout] 240 | |         "INSERT INTO user_classroom_roles (user_id, classroom_id, role) VALUES ($1, $2, $3)",
[INFO] [stdout] 241 | |         claims.sub,
[INFO] [stdout] 242 | |         classroom.id,
[INFO] [stdout] 243 | |         "student"
[INFO] [stdout] 244 | |     )
[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]    --> src/handlers/classroom.rs:543:9
[INFO] [stdout]     |
[INFO] [stdout] 543 | /         sqlx::query!(
[INFO] [stdout] 544 | |             "INSERT INTO submissions (assignment_id, user_id, is_graded, submitted_at)
[INFO] [stdout] 545 | |             VALUES ($1, $2, $3, NOW())",
[INFO] [stdout] 546 | |             a_id,
[INFO] [stdout] 547 | |             claims.sub,
[INFO] [stdout] 548 | |             false
[INFO] [stdout] 549 | |         )
[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]    --> src/handlers/classroom.rs:260:16
[INFO] [stdout]     |
[INFO] [stdout] 260 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:554:9
[INFO] [stdout]     |
[INFO] [stdout] 554 | /         sqlx::query!(
[INFO] [stdout] 555 | |             "UPDATE submissions SET submitted_at = NOW() WHERE assignment_id = $1 AND user_id = $2",
[INFO] [stdout] 556 | |             a_id,
[INFO] [stdout] 557 | |             claims.sub,
[INFO] [stdout] 558 | |         )
[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]    --> src/handlers/classroom.rs:574:16
[INFO] [stdout]     |
[INFO] [stdout] 574 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:270:22
[INFO] [stdout]     |
[INFO] [stdout] 270 |       let is_teacher = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 271 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2 AND role = 'teacher'",
[INFO] [stdout] 272 | |         id,
[INFO] [stdout] 273 | |         claims.sub
[INFO] [stdout] 274 | |     )
[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]    --> src/handlers/classroom.rs:584:16
[INFO] [stdout]     |
[INFO] [stdout] 584 |       let file = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 585 | |         r#"
[INFO] [stdout] 586 | |         SELECT id, file_path FROM assignment_files 
[INFO] [stdout] 587 | |         WHERE id = $1 AND assignment_id = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 590 | |         a_id
[INFO] [stdout] 591 | |     )
[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]    --> src/handlers/classroom.rs:300:30
[INFO] [stdout]     |
[INFO] [stdout] 300 |       let created_assignment = sqlx::query!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 301 | |         "INSERT INTO assignments (id_base64, classroom_id, title, description, due_date, points, created_by) VALUES ($1, $2, $3, ...
[INFO] [stdout] 302 | |         unique_string_id,
[INFO] [stdout] 303 | |         id,
[INFO] [stdout] ...   |
[INFO] [stdout] 308 | |         claims.sub
[INFO] [stdout] 309 | |     )
[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]    --> src/handlers/classroom.rs:608:5
[INFO] [stdout]     |
[INFO] [stdout] 608 | /     sqlx::query!(
[INFO] [stdout] 609 | |         r#"
[INFO] [stdout] 610 | |         DELETE FROM assignment_files WHERE id = $1
[INFO] [stdout] 611 | |         "#,
[INFO] [stdout] 612 | |         f_id
[INFO] [stdout] 613 | |     )
[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]    --> src/handlers/classroom.rs:635:16
[INFO] [stdout]     |
[INFO] [stdout] 635 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:326:16
[INFO] [stdout]     |
[INFO] [stdout] 326 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:645:22
[INFO] [stdout]     |
[INFO] [stdout] 645 |       let submission = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 646 | |         r#"
[INFO] [stdout] 647 | |         SELECT id FROM submissions 
[INFO] [stdout] 648 | |         WHERE assignment_id = $1 AND user_id = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 651 | |         claims.sub
[INFO] [stdout] 652 | |     )
[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]    --> src/handlers/classroom.rs:336:23
[INFO] [stdout]     |
[INFO] [stdout] 336 |       let is_enrolled = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 337 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2",
[INFO] [stdout] 338 | |         c_id,
[INFO] [stdout] 339 | |         claims.sub
[INFO] [stdout] 340 | |     )
[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]    --> src/handlers/classroom.rs:666:5
[INFO] [stdout]     |
[INFO] [stdout] 666 | /     sqlx::query!(
[INFO] [stdout] 667 | |         r#"
[INFO] [stdout] 668 | |         DELETE FROM submissions WHERE assignment_id = $1 AND user_id = $2
[INFO] [stdout] 669 | |         "#,
[INFO] [stdout] 670 | |         a_id,
[INFO] [stdout] 671 | |         claims.sub
[INFO] [stdout] 672 | |     )
[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]    --> src/handlers/classroom.rs:353:22
[INFO] [stdout]     |
[INFO] [stdout] 353 |       let assignment = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 354 | |         r#"
[INFO] [stdout] 355 | |     SELECT 
[INFO] [stdout] 356 | |         assignments.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 368 | |         a_id
[INFO] [stdout] 369 | |     )
[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]    --> src/handlers/classroom.rs:692:16
[INFO] [stdout]     |
[INFO] [stdout] 692 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:379:21
[INFO] [stdout]     |
[INFO] [stdout] 379 |       let materials = sqlx::query!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 380 | |         "SELECT id, file_name, content_type, assignment_file_type FROM assignment_files WHERE assignment_id = $1 AND assignment_f...
[INFO] [stdout] 381 | |         a_id
[INFO] [stdout] 382 | |     )
[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]    --> src/handlers/classroom.rs:702:22
[INFO] [stdout]     |
[INFO] [stdout] 702 |       let is_teacher = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 703 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2 AND role = 'teacher'",
[INFO] [stdout] 704 | |         c_id,
[INFO] [stdout] 705 | |         claims.sub
[INFO] [stdout] 706 | |     )
[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]    --> src/handlers/classroom.rs:397:28
[INFO] [stdout]     |
[INFO] [stdout] 397 |       let submission_files = sqlx::query!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 398 | |         "SELECT id, file_name, content_type, assignment_file_type FROM assignment_files WHERE assignment_id = $1 AND user_id = $2...
[INFO] [stdout] 399 | |         a_id,
[INFO] [stdout] 400 | |         claims.sub
[INFO] [stdout] 401 | |     )
[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]    --> src/handlers/classroom.rs:719:23
[INFO] [stdout]     |
[INFO] [stdout] 719 |       let submissions = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 720 | |         r#"
[INFO] [stdout] 721 | |         SELECT 
[INFO] [stdout] 722 | |             s.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 736 | |         c_id
[INFO] [stdout] 737 | |     )
[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]    --> src/handlers/classroom.rs:765:16
[INFO] [stdout]     |
[INFO] [stdout] 765 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:416:24
[INFO] [stdout]     |
[INFO] [stdout] 416 |       let is_submitted = sqlx::query!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 417 | |         "SELECT 1 as one FROM submissions WHERE assignment_id = $1 AND user_id = $2 AND submitted_at IS NOT NULL",
[INFO] [stdout] 418 | |         a_id,
[INFO] [stdout] 419 | |         claims.sub
[INFO] [stdout] 420 | |     )
[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]    --> src/handlers/classroom.rs:775:22
[INFO] [stdout]     |
[INFO] [stdout] 775 |       let is_teacher = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 776 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2 AND role = 'teacher'",
[INFO] [stdout] 777 | |         c_id,
[INFO] [stdout] 778 | |         claims.sub
[INFO] [stdout] 779 | |     )
[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]    --> src/handlers/classroom.rs:429:17
[INFO] [stdout]     |
[INFO] [stdout] 429 |           grade = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 430 | |             "SELECT grade FROM submissions WHERE assignment_id = $1 AND user_id = $2",
[INFO] [stdout] 431 | |             a_id,
[INFO] [stdout] 432 | |             claims.sub
[INFO] [stdout] 433 | |         )
[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]    --> src/handlers/classroom.rs:792:22
[INFO] [stdout]     |
[INFO] [stdout] 792 |       let submission = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 793 | |         r#"
[INFO] [stdout] 794 | |         SELECT 
[INFO] [stdout] 795 | |             s.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 814 | |         c_id
[INFO] [stdout] 815 | |     )
[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]    --> src/handlers/classroom.rs:469:16
[INFO] [stdout]     |
[INFO] [stdout] 469 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:825:17
[INFO] [stdout]     |
[INFO] [stdout] 825 |       let files = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 826 | |         "SELECT id, file_name, content_type FROM assignment_files WHERE assignment_id = $1 AND user_id = $2 AND assignment_file_t...
[INFO] [stdout] 827 | |         submission.assignment_id,
[INFO] [stdout] 828 | |         submission.user_id
[INFO] [stdout] 829 | |     )
[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]    --> src/handlers/classroom.rs:479:23
[INFO] [stdout]     |
[INFO] [stdout] 479 |       let is_enrolled = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 480 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2",
[INFO] [stdout] 481 | |         c_id,
[INFO] [stdout] 482 | |         claims.sub
[INFO] [stdout] 483 | |     )
[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]    --> src/handlers/classroom.rs:867:16
[INFO] [stdout]     |
[INFO] [stdout] 867 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:877:22
[INFO] [stdout]     |
[INFO] [stdout] 877 |       let is_teacher = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 878 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2 AND role = 'teacher'",
[INFO] [stdout] 879 | |         c_id,
[INFO] [stdout] 880 | |         claims.sub
[INFO] [stdout] 881 | |     )
[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]    --> src/handlers/classroom.rs:512:9
[INFO] [stdout]     |
[INFO] [stdout] 512 | /         sqlx::query!(
[INFO] [stdout] 513 | |             "INSERT INTO assignment_files (assignment_id, user_id, file_name, file_path, content_type, assignment_file_type)
[INFO] [stdout] 514 | |              VALUES ($1, $2, $3, $4, $5, $6)",
[INFO] [stdout] 515 | |             a_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 520 | |             "submission"
[INFO] [stdout] 521 | |         )
[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]    --> src/handlers/classroom.rs:532:27
[INFO] [stdout]     |
[INFO] [stdout] 532 |       let is_resubmitting = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 533 | |         "SELECT 1 as one FROM submissions WHERE assignment_id = $1 AND user_id = $2",
[INFO] [stdout] 534 | |         a_id,
[INFO] [stdout] 535 | |         claims.sub,
[INFO] [stdout] 536 | |     )
[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]    --> src/handlers/classroom.rs:894:29
[INFO] [stdout]     |
[INFO] [stdout] 894 |       let submission_exists = sqlx::query!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 895 | |         r#"
[INFO] [stdout] 896 | |         SELECT 1 as one FROM submissions s
[INFO] [stdout] 897 | |         JOIN assignments a ON s.assignment_id = a.id
[INFO] [stdout] ...   |
[INFO] [stdout] 901 | |         c_id
[INFO] [stdout] 902 | |     )
[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]    --> src/handlers/classroom.rs:912:5
[INFO] [stdout]     |
[INFO] [stdout] 912 | /     sqlx::query!(
[INFO] [stdout] 913 | |         r#"
[INFO] [stdout] 914 | |         UPDATE submissions 
[INFO] [stdout] 915 | |         SET grade = $1, is_graded = true, graded_at = NOW(), graded_by = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 920 | |         s_id
[INFO] [stdout] 921 | |     )
[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]    --> src/handlers/classroom.rs:543:9
[INFO] [stdout]     |
[INFO] [stdout] 543 | /         sqlx::query!(
[INFO] [stdout] 544 | |             "INSERT INTO submissions (assignment_id, user_id, is_graded, submitted_at)
[INFO] [stdout] 545 | |             VALUES ($1, $2, $3, NOW())",
[INFO] [stdout] 546 | |             a_id,
[INFO] [stdout] 547 | |             claims.sub,
[INFO] [stdout] 548 | |             false
[INFO] [stdout] 549 | |         )
[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]    --> src/handlers/classroom.rs:936:16
[INFO] [stdout]     |
[INFO] [stdout] 936 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:554:9
[INFO] [stdout]     |
[INFO] [stdout] 554 | /         sqlx::query!(
[INFO] [stdout] 555 | |             "UPDATE submissions SET submitted_at = NOW() WHERE assignment_id = $1 AND user_id = $2",
[INFO] [stdout] 556 | |             a_id,
[INFO] [stdout] 557 | |             claims.sub,
[INFO] [stdout] 558 | |         )
[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]    --> src/handlers/classroom.rs:946:22
[INFO] [stdout]     |
[INFO] [stdout] 946 |       let is_teacher = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 947 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2 AND role = 'teacher'",
[INFO] [stdout] 948 | |         c_id,
[INFO] [stdout] 949 | |         claims.sub
[INFO] [stdout] 950 | |     )
[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]    --> src/handlers/classroom.rs:963:29
[INFO] [stdout]     |
[INFO] [stdout] 963 |       let submission_exists = sqlx::query!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 964 | |         r#"
[INFO] [stdout] 965 | |         SELECT 1 as one FROM submissions s
[INFO] [stdout] 966 | |         JOIN assignments a ON s.assignment_id = a.id
[INFO] [stdout] ...   |
[INFO] [stdout] 970 | |         c_id
[INFO] [stdout] 971 | |     )
[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]    --> src/handlers/classroom.rs:574:16
[INFO] [stdout]     |
[INFO] [stdout] 574 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:981:5
[INFO] [stdout]     |
[INFO] [stdout] 981 | /     sqlx::query!(
[INFO] [stdout] 982 | |         r#"
[INFO] [stdout] 983 | |         UPDATE submissions 
[INFO] [stdout] 984 | |         SET grade = null, is_graded = false, graded_by = null, graded_at = null, submitted_at = null
[INFO] [stdout] ...   |
[INFO] [stdout] 987 | |         s_id
[INFO] [stdout] 988 | |     )
[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]    --> src/handlers/classroom.rs:584:16
[INFO] [stdout]     |
[INFO] [stdout] 584 |       let file = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 585 | |         r#"
[INFO] [stdout] 586 | |         SELECT id, file_path FROM assignment_files 
[INFO] [stdout] 587 | |         WHERE id = $1 AND assignment_id = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 590 | |         a_id
[INFO] [stdout] 591 | |     )
[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]    --> src/handlers/classroom.rs:608:5
[INFO] [stdout]     |
[INFO] [stdout] 608 | /     sqlx::query!(
[INFO] [stdout] 609 | |         r#"
[INFO] [stdout] 610 | |         DELETE FROM assignment_files WHERE id = $1
[INFO] [stdout] 611 | |         "#,
[INFO] [stdout] 612 | |         f_id
[INFO] [stdout] 613 | |     )
[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]     --> src/handlers/classroom.rs:1003:16
[INFO] [stdout]      |
[INFO] [stdout] 1003 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]     --> src/handlers/classroom.rs:1013:16
[INFO] [stdout]      |
[INFO] [stdout] 1013 |       let file = sqlx::query!(
[INFO] [stdout]      |  ________________^
[INFO] [stdout] 1014 | |         r#"
[INFO] [stdout] 1015 | |         SELECT 
[INFO] [stdout] 1016 | |             af.id,
[INFO] [stdout] ...    |
[INFO] [stdout] 1027 | |         c_id
[INFO] [stdout] 1028 | |     )
[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]    --> src/handlers/classroom.rs:635:16
[INFO] [stdout]     |
[INFO] [stdout] 635 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]     --> src/handlers/classroom.rs:1038:22
[INFO] [stdout]      |
[INFO] [stdout] 1038 |       let is_teacher = sqlx::query!(
[INFO] [stdout]      |  ______________________^
[INFO] [stdout] 1039 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2 AND role = 'teacher'",
[INFO] [stdout] 1040 | |         c_id,
[INFO] [stdout] 1041 | |         claims.sub
[INFO] [stdout] 1042 | |     )
[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]    --> src/handlers/classroom.rs:645:22
[INFO] [stdout]     |
[INFO] [stdout] 645 |       let submission = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 646 | |         r#"
[INFO] [stdout] 647 | |         SELECT id FROM submissions 
[INFO] [stdout] 648 | |         WHERE assignment_id = $1 AND user_id = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 651 | |         claims.sub
[INFO] [stdout] 652 | |     )
[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]     --> src/handlers/classroom.rs:1103:16
[INFO] [stdout]      |
[INFO] [stdout] 1103 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:666:5
[INFO] [stdout]     |
[INFO] [stdout] 666 | /     sqlx::query!(
[INFO] [stdout] 667 | |         r#"
[INFO] [stdout] 668 | |         DELETE FROM submissions WHERE assignment_id = $1 AND user_id = $2
[INFO] [stdout] 669 | |         "#,
[INFO] [stdout] 670 | |         a_id,
[INFO] [stdout] 671 | |         claims.sub
[INFO] [stdout] 672 | |     )
[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]     --> src/handlers/classroom.rs:1113:16
[INFO] [stdout]      |
[INFO] [stdout] 1113 |       let file = sqlx::query!(
[INFO] [stdout]      |  ________________^
[INFO] [stdout] 1114 | |         r#"
[INFO] [stdout] 1115 | |         SELECT 
[INFO] [stdout] 1116 | |             af.id,
[INFO] [stdout] ...    |
[INFO] [stdout] 1127 | |         c_id
[INFO] [stdout] 1128 | |     )
[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]    --> src/handlers/classroom.rs:692:16
[INFO] [stdout]     |
[INFO] [stdout] 692 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]     --> src/handlers/classroom.rs:1138:23
[INFO] [stdout]      |
[INFO] [stdout] 1138 |       let is_enrolled = sqlx::query!(
[INFO] [stdout]      |  _______________________^
[INFO] [stdout] 1139 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2",
[INFO] [stdout] 1140 | |         c_id,
[INFO] [stdout] 1141 | |         claims.sub
[INFO] [stdout] 1142 | |     )
[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]    --> src/handlers/classroom.rs:702:22
[INFO] [stdout]     |
[INFO] [stdout] 702 |       let is_teacher = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 703 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2 AND role = 'teacher'",
[INFO] [stdout] 704 | |         c_id,
[INFO] [stdout] 705 | |         claims.sub
[INFO] [stdout] 706 | |     )
[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]     --> src/handlers/classroom.rs:1204:16
[INFO] [stdout]      |
[INFO] [stdout] 1204 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:719:23
[INFO] [stdout]     |
[INFO] [stdout] 719 |       let submissions = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 720 | |         r#"
[INFO] [stdout] 721 | |         SELECT 
[INFO] [stdout] 722 | |             s.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 736 | |         c_id
[INFO] [stdout] 737 | |     )
[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]     --> src/handlers/classroom.rs:1214:22
[INFO] [stdout]      |
[INFO] [stdout] 1214 |       let is_teacher = sqlx::query!(
[INFO] [stdout]      |  ______________________^
[INFO] [stdout] 1215 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2 AND role='teacher'",
[INFO] [stdout] 1216 | |         c_id,
[INFO] [stdout] 1217 | |         claims.sub
[INFO] [stdout] 1218 | |     )
[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]    --> src/handlers/classroom.rs:765:16
[INFO] [stdout]     |
[INFO] [stdout] 765 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]     --> src/handlers/classroom.rs:1247:9
[INFO] [stdout]      |
[INFO] [stdout] 1247 | /         sqlx::query!(
[INFO] [stdout] 1248 | |             "INSERT INTO assignment_files (assignment_id, user_id, file_name, file_path, content_type, assignment_file_type)
[INFO] [stdout] 1249 | |              VALUES ($1, $2, $3, $4, $5, $6)",
[INFO] [stdout] 1250 | |             a_id,
[INFO] [stdout] ...    |
[INFO] [stdout] 1255 | |             "material"
[INFO] [stdout] 1256 | |         )
[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]    --> src/handlers/classroom.rs:775:22
[INFO] [stdout]     |
[INFO] [stdout] 775 |       let is_teacher = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 776 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2 AND role = 'teacher'",
[INFO] [stdout] 777 | |         c_id,
[INFO] [stdout] 778 | |         claims.sub
[INFO] [stdout] 779 | |     )
[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]    --> src/handlers/classroom.rs:792:22
[INFO] [stdout]     |
[INFO] [stdout] 792 |       let submission = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 793 | |         r#"
[INFO] [stdout] 794 | |         SELECT 
[INFO] [stdout] 795 | |             s.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 814 | |         c_id
[INFO] [stdout] 815 | |     )
[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]    --> src/handlers/classroom.rs:825:17
[INFO] [stdout]     |
[INFO] [stdout] 825 |       let files = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 826 | |         "SELECT id, file_name, content_type FROM assignment_files WHERE assignment_id = $1 AND user_id = $2 AND assignment_file_t...
[INFO] [stdout] 827 | |         submission.assignment_id,
[INFO] [stdout] 828 | |         submission.user_id
[INFO] [stdout] 829 | |     )
[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]    --> src/handlers/classroom.rs:867:16
[INFO] [stdout]     |
[INFO] [stdout] 867 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:877:22
[INFO] [stdout]     |
[INFO] [stdout] 877 |       let is_teacher = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 878 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2 AND role = 'teacher'",
[INFO] [stdout] 879 | |         c_id,
[INFO] [stdout] 880 | |         claims.sub
[INFO] [stdout] 881 | |     )
[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]    --> src/handlers/classroom.rs:894:29
[INFO] [stdout]     |
[INFO] [stdout] 894 |       let submission_exists = sqlx::query!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 895 | |         r#"
[INFO] [stdout] 896 | |         SELECT 1 as one FROM submissions s
[INFO] [stdout] 897 | |         JOIN assignments a ON s.assignment_id = a.id
[INFO] [stdout] ...   |
[INFO] [stdout] 901 | |         c_id
[INFO] [stdout] 902 | |     )
[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]    --> src/handlers/classroom.rs:912:5
[INFO] [stdout]     |
[INFO] [stdout] 912 | /     sqlx::query!(
[INFO] [stdout] 913 | |         r#"
[INFO] [stdout] 914 | |         UPDATE submissions 
[INFO] [stdout] 915 | |         SET grade = $1, is_graded = true, graded_at = NOW(), graded_by = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 920 | |         s_id
[INFO] [stdout] 921 | |     )
[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]    --> src/handlers/classroom.rs:936:16
[INFO] [stdout]     |
[INFO] [stdout] 936 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]    --> src/handlers/classroom.rs:946:22
[INFO] [stdout]     |
[INFO] [stdout] 946 |       let is_teacher = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 947 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2 AND role = 'teacher'",
[INFO] [stdout] 948 | |         c_id,
[INFO] [stdout] 949 | |         claims.sub
[INFO] [stdout] 950 | |     )
[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]    --> src/handlers/classroom.rs:963:29
[INFO] [stdout]     |
[INFO] [stdout] 963 |       let submission_exists = sqlx::query!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 964 | |         r#"
[INFO] [stdout] 965 | |         SELECT 1 as one FROM submissions s
[INFO] [stdout] 966 | |         JOIN assignments a ON s.assignment_id = a.id
[INFO] [stdout] ...   |
[INFO] [stdout] 970 | |         c_id
[INFO] [stdout] 971 | |     )
[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]    --> src/handlers/classroom.rs:981:5
[INFO] [stdout]     |
[INFO] [stdout] 981 | /     sqlx::query!(
[INFO] [stdout] 982 | |         r#"
[INFO] [stdout] 983 | |         UPDATE submissions 
[INFO] [stdout] 984 | |         SET grade = null, is_graded = false, graded_by = null, graded_at = null, submitted_at = null
[INFO] [stdout] ...   |
[INFO] [stdout] 987 | |         s_id
[INFO] [stdout] 988 | |     )
[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]     --> src/handlers/classroom.rs:1003:16
[INFO] [stdout]      |
[INFO] [stdout] 1003 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]     --> src/handlers/classroom.rs:1013:16
[INFO] [stdout]      |
[INFO] [stdout] 1013 |       let file = sqlx::query!(
[INFO] [stdout]      |  ________________^
[INFO] [stdout] 1014 | |         r#"
[INFO] [stdout] 1015 | |         SELECT 
[INFO] [stdout] 1016 | |             af.id,
[INFO] [stdout] ...    |
[INFO] [stdout] 1027 | |         c_id
[INFO] [stdout] 1028 | |     )
[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]     --> src/handlers/classroom.rs:1038:22
[INFO] [stdout]      |
[INFO] [stdout] 1038 |       let is_teacher = sqlx::query!(
[INFO] [stdout]      |  ______________________^
[INFO] [stdout] 1039 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2 AND role = 'teacher'",
[INFO] [stdout] 1040 | |         c_id,
[INFO] [stdout] 1041 | |         claims.sub
[INFO] [stdout] 1042 | |     )
[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]     --> src/handlers/classroom.rs:1103:16
[INFO] [stdout]      |
[INFO] [stdout] 1103 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]     --> src/handlers/classroom.rs:1113:16
[INFO] [stdout]      |
[INFO] [stdout] 1113 |       let file = sqlx::query!(
[INFO] [stdout]      |  ________________^
[INFO] [stdout] 1114 | |         r#"
[INFO] [stdout] 1115 | |         SELECT 
[INFO] [stdout] 1116 | |             af.id,
[INFO] [stdout] ...    |
[INFO] [stdout] 1127 | |         c_id
[INFO] [stdout] 1128 | |     )
[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]     --> src/handlers/classroom.rs:1138:23
[INFO] [stdout]      |
[INFO] [stdout] 1138 |       let is_enrolled = sqlx::query!(
[INFO] [stdout]      |  _______________________^
[INFO] [stdout] 1139 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2",
[INFO] [stdout] 1140 | |         c_id,
[INFO] [stdout] 1141 | |         claims.sub
[INFO] [stdout] 1142 | |     )
[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]     --> src/handlers/classroom.rs:1204:16
[INFO] [stdout]      |
[INFO] [stdout] 1204 |     let user = sqlx::query!("SELECT id FROM users WHERE id = $1", claims.sub)
[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]     --> src/handlers/classroom.rs:1214:22
[INFO] [stdout]      |
[INFO] [stdout] 1214 |       let is_teacher = sqlx::query!(
[INFO] [stdout]      |  ______________________^
[INFO] [stdout] 1215 | |         "SELECT 1 as one FROM user_classroom_roles WHERE classroom_id = $1 AND user_id = $2 AND role='teacher'",
[INFO] [stdout] 1216 | |         c_id,
[INFO] [stdout] 1217 | |         claims.sub
[INFO] [stdout] 1218 | |     )
[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]     --> src/handlers/classroom.rs:1247:9
[INFO] [stdout]      |
[INFO] [stdout] 1247 | /         sqlx::query!(
[INFO] [stdout] 1248 | |             "INSERT INTO assignment_files (assignment_id, user_id, file_name, file_path, content_type, assignment_file_type)
[INFO] [stdout] 1249 | |              VALUES ($1, $2, $3, $4, $5, $6)",
[INFO] [stdout] 1250 | |             a_id,
[INFO] [stdout] ...    |
[INFO] [stdout] 1255 | |             "material"
[INFO] [stdout] 1256 | |         )
[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: `ClassroomRole`
[INFO] [stdout]   --> src/handlers/auth.rs:11:40
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::models::{UserClassroomRole, ClassroomRole};
[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: `ClassroomRole`
[INFO] [stdout]   --> src/handlers/auth.rs:11:40
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::models::{UserClassroomRole, ClassroomRole};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sun-class` (bin "sun-class") due to 70 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `sun-class` (bin "sun-class" test) due to 70 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "064d38e474ab95c4ad0ae423c864cf8fad4f8053c01288022e808a284661f4bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "064d38e474ab95c4ad0ae423c864cf8fad4f8053c01288022e808a284661f4bc", kill_on_drop: false }`
[INFO] [stdout] 064d38e474ab95c4ad0ae423c864cf8fad4f8053c01288022e808a284661f4bc
