[INFO] cloning repository https://github.com/danilasar/dsc-booking
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danilasar/dsc-booking" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanilasar%2Fdsc-booking", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanilasar%2Fdsc-booking'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b319ff0f9e12a24c8649e2ad43196546185a722d
[INFO] checking danilasar/dsc-booking against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanilasar%2Fdsc-booking" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/danilasar/dsc-booking
[INFO] finished tweaking git repo https://github.com/danilasar/dsc-booking
[INFO] tweaked toml for git repo https://github.com/danilasar/dsc-booking written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/danilasar/dsc-booking on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/danilasar/dsc-booking 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2f2d16063b60f2d104c2154d4f3df54d2de6b0a1ba824374ceafaedf2c47fb63
[INFO] running `Command { std: "docker" "start" "-a" "2f2d16063b60f2d104c2154d4f3df54d2de6b0a1ba824374ceafaedf2c47fb63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f2d16063b60f2d104c2154d4f3df54d2de6b0a1ba824374ceafaedf2c47fb63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f2d16063b60f2d104c2154d4f3df54d2de6b0a1ba824374ceafaedf2c47fb63", kill_on_drop: false }`
[INFO] [stdout] 2f2d16063b60f2d104c2154d4f3df54d2de6b0a1ba824374ceafaedf2c47fb63
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9731eae35a3204537f9cfb1271f3dee0074b761d549c84736525f3e73201002f
[INFO] running `Command { std: "docker" "start" "-a" "9731eae35a3204537f9cfb1271f3dee0074b761d549c84736525f3e73201002f", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.69
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling jobserver v0.1.31
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling cc v1.0.106
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]    Compiling zstd-safe v7.2.0
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]     Checking regex v1.10.5
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling bytestring v1.3.1
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling unicode-properties v0.1.1
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]    Compiling zstd-sys v2.0.12+zstd.1.5.6
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]     Checking flate2 v1.0.30
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]     Checking base64 v0.20.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]     Checking postgres-protocol v0.6.7
[INFO] [stderr]    Compiling tokio v1.38.0
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking rs_n_bit_words v0.1.3
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]     Checking rs_internal_state v0.1.3
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling postgres-types v0.2.7
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling v_htmlescape v0.15.8
[INFO] [stderr]     Checking winnow v0.6.16
[INFO] [stderr]    Compiling whoami v1.5.1
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]     Checking anstyle-parse v0.2.4
[INFO] [stderr]     Checking rs_internal_hasher v0.1.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking csv-core v0.1.11
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking anstyle-query v1.1.0
[INFO] [stderr]     Checking colorchoice v1.0.1
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.0
[INFO] [stderr]     Checking anstyle v1.0.7
[INFO] [stderr]     Checking unicode-segmentation v1.11.0
[INFO] [stderr]     Checking ordered-multimap v0.6.0
[INFO] [stderr]     Checking anstream v0.6.14
[INFO] [stderr]     Checking rust-ini v0.19.0
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling async-trait v0.1.81
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling pest v2.7.11
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling pest_meta v2.7.11
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking deadpool-runtime v0.1.4
[INFO] [stderr]    Compiling pest_generator v2.7.11
[INFO] [stderr]     Checking actix-server v2.4.0
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking tokio-postgres v0.7.11
[INFO] [stderr]     Checking tokio-stream v0.1.15
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling pest_derive v2.7.11
[INFO] [stderr]    Compiling actix-web-lab-derive v0.20.0
[INFO] [stderr]     Checking rs_hasher_ctx v0.1.3
[INFO] [stderr]     Checking env_filter v0.1.0
[INFO] [stderr]     Checking arc-swap v1.7.1
[INFO] [stderr]     Checking impl-more v0.1.6
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_spanned v0.6.7
[INFO] [stderr]     Checking toml_datetime v0.6.7
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking toml_edit v0.22.17
[INFO] [stderr]     Checking csv v1.3.0
[INFO] [stderr]     Checking serde_html_form v0.2.6
[INFO] [stderr]     Checking deadpool v0.12.1
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking mediatype v0.19.18
[INFO] [stderr]     Checking http-range v0.1.5
[INFO] [stderr]     Checking deadpool-postgres v0.14.0
[INFO] [stderr]     Checking handlebars v6.0.0
[INFO] [stderr]     Checking env_logger v0.11.3
[INFO] [stderr]     Checking rs_sha512 v0.1.3
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]     Checking cryptocol v0.8.1
[INFO] [stderr]     Checking toml v0.8.16
[INFO] [stderr]     Checking config v0.14.0
[INFO] [stderr]     Checking zstd v0.13.2
[INFO] [stderr]    Compiling tokio-pg-mapper-derive v0.2.0
[INFO] [stderr]     Checking actix-http v3.8.0
[INFO] [stderr]     Checking tokio-pg-mapper v0.2.0
[INFO] [stderr]     Checking actix-web v4.8.0
[INFO] [stderr]     Checking actix-session v0.9.0
[INFO] [stderr]     Checking actix-files v0.6.6
[INFO] [stderr]     Checking actix-web-lab v0.20.2
[INFO] [stderr]     Checking back v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/models/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::future::Future;
[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: `deadpool_postgres::Client`
[INFO] [stdout]  --> src/models/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use deadpool_postgres::Client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_postgres::types::ToSql`
[INFO] [stdout]  --> src/models/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio_postgres::types::ToSql;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::user::User`
[INFO] [stdout]  --> src/models/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::models::user::User;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BuildHasher`
[INFO] [stdout]  --> src/models/user.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::hash::{BuildHasher, Hasher};
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Utc`
[INFO] [stdout]  --> src/models/user.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{Duration, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/models/user.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HasherContext` and `Sha512State`
[INFO] [stdout]  --> src/models/user.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rs_sha512::{HasherContext, Sha512State};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Row` and `Statement`
[INFO] [stdout]  --> src/models/user.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_postgres::{Row, Statement};
[INFO] [stdout]   |                      ^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models`
[INFO] [stdout]   --> src/models/user.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::models;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `write`
[INFO] [stdout]  --> src/models/seat/availability_status.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter, write};
[INFO] [stdout]   |                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_postgres::Row`
[INFO] [stdout]  --> src/models/seat/availability_status.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio_postgres::Row;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::seat::seat_type::SeatType`
[INFO] [stdout]  --> src/models/seat/availability_status.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::models::seat::seat_type::SeatType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display` and `Formatter`
[INFO] [stdout]  --> src/models/seat/mod.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::{Display, Formatter};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_pg_mapper::PostgresMapper`
[INFO] [stdout]  --> src/models/seat/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio_pg_mapper::PostgresMapper;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromSql` and `Type`
[INFO] [stdout]  --> src/models/seat/mod.rs:8:29
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio_postgres::types::{FromSql, Type};
[INFO] [stdout]   |                             ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/models/session.rs:38:7
[INFO] [stdout]    |
[INFO] [stdout] 38 |     if(user.id.is_none()) {
[INFO] [stdout]    |       ^                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 38 -     if(user.id.is_none()) {
[INFO] [stdout] 38 +     if user.id.is_none()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/models/session.rs:39:11
[INFO] [stdout]    |
[INFO] [stdout] 39 |         if(user.login.is_none()) {
[INFO] [stdout]    |           ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 39 -         if(user.login.is_none()) {
[INFO] [stdout] 39 +         if user.login.is_none()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/models/session.rs:56:7
[INFO] [stdout]    |
[INFO] [stdout] 56 |     if(lifetime.is_none()) {
[INFO] [stdout]    |       ^                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 56 -     if(lifetime.is_none()) {
[INFO] [stdout] 56 +     if lifetime.is_none()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/services/users.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BuildHasher`
[INFO] [stdout]  --> src/services/users.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hash::{BuildHasher, Hasher};
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/services/users.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SessionGetError`
[INFO] [stdout]  --> src/services/users.rs:4:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_session::{Session, SessionGetError};
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `deadpool_postgres::Client`
[INFO] [stdout]  --> src/services/users.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use deadpool_postgres::Client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sha512State`
[INFO] [stdout]   --> src/services/users.rs:11:32
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rs_sha512::{HasherContext, Sha512State};
[INFO] [stdout]    |                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]   --> src/services/users.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use serde::Deserialize;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `errors::DbError`
[INFO] [stdout]   --> src/services/users.rs:14:43
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::core::{ServiceData, templator, errors::DbError};
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get_user_by_token`
[INFO] [stdout]   --> src/services/users.rs:16:56
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::models::user::{add_user, get_user_by_login, get_user_by_token,
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BadLogin`, `BadName`, and `BadPassword`
[INFO] [stdout]   --> src/services/users.rs:19:41
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::services::users::AuthError::{BadLogin, BadName, BadPassword};
[INFO] [stdout]    |                                         ^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 |     if(form.name.len() > 128 || !regex_name.is_match(form.name.as_str())) {
[INFO] [stdout]    |       ^                                                                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -     if(form.name.len() > 128 || !regex_name.is_match(form.name.as_str())) {
[INFO] [stdout] 41 +     if form.name.len() > 128 || !regex_name.is_match(form.name.as_str())  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:44:7
[INFO] [stdout]    |
[INFO] [stdout] 44 |     if(form.login.len() > 128 || !regex_login.is_match(form.login.as_str())) {
[INFO] [stdout]    |       ^                                                                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 44 -     if(form.login.len() > 128 || !regex_login.is_match(form.login.as_str())) {
[INFO] [stdout] 44 +     if form.login.len() > 128 || !regex_login.is_match(form.login.as_str())  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:47:7
[INFO] [stdout]    |
[INFO] [stdout] 47 |     if(get_user_by_login(&service_data.client, form.login.as_str()).await.is_ok()) {
[INFO] [stdout]    |       ^                                                                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 47 -     if(get_user_by_login(&service_data.client, form.login.as_str()).await.is_ok()) {
[INFO] [stdout] 47 +     if get_user_by_login(&service_data.client, form.login.as_str()).await.is_ok()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 |     if(form.login.len() > 256|| form.password.len() < 8 ||
[INFO] [stdout]    |       ^
[INFO] [stdout] 51 |         !regex_login.is_match(form.password.as_str()))
[INFO] [stdout]    |                                                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 50 ~     if form.login.len() > 256|| form.password.len() < 8 ||
[INFO] [stdout] 51 ~         !regex_login.is_match(form.password.as_str()) 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:55:7
[INFO] [stdout]    |
[INFO] [stdout] 55 |     if(!auth_errors.is_empty()) {
[INFO] [stdout]    |       ^                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 55 -     if(!auth_errors.is_empty()) {
[INFO] [stdout] 55 +     if !auth_errors.is_empty()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:64:7
[INFO] [stdout]    |
[INFO] [stdout] 64 |     if(!regex_login.is_match(form.login.as_str())) {
[INFO] [stdout]    |       ^                                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 64 -     if(!regex_login.is_match(form.login.as_str())) {
[INFO] [stdout] 64 +     if !regex_login.is_match(form.login.as_str())  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:67:7
[INFO] [stdout]    |
[INFO] [stdout] 67 |     if(!regex_login.is_match(form.password.as_str())) {
[INFO] [stdout]    |       ^                                             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 67 -     if(!regex_login.is_match(form.password.as_str())) {
[INFO] [stdout] 67 +     if !regex_login.is_match(form.password.as_str())  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:70:7
[INFO] [stdout]    |
[INFO] [stdout] 70 |     if(!auth_errors.is_empty()) {
[INFO] [stdout]    |       ^                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 70 -     if(!auth_errors.is_empty()) {
[INFO] [stdout] 70 +     if !auth_errors.is_empty()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:85:7
[INFO] [stdout]    |
[INFO] [stdout] 85 |     if(verify_result.is_err()) {
[INFO] [stdout]    |       ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 85 -     if(verify_result.is_err()) {
[INFO] [stdout] 85 +     if verify_result.is_err()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/services/users.rs:166:7
[INFO] [stdout]     |
[INFO] [stdout] 166 |     if(user.is_some()) {
[INFO] [stdout]     |       ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 166 -     if(user.is_some()) {
[INFO] [stdout] 166 +     if user.is_some()  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/services/users.rs:212:7
[INFO] [stdout]     |
[INFO] [stdout] 212 |     if(validation_result.is_ok()) {
[INFO] [stdout]     |       ^                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 212 -     if(validation_result.is_ok()) {
[INFO] [stdout] 212 +     if validation_result.is_ok()  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/services/users.rs:222:7
[INFO] [stdout]     |
[INFO] [stdout] 222 |     if(validation_result.is_err() || !found) {
[INFO] [stdout]     |       ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 222 -     if(validation_result.is_err() || !found) {
[INFO] [stdout] 222 +     if validation_result.is_err() || !found  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/services/users.rs:234:7
[INFO] [stdout]     |
[INFO] [stdout] 234 |     if(session_token.is_err()) {
[INFO] [stdout]     |       ^                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 234 -     if(session_token.is_err()) {
[INFO] [stdout] 234 +     if session_token.is_err()  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `deadpool_postgres::Status`
[INFO] [stdout]  --> src/services/booking.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use deadpool_postgres::Status;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::user::User`
[INFO] [stdout]  --> src/core/db.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::models::user::User;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/core/templator.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SessionGetError` and `Session`
[INFO] [stdout]  --> src/core/templator.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_session::{Session, SessionGetError};
[INFO] [stdout]   |                     ^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::HttpRequest`
[INFO] [stdout]  --> src/core/templator.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix_web::HttpRequest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `deadpool_postgres::Client`
[INFO] [stdout]  --> src/core/templator.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use deadpool_postgres::Client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `handlebars::Handlebars`
[INFO] [stdout]  --> src/core/templator.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use handlebars::Handlebars;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AppState` and `models`
[INFO] [stdout]  --> src/core/templator.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::{AppState, models};
[INFO] [stdout]   |             ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/core/templator.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 |     if(requested_with == "XMLHttpRequest") {
[INFO] [stdout]    |       ^                                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 20 -     if(requested_with == "XMLHttpRequest") {
[INFO] [stdout] 20 +     if requested_with == "XMLHttpRequest"  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_session::config::SessionLifecycle::BrowserSession`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use actix_session::config::SessionLifecycle::BrowserSession;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/models/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::future::Future;
[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: `deadpool_postgres::Client`
[INFO] [stdout]  --> src/models/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use deadpool_postgres::Client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_postgres::types::ToSql`
[INFO] [stdout]  --> src/models/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio_postgres::types::ToSql;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::user::User`
[INFO] [stdout]  --> src/models/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::models::user::User;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BuildHasher`
[INFO] [stdout]  --> src/models/user.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::hash::{BuildHasher, Hasher};
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Utc`
[INFO] [stdout]  --> src/models/user.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{Duration, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/models/user.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HasherContext` and `Sha512State`
[INFO] [stdout]  --> src/models/user.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rs_sha512::{HasherContext, Sha512State};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Row` and `Statement`
[INFO] [stdout]  --> src/models/user.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_postgres::{Row, Statement};
[INFO] [stdout]   |                      ^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models`
[INFO] [stdout]   --> src/models/user.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::models;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `write`
[INFO] [stdout]  --> src/models/seat/availability_status.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter, write};
[INFO] [stdout]   |                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_postgres::Row`
[INFO] [stdout]  --> src/models/seat/availability_status.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio_postgres::Row;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::seat::seat_type::SeatType`
[INFO] [stdout]  --> src/models/seat/availability_status.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::models::seat::seat_type::SeatType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display` and `Formatter`
[INFO] [stdout]  --> src/models/seat/mod.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::{Display, Formatter};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_pg_mapper::PostgresMapper`
[INFO] [stdout]  --> src/models/seat/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio_pg_mapper::PostgresMapper;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromSql` and `Type`
[INFO] [stdout]  --> src/models/seat/mod.rs:8:29
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio_postgres::types::{FromSql, Type};
[INFO] [stdout]   |                             ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/models/session.rs:38:7
[INFO] [stdout]    |
[INFO] [stdout] 38 |     if(user.id.is_none()) {
[INFO] [stdout]    |       ^                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 38 -     if(user.id.is_none()) {
[INFO] [stdout] 38 +     if user.id.is_none()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/models/session.rs:39:11
[INFO] [stdout]    |
[INFO] [stdout] 39 |         if(user.login.is_none()) {
[INFO] [stdout]    |           ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 39 -         if(user.login.is_none()) {
[INFO] [stdout] 39 +         if user.login.is_none()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/models/session.rs:56:7
[INFO] [stdout]    |
[INFO] [stdout] 56 |     if(lifetime.is_none()) {
[INFO] [stdout]    |       ^                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 56 -     if(lifetime.is_none()) {
[INFO] [stdout] 56 +     if lifetime.is_none()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/services/users.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BuildHasher`
[INFO] [stdout]  --> src/services/users.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hash::{BuildHasher, Hasher};
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/services/users.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SessionGetError`
[INFO] [stdout]  --> src/services/users.rs:4:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_session::{Session, SessionGetError};
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `deadpool_postgres::Client`
[INFO] [stdout]  --> src/services/users.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use deadpool_postgres::Client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sha512State`
[INFO] [stdout]   --> src/services/users.rs:11:32
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rs_sha512::{HasherContext, Sha512State};
[INFO] [stdout]    |                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]   --> src/services/users.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use serde::Deserialize;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `errors::DbError`
[INFO] [stdout]   --> src/services/users.rs:14:43
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::core::{ServiceData, templator, errors::DbError};
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get_user_by_token`
[INFO] [stdout]   --> src/services/users.rs:16:56
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::models::user::{add_user, get_user_by_login, get_user_by_token,
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BadLogin`, `BadName`, and `BadPassword`
[INFO] [stdout]   --> src/services/users.rs:19:41
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::services::users::AuthError::{BadLogin, BadName, BadPassword};
[INFO] [stdout]    |                                         ^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 |     if(form.name.len() > 128 || !regex_name.is_match(form.name.as_str())) {
[INFO] [stdout]    |       ^                                                                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -     if(form.name.len() > 128 || !regex_name.is_match(form.name.as_str())) {
[INFO] [stdout] 41 +     if form.name.len() > 128 || !regex_name.is_match(form.name.as_str())  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:44:7
[INFO] [stdout]    |
[INFO] [stdout] 44 |     if(form.login.len() > 128 || !regex_login.is_match(form.login.as_str())) {
[INFO] [stdout]    |       ^                                                                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 44 -     if(form.login.len() > 128 || !regex_login.is_match(form.login.as_str())) {
[INFO] [stdout] 44 +     if form.login.len() > 128 || !regex_login.is_match(form.login.as_str())  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:47:7
[INFO] [stdout]    |
[INFO] [stdout] 47 |     if(get_user_by_login(&service_data.client, form.login.as_str()).await.is_ok()) {
[INFO] [stdout]    |       ^                                                                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 47 -     if(get_user_by_login(&service_data.client, form.login.as_str()).await.is_ok()) {
[INFO] [stdout] 47 +     if get_user_by_login(&service_data.client, form.login.as_str()).await.is_ok()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 |     if(form.login.len() > 256|| form.password.len() < 8 ||
[INFO] [stdout]    |       ^
[INFO] [stdout] 51 |         !regex_login.is_match(form.password.as_str()))
[INFO] [stdout]    |                                                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 50 ~     if form.login.len() > 256|| form.password.len() < 8 ||
[INFO] [stdout] 51 ~         !regex_login.is_match(form.password.as_str()) 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:55:7
[INFO] [stdout]    |
[INFO] [stdout] 55 |     if(!auth_errors.is_empty()) {
[INFO] [stdout]    |       ^                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 55 -     if(!auth_errors.is_empty()) {
[INFO] [stdout] 55 +     if !auth_errors.is_empty()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:64:7
[INFO] [stdout]    |
[INFO] [stdout] 64 |     if(!regex_login.is_match(form.login.as_str())) {
[INFO] [stdout]    |       ^                                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 64 -     if(!regex_login.is_match(form.login.as_str())) {
[INFO] [stdout] 64 +     if !regex_login.is_match(form.login.as_str())  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:67:7
[INFO] [stdout]    |
[INFO] [stdout] 67 |     if(!regex_login.is_match(form.password.as_str())) {
[INFO] [stdout]    |       ^                                             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 67 -     if(!regex_login.is_match(form.password.as_str())) {
[INFO] [stdout] 67 +     if !regex_login.is_match(form.password.as_str())  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:70:7
[INFO] [stdout]    |
[INFO] [stdout] 70 |     if(!auth_errors.is_empty()) {
[INFO] [stdout]    |       ^                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 70 -     if(!auth_errors.is_empty()) {
[INFO] [stdout] 70 +     if !auth_errors.is_empty()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/users.rs:85:7
[INFO] [stdout]    |
[INFO] [stdout] 85 |     if(verify_result.is_err()) {
[INFO] [stdout]    |       ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 85 -     if(verify_result.is_err()) {
[INFO] [stdout] 85 +     if verify_result.is_err()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/services/users.rs:166:7
[INFO] [stdout]     |
[INFO] [stdout] 166 |     if(user.is_some()) {
[INFO] [stdout]     |       ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 166 -     if(user.is_some()) {
[INFO] [stdout] 166 +     if user.is_some()  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/services/users.rs:212:7
[INFO] [stdout]     |
[INFO] [stdout] 212 |     if(validation_result.is_ok()) {
[INFO] [stdout]     |       ^                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 212 -     if(validation_result.is_ok()) {
[INFO] [stdout] 212 +     if validation_result.is_ok()  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/services/users.rs:222:7
[INFO] [stdout]     |
[INFO] [stdout] 222 |     if(validation_result.is_err() || !found) {
[INFO] [stdout]     |       ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 222 -     if(validation_result.is_err() || !found) {
[INFO] [stdout] 222 +     if validation_result.is_err() || !found  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/services/users.rs:234:7
[INFO] [stdout]     |
[INFO] [stdout] 234 |     if(session_token.is_err()) {
[INFO] [stdout]     |       ^                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 234 -     if(session_token.is_err()) {
[INFO] [stdout] 234 +     if session_token.is_err()  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `deadpool_postgres::Status`
[INFO] [stdout]  --> src/services/booking.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use deadpool_postgres::Status;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::user::User`
[INFO] [stdout]  --> src/core/db.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::models::user::User;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/core/templator.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SessionGetError` and `Session`
[INFO] [stdout]  --> src/core/templator.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_session::{Session, SessionGetError};
[INFO] [stdout]   |                     ^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::HttpRequest`
[INFO] [stdout]  --> src/core/templator.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix_web::HttpRequest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `deadpool_postgres::Client`
[INFO] [stdout]  --> src/core/templator.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use deadpool_postgres::Client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `handlebars::Handlebars`
[INFO] [stdout]  --> src/core/templator.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use handlebars::Handlebars;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AppState` and `models`
[INFO] [stdout]  --> src/core/templator.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::{AppState, models};
[INFO] [stdout]   |             ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/core/templator.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 |     if(requested_with == "XMLHttpRequest") {
[INFO] [stdout]    |       ^                                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 20 -     if(requested_with == "XMLHttpRequest") {
[INFO] [stdout] 20 +     if requested_with == "XMLHttpRequest"  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_session::config::SessionLifecycle::BrowserSession`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use actix_session::config::SessionLifecycle::BrowserSession;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hasher`
[INFO] [stdout]  --> src/models/user.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::hash::{BuildHasher, Hasher};
[INFO] [stdout]   |                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hasher`
[INFO] [stdout]  --> src/services/users.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hash::{BuildHasher, Hasher};
[INFO] [stdout]   |                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HasherContext`
[INFO] [stdout]   --> src/services/users.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rs_sha512::{HasherContext, Sha512State};
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:40:53
[INFO] [stdout]    |
[INFO] [stdout] 40 |             rot: row.try_get("rot").unwrap_or_else(|e| None)
[INFO] [stdout]    |                                                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:39:49
[INFO] [stdout]    |
[INFO] [stdout] 39 |             y: row.try_get("y").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:38:49
[INFO] [stdout]    |
[INFO] [stdout] 38 |             x: row.try_get("x").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:37:69
[INFO] [stdout]    |
[INFO] [stdout] 37 |             default_rot: row.try_get("default_rot").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:36:65
[INFO] [stdout]    |
[INFO] [stdout] 36 |             default_y: row.try_get("default_y").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:35:65
[INFO] [stdout]    |
[INFO] [stdout] 35 |             default_x: row.try_get("default_x").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:34:71
[INFO] [stdout]    |
[INFO] [stdout] 34 |             availability: row.try_get("availability").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:33:60
[INFO] [stdout]    |
[INFO] [stdout] 33 |             seat_type: row.try_get("type").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:32:55
[INFO] [stdout]    |
[INFO] [stdout] 32 |             name: row.try_get("name").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:31:52
[INFO] [stdout]    |
[INFO] [stdout] 31 |             id:  row.try_get("id").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/models/session.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let output = q
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> src/services/legacy.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | async fn test(req: HttpRequest, session: Session) -> actix_web::Result<HttpResponse> {
[INFO] [stdout]    |               ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session`
[INFO] [stdout]   --> src/services/legacy.rs:11:33
[INFO] [stdout]    |
[INFO] [stdout] 11 | async fn test(req: HttpRequest, session: Session) -> actix_web::Result<HttpResponse> {
[INFO] [stdout]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> src/services/booking.rs:61:20
[INFO] [stdout]    |
[INFO] [stdout] 61 | async fn seat_page(req: HttpRequest,
[INFO] [stdout]    |                    ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session`
[INFO] [stdout]   --> src/services/booking.rs:62:21
[INFO] [stdout]    |
[INFO] [stdout] 62 |                     session: Session,
[INFO] [stdout]    |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app_state`
[INFO] [stdout]   --> src/services/booking.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 |                     app_state: web::Data<AppState<'_>>)
[INFO] [stdout]    |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/main.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let key = actix_web::cookie::Key::from(SESSION_SIGNING_KEY);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `GetCurrentUserError` is more private than the item `get_current_user`
[INFO] [stdout]   --> src/core/users.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | / pub async fn get_current_user(client: &Client,
[INFO] [stdout] 24 | |                               session: Session)
[INFO] [stdout] 25 | |                               -> Result<User, GetCurrentUserError>
[INFO] [stdout]    | |__________________________________________________________________^ function `get_current_user` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `GetCurrentUserError` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/core/users.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | enum GetCurrentUserError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `server_addr` is never read
[INFO] [stdout]  --> src/config.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ServerConfig {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] 6 |     pub server_addr: String,
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ServerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_user_by_id` is never used
[INFO] [stdout]   --> src/models/user.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub async fn get_user_by_id(client: &Client, id:i32) -> Result<User, DbError>
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_user_sessions` is never used
[INFO] [stdout]   --> src/models/session.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub async fn remove_user_sessions(client: &Client, user: User) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GetCurrentUserError` is never used
[INFO] [stdout]  --> src/core/users.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | enum GetCurrentUserError {
[INFO] [stdout]   |      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_current_user` is never used
[INFO] [stdout]   --> src/core/users.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub async fn get_current_user(client: &Client,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_authored` is never used
[INFO] [stdout]   --> src/core/users.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub async fn is_authored(client: &Client, session: Session) -> bool {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]   --> src/models/user.rs:89:14
[INFO] [stdout]    |
[INFO] [stdout] 89 |         Some(T) => Ok(User::from_row_ref(&T)?),
[INFO] [stdout]    |              ^ help: convert the identifier to snake case: `t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `std::future::Future` that must be used
[INFO] [stdout]   --> src/models/session.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     client.query(&stmt, &[&token]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `std::future::Future` that must be used
[INFO] [stdout]   --> src/models/session.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     client.query(&stmt, &[&user.id]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<actix_web::web::Bytes, Infallible>
[INFO] [stdout]   --> src/services/legacy.rs:52:19
[INFO] [stdout]    |
[INFO] [stdout] 52 |             yield Ok::<_, Infallible>(web::Bytes::from("Hello "));
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<actix_web::web::Bytes, Infallible>
[INFO] [stdout]   --> src/services/legacy.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 |             yield Ok::<_, Infallible>(web::Bytes::from(name));
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<actix_web::web::Bytes, Infallible>
[INFO] [stdout]   --> src/services/legacy.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |             yield Ok::<_, Infallible>(web::Bytes::from("!"));
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `E` should have a snake case name
[INFO] [stdout]    --> src/services/users.rs:225:17
[INFO] [stdout]     |
[INFO] [stdout] 225 |             Err(E) => E
[INFO] [stdout]     |                 ^ help: convert the identifier to snake case: `e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `std::future::Future` that must be used
[INFO] [stdout]    --> src/services/users.rs:261:13
[INFO] [stdout]     |
[INFO] [stdout] 261 |             remove_session_by_token(&service_data.client, token.as_str());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/core/mod.rs:20:77
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub(crate) async fn new(req: HttpRequest, app_state: web::Data<AppState<'_>>, session: Session) -> Result<ServiceData, DbError> {
[INFO] [stdout]    |                                                                             ^^ the lifetime is elided here    ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'_`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub(crate) async fn new(req: HttpRequest, app_state: web::Data<AppState<'_>>, session: Session) -> Result<ServiceData<'_>, DbError> {
[INFO] [stdout]    |                                                                                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]   --> src/core/templator.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 |         Some(T) => { T.to_str().unwrap_or("") },
[INFO] [stdout]    |              ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/core/users.rs:16:37
[INFO] [stdout]    |
[INFO] [stdout] 16 | ...                   login.clone()).as_bytes());
[INFO] [stdout]    |                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `back` (bin "back" test) due to 3 previous errors; 87 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `Hasher`
[INFO] [stdout]  --> src/models/user.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::hash::{BuildHasher, Hasher};
[INFO] [stdout]   |                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hasher`
[INFO] [stdout]  --> src/services/users.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hash::{BuildHasher, Hasher};
[INFO] [stdout]   |                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HasherContext`
[INFO] [stdout]   --> src/services/users.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rs_sha512::{HasherContext, Sha512State};
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:40:53
[INFO] [stdout]    |
[INFO] [stdout] 40 |             rot: row.try_get("rot").unwrap_or_else(|e| None)
[INFO] [stdout]    |                                                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:39:49
[INFO] [stdout]    |
[INFO] [stdout] 39 |             y: row.try_get("y").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:38:49
[INFO] [stdout]    |
[INFO] [stdout] 38 |             x: row.try_get("x").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:37:69
[INFO] [stdout]    |
[INFO] [stdout] 37 |             default_rot: row.try_get("default_rot").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:36:65
[INFO] [stdout]    |
[INFO] [stdout] 36 |             default_y: row.try_get("default_y").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:35:65
[INFO] [stdout]    |
[INFO] [stdout] 35 |             default_x: row.try_get("default_x").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:34:71
[INFO] [stdout]    |
[INFO] [stdout] 34 |             availability: row.try_get("availability").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:33:60
[INFO] [stdout]    |
[INFO] [stdout] 33 |             seat_type: row.try_get("type").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:32:55
[INFO] [stdout]    |
[INFO] [stdout] 32 |             name: row.try_get("name").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/models/seat/mod.rs:31:52
[INFO] [stdout]    |
[INFO] [stdout] 31 |             id:  row.try_get("id").unwrap_or_else(|e| None),
[INFO] [stdout]    |                                                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/models/session.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let output = q
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> src/services/legacy.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | async fn test(req: HttpRequest, session: Session) -> actix_web::Result<HttpResponse> {
[INFO] [stdout]    |               ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session`
[INFO] [stdout]   --> src/services/legacy.rs:11:33
[INFO] [stdout]    |
[INFO] [stdout] 11 | async fn test(req: HttpRequest, session: Session) -> actix_web::Result<HttpResponse> {
[INFO] [stdout]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> src/services/booking.rs:61:20
[INFO] [stdout]    |
[INFO] [stdout] 61 | async fn seat_page(req: HttpRequest,
[INFO] [stdout]    |                    ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session`
[INFO] [stdout]   --> src/services/booking.rs:62:21
[INFO] [stdout]    |
[INFO] [stdout] 62 |                     session: Session,
[INFO] [stdout]    |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app_state`
[INFO] [stdout]   --> src/services/booking.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 |                     app_state: web::Data<AppState<'_>>)
[INFO] [stdout]    |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/main.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let key = actix_web::cookie::Key::from(SESSION_SIGNING_KEY);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `GetCurrentUserError` is more private than the item `get_current_user`
[INFO] [stdout]   --> src/core/users.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | / pub async fn get_current_user(client: &Client,
[INFO] [stdout] 24 | |                               session: Session)
[INFO] [stdout] 25 | |                               -> Result<User, GetCurrentUserError>
[INFO] [stdout]    | |__________________________________________________________________^ function `get_current_user` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `GetCurrentUserError` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/core/users.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | enum GetCurrentUserError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `server_addr` is never read
[INFO] [stdout]  --> src/config.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ServerConfig {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] 6 |     pub server_addr: String,
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ServerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_user_by_id` is never used
[INFO] [stdout]   --> src/models/user.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub async fn get_user_by_id(client: &Client, id:i32) -> Result<User, DbError>
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_user_sessions` is never used
[INFO] [stdout]   --> src/models/session.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub async fn remove_user_sessions(client: &Client, user: User) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GetCurrentUserError` is never used
[INFO] [stdout]  --> src/core/users.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | enum GetCurrentUserError {
[INFO] [stdout]   |      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_current_user` is never used
[INFO] [stdout]   --> src/core/users.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub async fn get_current_user(client: &Client,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_authored` is never used
[INFO] [stdout]   --> src/core/users.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub async fn is_authored(client: &Client, session: Session) -> bool {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]   --> src/models/user.rs:89:14
[INFO] [stdout]    |
[INFO] [stdout] 89 |         Some(T) => Ok(User::from_row_ref(&T)?),
[INFO] [stdout]    |              ^ help: convert the identifier to snake case: `t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `std::future::Future` that must be used
[INFO] [stdout]   --> src/models/session.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     client.query(&stmt, &[&token]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `std::future::Future` that must be used
[INFO] [stdout]   --> src/models/session.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     client.query(&stmt, &[&user.id]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<actix_web::web::Bytes, Infallible>
[INFO] [stdout]   --> src/services/legacy.rs:52:19
[INFO] [stdout]    |
[INFO] [stdout] 52 |             yield Ok::<_, Infallible>(web::Bytes::from("Hello "));
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<actix_web::web::Bytes, Infallible>
[INFO] [stdout]   --> src/services/legacy.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 |             yield Ok::<_, Infallible>(web::Bytes::from(name));
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<actix_web::web::Bytes, Infallible>
[INFO] [stdout]   --> src/services/legacy.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |             yield Ok::<_, Infallible>(web::Bytes::from("!"));
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `E` should have a snake case name
[INFO] [stdout]    --> src/services/users.rs:225:17
[INFO] [stdout]     |
[INFO] [stdout] 225 |             Err(E) => E
[INFO] [stdout]     |                 ^ help: convert the identifier to snake case: `e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `std::future::Future` that must be used
[INFO] [stdout]    --> src/services/users.rs:261:13
[INFO] [stdout]     |
[INFO] [stdout] 261 |             remove_session_by_token(&service_data.client, token.as_str());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/core/mod.rs:20:77
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub(crate) async fn new(req: HttpRequest, app_state: web::Data<AppState<'_>>, session: Session) -> Result<ServiceData, DbError> {
[INFO] [stdout]    |                                                                             ^^ the lifetime is elided here    ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'_`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub(crate) async fn new(req: HttpRequest, app_state: web::Data<AppState<'_>>, session: Session) -> Result<ServiceData<'_>, DbError> {
[INFO] [stdout]    |                                                                                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]   --> src/core/templator.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 |         Some(T) => { T.to_str().unwrap_or("") },
[INFO] [stdout]    |              ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/core/users.rs:16:37
[INFO] [stdout]    |
[INFO] [stdout] 16 | ...                   login.clone()).as_bytes());
[INFO] [stdout]    |                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `back` (bin "back") due to 3 previous errors; 87 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9731eae35a3204537f9cfb1271f3dee0074b761d549c84736525f3e73201002f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9731eae35a3204537f9cfb1271f3dee0074b761d549c84736525f3e73201002f", kill_on_drop: false }`
[INFO] [stdout] 9731eae35a3204537f9cfb1271f3dee0074b761d549c84736525f3e73201002f
