[INFO] cloning repository https://github.com/jisef/open_housing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jisef/open_housing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjisef%2Fopen_housing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjisef%2Fopen_housing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc62123af4d6c5f5008bbaeaa045861c6a635cf6 [INFO] testing jisef/open_housing against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjisef%2Fopen_housing" "/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/jisef/open_housing [INFO] finished tweaking git repo https://github.com/jisef/open_housing [INFO] tweaked toml for git repo https://github.com/jisef/open_housing written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jisef/open_housing on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jisef/open_housing 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tower-sessions-memory-store v0.14.0 [INFO] [stderr] Downloaded value-bag v1.11.1 [INFO] [stderr] Downloaded tower-sessions v0.14.0 [INFO] [stderr] Downloaded tower-sessions-seaorm-store v0.1.1 [INFO] [stderr] Downloaded nonempty v0.7.0 [INFO] [stderr] Downloaded tower-cookies v0.11.0 [INFO] [stderr] Downloaded inherent v1.0.12 [INFO] [stderr] Downloaded forwarded-header-value v0.1.1 [INFO] [stderr] Downloaded tower-sessions-core v0.14.0 [INFO] [stderr] Downloaded axum_session_auth v0.16.0 [INFO] [stderr] Downloaded blowfish v0.9.1 [INFO] [stderr] Downloaded bcrypt v0.17.0 [INFO] [stderr] Downloaded ouroboros_macro v0.18.5 [INFO] [stderr] Downloaded sea-orm-migration v1.1.14 [INFO] [stderr] Downloaded ouroboros v0.18.5 [INFO] [stderr] Downloaded sea-orm-macros v1.1.14 [INFO] [stderr] Downloaded axum_session_sqlx v0.5.0 [INFO] [stderr] Downloaded axum-login v0.18.0 [INFO] [stderr] Downloaded pgvector v0.4.1 [INFO] [stderr] Downloaded sea-orm-cli v1.1.14 [INFO] [stderr] Downloaded sea-query-derive v0.4.3 [INFO] [stderr] Downloaded async-lock v3.4.1 [INFO] [stderr] Downloaded futures-lite v2.6.1 [INFO] [stderr] Downloaded axum_session v0.16.0 [INFO] [stderr] Downloaded polling v3.10.0 [INFO] [stderr] Downloaded bigdecimal v0.4.8 [INFO] [stderr] Downloaded hyper-util v0.1.15 [INFO] [stderr] Downloaded io-uring v0.7.8 [INFO] [stderr] Downloaded async-std v1.13.1 [INFO] [stderr] Downloaded sea-query v0.32.6 [INFO] [stderr] Downloaded tokio v1.46.1 [INFO] [stderr] Downloaded sea-schema v0.16.2 [INFO] [stderr] Downloaded sea-orm v1.1.14 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b761c6312ea0ab6b30ae28c48020c6addb90e4ed3758041fd0da970c7c855c5c [INFO] running `Command { std: "docker" "start" "-a" "b761c6312ea0ab6b30ae28c48020c6addb90e4ed3758041fd0da970c7c855c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b761c6312ea0ab6b30ae28c48020c6addb90e4ed3758041fd0da970c7c855c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b761c6312ea0ab6b30ae28c48020c6addb90e4ed3758041fd0da970c7c855c5c", kill_on_drop: false }` [INFO] [stdout] b761c6312ea0ab6b30ae28c48020c6addb90e4ed3758041fd0da970c7c855c5c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 506a1ae8e8cc17984536379b463c5685870ff8fbd13092679ad8334372c97307 [INFO] running `Command { std: "docker" "start" "-a" "506a1ae8e8cc17984536379b463c5685870ff8fbd13092679ad8334372c97307", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling sea-query-derive v0.4.3 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling inherent v1.0.12 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling sea-query v0.32.6 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling clap_builder v4.5.42 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling sea-orm-macros v1.1.14 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling clap v4.5.42 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling tower-sessions-core v0.14.0 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling sea-schema-derive v0.3.0 [INFO] [stderr] Compiling nonempty v0.7.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling forwarded-header-value v0.1.1 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling sea-orm-cli v1.1.14 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling tower-sessions-memory-store v0.14.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling tower-cookies v0.11.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling tower-sessions v0.14.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling open_housing v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bcrypt v0.17.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling axum_session v0.16.0 [INFO] [stderr] Compiling axum-login v0.18.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling axum_session_auth v0.16.0 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling sea-query-binder v0.7.0 [INFO] [stderr] Compiling axum_session_sqlx v0.5.0 [INFO] [stderr] Compiling sea-orm v1.1.14 [INFO] [stderr] Compiling sea-schema v0.16.2 [INFO] [stderr] Compiling sea-orm-migration v1.1.14 [INFO] [stderr] Compiling entities v0.1.0 (/opt/rustwide/workdir/entities) [INFO] [stderr] Compiling migration v0.1.0 (/opt/rustwide/workdir/migration) [INFO] [stderr] Compiling tower-sessions-seaorm-store v0.1.1 [INFO] [stdout] warning: unused import: `schema::*` [INFO] [stdout] --> migration/src/m20220101_000001_create_table.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use sea_orm_migration::{prelude::*, schema::*}; [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: `schema::*` [INFO] [stdout] --> migration/src/m20250810_140040_auth.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use sea_orm_migration::{prelude::*, schema::*}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schema::*` [INFO] [stdout] --> migration/src/m20250817_121048_add_user_roles.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use sea_orm_migration::{prelude::*, schema::*}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::user_handler::HASH_COST` [INFO] [stdout] --> src/auth_handler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::user_handler::HASH_COST; [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: `AuthzBackend` [INFO] [stdout] --> src/auth_handler.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use axum_login::{AuthUser, AuthnBackend, AuthzBackend, UserId}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/auth_handler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/common/date.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use error::Error; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serializer` [INFO] [stdout] --> src/common/date.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::SerializeStruct` [INFO] [stdout] --> src/common/date.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::ser::SerializeStruct; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::datetime::DateTime` [INFO] [stdout] --> src/common/date.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::common::datetime::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::time::Time` [INFO] [stdout] --> src/common/date.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::common::time::Time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serializer` [INFO] [stdout] --> src/common/datetime.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::SerializeStruct` [INFO] [stdout] --> src/common/datetime.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::ser::SerializeStruct; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Database` and `Postgres` [INFO] [stdout] --> src/common/datetime.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::{Database, Postgres}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::encode::IsNull` [INFO] [stdout] --> src/common/datetime.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::encode::IsNull; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::error::BoxDynError` [INFO] [stdout] --> src/common/datetime.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::error::BoxDynError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serializer` [INFO] [stdout] --> src/common/time.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::SerializeStruct` [INFO] [stdout] --> src/common/time.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::ser::SerializeStruct; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Backend` and `User` [INFO] [stdout] --> src/user_handler.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::auth_handler::{Backend, User}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DbErr` and `InsertResult` [INFO] [stdout] --> src/user_handler.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use sea_orm::{DbErr, EntityTrait, InsertResult, Set}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/user_handler.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/user_handler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `permission_required` [INFO] [stdout] --> src/main.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use axum_login::{login_required, permission_required, AuthManagerLayerBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MigratorTrait` and `Migrator` [INFO] [stdout] --> src/main.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use migration::{Migrator, MigratorTrait}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectOptions`, `ConnectionTrait`, `DatabaseBackend`, `Database`, and `TransactionTrait` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | ConnectOptions, ConnectionTrait, Database, DatabaseBackend, DatabaseConnection, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | TransactionTrait, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Executor`, `FromRow`, and `Row` [INFO] [stdout] --> src/main.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | use sqlx::{Executor, FromRow, Row}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryStore` [INFO] [stdout] --> src/main.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | use tower_sessions::{Expiry, MemoryStore, SessionManagerLayer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/auth_handler.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | State(app): State>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/auth_handler.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | State(app): State>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `json` is never read [INFO] [stdout] --> src/booking_handler.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut json: Json = Json::default(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_valid` is never read [INFO] [stdout] --> src/booking_handler.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | let mut is_valid: bool = true; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_valid` is never read [INFO] [stdout] --> src/booking_handler.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | is_valid = false; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_valid` is never read [INFO] [stdout] --> src/booking_handler.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | is_valid = false; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/data_objects/request/room.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn validate(&self, conn: &DatabaseConnection) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/data_objects/request/room.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut is_valid = true; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `code` is never read [INFO] [stdout] --> src/room_handler.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let mut code: StatusCode = StatusCode::OK.into(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `message` is never read [INFO] [stdout] --> src/room_handler.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let mut message: Json<_> = Json::default(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `json_response` is never read [INFO] [stdout] --> src/room_handler.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | let mut json_response = Json::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::response::IntoResponse` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea_query::SchemaStatementBuilder` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use sea_query::SchemaStatementBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea_query::ExprTrait` [INFO] [stdout] --> src/room_handler.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use sea_query::ExprTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/room_handler.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `year` is never read [INFO] [stdout] --> src/common/date.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let mut year = 0 as u16; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `month` is never read [INFO] [stdout] --> src/common/date.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let mut month = 0 as u8; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `day` is never read [INFO] [stdout] --> src/common/date.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut day = 0 as u8; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_settings` is never used [INFO] [stdout] --> src/main.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | fn get_settings() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RoomView` is never constructed [INFO] [stdout] --> src/booking_handler.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | pub struct RoomView { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Date` is never constructed [INFO] [stdout] --> src/common/date.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Date { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `deserialize`, `new`, `from`, `default`, and `for_fetch` are never used [INFO] [stdout] --> src/common/date.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Date { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 28 | pub fn deserialize<'de, D>(deserializer: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new(year: u16, month: u8, day: u8) -> Date { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn from(date: &str) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn default() -> Date { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn for_fetch(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DateTime` is never constructed [INFO] [stdout] --> src/common/datetime.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DateTime { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `deserialize`, `to_string`, `from`, and `default` are never used [INFO] [stdout] --> src/common/datetime.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl DateTime { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 30 | pub fn deserialize<'de, D>(deserializer: D) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn from(date_time: String) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn default() -> DateTime { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `URL_ENCODED_COLON` is never used [INFO] [stdout] --> src/common/time.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const URL_ENCODED_COLON: &str = "%3A"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Time` is never constructed [INFO] [stdout] --> src/common/time.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Time { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from`, `default`, and `for_fetch` are never used [INFO] [stdout] --> src/common/time.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Time { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 27 | pub fn new(hours: u32, minutes: u32, seconds: u32) -> Time { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn from(time: &str) -> Option