[INFO] cloning repository https://github.com/ohmyzshuo/alumni_hub_backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ohmyzshuo/alumni_hub_backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohmyzshuo%2Falumni_hub_backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohmyzshuo%2Falumni_hub_backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f05aaedc69d9ba28c6ef4896092f5da4a5d6043e
[INFO] checking ohmyzshuo/alumni_hub_backend against master#31a9463c6e2794a59ce57a8f37abc6966afc2a58 for pr-149045
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohmyzshuo%2Falumni_hub_backend" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ohmyzshuo/alumni_hub_backend
[INFO] finished tweaking git repo https://github.com/ohmyzshuo/alumni_hub_backend
[INFO] tweaked toml for git repo https://github.com/ohmyzshuo/alumni_hub_backend written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ohmyzshuo/alumni_hub_backend on toolchain 31a9463c6e2794a59ce57a8f37abc6966afc2a58
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ohmyzshuo/alumni_hub_backend 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" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded uuid v1.8.0
[INFO] [stderr]   Downloaded serde_derive v1.0.203
[INFO] [stderr]   Downloaded quote v1.0.36
[INFO] [stderr]   Downloaded tokio-macros v2.2.0
[INFO] [stderr]   Downloaded serde_spanned v0.6.6
[INFO] [stderr]   Downloaded windows-targets v0.52.5
[INFO] [stderr]   Downloaded thread_local v1.1.8
[INFO] [stderr]   Downloaded futures-macro v0.3.30
[INFO] [stderr]   Downloaded phf_shared v0.11.2
[INFO] [stderr]   Downloaded version_check v0.9.4
[INFO] [stderr]   Downloaded wasite v0.1.0
[INFO] [stderr]   Downloaded subtle v2.5.0
[INFO] [stderr]   Downloaded md-5 v0.10.6
[INFO] [stderr]   Downloaded siphasher v0.3.11
[INFO] [stderr]   Downloaded rust-ini v0.19.0
[INFO] [stderr]   Downloaded toml_datetime v0.6.6
[INFO] [stderr]   Downloaded futures-core v0.3.30
[INFO] [stderr]   Downloaded lazy_static v1.4.0
[INFO] [stderr]   Downloaded ordered-multimap v0.6.0
[INFO] [stderr]   Downloaded adler v1.0.2
[INFO] [stderr]   Downloaded async-trait v0.1.80
[INFO] [stderr]   Downloaded tower-layer v0.3.2
[INFO] [stderr]   Downloaded futures-sink v0.3.30
[INFO] [stderr]   Downloaded axum-macros v0.4.1
[INFO] [stderr]   Downloaded axum-core v0.4.3
[INFO] [stderr]   Downloaded tower-service v0.3.2
[INFO] [stderr]   Downloaded http-body-util v0.1.1
[INFO] [stderr]   Downloaded http-body v1.0.0
[INFO] [stderr]   Downloaded cpufeatures v0.2.12
[INFO] [stderr]   Downloaded tracing-log v0.2.0
[INFO] [stderr]   Downloaded spin v0.5.2
[INFO] [stderr]   Downloaded tracing-attributes v0.1.27
[INFO] [stderr]   Downloaded pin-project-lite v0.2.14
[INFO] [stderr]   Downloaded signal-hook-registry v1.4.2
[INFO] [stderr]   Downloaded redox_syscall v0.5.1
[INFO] [stderr]   Downloaded slab v0.4.9
[INFO] [stderr]   Downloaded futures-io v0.3.30
[INFO] [stderr]   Downloaded whoami v1.5.1
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.17
[INFO] [stderr]   Downloaded postgres-types v0.2.6
[INFO] [stderr]   Downloaded stringprep v0.1.5
[INFO] [stderr]   Downloaded sha2 v0.10.8
[INFO] [stderr]   Downloaded fallible-iterator v0.2.0
[INFO] [stderr]   Downloaded futures-channel v0.3.30
[INFO] [stderr]   Downloaded deadpool-runtime v0.1.4
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.92
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.92
[INFO] [stderr]   Downloaded valuable v0.1.0
[INFO] [stderr]   Downloaded nu-ansi-term v0.46.0
[INFO] [stderr]   Downloaded overload v0.1.1
[INFO] [stderr]   Downloaded parking_lot_core v0.9.10
[INFO] [stderr]   Downloaded autocfg v1.3.0
[INFO] [stderr]   Downloaded addr2line v0.22.0
[INFO] [stderr]   Downloaded pin-project-internal v1.1.5
[INFO] [stderr]   Downloaded futures-task v0.3.30
[INFO] [stderr]   Downloaded postgres-protocol v0.6.6
[INFO] [stderr]   Downloaded unicode-properties v0.1.1
[INFO] [stderr]   Downloaded phf v0.11.2
[INFO] [stderr]   Downloaded urlencoding v2.1.3
[INFO] [stderr]   Downloaded time-core v0.1.2
[INFO] [stderr]   Downloaded fastrand v2.1.0
[INFO] [stderr]   Downloaded hex v0.4.3
[INFO] [stderr]   Downloaded scheduled-thread-pool v0.2.7
[INFO] [stderr]   Downloaded diesel_table_macro_syntax v0.2.0
[INFO] [stderr]   Downloaded sync_wrapper v0.1.2
[INFO] [stderr]   Downloaded proc-macro2 v1.0.84
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.92
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.92
[INFO] [stderr]   Downloaded once_cell v1.19.0
[INFO] [stderr]   Downloaded smallvec v1.13.2
[INFO] [stderr]   Downloaded bitflags v2.5.0
[INFO] [stderr]   Downloaded socket2 v0.5.7
[INFO] [stderr]   Downloaded parking_lot v0.12.3
[INFO] [stderr]   Downloaded lock_api v0.4.12
[INFO] [stderr]   Downloaded redox_syscall v0.4.1
[INFO] [stderr]   Downloaded tinyvec v1.6.0
[INFO] [stderr]   Downloaded dotenvy v0.15.7
[INFO] [stderr]   Downloaded r2d2 v0.8.10
[INFO] [stderr]   Downloaded deadpool-postgres v0.14.0
[INFO] [stderr]   Downloaded deadpool v0.12.1
[INFO] [stderr]   Downloaded const-random v0.1.18
[INFO] [stderr]   Downloaded const-random-macro v0.1.16
[INFO] [stderr]   Downloaded serde v1.0.203
[INFO] [stderr]   Downloaded log v0.4.21
[INFO] [stderr]   Downloaded miniz_oxide v0.7.3
[INFO] [stderr]   Downloaded thiserror-impl v1.0.61
[INFO] [stderr]   Downloaded openssl-probe v0.1.5
[INFO] [stderr]   Downloaded atoi v2.0.0
[INFO] [stderr]   Downloaded tracing-core v0.1.32
[INFO] [stderr]   Downloaded sharded-slab v0.1.7
[INFO] [stderr]   Downloaded bytes v1.6.0
[INFO] [stderr]   Downloaded pin-project v1.1.5
[INFO] [stderr]   Downloaded errno v0.3.9
[INFO] [stderr]   Downloaded crossbeam-queue v0.3.11
[INFO] [stderr]   Downloaded sqlx-mysql v0.7.4
[INFO] [stderr]   Downloaded darling_core v0.20.9
[INFO] [stderr]   Downloaded httparse v1.8.0
[INFO] [stderr]   Downloaded dsl_auto_type v0.1.0
[INFO] [stderr]   Downloaded yaml-rust v0.4.5
[INFO] [stderr]   Downloaded js-sys v0.3.69
[INFO] [stderr]   Downloaded tracing v0.1.40
[INFO] [stderr]   Downloaded cc v1.0.98
[INFO] [stderr]   Downloaded unicode-bidi v0.3.15
[INFO] [stderr]   Downloaded bumpalo v3.16.0
[INFO] [stderr]   Downloaded tower v0.4.13
[INFO] [stderr]   Downloaded tokio-postgres v0.7.10
[INFO] [stderr]   Downloaded tokio-util v0.7.11
[INFO] [stderr]   Downloaded base64 v0.21.7
[INFO] [stderr]   Downloaded base64ct v1.6.0
[INFO] [stderr]   Downloaded indexmap v1.9.3
[INFO] [stderr]   Downloaded jsonwebtoken v9.3.0
[INFO] [stderr]   Downloaded pem v3.0.4
[INFO] [stderr]   Downloaded inout v0.1.3
[INFO] [stderr]   Downloaded tower-http v0.5.2
[INFO] [stderr]   Downloaded http v1.1.0
[INFO] [stderr]   Downloaded mio v0.8.11
[INFO] [stderr]   Downloaded backtrace v0.3.72
[INFO] [stderr]   Downloaded memchr v2.7.2
[INFO] [stderr]   Downloaded pkcs1 v0.7.5
[INFO] [stderr]   Downloaded equivalent v1.0.1
[INFO] [stderr]   Downloaded config v0.14.0
[INFO] [stderr]   Downloaded unicode-normalization v0.1.23
[INFO] [stderr]   Downloaded crc v3.2.1
[INFO] [stderr]   Downloaded home v0.5.9
[INFO] [stderr]   Downloaded etcetera v0.8.0
[INFO] [stderr]   Downloaded der v0.7.9
[INFO] [stderr]   Downloaded sqlx-macros v0.7.4
[INFO] [stderr]   Downloaded pathdiff v0.2.1
[INFO] [stderr]   Downloaded json5 v0.4.1
[INFO] [stderr]   Downloaded bcrypt v0.15.1
[INFO] [stderr]   Downloaded sync_wrapper v1.0.1
[INFO] [stderr]   Downloaded sqlformat v0.2.3
[INFO] [stderr]   Downloaded either v1.12.0
[INFO] [stderr]   Downloaded sct v0.7.1
[INFO] [stderr]   Downloaded native-tls v0.2.12
[INFO] [stderr]   Downloaded crc-catalog v2.4.0
[INFO] [stderr]   Downloaded futures-executor v0.3.30
[INFO] [stderr]   Downloaded serde_with v3.8.1
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.92
[INFO] [stderr]   Downloaded tracing-subscriber v0.3.18
[INFO] [stderr]   Downloaded futures-util v0.3.30
[INFO] [stderr]   Downloaded core-foundation v0.9.4
[INFO] [stderr]   Downloaded pkg-config v0.3.30
[INFO] [stderr]   Downloaded event-listener v2.5.3
[INFO] [stderr]   Downloaded num-iter v0.1.45
[INFO] [stderr]   Downloaded heck v0.4.1
[INFO] [stderr]   Downloaded darling_macro v0.20.9
[INFO] [stderr]   Downloaded simple_asn1 v0.6.2
[INFO] [stderr]   Downloaded pq-sys v0.4.8
[INFO] [stderr]   Downloaded linked-hash-map v0.5.6
[INFO] [stderr]   Downloaded dlv-list v0.5.2
[INFO] [stderr]   Downloaded pest_generator v2.7.10
[INFO] [stderr]   Downloaded convert_case v0.6.0
[INFO] [stderr]   Downloaded blowfish v0.9.1
[INFO] [stderr]   Downloaded serde_path_to_error v0.1.16
[INFO] [stderr]   Downloaded time-macros v0.2.18
[INFO] [stderr]   Downloaded deranged v0.3.11
[INFO] [stderr]   Downloaded security-framework-sys v2.11.0
[INFO] [stderr]   Downloaded iana-time-zone v0.1.60
[INFO] [stderr]   Downloaded serde_with_macros v3.8.1
[INFO] [stderr]   Downloaded darling v0.20.9
[INFO] [stderr]   Downloaded rustls-pemfile v1.0.4
[INFO] [stderr]   Downloaded tempfile v3.10.1
[INFO] [stderr]   Downloaded core-foundation-sys v0.8.6
[INFO] [stderr]   Downloaded zerocopy-derive v0.7.34
[INFO] [stderr]   Downloaded hashlink v0.8.4
[INFO] [stderr]   Downloaded num-bigint-dig v0.8.4
[INFO] [stderr]   Downloaded sqlx-macros-core v0.7.4
[INFO] [stderr]   Downloaded pest_derive v2.7.10
[INFO] [stderr]   Downloaded pest_meta v2.7.10
[INFO] [stderr]   Downloaded cipher v0.4.4
[INFO] [stderr]   Downloaded rustversion v1.0.17
[INFO] [stderr]   Downloaded matchit v0.7.3
[INFO] [stderr]   Downloaded anyhow v1.0.86
[INFO] [stderr]   Downloaded thiserror v1.0.61
[INFO] [stderr]   Downloaded tokio-stream v0.1.15
[INFO] [stderr]   Downloaded schannel v0.1.23
[INFO] [stderr]   Downloaded ahash v0.8.11
[INFO] [stderr]   Downloaded syn v2.0.66
[INFO] [stderr]   Downloaded allocator-api2 v0.2.18
[INFO] [stderr]   Downloaded windows-core v0.52.0
[INFO] [stderr]   Downloaded toml v0.8.13
[INFO] [stderr]   Downloaded ron v0.8.1
[INFO] [stderr]   Downloaded ucd-trie v0.1.6
[INFO] [stderr]   Downloaded sqlx-sqlite v0.7.4
[INFO] [stderr]   Downloaded url v2.5.0
[INFO] [stderr]   Downloaded spin v0.9.8
[INFO] [stderr]   Downloaded security-framework v2.11.0
[INFO] [stderr]   Downloaded openssl-sys v0.9.102
[INFO] [stderr]   Downloaded futures-intrusive v0.5.0
[INFO] [stderr]   Downloaded rsa v0.9.6
[INFO] [stderr]   Downloaded unicode-segmentation v1.11.0
[INFO] [stderr]   Downloaded num-bigint v0.4.5
[INFO] [stderr]   Downloaded toml_edit v0.22.13
[INFO] [stderr]   Downloaded hyper-util v0.1.5
[INFO] [stderr]   Downloaded object v0.35.0
[INFO] [stderr]   Downloaded gimli v0.29.0
[INFO] [stderr]   Downloaded sqlx v0.7.4
[INFO] [stderr]   Downloaded unicode_categories v0.1.1
[INFO] [stderr]   Downloaded indexmap v2.2.6
[INFO] [stderr]   Downloaded flume v0.11.0
[INFO] [stderr]   Downloaded hashbrown v0.13.2
[INFO] [stderr]   Downloaded sqlx-core v0.7.4
[INFO] [stderr]   Downloaded minimal-lexical v0.2.1
[INFO] [stderr]   Downloaded libm v0.2.8
[INFO] [stderr]   Downloaded sqlx-postgres v0.7.4
[INFO] [stderr]   Downloaded hashbrown v0.12.3
[INFO] [stderr]   Downloaded hyper v1.3.1
[INFO] [stderr]   Downloaded winnow v0.6.9
[INFO] [stderr]   Downloaded time v0.3.36
[INFO] [stderr]   Downloaded nom v7.1.3
[INFO] [stderr]   Downloaded hashbrown v0.14.5
[INFO] [stderr]   Downloaded h2 v0.4.5
[INFO] [stderr]   Downloaded pest v2.7.10
[INFO] [stderr]   Downloaded itertools v0.12.1
[INFO] [stderr]   Downloaded diesel v2.2.0
[INFO] [stderr]   Downloaded axum v0.7.5
[INFO] [stderr]   Downloaded rustls-webpki v0.101.7
[INFO] [stderr]   Downloaded zerocopy v0.7.34
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.52.5
[INFO] [stderr]   Downloaded serde_json v1.0.117
[INFO] [stderr]   Downloaded hkdf v0.12.4
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.52.5
[INFO] [stderr]   Downloaded chrono v0.4.38
[INFO] [stderr]   Downloaded windows_i686_gnullvm v0.52.5
[INFO] [stderr]   Downloaded webpki-roots v0.25.4
[INFO] [stderr]   Downloaded openssl v0.10.64
[INFO] [stderr]   Downloaded rustls v0.21.12
[INFO] [stderr]   Downloaded idna v0.5.0
[INFO] [stderr]   Downloaded rustix v0.38.34
[INFO] [stderr]   Downloaded libc v0.2.155
[INFO] [stderr]   Downloaded tokio v1.37.0
[INFO] [stderr]   Downloaded web-sys v0.3.69
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.52.5
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.52.5
[INFO] [stderr]   Downloaded windows_i686_gnu v0.52.5
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.52.5
[INFO] [stderr]   Downloaded windows_i686_msvc v0.52.5
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.14
[INFO] [stderr]   Downloaded diesel_derives v2.2.0
[INFO] [stderr]   Downloaded ring v0.17.8
[INFO] [stderr]   Downloaded libsqlite3-sys v0.27.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3f6d276b2950fc6511e2602f235cf16aa82233f768727f364d3d658b3a8e28c9
[INFO] running `Command { std: "docker" "start" "-a" "3f6d276b2950fc6511e2602f235cf16aa82233f768727f364d3d658b3a8e28c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3f6d276b2950fc6511e2602f235cf16aa82233f768727f364d3d658b3a8e28c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f6d276b2950fc6511e2602f235cf16aa82233f768727f364d3d658b3a8e28c9", kill_on_drop: false }`
[INFO] [stdout] 3f6d276b2950fc6511e2602f235cf16aa82233f768727f364d3d658b3a8e28c9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 280ab6046755413ac7969eb4f33370cd583b8e5accc98e7456a6202a89b4393c
[INFO] running `Command { std: "docker" "start" "-a" "280ab6046755413ac7969eb4f33370cd583b8e5accc98e7456a6202a89b4393c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.84
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking zerocopy v0.7.34
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking allocator-api2 v0.2.18
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking unicode-properties v0.1.1
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]    Compiling darling_core v0.20.9
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling whoami v1.5.1
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]     Checking siphasher v0.3.11
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking phf_shared v0.11.2
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]    Compiling axum-core v0.4.3
[INFO] [stderr]     Checking http-body-util v0.1.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]     Checking postgres-protocol v0.6.6
[INFO] [stderr]    Compiling pq-sys v0.4.8
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking winnow v0.6.9
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking postgres-types v0.2.6
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking num-bigint v0.4.5
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]     Checking phf v0.11.2
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.2.0
[INFO] [stderr]    Compiling axum v0.7.5
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.7
[INFO] [stderr]     Checking ordered-multimap v0.6.0
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking r2d2 v0.8.10
[INFO] [stderr]     Checking rust-ini v0.19.0
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]    Compiling axum-macros v0.4.1
[INFO] [stderr]     Checking pem v3.0.4
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]    Compiling darling_macro v0.20.9
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]     Checking pathdiff v0.2.1
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking pest v2.7.10
[INFO] [stderr]     Checking simple_asn1 v0.6.2
[INFO] [stderr]     Checking bcrypt v0.15.1
[INFO] [stderr]    Compiling darling v0.20.9
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling serde_with_macros v3.8.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]    Compiling pest_meta v2.7.10
[INFO] [stderr]    Compiling pest_generator v2.7.10
[INFO] [stderr]    Compiling pest_derive v2.7.10
[INFO] [stderr]     Checking either v1.12.0
[INFO] [stderr]     Checking serde_spanned v0.6.6
[INFO] [stderr]     Checking toml_datetime v0.6.6
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking serde_with v3.8.1
[INFO] [stderr]     Checking uuid v1.8.0
[INFO] [stderr]     Checking serde_qs v0.13.0
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking deadpool-runtime v0.1.4
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking deadpool v0.12.1
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking toml_edit v0.22.13
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking h2 v0.4.5
[INFO] [stderr]     Checking tokio-postgres v0.7.10
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking jsonwebtoken v9.3.0
[INFO] [stderr]    Compiling dsl_auto_type v0.1.0
[INFO] [stderr]    Compiling diesel_derives v2.2.0
[INFO] [stderr]     Checking sqlformat v0.2.3
[INFO] [stderr]     Checking deadpool-postgres v0.14.0
[INFO] [stderr]     Checking toml v0.8.13
[INFO] [stderr]     Checking config v0.14.0
[INFO] [stderr]     Checking hyper v1.3.1
[INFO] [stderr]     Checking diesel v2.2.0
[INFO] [stderr]     Checking hyper-util v0.1.5
[INFO] [stderr]     Checking sqlx-core v0.7.4
[INFO] [stderr]     Checking sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking alumni_hub_backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = alumnis)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = alumnis)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = alumnis)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = alumnis)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = staffs)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = staffs)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = staffs)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = staffs)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = alumnis)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = staffs)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = alumnis)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = alumnis)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = alumnis)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = staffs)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = staffs)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = staffs)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = staffs)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = staffs)]` instead
[INFO] [stderr] 
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::SocketAddr;
[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 imports: `EncodingKey`, `Header`, `encode`, and `errors::Error as JwtError`
[INFO] [stdout]  --> src/handlers/auth_handler.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use jsonwebtoken::{encode, Header, EncodingKey, errors::Error as JwtError};
[INFO] [stdout]   |                    ^^^^^^  ^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration`, `NaiveDateTime`, and `Utc`
[INFO] [stdout]  --> src/handlers/auth_handler.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::{Duration, Utc, NaiveDateTime};
[INFO] [stdout]   |              ^^^^^^^^  ^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DEFAULT_COST`, `hash`, and `verify`
[INFO] [stdout]  --> src/handlers/auth_handler.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use bcrypt::{verify, hash, DEFAULT_COST};
[INFO] [stdout]   |              ^^^^^^  ^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]   --> src/handlers/auth_handler.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use async_trait::async_trait;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NewAlumni` and `UpdateAlumni`
[INFO] [stdout]  --> src/handlers/alumni_handler.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::models::alumni::{NewAlumni, UpdateAlumni};
[INFO] [stdout]   |                             ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/handlers/alumni_handler.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 |     extract::{Extension, Json, Path, Query},
[INFO] [stdout]   |                                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> src/handlers/staff_handler.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::naive_date_time::serialize`
[INFO] [stdout]  --> src/models/alumni.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::utils::naive_date_time::serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EncodingKey`, `Header`, `encode`, and `errors::Error as JwtError`
[INFO] [stdout]  --> src/services/auth_service.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use jsonwebtoken::{encode, Header, EncodingKey, errors::Error as JwtError};
[INFO] [stdout]   |                    ^^^^^^  ^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Utc`
[INFO] [stdout]  --> src/services/auth_service.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::{Duration, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `alumni::NewAlumni` and `alumni::UpdateAlumni`
[INFO] [stdout]  --> src/services/alumni_service.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::models::{alumni::Alumni, alumni::NewAlumni, alumni::UpdateAlumni};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/services/alumni_service.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `extract_login_name` and `hash_password`
[INFO] [stdout]  --> src/services/alumni_service.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::utils::auth_utils::{extract_login_name, hash_password};
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/utils/naive_date_time.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Deserializer, Serialize, Serializer};
[INFO] [stdout]   |                                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `delete` and `put`
[INFO] [stdout]   --> src/main.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 | use axum::routing::{delete, get, post, put};
[INFO] [stdout]    |                     ^^^^^^             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Any`
[INFO] [stdout]   --> src/main.rs:22:51
[INFO] [stdout]    |
[INFO] [stdout] 22 | use tower_http::cors::{AllowHeaders, AllowOrigin, Any, CorsLayer};
[INFO] [stdout]    |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::SocketAddr;
[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 imports: `EncodingKey`, `Header`, `encode`, and `errors::Error as JwtError`
[INFO] [stdout]  --> src/handlers/auth_handler.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use jsonwebtoken::{encode, Header, EncodingKey, errors::Error as JwtError};
[INFO] [stdout]   |                    ^^^^^^  ^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration`, `NaiveDateTime`, and `Utc`
[INFO] [stdout]  --> src/handlers/auth_handler.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::{Duration, Utc, NaiveDateTime};
[INFO] [stdout]   |              ^^^^^^^^  ^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DEFAULT_COST`, `hash`, and `verify`
[INFO] [stdout]  --> src/handlers/auth_handler.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use bcrypt::{verify, hash, DEFAULT_COST};
[INFO] [stdout]   |              ^^^^^^  ^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]   --> src/handlers/auth_handler.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use async_trait::async_trait;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NewAlumni` and `UpdateAlumni`
[INFO] [stdout]  --> src/handlers/alumni_handler.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::models::alumni::{NewAlumni, UpdateAlumni};
[INFO] [stdout]   |                             ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/handlers/alumni_handler.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 |     extract::{Extension, Json, Path, Query},
[INFO] [stdout]   |                                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> src/handlers/staff_handler.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::naive_date_time::serialize`
[INFO] [stdout]  --> src/models/alumni.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::utils::naive_date_time::serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EncodingKey`, `Header`, `encode`, and `errors::Error as JwtError`
[INFO] [stdout]  --> src/services/auth_service.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use jsonwebtoken::{encode, Header, EncodingKey, errors::Error as JwtError};
[INFO] [stdout]   |                    ^^^^^^  ^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Utc`
[INFO] [stdout]  --> src/services/auth_service.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::{Duration, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `alumni::NewAlumni` and `alumni::UpdateAlumni`
[INFO] [stdout]  --> src/services/alumni_service.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::models::{alumni::Alumni, alumni::NewAlumni, alumni::UpdateAlumni};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/services/alumni_service.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `extract_login_name` and `hash_password`
[INFO] [stdout]  --> src/services/alumni_service.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::utils::auth_utils::{extract_login_name, hash_password};
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/utils/naive_date_time.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Deserializer, Serialize, Serializer};
[INFO] [stdout]   |                                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `delete` and `put`
[INFO] [stdout]   --> src/main.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 | use axum::routing::{delete, get, post, put};
[INFO] [stdout]    |                     ^^^^^^             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Any`
[INFO] [stdout]   --> src/main.rs:22:51
[INFO] [stdout]    |
[INFO] [stdout] 22 | use tower_http::cors::{AllowHeaders, AllowOrigin, Any, CorsLayer};
[INFO] [stdout]    |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ServiceExt`
[INFO] [stdout]  --> src/main.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{Extension, Router, ServiceExt};
[INFO] [stdout]   |                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `staff`
[INFO] [stdout]   --> src/handlers/staff_handler.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Ok(staff) => debug!("ssss1"),
[INFO] [stdout]    |            ^^^^^ help: if this is intentional, prefix it with an underscore: `_staff`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ServiceExt`
[INFO] [stdout]  --> src/main.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{Extension, Router, ServiceExt};
[INFO] [stdout]   |                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `staff`
[INFO] [stdout]   --> src/handlers/staff_handler.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Ok(staff) => debug!("ssss1"),
[INFO] [stdout]    |            ^^^^^ help: if this is intentional, prefix it with an underscore: `_staff`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Claims` is never constructed
[INFO] [stdout]   --> src/handlers/auth_handler.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Claims {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `DbPool` is never used
[INFO] [stdout]   --> src/handlers/auth_handler.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | type DbPool = Pool<ConnectionManager<PgConnection>>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthService` is never constructed
[INFO] [stdout]   --> src/handlers/auth_handler.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct AuthService {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `authenticate_user` are never used
[INFO] [stdout]   --> src/handlers/auth_handler.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl AuthService {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 30 |     pub fn new(pool: DbPool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub async fn authenticate_user(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Claims` is never constructed
[INFO] [stdout]   --> src/services/auth_service.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Claims {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `DbPool` is never used
[INFO] [stdout]   --> src/services/auth_service.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | type DbPool = Pool<ConnectionManager<PgConnection>>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthService` is never constructed
[INFO] [stdout]   --> src/services/auth_service.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct AuthService {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `authenticate_user` are never used
[INFO] [stdout]   --> src/services/auth_service.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl AuthService {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 28 |     pub fn new(pool: DbPool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub async fn authenticate_user(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `DbPool` is never used
[INFO] [stdout]  --> src/db.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type DbPool = r2d2::Pool<ConnectionManager<PgConnection>>;
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_db_pool` is never used
[INFO] [stdout]  --> src/db.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn init_db_pool() -> DbPool {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_password` is never used
[INFO] [stdout]   --> src/utils/auth_utils.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn hash_password(password: &str) -> Result<String, AppError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_password_hash` is never used
[INFO] [stdout]   --> src/utils/auth_utils.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn check_password_hash(password: &str, hash: &str) -> Result<bool, AppError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_login_name` is never used
[INFO] [stdout]   --> src/utils/auth_utils.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn extract_login_name(matric_no: &str) -> Result<String, AppError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Unknown` is never constructed
[INFO] [stdout]   --> src/errors.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum ServiceError {
[INFO] [stdout]    |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |     Unknown,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Claims` is never constructed
[INFO] [stdout]   --> src/handlers/auth_handler.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Claims {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `DbPool` is never used
[INFO] [stdout]   --> src/handlers/auth_handler.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | type DbPool = Pool<ConnectionManager<PgConnection>>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthService` is never constructed
[INFO] [stdout]   --> src/handlers/auth_handler.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct AuthService {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `authenticate_user` are never used
[INFO] [stdout]   --> src/handlers/auth_handler.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl AuthService {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 30 |     pub fn new(pool: DbPool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub async fn authenticate_user(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Claims` is never constructed
[INFO] [stdout]   --> src/services/auth_service.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Claims {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `DbPool` is never used
[INFO] [stdout]   --> src/services/auth_service.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | type DbPool = Pool<ConnectionManager<PgConnection>>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthService` is never constructed
[INFO] [stdout]   --> src/services/auth_service.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct AuthService {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `authenticate_user` are never used
[INFO] [stdout]   --> src/services/auth_service.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl AuthService {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 28 |     pub fn new(pool: DbPool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub async fn authenticate_user(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `DbPool` is never used
[INFO] [stdout]  --> src/db.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type DbPool = r2d2::Pool<ConnectionManager<PgConnection>>;
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_db_pool` is never used
[INFO] [stdout]  --> src/db.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn init_db_pool() -> DbPool {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_password` is never used
[INFO] [stdout]   --> src/utils/auth_utils.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn hash_password(password: &str) -> Result<String, AppError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_password_hash` is never used
[INFO] [stdout]   --> src/utils/auth_utils.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn check_password_hash(password: &str, hash: &str) -> Result<bool, AppError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_login_name` is never used
[INFO] [stdout]   --> src/utils/auth_utils.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn extract_login_name(matric_no: &str) -> Result<String, AppError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Unknown` is never constructed
[INFO] [stdout]   --> src/errors.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum ServiceError {
[INFO] [stdout]    |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |     Unknown,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "280ab6046755413ac7969eb4f33370cd583b8e5accc98e7456a6202a89b4393c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "280ab6046755413ac7969eb4f33370cd583b8e5accc98e7456a6202a89b4393c", kill_on_drop: false }`
[INFO] [stdout] 280ab6046755413ac7969eb4f33370cd583b8e5accc98e7456a6202a89b4393c
