[INFO] cloning repository https://github.com/CrimsonBolt47/Co-Working-Space-Management-API
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CrimsonBolt47/Co-Working-Space-Management-API" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrimsonBolt47%2FCo-Working-Space-Management-API", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrimsonBolt47%2FCo-Working-Space-Management-API'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8b20d7b0a379bcf5c21acdfad42441154c074b46
[INFO] checking CrimsonBolt47/Co-Working-Space-Management-API against try#54cf65b8d066c082e536455049b95943cf30378f for pr-151920
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrimsonBolt47%2FCo-Working-Space-Management-API" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/CrimsonBolt47/Co-Working-Space-Management-API
[INFO] finished tweaking git repo https://github.com/CrimsonBolt47/Co-Working-Space-Management-API
[INFO] tweaked toml for git repo https://github.com/CrimsonBolt47/Co-Working-Space-Management-API written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CrimsonBolt47/Co-Working-Space-Management-API on toolchain 54cf65b8d066c082e536455049b95943cf30378f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CrimsonBolt47/Co-Working-Space-Management-API 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" "+54cf65b8d066c082e536455049b95943cf30378f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be080df4e08357d52ea8f9df9fcbdf38a978aa28c07722c3a4553621f3a1ddf0
[INFO] running `Command { std: "docker" "start" "-a" "be080df4e08357d52ea8f9df9fcbdf38a978aa28c07722c3a4553621f3a1ddf0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be080df4e08357d52ea8f9df9fcbdf38a978aa28c07722c3a4553621f3a1ddf0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be080df4e08357d52ea8f9df9fcbdf38a978aa28c07722c3a4553621f3a1ddf0", kill_on_drop: false }`
[INFO] [stdout] be080df4e08357d52ea8f9df9fcbdf38a978aa28c07722c3a4553621f3a1ddf0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bff84a44099be436c206a8566c8d8304d54ebd32f3215241e01e6503d3c618d8
[INFO] running `Command { std: "docker" "start" "-a" "bff84a44099be436c206a8566c8d8304d54ebd32f3215241e01e6503d3c618d8", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling zerocopy v0.8.30
[INFO] [stderr]     Checking base64ct v1.8.0
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]     Checking tracing-core v0.1.35
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]     Checking ff v0.13.1
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling num-bigint-dig v0.8.6
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking primeorder v0.13.6
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking pkcs1 v0.7.5
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking headers-core v0.3.0
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking p384 v0.13.1
[INFO] [stderr]     Checking p256 v0.13.2
[INFO] [stderr]     Checking bcrypt v0.17.1
[INFO] [stderr]     Checking headers v0.4.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]     Checking tracing v0.1.43
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking axum-core v0.5.5
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking ed25519-dalek v2.2.0
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking rsa v0.9.9
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking hyper-util v0.1.18
[INFO] [stderr]     Checking axum v0.8.7
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking jsonwebtoken v10.2.0
[INFO] [stderr]     Checking sqlx-postgres v0.8.6
[INFO] [stderr]     Checking axum-extra v0.12.2
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking axum_rest_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/route/admin.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let admin_opt = sqlx::query_as!(Admin, "SELECT * FROM admins WHERE email = $1", payload.email)
[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/route/company.rs:41:27
[INFO] [stdout]    |
[INFO] [stdout] 41 | ... = sqlx::query!("insert into companies (company_name, about) values ($1, $2) returning comp_id", payload.company_name, payload.about)
[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/route/company.rs:50:27
[INFO] [stdout]    |
[INFO] [stdout] 50 |   ...   let manager_row = sqlx::query!("insert into employees (name, email,comp_id, position,role) values ($1,$2,$3,$4,$5::employee_...
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 51 | | ...       payload.manager.name,
[INFO] [stdout] 52 | | ...       payload.manager.email,
[INFO] [stdout] 53 | | ...       company_row.comp_id,
[INFO] [stdout] 54 | | ...       payload.manager.position,
[INFO] [stdout] 55 | | ...       Role::MNG as Role,
[INFO] [stdout] 56 | | ...       )
[INFO] [stdout]    | |___________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/route/company.rs:118:19
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let company = sqlx::query_as!(Company, "select * from companies where comp_id = $1", comp_id)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/company.rs:183:28
[INFO] [stdout]     |
[INFO] [stdout] 183 |     let total_count: i64 = sqlx::query_scalar!("SELECT COUNT(*) FROM companies")
[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_scalar` (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/route/company.rs:220:23
[INFO] [stdout]     |
[INFO] [stdout] 220 |     let company_row = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/company.rs:236:19
[INFO] [stdout]     |
[INFO] [stdout] 236 |       let company = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 237 | |         Company,
[INFO] [stdout] 238 | |         "SELECT * FROM companies WHERE comp_id = $1",
[INFO] [stdout] 239 | |         company_row.comp_id
[INFO] [stdout] 240 | |     )
[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/route/admin.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let admin_opt = sqlx::query_as!(Admin, "SELECT * FROM admins WHERE email = $1", payload.email)
[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/route/company.rs:349:18
[INFO] [stdout]     |
[INFO] [stdout] 349 |     let result = sqlx::query!("delete from companies where comp_id = $1", comp_id)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/route/employee.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |       let employee_opt = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 24 | |             Employee,
[INFO] [stdout] 25 | |             r#"
[INFO] [stdout] 26 | |             SELECT 
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |             payload.email
[INFO] [stdout] 33 | |         )
[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/route/company.rs:41:27
[INFO] [stdout]    |
[INFO] [stdout] 41 | ... = sqlx::query!("insert into companies (company_name, about) values ($1, $2) returning comp_id", payload.company_name, payload.about)
[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/route/company.rs:50:27
[INFO] [stdout]    |
[INFO] [stdout] 50 |   ...   let manager_row = sqlx::query!("insert into employees (name, email,comp_id, position,role) values ($1,$2,$3,$4,$5::employee_...
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 51 | | ...       payload.manager.name,
[INFO] [stdout] 52 | | ...       payload.manager.email,
[INFO] [stdout] 53 | | ...       company_row.comp_id,
[INFO] [stdout] 54 | | ...       payload.manager.position,
[INFO] [stdout] 55 | | ...       Role::MNG as Role,
[INFO] [stdout] 56 | | ...       )
[INFO] [stdout]    | |___________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/route/employee.rs:126:24
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let employee_row = sqlx::query!("SELECT emp_id FROM employees WHERE email = $1 and password_hash is NULL", 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/route/employee.rs:148:5
[INFO] [stdout]     |
[INFO] [stdout] 148 | /     sqlx::query!(
[INFO] [stdout] 149 | |         r#"
[INFO] [stdout] 150 | |             Update employees 
[INFO] [stdout] 151 | |             set password_hash = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 156 | |         employee_row.emp_id
[INFO] [stdout] 157 | |     )
[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/route/employee.rs:208:27
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let manager_row = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/company.rs:118:19
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let company = sqlx::query_as!(Company, "select * from companies where comp_id = $1", comp_id)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/employee.rs:217:28
[INFO] [stdout]     |
[INFO] [stdout] 217 |   ...   let employee_row = sqlx::query!("insert into employees (name, email,comp_id, position,role) values ($1,$2,$3,$4,$5::employe...
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 218 | | ...       payload.name,
[INFO] [stdout] 219 | | ...       payload.email,
[INFO] [stdout] 220 | | ...       manager_row.comp_id,
[INFO] [stdout] 221 | | ...       payload.position,
[INFO] [stdout] 222 | | ...       Role::EMP as Role,
[INFO] [stdout] 223 | | ...       )
[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/route/employee.rs:285:30
[INFO] [stdout]     |
[INFO] [stdout] 285 |     let manager_company_id = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/employee.rs:293:20
[INFO] [stdout]     |
[INFO] [stdout] 293 |       let employee = sqlx::query_as!(GetEmployee, r#"select 
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 294 | |                 emp_id,name, position, email,role as "role!: Role"
[INFO] [stdout] 295 | |                 from employees 
[INFO] [stdout] 296 | |                 where emp_id = $1 and comp_id=$2"#, emp_id, manager_company_id.comp_id)
[INFO] [stdout]     | |_______________________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/company.rs:183:28
[INFO] [stdout]     |
[INFO] [stdout] 183 |     let total_count: i64 = sqlx::query_scalar!("SELECT COUNT(*) FROM companies")
[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_scalar` (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/route/employee.rs:338:30
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let manager_company_id = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/employee.rs:374:28
[INFO] [stdout]     |
[INFO] [stdout] 374 |     let total_count: i64 = sqlx::query_scalar!("SELECT COUNT(*) FROM employees WHERE comp_id = $1", manager_company_id.comp_id)
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (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/route/company.rs:220:23
[INFO] [stdout]     |
[INFO] [stdout] 220 |     let company_row = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/employee.rs:413:30
[INFO] [stdout]     |
[INFO] [stdout] 413 |     let manager_company_id = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/company.rs:236:19
[INFO] [stdout]     |
[INFO] [stdout] 236 |       let company = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 237 | |         Company,
[INFO] [stdout] 238 | |         "SELECT * FROM companies WHERE comp_id = $1",
[INFO] [stdout] 239 | |         company_row.comp_id
[INFO] [stdout] 240 | |     )
[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/route/employee.rs:495:30
[INFO] [stdout]     |
[INFO] [stdout] 495 |     let manager_company_id = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/employee.rs:503:18
[INFO] [stdout]     |
[INFO] [stdout] 503 |     let result = sqlx::query!("delete from employees where emp_id = $1 and comp_id = $2", emp_id, manager_company_id.comp_id)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/route/spaces.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 | ... = sqlx::query_as!(SpaceId, "insert into spaces (name, size, description) values ($1, $2, $3) returning space_id", payload.name, payload.size, payload.description)
[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/route/spaces.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let space = sqlx::query_as!(Space, "select * from spaces where space_id = $1", space_id)
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/company.rs:349:18
[INFO] [stdout]     |
[INFO] [stdout] 349 |     let result = sqlx::query!("delete from companies where comp_id = $1", comp_id)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/route/employee.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |       let employee_opt = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 24 | |             Employee,
[INFO] [stdout] 25 | |             r#"
[INFO] [stdout] 26 | |             SELECT 
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |             payload.email
[INFO] [stdout] 33 | |         )
[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/route/spaces.rs:125:28
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let total_count: i64 = sqlx::query_scalar!("SELECT COUNT(*) FROM spaces")
[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_scalar` (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/route/spaces.rs:239:18
[INFO] [stdout]     |
[INFO] [stdout] 239 |     let result = sqlx::query!("delete from spaces where space_id = $1", space_id)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/employee.rs:126:24
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let employee_row = sqlx::query!("SELECT emp_id FROM employees WHERE email = $1 and password_hash is NULL", 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/route/spaces.rs:259:22
[INFO] [stdout]     |
[INFO] [stdout] 259 |       let spaces_row = sqlx::query_as!(SpaceAvailable, r#"SELECT 
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 260 | |             s.space_id,
[INFO] [stdout] 261 | |             s.name,
[INFO] [stdout] 262 | |             s.size,
[INFO] [stdout] ...   |
[INFO] [stdout] 278 | |             payload.start_time,
[INFO] [stdout] 279 | |             payload.end_time)
[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/route/spaces.rs:299:23
[INFO] [stdout]     |
[INFO] [stdout] 299 |       let booking_row = sqlx::query_as!(AvailableBooking, r#"select 
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 300 | |                 start_time,
[INFO] [stdout] 301 | |                 end_time
[INFO] [stdout] 302 | |                 from 
[INFO] [stdout] ...   |
[INFO] [stdout] 310 | |             space_id,
[INFO] [stdout] 311 | |             today_date)
[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/route/employee.rs:148:5
[INFO] [stdout]     |
[INFO] [stdout] 148 | /     sqlx::query!(
[INFO] [stdout] 149 | |         r#"
[INFO] [stdout] 150 | |             Update employees 
[INFO] [stdout] 151 | |             set password_hash = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 156 | |         employee_row.emp_id
[INFO] [stdout] 157 | |     )
[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/route/booking.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 44 |           let conflict_exists = sqlx::query!(
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 45 | |                 r#"
[INFO] [stdout] 46 | |                 SELECT EXISTS(
[INFO] [stdout] 47 | |                     SELECT 1 FROM bookings
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | |                 payload.end_time, 
[INFO] [stdout] 56 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/route/booking.rs:73:27
[INFO] [stdout]    |
[INFO] [stdout] 73 |   ...   let booking_row = sqlx::query_as!(BookingId,"insert into bookings (space_id, booked_by, start_time, end_time) values ($1, $2...
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 74 | | ...       payload.space_id,
[INFO] [stdout] 75 | | ...       claims.id,
[INFO] [stdout] 76 | | ...       payload.start_time,
[INFO] [stdout] 77 | | ...       payload.end_time)
[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/route/employee.rs:208:27
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let manager_row = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/employee.rs:217:28
[INFO] [stdout]     |
[INFO] [stdout] 217 |   ...   let employee_row = sqlx::query!("insert into employees (name, email,comp_id, position,role) values ($1,$2,$3,$4,$5::employe...
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 218 | | ...       payload.name,
[INFO] [stdout] 219 | | ...       payload.email,
[INFO] [stdout] 220 | | ...       manager_row.comp_id,
[INFO] [stdout] 221 | | ...       payload.position,
[INFO] [stdout] 222 | | ...       Role::EMP as Role,
[INFO] [stdout] 223 | | ...       )
[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/route/booking.rs:113:18
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let result = sqlx::query!("delete from bookings where booking_id = $1 and booked_by = $2", booking_id, claims.id)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/booking.rs:151:23
[INFO] [stdout]     |
[INFO] [stdout] 151 |       let booking_row = sqlx::query_as!(CreateBookingReq,
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 152 | |         "select space_id, start_time, end_time from bookings 
[INFO] [stdout] 153 | |          where booking_id = $1 and booked_by = $2",
[INFO] [stdout] 154 | |         booking_id,
[INFO] [stdout] 155 | |         claims.id
[INFO] [stdout] 156 | |     )
[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/route/employee.rs:285:30
[INFO] [stdout]     |
[INFO] [stdout] 285 |     let manager_company_id = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/booking.rs:184:27
[INFO] [stdout]     |
[INFO] [stdout] 184 |       let conflict_exists = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 185 | |         r#"
[INFO] [stdout] 186 | |         SELECT EXISTS(
[INFO] [stdout] 187 | |             SELECT 1 FROM bookings 
[INFO] [stdout] ...   |
[INFO] [stdout] 196 | |         booking_id
[INFO] [stdout] 197 | |     )
[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/route/employee.rs:293:20
[INFO] [stdout]     |
[INFO] [stdout] 293 |       let employee = sqlx::query_as!(GetEmployee, r#"select 
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 294 | |                 emp_id,name, position, email,role as "role!: Role"
[INFO] [stdout] 295 | |                 from employees 
[INFO] [stdout] 296 | |                 where emp_id = $1 and comp_id=$2"#, emp_id, manager_company_id.comp_id)
[INFO] [stdout]     | |_______________________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/employee.rs:338:30
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let manager_company_id = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/booking.rs:218:5
[INFO] [stdout]     |
[INFO] [stdout] 218 | /     sqlx::query!(
[INFO] [stdout] 219 | |         "UPDATE bookings SET end_time = $1 WHERE booking_id = $2",
[INFO] [stdout] 220 | |         new_end_time,
[INFO] [stdout] 221 | |         booking_id
[INFO] [stdout] 222 | |     )
[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/route/employee.rs:374:28
[INFO] [stdout]     |
[INFO] [stdout] 374 |     let total_count: i64 = sqlx::query_scalar!("SELECT COUNT(*) FROM employees WHERE comp_id = $1", manager_company_id.comp_id)
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (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/route/booking.rs:260:23
[INFO] [stdout]     |
[INFO] [stdout] 260 |       let booking_row = sqlx::query_as!(GetBooking, "select space_id, booked_by, start_time, end_time from bookings where booked_by...
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 261 | |         claims.id)
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/employee.rs:413:30
[INFO] [stdout]     |
[INFO] [stdout] 413 |     let manager_company_id = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/booking.rs:293:23
[INFO] [stdout]     |
[INFO] [stdout] 293 |       let booking_row = sqlx::query_as!(GetBooking, "select space_id, booked_by, start_time, end_time from bookings where booked_by...
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 294 | |         claims.id,
[INFO] [stdout] 295 | |         booking_id)
[INFO] [stdout]     | |___________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/booking.rs:334:23
[INFO] [stdout]     |
[INFO] [stdout] 334 |       let booking_row = sqlx::query_as!(GetCompanyBooking, "SELECT
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 335 | |             b.booking_id,
[INFO] [stdout] 336 | |             b.space_id,
[INFO] [stdout] 337 | |             b.start_time,
[INFO] [stdout] ...   |
[INFO] [stdout] 344 | |         WHERE e.comp_id = $1;",
[INFO] [stdout] 345 | |         claims.id)
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/employee.rs:495:30
[INFO] [stdout]     |
[INFO] [stdout] 495 |     let manager_company_id = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/employee.rs:503:18
[INFO] [stdout]     |
[INFO] [stdout] 503 |     let result = sqlx::query!("delete from employees where emp_id = $1 and comp_id = $2", emp_id, manager_company_id.comp_id)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/route/spaces.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 | ... = sqlx::query_as!(SpaceId, "insert into spaces (name, size, description) values ($1, $2, $3) returning space_id", payload.name, payload.size, payload.description)
[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/route/spaces.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let space = sqlx::query_as!(Space, "select * from spaces where space_id = $1", space_id)
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/spaces.rs:125:28
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let total_count: i64 = sqlx::query_scalar!("SELECT COUNT(*) FROM spaces")
[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_scalar` (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/route/spaces.rs:239:18
[INFO] [stdout]     |
[INFO] [stdout] 239 |     let result = sqlx::query!("delete from spaces where space_id = $1", space_id)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/spaces.rs:259:22
[INFO] [stdout]     |
[INFO] [stdout] 259 |       let spaces_row = sqlx::query_as!(SpaceAvailable, r#"SELECT 
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 260 | |             s.space_id,
[INFO] [stdout] 261 | |             s.name,
[INFO] [stdout] 262 | |             s.size,
[INFO] [stdout] ...   |
[INFO] [stdout] 278 | |             payload.start_time,
[INFO] [stdout] 279 | |             payload.end_time)
[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/route/spaces.rs:299:23
[INFO] [stdout]     |
[INFO] [stdout] 299 |       let booking_row = sqlx::query_as!(AvailableBooking, r#"select 
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 300 | |                 start_time,
[INFO] [stdout] 301 | |                 end_time
[INFO] [stdout] 302 | |                 from 
[INFO] [stdout] ...   |
[INFO] [stdout] 310 | |             space_id,
[INFO] [stdout] 311 | |             today_date)
[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/route/booking.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 44 |           let conflict_exists = sqlx::query!(
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 45 | |                 r#"
[INFO] [stdout] 46 | |                 SELECT EXISTS(
[INFO] [stdout] 47 | |                     SELECT 1 FROM bookings
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | |                 payload.end_time, 
[INFO] [stdout] 56 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/route/booking.rs:73:27
[INFO] [stdout]    |
[INFO] [stdout] 73 |   ...   let booking_row = sqlx::query_as!(BookingId,"insert into bookings (space_id, booked_by, start_time, end_time) values ($1, $2...
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 74 | | ...       payload.space_id,
[INFO] [stdout] 75 | | ...       claims.id,
[INFO] [stdout] 76 | | ...       payload.start_time,
[INFO] [stdout] 77 | | ...       payload.end_time)
[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/route/booking.rs:113:18
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let result = sqlx::query!("delete from bookings where booking_id = $1 and booked_by = $2", booking_id, claims.id)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/booking.rs:151:23
[INFO] [stdout]     |
[INFO] [stdout] 151 |       let booking_row = sqlx::query_as!(CreateBookingReq,
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 152 | |         "select space_id, start_time, end_time from bookings 
[INFO] [stdout] 153 | |          where booking_id = $1 and booked_by = $2",
[INFO] [stdout] 154 | |         booking_id,
[INFO] [stdout] 155 | |         claims.id
[INFO] [stdout] 156 | |     )
[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/route/booking.rs:184:27
[INFO] [stdout]     |
[INFO] [stdout] 184 |       let conflict_exists = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 185 | |         r#"
[INFO] [stdout] 186 | |         SELECT EXISTS(
[INFO] [stdout] 187 | |             SELECT 1 FROM bookings 
[INFO] [stdout] ...   |
[INFO] [stdout] 196 | |         booking_id
[INFO] [stdout] 197 | |     )
[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/route/booking.rs:218:5
[INFO] [stdout]     |
[INFO] [stdout] 218 | /     sqlx::query!(
[INFO] [stdout] 219 | |         "UPDATE bookings SET end_time = $1 WHERE booking_id = $2",
[INFO] [stdout] 220 | |         new_end_time,
[INFO] [stdout] 221 | |         booking_id
[INFO] [stdout] 222 | |     )
[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/route/booking.rs:260:23
[INFO] [stdout]     |
[INFO] [stdout] 260 |       let booking_row = sqlx::query_as!(GetBooking, "select space_id, booked_by, start_time, end_time from bookings where booked_by...
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 261 | |         claims.id)
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/booking.rs:293:23
[INFO] [stdout]     |
[INFO] [stdout] 293 |       let booking_row = sqlx::query_as!(GetBooking, "select space_id, booked_by, start_time, end_time from bookings where booked_by...
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 294 | |         claims.id,
[INFO] [stdout] 295 | |         booking_id)
[INFO] [stdout]     | |___________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/route/booking.rs:334:23
[INFO] [stdout]     |
[INFO] [stdout] 334 |       let booking_row = sqlx::query_as!(GetCompanyBooking, "SELECT
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 335 | |             b.booking_id,
[INFO] [stdout] 336 | |             b.space_id,
[INFO] [stdout] 337 | |             b.start_time,
[INFO] [stdout] ...   |
[INFO] [stdout] 344 | |         WHERE e.comp_id = $1;",
[INFO] [stdout] 345 | |         claims.id)
[INFO] [stdout]     | |__________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Admin`
[INFO] [stdout]  --> src/route/admin.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::{models::admin::{Admin, LoginAdmin}, utils::{errorhandler::AppError, jwt::{AccessRole, Claims}}};
[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: `employee::Role`
[INFO] [stdout]  --> src/route/company.rs:9:98
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{models::{company::{Company, CompanyQueryParams, CreateCompanyReq, UpdateCompanyReq}, employee::Role}, utils::{errorhandle...
[INFO] [stdout]   |                                                                                                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Employee`
[INFO] [stdout]  --> src/route/employee.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{models::{employee::{Employee, EmployeeInvite, EmployeePassword, EmployeeQueryParams, GetEmployee, LoginEmployee, Role, Up...
[INFO] [stdout]   |                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SpaceAvailable`, `SpaceId`, and `booking::AvailableBooking`
[INFO] [stdout]  --> src/route/spaces.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{models::{booking::AvailableBooking, space::{CreateSpaceReq, Space, SpaceAvailable, SpaceAvailableTimings, SpaceId, SpaceQ...
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^                                 ^^^^^^^^^^^^^^                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BookingId`, `GetBooking`, and `GetCompanyBooking`
[INFO] [stdout]  --> src/route/booking.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{models::{booking::{BookingId, CreateBookingReq, GetBooking, GetCompanyBooking, UpdateBookingReq}}, utils::{errorhandler::...
[INFO] [stdout]   |                                ^^^^^^^^^                    ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Admin`
[INFO] [stdout]  --> src/route/admin.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::{models::admin::{Admin, LoginAdmin}, utils::{errorhandler::AppError, jwt::{AccessRole, Claims}}};
[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: `employee::Role`
[INFO] [stdout]  --> src/route/company.rs:9:98
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{models::{company::{Company, CompanyQueryParams, CreateCompanyReq, UpdateCompanyReq}, employee::Role}, utils::{errorhandle...
[INFO] [stdout]   |                                                                                                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Employee`
[INFO] [stdout]  --> src/route/employee.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{models::{employee::{Employee, EmployeeInvite, EmployeePassword, EmployeeQueryParams, GetEmployee, LoginEmployee, Role, Up...
[INFO] [stdout]   |                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SpaceAvailable`, `SpaceId`, and `booking::AvailableBooking`
[INFO] [stdout]  --> src/route/spaces.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{models::{booking::AvailableBooking, space::{CreateSpaceReq, Space, SpaceAvailable, SpaceAvailableTimings, SpaceId, SpaceQ...
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^                                 ^^^^^^^^^^^^^^                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BookingId`, `GetBooking`, and `GetCompanyBooking`
[INFO] [stdout]  --> src/route/booking.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{models::{booking::{BookingId, CreateBookingReq, GetBooking, GetCompanyBooking, UpdateBookingReq}}, utils::{errorhandler::...
[INFO] [stdout]   |                                ^^^^^^^^^                    ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/route/admin.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 |       let admin_opt = sqlx::query_as!(Admin, "SELECT * FROM admins WHERE email = $1", payload.email)
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 25 | |         .fetch_optional(&pg)
[INFO] [stdout] 26 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/route/company.rs:41:27
[INFO] [stdout]    |
[INFO] [stdout] 41 |   ...   let company_row = sqlx::query!("insert into companies (company_name, about) values ($1, $2) returning comp_id", payload.comp...
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 42 | | ...       .fetch_one(&mut *tx)
[INFO] [stdout] 43 | | ...       .await
[INFO] [stdout]    | |________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/route/company.rs:50:27
[INFO] [stdout]    |
[INFO] [stdout] 50 |   ...   let manager_row = sqlx::query!("insert into employees (name, email,comp_id, position,role) values ($1,$2,$3,$4,$5::employee_...
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 51 | | ...       payload.manager.name,
[INFO] [stdout] 52 | | ...       payload.manager.email,
[INFO] [stdout] 53 | | ...       company_row.comp_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | | ...       .fetch_one(&mut *tx)
[INFO] [stdout] 58 | | ...       .await
[INFO] [stdout]    | |________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/company.rs:118:19
[INFO] [stdout]     |
[INFO] [stdout] 118 |       let company = sqlx::query_as!(Company, "select * from companies where comp_id = $1", comp_id)
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 119 | |         .fetch_one(&pg)
[INFO] [stdout] 120 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/company.rs:183:28
[INFO] [stdout]     |
[INFO] [stdout] 183 |       let total_count: i64 = sqlx::query_scalar!("SELECT COUNT(*) FROM companies")
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 184 | |         .fetch_one(&pg)
[INFO] [stdout] 185 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/route/admin.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 |       let admin_opt = sqlx::query_as!(Admin, "SELECT * FROM admins WHERE email = $1", payload.email)
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 25 | |         .fetch_optional(&pg)
[INFO] [stdout] 26 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/company.rs:220:23
[INFO] [stdout]     |
[INFO] [stdout] 220 |       let company_row = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 221 | |         .fetch_one(&pg)
[INFO] [stdout] 222 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/company.rs:236:19
[INFO] [stdout]     |
[INFO] [stdout] 236 |       let company = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 237 | |         Company,
[INFO] [stdout] 238 | |         "SELECT * FROM companies WHERE comp_id = $1",
[INFO] [stdout] 239 | |         company_row.comp_id
[INFO] [stdout] 240 | |     )
[INFO] [stdout] 241 | |     .fetch_one(&pg)
[INFO] [stdout] 242 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/route/company.rs:41:27
[INFO] [stdout]    |
[INFO] [stdout] 41 |   ...   let company_row = sqlx::query!("insert into companies (company_name, about) values ($1, $2) returning comp_id", payload.comp...
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 42 | | ...       .fetch_one(&mut *tx)
[INFO] [stdout] 43 | | ...       .await
[INFO] [stdout]    | |________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/route/company.rs:50:27
[INFO] [stdout]    |
[INFO] [stdout] 50 |   ...   let manager_row = sqlx::query!("insert into employees (name, email,comp_id, position,role) values ($1,$2,$3,$4,$5::employee_...
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 51 | | ...       payload.manager.name,
[INFO] [stdout] 52 | | ...       payload.manager.email,
[INFO] [stdout] 53 | | ...       company_row.comp_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | | ...       .fetch_one(&mut *tx)
[INFO] [stdout] 58 | | ...       .await
[INFO] [stdout]    | |________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/company.rs:118:19
[INFO] [stdout]     |
[INFO] [stdout] 118 |       let company = sqlx::query_as!(Company, "select * from companies where comp_id = $1", comp_id)
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 119 | |         .fetch_one(&pg)
[INFO] [stdout] 120 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/company.rs:183:28
[INFO] [stdout]     |
[INFO] [stdout] 183 |       let total_count: i64 = sqlx::query_scalar!("SELECT COUNT(*) FROM companies")
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 184 | |         .fetch_one(&pg)
[INFO] [stdout] 185 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/company.rs:220:23
[INFO] [stdout]     |
[INFO] [stdout] 220 |       let company_row = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 221 | |         .fetch_one(&pg)
[INFO] [stdout] 222 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/company.rs:349:18
[INFO] [stdout]     |
[INFO] [stdout] 349 |       let result = sqlx::query!("delete from companies where comp_id = $1", comp_id)
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 350 | |         .execute(&pg)
[INFO] [stdout] 351 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/company.rs:236:19
[INFO] [stdout]     |
[INFO] [stdout] 236 |       let company = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 237 | |         Company,
[INFO] [stdout] 238 | |         "SELECT * FROM companies WHERE comp_id = $1",
[INFO] [stdout] 239 | |         company_row.comp_id
[INFO] [stdout] 240 | |     )
[INFO] [stdout] 241 | |     .fetch_one(&pg)
[INFO] [stdout] 242 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/route/employee.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |       let employee_opt = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 24 | |             Employee,
[INFO] [stdout] 25 | |             r#"
[INFO] [stdout] 26 | |             SELECT 
[INFO] [stdout] ...  |
[INFO] [stdout] 34 | |         .fetch_optional(&pg)
[INFO] [stdout] 35 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/route/employee.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let employee_password_hash = match employee.password_hash {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/route/employee.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 |         Some(pass) => pass,
[INFO] [stdout]    |              ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/route/employee.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         Some(pass) => pass,
[INFO] [stdout]    |         ^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `Some`
[INFO] [stdout]   --> /rustc/54cf65b8d066c082e536455049b95943cf30378f/library/core/src/option.rs:608:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:126:24
[INFO] [stdout]     |
[INFO] [stdout] 126 |       let employee_row = sqlx::query!("SELECT emp_id FROM employees WHERE email = $1 and password_hash is NULL", claims.sub)
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 127 | |         .fetch_one(&mut *tx)
[INFO] [stdout] 128 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:148:5
[INFO] [stdout]     |
[INFO] [stdout] 148 | /     sqlx::query!(
[INFO] [stdout] 149 | |         r#"
[INFO] [stdout] 150 | |             Update employees 
[INFO] [stdout] 151 | |             set password_hash = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 158 | |     .execute(&mut *tx)
[INFO] [stdout] 159 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/company.rs:349:18
[INFO] [stdout]     |
[INFO] [stdout] 349 |       let result = sqlx::query!("delete from companies where comp_id = $1", comp_id)
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 350 | |         .execute(&pg)
[INFO] [stdout] 351 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/route/employee.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |       let employee_opt = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 24 | |             Employee,
[INFO] [stdout] 25 | |             r#"
[INFO] [stdout] 26 | |             SELECT 
[INFO] [stdout] ...  |
[INFO] [stdout] 34 | |         .fetch_optional(&pg)
[INFO] [stdout] 35 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:208:27
[INFO] [stdout]     |
[INFO] [stdout] 208 |           let manager_row = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 209 | |             .fetch_one(&mut *tx)
[INFO] [stdout] 210 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:217:28
[INFO] [stdout]     |
[INFO] [stdout] 217 |   ...   let employee_row = sqlx::query!("insert into employees (name, email,comp_id, position,role) values ($1,$2,$3,$4,$5::employe...
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 218 | | ...       payload.name,
[INFO] [stdout] 219 | | ...       payload.email,
[INFO] [stdout] 220 | | ...       manager_row.comp_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 224 | | ...       .fetch_one(&mut *tx)
[INFO] [stdout] 225 | | ...       .await
[INFO] [stdout]     | |________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/route/employee.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let employee_password_hash = match employee.password_hash {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/route/employee.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 |         Some(pass) => pass,
[INFO] [stdout]    |              ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/route/employee.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         Some(pass) => pass,
[INFO] [stdout]    |         ^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `Some`
[INFO] [stdout]   --> /rustc/54cf65b8d066c082e536455049b95943cf30378f/library/core/src/option.rs:608:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:285:30
[INFO] [stdout]     |
[INFO] [stdout] 285 |       let manager_company_id = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 286 | |             .fetch_one(&pg)
[INFO] [stdout] 287 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:293:20
[INFO] [stdout]     |
[INFO] [stdout] 293 |       let employee = sqlx::query_as!(GetEmployee, r#"select 
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 294 | |                 emp_id,name, position, email,role as "role!: Role"
[INFO] [stdout] 295 | |                 from employees 
[INFO] [stdout] 296 | |                 where emp_id = $1 and comp_id=$2"#, emp_id, manager_company_id.comp_id)
[INFO] [stdout] 297 | |         .fetch_one(&pg)
[INFO] [stdout] 298 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:338:30
[INFO] [stdout]     |
[INFO] [stdout] 338 |       let manager_company_id = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 339 | |         .fetch_one(&pg)
[INFO] [stdout] 340 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:126:24
[INFO] [stdout]     |
[INFO] [stdout] 126 |       let employee_row = sqlx::query!("SELECT emp_id FROM employees WHERE email = $1 and password_hash is NULL", claims.sub)
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 127 | |         .fetch_one(&mut *tx)
[INFO] [stdout] 128 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:374:28
[INFO] [stdout]     |
[INFO] [stdout] 374 |       let total_count: i64 = sqlx::query_scalar!("SELECT COUNT(*) FROM employees WHERE comp_id = $1", manager_company_id.comp_id)
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 375 | |         .fetch_one(&pg)
[INFO] [stdout] 376 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:148:5
[INFO] [stdout]     |
[INFO] [stdout] 148 | /     sqlx::query!(
[INFO] [stdout] 149 | |         r#"
[INFO] [stdout] 150 | |             Update employees 
[INFO] [stdout] 151 | |             set password_hash = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 158 | |     .execute(&mut *tx)
[INFO] [stdout] 159 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:413:30
[INFO] [stdout]     |
[INFO] [stdout] 413 |       let manager_company_id = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 414 | |         .fetch_one(&pg)
[INFO] [stdout] 415 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:208:27
[INFO] [stdout]     |
[INFO] [stdout] 208 |           let manager_row = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 209 | |             .fetch_one(&mut *tx)
[INFO] [stdout] 210 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:217:28
[INFO] [stdout]     |
[INFO] [stdout] 217 |   ...   let employee_row = sqlx::query!("insert into employees (name, email,comp_id, position,role) values ($1,$2,$3,$4,$5::employe...
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 218 | | ...       payload.name,
[INFO] [stdout] 219 | | ...       payload.email,
[INFO] [stdout] 220 | | ...       manager_row.comp_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 224 | | ...       .fetch_one(&mut *tx)
[INFO] [stdout] 225 | | ...       .await
[INFO] [stdout]     | |________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:285:30
[INFO] [stdout]     |
[INFO] [stdout] 285 |       let manager_company_id = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 286 | |             .fetch_one(&pg)
[INFO] [stdout] 287 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:495:30
[INFO] [stdout]     |
[INFO] [stdout] 495 |       let manager_company_id = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 496 | |         .fetch_one(&pg)
[INFO] [stdout] 497 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:293:20
[INFO] [stdout]     |
[INFO] [stdout] 293 |       let employee = sqlx::query_as!(GetEmployee, r#"select 
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 294 | |                 emp_id,name, position, email,role as "role!: Role"
[INFO] [stdout] 295 | |                 from employees 
[INFO] [stdout] 296 | |                 where emp_id = $1 and comp_id=$2"#, emp_id, manager_company_id.comp_id)
[INFO] [stdout] 297 | |         .fetch_one(&pg)
[INFO] [stdout] 298 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:503:18
[INFO] [stdout]     |
[INFO] [stdout] 503 |       let result = sqlx::query!("delete from employees where emp_id = $1 and comp_id = $2", emp_id, manager_company_id.comp_id)
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 504 | |         .execute(&pg)
[INFO] [stdout] 505 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:338:30
[INFO] [stdout]     |
[INFO] [stdout] 338 |       let manager_company_id = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 339 | |         .fetch_one(&pg)
[INFO] [stdout] 340 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/route/spaces.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 |   ...   let space_row = sqlx::query_as!(SpaceId, "insert into spaces (name, size, description) values ($1, $2, $3) returning space_i...
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 41 | | ...       .fetch_one(&mut *tx)
[INFO] [stdout] 42 | | ...       .await
[INFO] [stdout]    | |________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:374:28
[INFO] [stdout]     |
[INFO] [stdout] 374 |       let total_count: i64 = sqlx::query_scalar!("SELECT COUNT(*) FROM employees WHERE comp_id = $1", manager_company_id.comp_id)
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 375 | |         .fetch_one(&pg)
[INFO] [stdout] 376 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/route/spaces.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |       let space = sqlx::query_as!(Space, "select * from spaces where space_id = $1", space_id)
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 66 | |         .fetch_one(&pg)
[INFO] [stdout] 67 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:413:30
[INFO] [stdout]     |
[INFO] [stdout] 413 |       let manager_company_id = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 414 | |         .fetch_one(&pg)
[INFO] [stdout] 415 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/spaces.rs:125:28
[INFO] [stdout]     |
[INFO] [stdout] 125 |       let total_count: i64 = sqlx::query_scalar!("SELECT COUNT(*) FROM spaces")
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 126 | |         .fetch_one(&pg)
[INFO] [stdout] 127 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:495:30
[INFO] [stdout]     |
[INFO] [stdout] 495 |       let manager_company_id = sqlx::query!("select comp_id from employees where emp_id = $1", claims.id)
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 496 | |         .fetch_one(&pg)
[INFO] [stdout] 497 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/employee.rs:503:18
[INFO] [stdout]     |
[INFO] [stdout] 503 |       let result = sqlx::query!("delete from employees where emp_id = $1 and comp_id = $2", emp_id, manager_company_id.comp_id)
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 504 | |         .execute(&pg)
[INFO] [stdout] 505 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/route/spaces.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 |   ...   let space_row = sqlx::query_as!(SpaceId, "insert into spaces (name, size, description) values ($1, $2, $3) returning space_i...
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 41 | | ...       .fetch_one(&mut *tx)
[INFO] [stdout] 42 | | ...       .await
[INFO] [stdout]    | |________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/route/spaces.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |       let space = sqlx::query_as!(Space, "select * from spaces where space_id = $1", space_id)
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 66 | |         .fetch_one(&pg)
[INFO] [stdout] 67 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/spaces.rs:239:18
[INFO] [stdout]     |
[INFO] [stdout] 239 |       let result = sqlx::query!("delete from spaces where space_id = $1", space_id)
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 240 | |         .execute(&pg)
[INFO] [stdout] 241 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/spaces.rs:125:28
[INFO] [stdout]     |
[INFO] [stdout] 125 |       let total_count: i64 = sqlx::query_scalar!("SELECT COUNT(*) FROM spaces")
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 126 | |         .fetch_one(&pg)
[INFO] [stdout] 127 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/spaces.rs:259:22
[INFO] [stdout]     |
[INFO] [stdout] 259 |       let spaces_row = sqlx::query_as!(SpaceAvailable, r#"SELECT 
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 260 | |             s.space_id,
[INFO] [stdout] 261 | |             s.name,
[INFO] [stdout] 262 | |             s.size,
[INFO] [stdout] ...   |
[INFO] [stdout] 280 | |                 .fetch_all(&pg)
[INFO] [stdout] 281 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/spaces.rs:299:23
[INFO] [stdout]     |
[INFO] [stdout] 299 |       let booking_row = sqlx::query_as!(AvailableBooking, r#"select 
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 300 | |                 start_time,
[INFO] [stdout] 301 | |                 end_time
[INFO] [stdout] 302 | |                 from 
[INFO] [stdout] ...   |
[INFO] [stdout] 312 | |                 .fetch_all(&pg)
[INFO] [stdout] 313 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/route/booking.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 44 |           let conflict_exists = sqlx::query!(
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 45 | |                 r#"
[INFO] [stdout] 46 | |                 SELECT EXISTS(
[INFO] [stdout] 47 | |                     SELECT 1 FROM bookings
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |             .fetch_one(&pg)
[INFO] [stdout] 58 | |             .await
[INFO] [stdout]    | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/route/booking.rs:73:27
[INFO] [stdout]    |
[INFO] [stdout] 73 |   ...   let booking_row = sqlx::query_as!(BookingId,"insert into bookings (space_id, booked_by, start_time, end_time) values ($1, $2...
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 74 | | ...       payload.space_id,
[INFO] [stdout] 75 | | ...       claims.id,
[INFO] [stdout] 76 | | ...       payload.start_time,
[INFO] [stdout] 77 | | ...       payload.end_time)
[INFO] [stdout] 78 | | ...       .fetch_one(&mut *tx)
[INFO] [stdout] 79 | | ...       .await
[INFO] [stdout]    | |________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/booking.rs:113:18
[INFO] [stdout]     |
[INFO] [stdout] 113 |       let result = sqlx::query!("delete from bookings where booking_id = $1 and booked_by = $2", booking_id, claims.id)
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 114 | |         .execute(&pg)
[INFO] [stdout] 115 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/booking.rs:151:23
[INFO] [stdout]     |
[INFO] [stdout] 151 |       let booking_row = sqlx::query_as!(CreateBookingReq,
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 152 | |         "select space_id, start_time, end_time from bookings 
[INFO] [stdout] 153 | |          where booking_id = $1 and booked_by = $2",
[INFO] [stdout] 154 | |         booking_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 157 | |     .fetch_one(&pg)
[INFO] [stdout] 158 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/booking.rs:184:27
[INFO] [stdout]     |
[INFO] [stdout] 184 |       let conflict_exists = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 185 | |         r#"
[INFO] [stdout] 186 | |         SELECT EXISTS(
[INFO] [stdout] 187 | |             SELECT 1 FROM bookings 
[INFO] [stdout] ...   |
[INFO] [stdout] 198 | |     .fetch_one(&pg)
[INFO] [stdout] 199 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/spaces.rs:239:18
[INFO] [stdout]     |
[INFO] [stdout] 239 |       let result = sqlx::query!("delete from spaces where space_id = $1", space_id)
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 240 | |         .execute(&pg)
[INFO] [stdout] 241 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/booking.rs:218:5
[INFO] [stdout]     |
[INFO] [stdout] 218 | /     sqlx::query!(
[INFO] [stdout] 219 | |         "UPDATE bookings SET end_time = $1 WHERE booking_id = $2",
[INFO] [stdout] 220 | |         new_end_time,
[INFO] [stdout] 221 | |         booking_id
[INFO] [stdout] 222 | |     )
[INFO] [stdout] 223 | |     .execute(&mut *tx)
[INFO] [stdout] 224 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/spaces.rs:259:22
[INFO] [stdout]     |
[INFO] [stdout] 259 |       let spaces_row = sqlx::query_as!(SpaceAvailable, r#"SELECT 
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 260 | |             s.space_id,
[INFO] [stdout] 261 | |             s.name,
[INFO] [stdout] 262 | |             s.size,
[INFO] [stdout] ...   |
[INFO] [stdout] 280 | |                 .fetch_all(&pg)
[INFO] [stdout] 281 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/spaces.rs:299:23
[INFO] [stdout]     |
[INFO] [stdout] 299 |       let booking_row = sqlx::query_as!(AvailableBooking, r#"select 
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 300 | |                 start_time,
[INFO] [stdout] 301 | |                 end_time
[INFO] [stdout] 302 | |                 from 
[INFO] [stdout] ...   |
[INFO] [stdout] 312 | |                 .fetch_all(&pg)
[INFO] [stdout] 313 | |                 .await
[INFO] [stdout]     | |______________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/route/booking.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 44 |           let conflict_exists = sqlx::query!(
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 45 | |                 r#"
[INFO] [stdout] 46 | |                 SELECT EXISTS(
[INFO] [stdout] 47 | |                     SELECT 1 FROM bookings
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |             .fetch_one(&pg)
[INFO] [stdout] 58 | |             .await
[INFO] [stdout]    | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/booking.rs:260:23
[INFO] [stdout]     |
[INFO] [stdout] 260 |       let booking_row = sqlx::query_as!(GetBooking, "select space_id, booked_by, start_time, end_time from bookings where booked_by...
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 261 | |         claims.id)
[INFO] [stdout] 262 | |         .fetch_all(&pg)
[INFO] [stdout] 263 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/route/booking.rs:73:27
[INFO] [stdout]    |
[INFO] [stdout] 73 |   ...   let booking_row = sqlx::query_as!(BookingId,"insert into bookings (space_id, booked_by, start_time, end_time) values ($1, $2...
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 74 | | ...       payload.space_id,
[INFO] [stdout] 75 | | ...       claims.id,
[INFO] [stdout] 76 | | ...       payload.start_time,
[INFO] [stdout] 77 | | ...       payload.end_time)
[INFO] [stdout] 78 | | ...       .fetch_one(&mut *tx)
[INFO] [stdout] 79 | | ...       .await
[INFO] [stdout]    | |________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/booking.rs:293:23
[INFO] [stdout]     |
[INFO] [stdout] 293 |       let booking_row = sqlx::query_as!(GetBooking, "select space_id, booked_by, start_time, end_time from bookings where booked_by...
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 294 | |         claims.id,
[INFO] [stdout] 295 | |         booking_id)
[INFO] [stdout] 296 | |         .fetch_one(&pg)
[INFO] [stdout] 297 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/booking.rs:113:18
[INFO] [stdout]     |
[INFO] [stdout] 113 |       let result = sqlx::query!("delete from bookings where booking_id = $1 and booked_by = $2", booking_id, claims.id)
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 114 | |         .execute(&pg)
[INFO] [stdout] 115 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/booking.rs:334:23
[INFO] [stdout]     |
[INFO] [stdout] 334 |       let booking_row = sqlx::query_as!(GetCompanyBooking, "SELECT
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 335 | |             b.booking_id,
[INFO] [stdout] 336 | |             b.space_id,
[INFO] [stdout] 337 | |             b.start_time,
[INFO] [stdout] ...   |
[INFO] [stdout] 346 | |         .fetch_all(&pg)
[INFO] [stdout] 347 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/booking.rs:151:23
[INFO] [stdout]     |
[INFO] [stdout] 151 |       let booking_row = sqlx::query_as!(CreateBookingReq,
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 152 | |         "select space_id, start_time, end_time from bookings 
[INFO] [stdout] 153 | |          where booking_id = $1 and booked_by = $2",
[INFO] [stdout] 154 | |         booking_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 157 | |     .fetch_one(&pg)
[INFO] [stdout] 158 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/booking.rs:184:27
[INFO] [stdout]     |
[INFO] [stdout] 184 |       let conflict_exists = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 185 | |         r#"
[INFO] [stdout] 186 | |         SELECT EXISTS(
[INFO] [stdout] 187 | |             SELECT 1 FROM bookings 
[INFO] [stdout] ...   |
[INFO] [stdout] 198 | |     .fetch_one(&pg)
[INFO] [stdout] 199 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/booking.rs:218:5
[INFO] [stdout]     |
[INFO] [stdout] 218 | /     sqlx::query!(
[INFO] [stdout] 219 | |         "UPDATE bookings SET end_time = $1 WHERE booking_id = $2",
[INFO] [stdout] 220 | |         new_end_time,
[INFO] [stdout] 221 | |         booking_id
[INFO] [stdout] 222 | |     )
[INFO] [stdout] 223 | |     .execute(&mut *tx)
[INFO] [stdout] 224 | |     .await
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/booking.rs:260:23
[INFO] [stdout]     |
[INFO] [stdout] 260 |       let booking_row = sqlx::query_as!(GetBooking, "select space_id, booked_by, start_time, end_time from bookings where booked_by...
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 261 | |         claims.id)
[INFO] [stdout] 262 | |         .fetch_all(&pg)
[INFO] [stdout] 263 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/booking.rs:293:23
[INFO] [stdout]     |
[INFO] [stdout] 293 |       let booking_row = sqlx::query_as!(GetBooking, "select space_id, booked_by, start_time, end_time from bookings where booked_by...
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 294 | |         claims.id,
[INFO] [stdout] 295 | |         booking_id)
[INFO] [stdout] 296 | |         .fetch_one(&pg)
[INFO] [stdout] 297 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/route/booking.rs:334:23
[INFO] [stdout]     |
[INFO] [stdout] 334 |       let booking_row = sqlx::query_as!(GetCompanyBooking, "SELECT
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 335 | |             b.booking_id,
[INFO] [stdout] 336 | |             b.space_id,
[INFO] [stdout] 337 | |             b.start_time,
[INFO] [stdout] ...   |
[INFO] [stdout] 346 | |         .fetch_all(&pg)
[INFO] [stdout] 347 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `axum_rest_api` (bin "axum_rest_api") due to 73 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `axum_rest_api` (bin "axum_rest_api" test) due to 73 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "bff84a44099be436c206a8566c8d8304d54ebd32f3215241e01e6503d3c618d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bff84a44099be436c206a8566c8d8304d54ebd32f3215241e01e6503d3c618d8", kill_on_drop: false }`
[INFO] [stdout] bff84a44099be436c206a8566c8d8304d54ebd32f3215241e01e6503d3c618d8
