[INFO] cloning repository https://github.com/fobass/TownLink_server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fobass/TownLink_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffobass%2FTownLink_server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffobass%2FTownLink_server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7c5a6f5153b2eb9e32229e822d417de29ea63458
[INFO] checking fobass/TownLink_server against try#84addd32a13fa2d3f62fe5d99031611147b7fb13 for pr-147565
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffobass%2FTownLink_server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fobass/TownLink_server
[INFO] finished tweaking git repo https://github.com/fobass/TownLink_server
[INFO] tweaked toml for git repo https://github.com/fobass/TownLink_server written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fobass/TownLink_server on toolchain 84addd32a13fa2d3f62fe5d99031611147b7fb13
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fobass/TownLink_server 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" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 633d96ac3b3cc4c09b52c15a4c2108ce4c58f3a2e02492204162d4fbe482903e
[INFO] running `Command { std: "docker" "start" "-a" "633d96ac3b3cc4c09b52c15a4c2108ce4c58f3a2e02492204162d4fbe482903e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "633d96ac3b3cc4c09b52c15a4c2108ce4c58f3a2e02492204162d4fbe482903e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "633d96ac3b3cc4c09b52c15a4c2108ce4c58f3a2e02492204162d4fbe482903e", kill_on_drop: false }`
[INFO] [stdout] 633d96ac3b3cc4c09b52c15a4c2108ce4c58f3a2e02492204162d4fbe482903e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f3d9dd547e762c90e2a97dfe67c9d980292bda2f9b562e7d67ead5d65cbdaea8
[INFO] running `Command { std: "docker" "start" "-a" "f3d9dd547e762c90e2a97dfe67c9d980292bda2f9b562e7d67ead5d65cbdaea8", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling serde_json v1.0.135
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]     Checking indexmap v2.7.0
[INFO] [stderr]     Checking bitflags v2.7.0
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]     Checking tinyvec v1.8.1
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling time-macros v0.2.19
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling cpufeatures v0.2.16
[INFO] [stderr]    Compiling rustix v0.38.43
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]     Checking whoami v1.5.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]     Checking siphasher v1.0.1
[INFO] [stderr]     Checking miniz_oxide v0.8.2
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]     Checking phf_shared v0.11.3
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]     Checking brotli-decompressor v4.0.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling cc v1.2.9
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling tokio v1.43.0
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]    Compiling thiserror v2.0.11
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]     Checking unicode_categories v0.1.1
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking sha-1 v0.9.8
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]     Checking flate2 v1.0.35
[INFO] [stderr]     Checking phf v0.11.3
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking time v0.3.37
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]    Compiling anyhow v1.0.96
[INFO] [stderr]     Checking bigdecimal v0.3.1
[INFO] [stderr]     Checking brotli v6.0.0
[INFO] [stderr]     Checking neli v0.5.3
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling ring v0.17.11
[INFO] [stderr]    Compiling tempfile v3.15.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]     Checking cookie v0.16.2
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling async-trait v0.1.85
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling thiserror-impl v2.0.11
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling pin-project-internal v1.1.8
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking postgres-protocol v0.6.7
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking local-ip-address v0.4.9
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking pin-project v1.1.8
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking bb8 v0.8.6
[INFO] [stderr]     Checking actix-server v2.5.0
[INFO] [stderr]     Checking h2 v0.4.8
[INFO] [stderr]     Checking zstd v0.13.2
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking actix-router v0.5.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking jsonwebtoken v9.3.0
[INFO] [stderr]     Checking postgres-types v0.2.8
[INFO] [stderr]     Checking sqlx-core v0.7.4
[INFO] [stderr]     Checking tungstenite v0.14.0
[INFO] [stderr]     Checking tungstenite v0.15.0
[INFO] [stderr]     Checking tokio-postgres v0.7.12
[INFO] [stderr]     Checking tokio-tungstenite v0.15.0
[INFO] [stderr]     Checking actix-http v3.9.0
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking postgres v0.19.9
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]     Checking pg_bigdecimal v0.1.5
[INFO] [stderr]     Checking sqlx-postgres v0.7.4
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.12
[INFO] [stderr]     Checking actix-web v4.9.0
[INFO] [stderr]     Checking actix-cors v0.6.5
[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 TownLink_server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `path::Path` and `result`
[INFO] [stdout]  --> src/api/api.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{path::Path, result};
[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: `App`, `HttpServer`, `Json`, `body`, and `get`
[INFO] [stdout]  --> src/api/api.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_web::{body, delete, get, post, web::{self, get, Json}, App, HttpRequest, HttpResponse, HttpServer, Responder};
[INFO] [stdout]   |                 ^^^^                                 ^^^  ^^^^   ^^^                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Ok`
[INFO] [stdout]  --> src/api/api.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use anyhow::Ok;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self` and `self`
[INFO] [stdout]  --> src/api/api.rs:7:69
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::{helpers::auth::{self, JwtMiddleware}, models::{attend::{self, Attend}, event::{self, Event, Event_Detail}, profile::Profile, ...
[INFO] [stdout]   |                                                                     ^^^^                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Date` and `NaiveDate`
[INFO] [stdout]  --> src/models/profile.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Date, NaiveDate, NaiveDateTime};
[INFO] [stdout]   |              ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::FromRow`
[INFO] [stdout]  --> src/models/profile.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{prelude::FromRow, Postgres, Pool};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Utc`
[INFO] [stdout]  --> src/models/event.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{NaiveDateTime, Utc};
[INFO] [stdout]   |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Pool`, `Postgres`, and `prelude::FromRow`
[INFO] [stdout]  --> src/models/event.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{prelude::FromRow, Postgres, Pool};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Event_Detail` should have an upper camel case name
[INFO] [stdout]  --> src/models/event.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Event_Detail {
[INFO] [stdout]   |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EventDetail`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Utc`
[INFO] [stdout]  --> src/models/attend.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{NaiveDateTime, Utc};
[INFO] [stdout]   |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Pool`, `Postgres`, and `prelude::FromRow`
[INFO] [stdout]  --> src/models/attend.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::{prelude::FromRow, Postgres, Pool};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fmt::format` and `result`
[INFO] [stdout]  --> src/repo/database.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::format, result};
[INFO] [stdout]   |           ^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error` and `FromRow`
[INFO] [stdout]  --> src/repo/database.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{Pool, Postgres, FromRow, Error};
[INFO] [stdout]   |                            ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `profile::Profile`
[INFO] [stdout]  --> src/repo/database.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use profile::Profile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `query`
[INFO] [stdout]  --> src/repo/repository.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{query, Error, Pool, Postgres, Row};
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Profile`
[INFO] [stdout]  --> src/repo/repository.rs:5:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::models::{event::Event, profile::{Profile, ProfileView}};
[INFO] [stdout]   |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `json`
[INFO] [stdout]  --> src/helpers/auth.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde_json::{json, Value};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::repo::database::DataBase`
[INFO] [stdout]   --> src/helpers/auth.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::repo::database::DataBase;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]   --> src/helpers/auth.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 | use actix_web::{web, Error, dev::ServiceRequest};
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]  --> src/models/profile.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Date, NaiveDate, NaiveDateTime};
[INFO] [stdout]   |              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `path::Path` and `result`
[INFO] [stdout]  --> src/api/api.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{path::Path, result};
[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: `App`, `HttpServer`, `Json`, `body`, and `get`
[INFO] [stdout]  --> src/api/api.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_web::{body, delete, get, post, web::{self, get, Json}, App, HttpRequest, HttpResponse, HttpServer, Responder};
[INFO] [stdout]   |                 ^^^^                                 ^^^  ^^^^   ^^^                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Ok`
[INFO] [stdout]  --> src/api/api.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use anyhow::Ok;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self` and `self`
[INFO] [stdout]  --> src/api/api.rs:7:69
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::{helpers::auth::{self, JwtMiddleware}, models::{attend::{self, Attend}, event::{self, Event, Event_Detail}, profile::Profile, ...
[INFO] [stdout]   |                                                                     ^^^^                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Date` and `NaiveDate`
[INFO] [stdout]  --> src/models/profile.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Date, NaiveDate, NaiveDateTime};
[INFO] [stdout]   |              ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::FromRow`
[INFO] [stdout]  --> src/models/profile.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{prelude::FromRow, Postgres, Pool};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Utc`
[INFO] [stdout]  --> src/models/event.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{NaiveDateTime, Utc};
[INFO] [stdout]   |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Pool`, `Postgres`, and `prelude::FromRow`
[INFO] [stdout]  --> src/models/event.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{prelude::FromRow, Postgres, Pool};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Event_Detail` should have an upper camel case name
[INFO] [stdout]  --> src/models/event.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Event_Detail {
[INFO] [stdout]   |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EventDetail`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Utc`
[INFO] [stdout]  --> src/models/attend.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{NaiveDateTime, Utc};
[INFO] [stdout]   |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Pool`, `Postgres`, and `prelude::FromRow`
[INFO] [stdout]  --> src/models/attend.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::{prelude::FromRow, Postgres, Pool};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fmt::format` and `result`
[INFO] [stdout]  --> src/repo/database.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::format, result};
[INFO] [stdout]   |           ^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error` and `FromRow`
[INFO] [stdout]  --> src/repo/database.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{Pool, Postgres, FromRow, Error};
[INFO] [stdout]   |                            ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `profile::Profile`
[INFO] [stdout]  --> src/repo/database.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use profile::Profile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `query`
[INFO] [stdout]  --> src/repo/repository.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{query, Error, Pool, Postgres, Row};
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Profile`
[INFO] [stdout]  --> src/repo/repository.rs:5:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::models::{event::Event, profile::{Profile, ProfileView}};
[INFO] [stdout]   |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `json`
[INFO] [stdout]  --> src/helpers/auth.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde_json::{json, Value};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::repo::database::DataBase`
[INFO] [stdout]   --> src/helpers/auth.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::repo::database::DataBase;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]   --> src/helpers/auth.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 | use actix_web::{web, Error, dev::ServiceRequest};
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]  --> src/models/profile.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Date, NaiveDate, NaiveDateTime};
[INFO] [stdout]   |              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]   --> src/models/profile.rs:51:24
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let timestamp = dt.timestamp(); // Convert NaiveDateTime to UNIX timestamp
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/models/profile.rs:60:23
[INFO] [stdout]    |
[INFO] [stdout] 60 |     Ok(NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap()) // Convert back to NaiveDateTime
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]   --> src/models/event.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let timestamp = dt.timestamp(); // Convert NaiveDateTime to UNIX timestamp
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/models/event.rs:64:23
[INFO] [stdout]    |
[INFO] [stdout] 64 |     Ok(NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap()) // Convert back to NaiveDateTime
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]   --> src/models/attend.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let timestamp = dt.timestamp(); // Convert NaiveDateTime to UNIX timestamp
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/models/attend.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     Ok(NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap()) // Convert back to NaiveDateTime
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]   --> src/models/profile.rs:51:24
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let timestamp = dt.timestamp(); // Convert NaiveDateTime to UNIX timestamp
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/models/profile.rs:60:23
[INFO] [stdout]    |
[INFO] [stdout] 60 |     Ok(NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap()) // Convert back to NaiveDateTime
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/api/api.rs:317:20
[INFO] [stdout]     |
[INFO] [stdout] 317 |         Result::Ok(id) => {
[INFO] [stdout]     |                    ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]   --> src/models/event.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let timestamp = dt.timestamp(); // Convert NaiveDateTime to UNIX timestamp
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/models/event.rs:64:23
[INFO] [stdout]    |
[INFO] [stdout] 64 |     Ok(NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap()) // Convert back to NaiveDateTime
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]   --> src/models/attend.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let timestamp = dt.timestamp(); // Convert NaiveDateTime to UNIX timestamp
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/models/attend.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     Ok(NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap()) // Convert back to NaiveDateTime
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/api/api.rs:317:20
[INFO] [stdout]     |
[INFO] [stdout] 317 |         Result::Ok(id) => {
[INFO] [stdout]     |                    ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `TownLink_server` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `town_link_server`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/main.rs:2:50
[INFO] [stdout]   |
[INFO] [stdout] 2 | use TownLink_server::{api::api, repo::database::{self, DataBase}};
[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: `fmt::format` and `result`
[INFO] [stdout]  --> src/repo/database.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::format, result};
[INFO] [stdout]   |           ^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error` and `FromRow`
[INFO] [stdout]  --> src/repo/database.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{Pool, Postgres, FromRow, Error};
[INFO] [stdout]   |                            ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `profile::Profile`
[INFO] [stdout]  --> src/repo/database.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use profile::Profile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `query`
[INFO] [stdout]  --> src/repo/repository.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{query, Error, Pool, Postgres, Row};
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Profile`
[INFO] [stdout]  --> src/repo/repository.rs:5:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::models::{event::Event, profile::{Profile, ProfileView}};
[INFO] [stdout]   |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Date` and `NaiveDate`
[INFO] [stdout]  --> src/models/profile.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Date, NaiveDate, NaiveDateTime};
[INFO] [stdout]   |              ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::FromRow`
[INFO] [stdout]  --> src/models/profile.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{prelude::FromRow, Postgres, Pool};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Utc`
[INFO] [stdout]  --> src/models/event.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{NaiveDateTime, Utc};
[INFO] [stdout]   |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Pool`, `Postgres`, and `prelude::FromRow`
[INFO] [stdout]  --> src/models/event.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{prelude::FromRow, Postgres, Pool};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Event_Detail` should have an upper camel case name
[INFO] [stdout]  --> src/models/event.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Event_Detail {
[INFO] [stdout]   |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EventDetail`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Utc`
[INFO] [stdout]  --> src/models/attend.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{NaiveDateTime, Utc};
[INFO] [stdout]   |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Pool`, `Postgres`, and `prelude::FromRow`
[INFO] [stdout]  --> src/models/attend.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::{prelude::FromRow, Postgres, Pool};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]  --> src/models/profile.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Date, NaiveDate, NaiveDateTime};
[INFO] [stdout]   |              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/main.rs:2:50
[INFO] [stdout]   |
[INFO] [stdout] 2 | use TownLink_server::{api::api, repo::database::{self, DataBase}};
[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: `fmt::format` and `result`
[INFO] [stdout]  --> src/repo/database.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::format, result};
[INFO] [stdout]   |           ^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error` and `FromRow`
[INFO] [stdout]  --> src/repo/database.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{Pool, Postgres, FromRow, Error};
[INFO] [stdout]   |                            ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `profile::Profile`
[INFO] [stdout]  --> src/repo/database.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use profile::Profile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `query`
[INFO] [stdout]  --> src/repo/repository.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{query, Error, Pool, Postgres, Row};
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Profile`
[INFO] [stdout]  --> src/repo/repository.rs:5:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::models::{event::Event, profile::{Profile, ProfileView}};
[INFO] [stdout]   |                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Date` and `NaiveDate`
[INFO] [stdout]  --> src/models/profile.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Date, NaiveDate, NaiveDateTime};
[INFO] [stdout]   |              ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::FromRow`
[INFO] [stdout]  --> src/models/profile.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{prelude::FromRow, Postgres, Pool};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Utc`
[INFO] [stdout]  --> src/models/event.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{NaiveDateTime, Utc};
[INFO] [stdout]   |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Pool`, `Postgres`, and `prelude::FromRow`
[INFO] [stdout]  --> src/models/event.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{prelude::FromRow, Postgres, Pool};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Event_Detail` should have an upper camel case name
[INFO] [stdout]  --> src/models/event.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Event_Detail {
[INFO] [stdout]   |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EventDetail`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Utc`
[INFO] [stdout]  --> src/models/attend.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{NaiveDateTime, Utc};
[INFO] [stdout]   |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Pool`, `Postgres`, and `prelude::FromRow`
[INFO] [stdout]  --> src/models/attend.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::{prelude::FromRow, Postgres, Pool};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]  --> src/models/profile.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Date, NaiveDate, NaiveDateTime};
[INFO] [stdout]   |              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]   --> src/models/profile.rs:51:24
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let timestamp = dt.timestamp(); // Convert NaiveDateTime to UNIX timestamp
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/models/profile.rs:60:23
[INFO] [stdout]    |
[INFO] [stdout] 60 |     Ok(NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap()) // Convert back to NaiveDateTime
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]   --> src/models/event.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let timestamp = dt.timestamp(); // Convert NaiveDateTime to UNIX timestamp
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/models/event.rs:64:23
[INFO] [stdout]    |
[INFO] [stdout] 64 |     Ok(NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap()) // Convert back to NaiveDateTime
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]   --> src/models/attend.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let timestamp = dt.timestamp(); // Convert NaiveDateTime to UNIX timestamp
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/models/attend.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     Ok(NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap()) // Convert back to NaiveDateTime
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]   --> src/models/profile.rs:51:24
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let timestamp = dt.timestamp(); // Convert NaiveDateTime to UNIX timestamp
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/models/profile.rs:60:23
[INFO] [stdout]    |
[INFO] [stdout] 60 |     Ok(NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap()) // Convert back to NaiveDateTime
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]   --> src/models/event.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let timestamp = dt.timestamp(); // Convert NaiveDateTime to UNIX timestamp
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/models/event.rs:64:23
[INFO] [stdout]    |
[INFO] [stdout] 64 |     Ok(NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap()) // Convert back to NaiveDateTime
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
[INFO] [stdout]   --> src/models/attend.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let timestamp = dt.timestamp(); // Convert NaiveDateTime to UNIX timestamp
[INFO] [stdout]    |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/models/attend.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     Ok(NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap()) // Convert back to NaiveDateTime
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `port` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut port = "7777";
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_port` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `port` is never read
[INFO] [stdout]   --> src/main.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |             port = "7777";
[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: struct `DataBase` is never constructed
[INFO] [stdout]  --> src/repo/database.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct DataBase {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `initialize`, `create_profile_table`, `create_event_table`, and `create_attendees_table` are never used
[INFO] [stdout]    --> src/repo/database.rs:15:18
[INFO] [stdout]     |
[INFO] [stdout]  13 | impl DataBase {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout]  14 |   
[INFO] [stdout]  15 |     pub async fn new() -> Self {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout]  70 |     pub async fn initialize(&self) {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     async fn create_profile_table(&self){
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     async fn create_event_table(&self){
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     async fn create_attendees_table(&self){
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Repository` is never constructed
[INFO] [stdout]  --> src/repo/repository.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Repository<T> {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/repo/repository.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl <T> Repository<T> {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new(pool: Pool<Postgres>) -> Self{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub async fn get_attendees_ids(&self, event_id: i32) -> Result<Vec<i32>, Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub async fn get_profiles_by_ids(&self, profile_ids: &[i32]) -> Result<Vec<ProfileView>, Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub async fn record_exists(&self, table_name: &str, column: &str, value: &str, id_column: &str) -> Result<Option<i32>, Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub async fn create(&self, table_name: &str, columns: &str, values: &str, return_val: &str) -> Result<i32, Error>{
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub async fn update(&self, table_name: &str, col_id: &str, id: i64, updates: &str) -> Result<(), Error>{
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub async fn delete(&self, table_name: &str, col_id: &str, id: i64) -> Result<(), Error>{
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub async fn get_by_id<R>(&self, table_name: &str, col_id: &str, id: i32) -> Result<Option<R>, Error>
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93 |     pub async fn get_nearby_events(self, table_name: &str, lat: f64, lon: f64, radius: f64, limit: i32, offset: i32) -> Result<Vec<Event>...
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Profile` is never constructed
[INFO] [stdout]  --> src/models/profile.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Profile{
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProfileView` is never constructed
[INFO] [stdout]   --> src/models/profile.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct ProfileView {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serialize_naive_datetime` is never used
[INFO] [stdout]   --> src/models/profile.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn serialize_naive_datetime<S>(dt: &NaiveDateTime, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deserialize_naive_datetime` is never used
[INFO] [stdout]   --> src/models/profile.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn deserialize_naive_datetime<'de, D>(deserializer: D) -> Result<NaiveDateTime, D::Error>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create_repo` is never used
[INFO] [stdout]   --> src/models/profile.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 63 | impl Profile {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 64 |     pub async fn create_repo(pool: Pool<Postgres>) -> Repository<Profile> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Event_Detail` is never constructed
[INFO] [stdout]  --> src/models/event.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Event_Detail {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Event` is never constructed
[INFO] [stdout]   --> src/models/event.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Event {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serialize_naive_datetime` is never used
[INFO] [stdout]   --> src/models/event.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn serialize_naive_datetime<S>(dt: &NaiveDateTime, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deserialize_naive_datetime` is never used
[INFO] [stdout]   --> src/models/event.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn deserialize_naive_datetime<'de, D>(deserializer: D) -> Result<NaiveDateTime, D::Error>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NearbyEventsRequest` is never constructed
[INFO] [stdout]  --> src/models/request.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct NearbyEventsRequest {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_radius` is never used
[INFO] [stdout]   --> src/models/request.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn default_radius() -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_page` is never used
[INFO] [stdout]   --> src/models/request.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn default_page() -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_limit` is never used
[INFO] [stdout]   --> src/models/request.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn default_limit() -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LoginQuery` is never constructed
[INFO] [stdout]   --> src/models/request.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct LoginQuery {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Attend` is never constructed
[INFO] [stdout]  --> src/models/attend.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Attend {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serialize_naive_datetime` is never used
[INFO] [stdout]   --> src/models/attend.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn serialize_naive_datetime<S>(dt: &NaiveDateTime, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deserialize_naive_datetime` is never used
[INFO] [stdout]   --> src/models/attend.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn deserialize_naive_datetime<'de, D>(deserializer: D) -> Result<NaiveDateTime, D::Error>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Claims` is never constructed
[INFO] [stdout]  --> src/models/token.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Claims {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `port` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut port = "7777";
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_port` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `port` is never read
[INFO] [stdout]   --> src/main.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |             port = "7777";
[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: struct `DataBase` is never constructed
[INFO] [stdout]  --> src/repo/database.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct DataBase {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `initialize`, `create_profile_table`, `create_event_table`, and `create_attendees_table` are never used
[INFO] [stdout]    --> src/repo/database.rs:15:18
[INFO] [stdout]     |
[INFO] [stdout]  13 | impl DataBase {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout]  14 |   
[INFO] [stdout]  15 |     pub async fn new() -> Self {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout]  70 |     pub async fn initialize(&self) {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     async fn create_profile_table(&self){
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     async fn create_event_table(&self){
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     async fn create_attendees_table(&self){
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Repository` is never constructed
[INFO] [stdout]  --> src/repo/repository.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Repository<T> {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/repo/repository.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl <T> Repository<T> {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new(pool: Pool<Postgres>) -> Self{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub async fn get_attendees_ids(&self, event_id: i32) -> Result<Vec<i32>, Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub async fn get_profiles_by_ids(&self, profile_ids: &[i32]) -> Result<Vec<ProfileView>, Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub async fn record_exists(&self, table_name: &str, column: &str, value: &str, id_column: &str) -> Result<Option<i32>, Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub async fn create(&self, table_name: &str, columns: &str, values: &str, return_val: &str) -> Result<i32, Error>{
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub async fn update(&self, table_name: &str, col_id: &str, id: i64, updates: &str) -> Result<(), Error>{
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub async fn delete(&self, table_name: &str, col_id: &str, id: i64) -> Result<(), Error>{
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub async fn get_by_id<R>(&self, table_name: &str, col_id: &str, id: i32) -> Result<Option<R>, Error>
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93 |     pub async fn get_nearby_events(self, table_name: &str, lat: f64, lon: f64, radius: f64, limit: i32, offset: i32) -> Result<Vec<Event>...
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Profile` is never constructed
[INFO] [stdout]  --> src/models/profile.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Profile{
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProfileView` is never constructed
[INFO] [stdout]   --> src/models/profile.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct ProfileView {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serialize_naive_datetime` is never used
[INFO] [stdout]   --> src/models/profile.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn serialize_naive_datetime<S>(dt: &NaiveDateTime, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deserialize_naive_datetime` is never used
[INFO] [stdout]   --> src/models/profile.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn deserialize_naive_datetime<'de, D>(deserializer: D) -> Result<NaiveDateTime, D::Error>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create_repo` is never used
[INFO] [stdout]   --> src/models/profile.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 63 | impl Profile {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 64 |     pub async fn create_repo(pool: Pool<Postgres>) -> Repository<Profile> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Event_Detail` is never constructed
[INFO] [stdout]  --> src/models/event.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Event_Detail {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Event` is never constructed
[INFO] [stdout]   --> src/models/event.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Event {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serialize_naive_datetime` is never used
[INFO] [stdout]   --> src/models/event.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn serialize_naive_datetime<S>(dt: &NaiveDateTime, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deserialize_naive_datetime` is never used
[INFO] [stdout]   --> src/models/event.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn deserialize_naive_datetime<'de, D>(deserializer: D) -> Result<NaiveDateTime, D::Error>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NearbyEventsRequest` is never constructed
[INFO] [stdout]  --> src/models/request.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct NearbyEventsRequest {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_radius` is never used
[INFO] [stdout]   --> src/models/request.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn default_radius() -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_page` is never used
[INFO] [stdout]   --> src/models/request.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn default_page() -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_limit` is never used
[INFO] [stdout]   --> src/models/request.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn default_limit() -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LoginQuery` is never constructed
[INFO] [stdout]   --> src/models/request.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct LoginQuery {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Attend` is never constructed
[INFO] [stdout]  --> src/models/attend.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Attend {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serialize_naive_datetime` is never used
[INFO] [stdout]   --> src/models/attend.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn serialize_naive_datetime<S>(dt: &NaiveDateTime, serializer: S) -> Result<S::Ok, S::Error>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deserialize_naive_datetime` is never used
[INFO] [stdout]   --> src/models/attend.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn deserialize_naive_datetime<'de, D>(deserializer: D) -> Result<NaiveDateTime, D::Error>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Claims` is never constructed
[INFO] [stdout]  --> src/models/token.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Claims {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.41s
[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 2`
[INFO] running `Command { std: "docker" "inspect" "f3d9dd547e762c90e2a97dfe67c9d980292bda2f9b562e7d67ead5d65cbdaea8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3d9dd547e762c90e2a97dfe67c9d980292bda2f9b562e7d67ead5d65cbdaea8", kill_on_drop: false }`
[INFO] [stdout] f3d9dd547e762c90e2a97dfe67c9d980292bda2f9b562e7d67ead5d65cbdaea8
