[INFO] cloning repository https://github.com/Malique-Auguste/Servaunt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Malique-Auguste/Servaunt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalique-Auguste%2FServaunt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalique-Auguste%2FServaunt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8ba1435e88864127391e0940b0fcaf8a3b3f35b6
[INFO] checking Malique-Auguste/Servaunt 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%2FMalique-Auguste%2FServaunt" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  35% (1761/4997)
Updating files:  36% (1799/4997)
Updating files:  37% (1849/4997)
Updating files:  38% (1899/4997)
Updating files:  39% (1949/4997)
Updating files:  40% (1999/4997)
Updating files:  40% (2000/4997)
Updating files:  41% (2049/4997)
Updating files:  42% (2099/4997)
Updating files:  42% (2119/4997)
Updating files:  43% (2149/4997)
Updating files:  44% (2199/4997)
Updating files:  44% (2245/4997)
Updating files:  45% (2249/4997)
Updating files:  46% (2299/4997)
Updating files:  46% (2339/4997)
Updating files:  47% (2349/4997)
Updating files:  48% (2399/4997)
Updating files:  48% (2447/4997)
Updating files:  49% (2449/4997)
Updating files:  50% (2499/4997)
Updating files:  51% (2549/4997)
Updating files:  52% (2599/4997)
Updating files:  53% (2649/4997)
Updating files:  54% (2699/4997)
Updating files:  54% (2721/4997)
Updating files:  55% (2749/4997)
Updating files:  56% (2799/4997)
Updating files:  57% (2849/4997)
Updating files:  58% (2899/4997)
Updating files:  59% (2949/4997)
Updating files:  59% (2984/4997)
Updating files:  60% (2999/4997)
Updating files:  61% (3049/4997)
Updating files:  62% (3099/4997)
Updating files:  63% (3149/4997)
Updating files:  64% (3199/4997)
Updating files:  65% (3249/4997)
Updating files:  65% (3287/4997)
Updating files:  66% (3299/4997)
Updating files:  67% (3348/4997)
Updating files:  68% (3398/4997)
Updating files:  69% (3448/4997)
Updating files:  70% (3498/4997)
Updating files:  71% (3548/4997)
Updating files:  71% (3583/4997)
Updating files:  72% (3598/4997)
Updating files:  73% (3648/4997)
Updating files:  74% (3698/4997)
Updating files:  75% (3748/4997)
Updating files:  76% (3798/4997)
Updating files:  76% (3821/4997)
Updating files:  77% (3848/4997)
Updating files:  78% (3898/4997)
Updating files:  79% (3948/4997)
Updating files:  80% (3998/4997)
Updating files:  81% (4048/4997)
Updating files:  82% (4098/4997)
Updating files:  82% (4135/4997)
Updating files:  83% (4148/4997)
Updating files:  84% (4198/4997)
Updating files:  85% (4248/4997)
Updating files:  86% (4298/4997)
Updating files:  87% (4348/4997)
Updating files:  88% (4398/4997)
Updating files:  89% (4448/4997)
Updating files:  89% (4459/4997)
Updating files:  90% (4498/4997)
Updating files:  91% (4548/4997)
Updating files:  92% (4598/4997)
Updating files:  93% (4648/4997)
Updating files:  94% (4698/4997)
Updating files:  95% (4748/4997)
Updating files:  96% (4798/4997)
Updating files:  97% (4848/4997)
Updating files:  97% (4863/4997)
Updating files:  98% (4898/4997)
Updating files:  99% (4948/4997)
Updating files:  99% (4980/4997)
Updating files: 100% (4997/4997)
Updating files: 100% (4997/4997), done.
[INFO] started tweaking git repo https://github.com/Malique-Auguste/Servaunt
[INFO] finished tweaking git repo https://github.com/Malique-Auguste/Servaunt
[INFO] tweaked toml for git repo https://github.com/Malique-Auguste/Servaunt written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Malique-Auguste/Servaunt 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/Malique-Auguste/Servaunt 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] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a6947aec22fa031297afb1147ec52e2810ad784cb40b8f3af9abeddbf643120e
[INFO] running `Command { std: "docker" "start" "-a" "a6947aec22fa031297afb1147ec52e2810ad784cb40b8f3af9abeddbf643120e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a6947aec22fa031297afb1147ec52e2810ad784cb40b8f3af9abeddbf643120e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6947aec22fa031297afb1147ec52e2810ad784cb40b8f3af9abeddbf643120e", kill_on_drop: false }`
[INFO] [stdout] a6947aec22fa031297afb1147ec52e2810ad784cb40b8f3af9abeddbf643120e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 7b1ac2e9b45218254505e1f6519200b971817095212b65c2b30d5ab8bb593c6a
[INFO] running `Command { std: "docker" "start" "-a" "7b1ac2e9b45218254505e1f6519200b971817095212b65c2b30d5ab8bb593c6a", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.199
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling ref-cast v1.0.22
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]     Checking yansi v1.0.1
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling rustix v0.38.32
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]     Checking winnow v0.6.6
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling figment v0.10.17
[INFO] [stderr]    Compiling either v1.11.0
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[INFO] [stderr]    Compiling rocket v0.5.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]     Checking fastrand v2.0.2
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking tempfile v3.10.1
[INFO] [stderr]    Compiling devise_core v0.4.1
[INFO] [stderr]    Compiling serde_derive v1.0.199
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling pear_codegen v0.2.9
[INFO] [stderr]    Compiling ref-cast-impl v1.0.22
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]    Compiling devise_codegen v0.4.1
[INFO] [stderr]    Compiling pear v0.2.9
[INFO] [stderr]    Compiling devise v0.4.1
[INFO] [stderr]    Compiling rocket_http v0.5.0
[INFO] [stderr]    Compiling rocket_codegen v0.5.0
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-stream v0.1.15
[INFO] [stderr]     Checking toml_datetime v0.6.5
[INFO] [stderr]     Checking serde_spanned v0.6.5
[INFO] [stderr]     Checking ubyte v0.10.4
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking toml_edit v0.22.9
[INFO] [stderr]     Checking toml v0.8.12
[INFO] [stderr]     Checking servaunt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/user_manager.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io;
[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: `std::io::ErrorKind`
[INFO] [stdout]  --> src/user_manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::ErrorKind;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cookie`
[INFO] [stdout]  --> src/user_manager.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rocket::http::{Cookie, CookieJar};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/user_manager.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io;
[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: `std::io::ErrorKind`
[INFO] [stdout]  --> src/user_manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::ErrorKind;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cookie`
[INFO] [stdout]  --> src/user_manager.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rocket::http::{Cookie, CookieJar};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LoginData` and `self`
[INFO] [stdout]  --> src/lib.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use crate::user_manager::{self, LoginData};
[INFO] [stdout]   |                               ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserManager` is never constructed
[INFO] [stdout]   --> src/user_manager.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct UserManager {
[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`, `add_new_user`, `login_user`, and `get_current_user` are never used
[INFO] [stdout]   --> src/user_manager.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl UserManager {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 23 |     //Creates a new UserManager with no active sessions and a list of users from the database
[INFO] [stdout] 24 |     pub fn new() -> Result<UserManager, String> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn add_new_user(&mut self, new_user: User) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn login_user(&mut self, current_user: &User, jar: &CookieJar) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 |     pub fn get_current_user(&self, jar: &CookieJar) -> Result<&User, String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Session` is never constructed
[INFO] [stdout]    --> src/user_manager.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct Session {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/user_manager.rs:142:8
[INFO] [stdout]     |
[INFO] [stdout] 140 | impl Session {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] 141 |     //the id represents a hash of the uer name and their login time so that the cookie cannot be guessed
[INFO] [stdout] 142 |     fn new(user: &User) -> Session {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]    --> src/user_manager.rs:167:12
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub struct User {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_name` is never used
[INFO] [stdout]    --> src/user_manager.rs:179:12
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl User {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] 179 |     pub fn get_name(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LoginData` is never constructed
[INFO] [stdout]    --> src/user_manager.rs:186:12
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub struct LoginData {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FromFormGeneratedContext` is never constructed
[INFO] [stdout]    --> src/user_manager.rs:186:12
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub struct LoginData {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `to_user` are never used
[INFO] [stdout]    --> src/user_manager.rs:192:12
[INFO] [stdout]     |
[INFO] [stdout] 191 | impl LoginData {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 192 |     pub fn new(name: String, password: String)-> LoginData {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn to_user(&self) -> User {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserManager` is never constructed
[INFO] [stdout]   --> src/user_manager.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct UserManager {
[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`, `add_new_user`, `login_user`, and `get_current_user` are never used
[INFO] [stdout]   --> src/user_manager.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl UserManager {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 23 |     //Creates a new UserManager with no active sessions and a list of users from the database
[INFO] [stdout] 24 |     pub fn new() -> Result<UserManager, String> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn add_new_user(&mut self, new_user: User) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn login_user(&mut self, current_user: &User, jar: &CookieJar) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 |     pub fn get_current_user(&self, jar: &CookieJar) -> Result<&User, String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Session` is never constructed
[INFO] [stdout]    --> src/user_manager.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct Session {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/user_manager.rs:142:8
[INFO] [stdout]     |
[INFO] [stdout] 140 | impl Session {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] 141 |     //the id represents a hash of the uer name and their login time so that the cookie cannot be guessed
[INFO] [stdout] 142 |     fn new(user: &User) -> Session {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]    --> src/user_manager.rs:167:12
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub struct User {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_name` is never used
[INFO] [stdout]    --> src/user_manager.rs:179:12
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl User {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] 179 |     pub fn get_name(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LoginData` is never constructed
[INFO] [stdout]    --> src/user_manager.rs:186:12
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub struct LoginData {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FromFormGeneratedContext` is never constructed
[INFO] [stdout]    --> src/user_manager.rs:186:12
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub struct LoginData {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `to_user` are never used
[INFO] [stdout]    --> src/user_manager.rs:192:12
[INFO] [stdout]     |
[INFO] [stdout] 191 | impl LoginData {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 192 |     pub fn new(name: String, password: String)-> LoginData {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn to_user(&self) -> User {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/user_manager.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io;
[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: `std::io::ErrorKind`
[INFO] [stdout]  --> src/user_manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::ErrorKind;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cookie`
[INFO] [stdout]  --> src/user_manager.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rocket::http::{Cookie, CookieJar};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Debug` and `format`
[INFO] [stdout]  --> src/renderer.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{fmt::{format, Debug}, fs, io::Read};
[INFO] [stdout]   |                 ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NamedFile` and `TempFile`
[INFO] [stdout]  --> src/renderer.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rocket::fs::{TempFile, NamedFile};
[INFO] [stdout]   |                  ^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::form::name::Name`
[INFO] [stdout]  --> src/routes.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rocket::form::name::Name;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response`
[INFO] [stdout]   --> src/routes.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rocket::{response, State};
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cookie`
[INFO] [stdout]   --> src/routes.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rocket::http::{Cookie, CookieJar};
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `renderer::render`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use renderer::render;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/user_manager.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io;
[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: `std::io::ErrorKind`
[INFO] [stdout]  --> src/user_manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::ErrorKind;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cookie`
[INFO] [stdout]  --> src/user_manager.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rocket::http::{Cookie, CookieJar};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Debug` and `format`
[INFO] [stdout]  --> src/renderer.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{fmt::{format, Debug}, fs, io::Read};
[INFO] [stdout]   |                 ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NamedFile` and `TempFile`
[INFO] [stdout]  --> src/renderer.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rocket::fs::{TempFile, NamedFile};
[INFO] [stdout]   |                  ^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::form::name::Name`
[INFO] [stdout]  --> src/routes.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rocket::form::name::Name;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response`
[INFO] [stdout]   --> src/routes.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rocket::{response, State};
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cookie`
[INFO] [stdout]   --> src/routes.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rocket::http::{Cookie, CookieJar};
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `renderer::render`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use renderer::render;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut dm: UserManager = UserManager::new().unwrap();
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut dm_wrapper = Arc::new(Mutex::new(dm));
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `creation_timestamp` and `last_action_timestamp` are never read
[INFO] [stdout]    --> src/user_manager.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct Session {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 136 |     creation_timestamp: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 137 |     last_action_timestamp: u64 
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Session` 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: associated function `new` is never used
[INFO] [stdout]    --> src/user_manager.rs:192:12
[INFO] [stdout]     |
[INFO] [stdout] 191 | impl LoginData {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 192 |     pub fn new(name: String, password: String)-> LoginData {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut dm: UserManager = UserManager::new().unwrap();
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut dm_wrapper = Arc::new(Mutex::new(dm));
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `creation_timestamp` and `last_action_timestamp` are never read
[INFO] [stdout]    --> src/user_manager.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct Session {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 136 |     creation_timestamp: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 137 |     last_action_timestamp: u64 
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Session` 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: associated function `new` is never used
[INFO] [stdout]    --> src/user_manager.rs:192:12
[INFO] [stdout]     |
[INFO] [stdout] 191 | impl LoginData {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 192 |     pub fn new(name: String, password: String)-> LoginData {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/routes.rs:95:30
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub async fn open(file_name: String, dm: &State<Arc<Mutex<UserManager>>>, jar: &CookieJar<'_>) -> NamedFile {
[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<std::string::String, Infallible>
[INFO] [stdout]    --> src/routes.rs:117:32
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub async fn delete(file_name: String, dm: &State<Arc<Mutex<UserManager>>>, jar: &CookieJar<'_>) -> Redirect {
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/routes.rs:95:30
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub async fn open(file_name: String, dm: &State<Arc<Mutex<UserManager>>>, jar: &CookieJar<'_>) -> NamedFile {
[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<std::string::String, Infallible>
[INFO] [stdout]    --> src/routes.rs:117:32
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub async fn delete(file_name: String, dm: &State<Arc<Mutex<UserManager>>>, jar: &CookieJar<'_>) -> Redirect {
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `servaunt` (bin "servaunt" test) due to 2 previous errors; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `servaunt` (bin "servaunt") due to 2 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7b1ac2e9b45218254505e1f6519200b971817095212b65c2b30d5ab8bb593c6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b1ac2e9b45218254505e1f6519200b971817095212b65c2b30d5ab8bb593c6a", kill_on_drop: false }`
[INFO] [stdout] 7b1ac2e9b45218254505e1f6519200b971817095212b65c2b30d5ab8bb593c6a
