[INFO] cloning repository https://github.com/and07/auth
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/and07/auth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fand07%2Fauth", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fand07%2Fauth'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ed8b9f304da3c320a2963df245915b6f9efe7583
[INFO] testing and07/auth against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fand07%2Fauth" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/and07/auth on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/and07/auth
[INFO] finished tweaking git repo https://github.com/and07/auth
[INFO] tweaked toml for git repo https://github.com/and07/auth written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/and07/auth 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded totp-rs v4.2.0
[INFO] [stderr]   Downloaded jwt-simple v0.11.3
[INFO] [stderr]   Downloaded hmac-sha512 v1.1.4
[INFO] [stderr]   Downloaded whoami v1.3.0
[INFO] [stderr]   Downloaded actix-web-prom v0.6.0
[INFO] [stderr]   Downloaded zstd v0.12.2+zstd.1.5.2
[INFO] [stderr]   Downloaded hmac-sha1-compact v1.1.3
[INFO] [stderr]   Downloaded hmac-sha256 v1.1.6
[INFO] [stderr]   Downloaded p384 v0.12.0
[INFO] [stderr]   Downloaded actix-web v4.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b117363ec66184234f1bf53b7b49849f7a1f29645043beae568f299bbc19a84a
[INFO] running `Command { std: "docker" "start" "-a" "b117363ec66184234f1bf53b7b49849f7a1f29645043beae568f299bbc19a84a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b117363ec66184234f1bf53b7b49849f7a1f29645043beae568f299bbc19a84a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b117363ec66184234f1bf53b7b49849f7a1f29645043beae568f299bbc19a84a", kill_on_drop: false }`
[INFO] [stdout] b117363ec66184234f1bf53b7b49849f7a1f29645043beae568f299bbc19a84a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 955c0a8572d3e838162a93f0f25ef5858a15d4b5a7d9b88f4617c7717e74d2fc
[INFO] running `Command { std: "docker" "start" "-a" "955c0a8572d3e838162a93f0f25ef5858a15d4b5a7d9b88f4617c7717e74d2fc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling proc-macro2 v1.0.50
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.9
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling once_cell v1.17.0
[INFO] [stderr]    Compiling const-oid v0.9.1
[INFO] [stderr]    Compiling futures-io v0.3.25
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.3
[INFO] [stderr]    Compiling jobserver v0.1.25
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling crossbeam-utils v0.8.14
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling bytes v1.3.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling itoa v1.0.5
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling fastrand v1.8.0
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling concurrent-queue v2.1.0
[INFO] [stderr]    Compiling futures-lite v1.12.0
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling polling v2.5.2
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling zeroize v1.5.7
[INFO] [stderr]    Compiling futures-sink v0.3.25
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling openssl-sys v0.9.80
[INFO] [stderr]    Compiling async-io v1.12.0
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]    Compiling parking_lot_core v0.9.6
[INFO] [stderr]    Compiling async-lock v2.6.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.10
[INFO] [stderr]    Compiling base64ct v1.5.3
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.45
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]    Compiling signal-hook v0.3.14
[INFO] [stderr]    Compiling pem-rfc7468 v0.6.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling der v0.6.1
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling paste v1.0.11
[INFO] [stderr]    Compiling async-task v4.3.0
[INFO] [stderr]    Compiling libm v0.2.6
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling async-channel v1.8.0
[INFO] [stderr]    Compiling async-process v1.6.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling tokio v1.24.2
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling atomic-waker v1.1.0
[INFO] [stderr]    Compiling blocking v1.3.0
[INFO] [stderr]    Compiling spki v0.6.0
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling pkcs8 v0.9.0
[INFO] [stderr]    Compiling async-executor v1.5.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling ryu v1.0.12
[INFO] [stderr]    Compiling serde_json v1.0.91
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling hkdf v0.12.3
[INFO] [stderr]    Compiling zstd-sys v2.0.5+zstd.1.5.2
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling crypto-bigint v0.4.9
[INFO] [stderr]    Compiling ff v0.12.1
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling base16ct v0.1.1
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling sec1 v0.3.0
[INFO] [stderr]    Compiling group v0.12.1
[INFO] [stderr]    Compiling sha1 v0.10.5
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling bytestring v1.2.0
[INFO] [stderr]    Compiling local-waker v0.1.3
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling zstd-safe v6.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling elliptic-curve v0.12.3
[INFO] [stderr]    Compiling ctor v0.1.26
[INFO] [stderr]    Compiling futures-macro v0.3.25
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling regex v1.7.1
[INFO] [stderr]    Compiling mio v0.8.5
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.53
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling crossbeam-queue v0.3.8
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling time-macros v0.2.6
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling async-global-executor v2.3.1
[INFO] [stderr]    Compiling tokio-util v0.7.4
[INFO] [stderr]    Compiling actix-rt v2.8.0
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling brotli-decompressor v2.3.4
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling rfc6979 v0.3.1
[INFO] [stderr]    Compiling actix-service v2.0.2
[INFO] [stderr]    Compiling signature v2.0.0
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling io-lifetimes v1.0.5
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling crc-catalog v2.2.0
[INFO] [stderr]    Compiling crc v3.0.1
[INFO] [stderr]    Compiling sqlformat v0.2.1
[INFO] [stderr]    Compiling actix-router v0.5.1
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling brotli v3.3.4
[INFO] [stderr]    Compiling async-native-tls v0.4.0
[INFO] [stderr]    Compiling ecdsa v0.15.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling flate2 v1.0.25
[INFO] [stderr]    Compiling async-std v1.12.0
[INFO] [stderr]    Compiling actix-codec v0.5.0
[INFO] [stderr]    Compiling h2 v0.3.15
[INFO] [stderr]    Compiling time v0.3.17
[INFO] [stderr]    Compiling local-channel v0.1.3
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling base64 v0.21.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling rustix v0.36.8
[INFO] [stderr]    Compiling num-bigint-dig v0.8.2
[INFO] [stderr]    Compiling dotenvy v0.15.6
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling whoami v1.3.0
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling sqlx-rt v0.6.2
[INFO] [stderr]    Compiling actix-server v2.2.0
[INFO] [stderr]    Compiling chrono v0.4.23
[INFO] [stderr]    Compiling futures-intrusive v0.4.2
[INFO] [stderr]    Compiling actix-web-codegen v4.1.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hashlink v0.8.1
[INFO] [stderr]    Compiling atoi v1.0.0
[INFO] [stderr]    Compiling primeorder v0.12.1
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]    Compiling md-5 v0.10.5
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling linux-raw-sys v0.1.4
[INFO] [stderr]    Compiling prometheus v0.13.3
[INFO] [stderr]    Compiling unicode-segmentation v1.10.0
[INFO] [stderr]    Compiling anyhow v1.0.68
[INFO] [stderr]    Compiling cipher v0.4.3
[INFO] [stderr]    Compiling sqlx-core v0.6.2
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling pkcs1 v0.4.1
[INFO] [stderr]    Compiling signature v1.6.4
[INFO] [stderr]    Compiling ct-codecs v1.1.1
[INFO] [stderr]    Compiling async-trait v0.1.63
[INFO] [stderr]    Compiling slog v2.7.0
[INFO] [stderr]    Compiling ed25519-compact v2.0.4
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling rsa v0.7.2
[INFO] [stderr]    Compiling is-terminal v0.4.3
[INFO] [stderr]    Compiling p384 v0.12.0
[INFO] [stderr]    Compiling p256 v0.12.0
[INFO] [stderr]    Compiling k256 v0.12.0
[INFO] [stderr]    Compiling futures-executor v0.3.25
[INFO] [stderr]    Compiling coarsetime v0.1.22
[INFO] [stderr]    Compiling hmac-sha512 v1.1.4
[INFO] [stderr]    Compiling hmac-sha256 v1.1.6
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling base32 v0.4.0
[INFO] [stderr]    Compiling constant_time_eq v0.2.4
[INFO] [stderr]    Compiling binstring v0.1.1
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling hmac-sha1-compact v1.1.3
[INFO] [stderr]    Compiling jwt-simple v0.11.3
[INFO] [stderr]    Compiling env_logger v0.10.0
[INFO] [stderr]    Compiling totp-rs v4.2.0
[INFO] [stderr]    Compiling futures v0.3.25
[INFO] [stderr]    Compiling bcrypt v0.13.0
[INFO] [stderr]    Compiling uuid v1.2.2
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling sqlx-macros v0.6.2
[INFO] [stderr]    Compiling zstd v0.12.2+zstd.1.5.2
[INFO] [stderr]    Compiling actix-http v3.3.0
[INFO] [stderr]    Compiling sqlx v0.6.2
[INFO] [stderr]    Compiling actix-web v4.3.0
[INFO] [stderr]    Compiling actix-web-prom v0.6.0
[INFO] [stderr]    Compiling actix-cors v0.6.4
[INFO] [stderr]    Compiling todo-cli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `AuthServiceError`
[INFO] [stdout]  --> src/handlers/auth.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 |     AuthService, AuthServiceError, Authentication, Configurations as AuthConfigurations, User,
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AuthRepositoryError`, `VerificationDataType`
[INFO] [stdout]  --> src/handlers/auth.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     AuthRepository, AuthRepositoryError, User as DataUser, VerificationData, VerificationDataType,
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^                                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::store::database::*`
[INFO] [stdout]   --> src/handlers/auth.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::store::database::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `jwt_simple::reexports::anyhow::Ok`
[INFO] [stdout]   --> src/handlers/auth.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use jwt_simple::reexports::anyhow::Ok;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::E`
[INFO] [stdout]   --> src/handlers/auth.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::f32::consts::E;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thiserror::Error`
[INFO] [stdout]   --> src/handlers/auth.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use thiserror::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]   --> src/handlers/auth.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | use serde::{Serialize, Deserialize};
[INFO] [stdout]    |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]   --> src/handlers/auth.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use chrono::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]   --> src/handlers/auth.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use chrono::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> src/handlers/auth.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AuthService`, `Authentication`, `Configurations as AuthConfigurations`, `User`
[INFO] [stdout]  --> src/handlers/models.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     AuthService, AuthServiceError, Authentication, Configurations as AuthConfigurations, User,
[INFO] [stdout]   |     ^^^^^^^^^^^                    ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `JwtManager`, `TokenManager`
[INFO] [stdout]  --> src/handlers/models.rs:5:51
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::services::authorization::jwt_manager::{JwtManager, TokenManager};
[INFO] [stdout]   |                                                   ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::authorization::utils::*`
[INFO] [stdout]  --> src/handlers/models.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::services::authorization::utils::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AuthRepository`, `MAIL_CONFIRMATION`, `PASS_RESET`, `User as DataUser`, `VerificationDataType`, `VerificationData`
[INFO] [stdout]  --> src/handlers/models.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     AuthRepository, AuthRepositoryError, User as DataUser, VerificationData, VerificationDataType,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^                       ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9 |     MAIL_CONFIRMATION, PASS_RESET,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::store::auth_repository_memory::*`
[INFO] [stdout]   --> src/handlers/models.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::store::auth_repository_memory::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::store::database::*`
[INFO] [stdout]   --> src/handlers/models.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::store::database::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]   --> src/handlers/models.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use async_trait::async_trait;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/handlers/models.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use chrono::{Duration, Utc};
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `jwt_simple::reexports::anyhow::Ok`
[INFO] [stdout]   --> src/handlers/models.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use jwt_simple::reexports::anyhow::Ok;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Add`
[INFO] [stdout]   --> src/handlers/models.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::ops::Add;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `RwLock`
[INFO] [stdout]   --> src/handlers/models.rs:20:23
[INFO] [stdout]    |
[INFO] [stdout] 20 | use async_std::sync::{Arc, RwLock};
[INFO] [stdout]    |                       ^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::authorization::utils::*`
[INFO] [stdout]  --> src/services/authorization/auth.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::services::authorization::utils::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::serde::ts_seconds`
[INFO] [stdout]  --> src/store/auth_repository.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::serde::ts_seconds;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::authorization::utils::*`
[INFO] [stdout]  --> src/store/auth_repository_memory.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::services::authorization::utils::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MAIL_CONFIRMATION`, `PASS_RESET`
[INFO] [stdout]  --> src/store/auth_repository_memory.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     MAIL_CONFIRMATION, PASS_RESET,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::authorization::utils::*`
[INFO] [stdout]  --> src/store/auth_repository_postgres.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::services::authorization::utils::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verification_data_type`
[INFO] [stdout]    --> src/store/auth_repository_memory.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |         verification_data_type: VerificationDataType,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verification_data_type`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/store/auth_repository_memory.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let mut map = self.users.read().await;
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/store/auth_repository_memory.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let mut element = user_data.lock().await;
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verification_data_type`
[INFO] [stdout]    --> src/store/auth_repository_memory.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |         verification_data_type: VerificationDataType,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verification_data_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `logger` is never read
[INFO] [stdout]   --> src/handlers/auth.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Auth {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 33 |     logger: Option<slog::Logger>, //TODO
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Auth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `logger` and `configs` are never read
[INFO] [stdout]   --> src/services/authorization/auth.rs:97:5
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub struct AuthService {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 97 |     logger: Option<slog::Logger>, //TODO
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 98 |     configs: Configurations,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthService` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `logger` is never read
[INFO] [stdout]   --> src/services/authorization/jwt_manager.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct JwtManager {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 22 |     logger: Option<slog::Logger>, //TODO
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `JwtManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `init` are never used
[INFO] [stdout]   --> src/store/auth_repository_postgres.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl AuthRepositoryPostgres {
[INFO] [stdout]    | --------------------------- associated items in this implementation
[INFO] [stdout] 17 |     pub fn new(conn: Connection) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub async fn init(&self) -> Result<(), AuthRepositoryError> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USER_SCHEMA` is never used
[INFO] [stdout]  --> src/store/auth_shema.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub const USER_SCHEMA: &str = r#"
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VERIFICATION_SCHEMA` is never used
[INFO] [stdout]   --> src/store/auth_shema.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const VERIFICATION_SCHEMA: &str = r#"
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `database_url` is never used
[INFO] [stdout]   --> src/store/database.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Config {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 22 |     pub fn database_url(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/store/database.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 75 | impl Connection {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 76 |     pub async fn new(cfg: Config) -> Result<Connection, ConnectionError> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `createdAt` should have a snake case name
[INFO] [stdout]    --> src/handlers/models.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub createdAt: Option<DateTime<Utc>>,
[INFO] [stdout]     |         ^^^^^^^^^ help: convert the identifier to snake case: `created_at`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `updatedAt` should have a snake case name
[INFO] [stdout]    --> src/handlers/models.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub updatedAt: Option<DateTime<Utc>>,
[INFO] [stdout]     |         ^^^^^^^^^ help: convert the identifier to snake case: `updated_at`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 40 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 42.86s
[INFO] running `Command { std: "docker" "inspect" "955c0a8572d3e838162a93f0f25ef5858a15d4b5a7d9b88f4617c7717e74d2fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "955c0a8572d3e838162a93f0f25ef5858a15d4b5a7d9b88f4617c7717e74d2fc", kill_on_drop: false }`
[INFO] [stdout] 955c0a8572d3e838162a93f0f25ef5858a15d4b5a7d9b88f4617c7717e74d2fc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c546cdb741ee7a9322654f26ff9670aa398663dcac48f9a267de55aef7979026
[INFO] running `Command { std: "docker" "start" "-a" "c546cdb741ee7a9322654f26ff9670aa398663dcac48f9a267de55aef7979026", kill_on_drop: false }`
[INFO] [stderr]    Compiling todo-cli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `AuthServiceError`
[INFO] [stdout]  --> src/handlers/auth.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 |     AuthService, AuthServiceError, Authentication, Configurations as AuthConfigurations, User,
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AuthRepositoryError`, `VerificationDataType`
[INFO] [stdout]  --> src/handlers/auth.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     AuthRepository, AuthRepositoryError, User as DataUser, VerificationData, VerificationDataType,
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^                                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::store::database::*`
[INFO] [stdout]   --> src/handlers/auth.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::store::database::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `jwt_simple::reexports::anyhow::Ok`
[INFO] [stdout]   --> src/handlers/auth.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use jwt_simple::reexports::anyhow::Ok;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::E`
[INFO] [stdout]   --> src/handlers/auth.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::f32::consts::E;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thiserror::Error`
[INFO] [stdout]   --> src/handlers/auth.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use thiserror::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]   --> src/handlers/auth.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | use serde::{Serialize, Deserialize};
[INFO] [stdout]    |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]   --> src/handlers/auth.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use chrono::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]   --> src/handlers/auth.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use chrono::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> src/handlers/auth.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AuthService`, `Authentication`, `Configurations as AuthConfigurations`, `User`
[INFO] [stdout]  --> src/handlers/models.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     AuthService, AuthServiceError, Authentication, Configurations as AuthConfigurations, User,
[INFO] [stdout]   |     ^^^^^^^^^^^                    ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `JwtManager`, `TokenManager`
[INFO] [stdout]  --> src/handlers/models.rs:5:51
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::services::authorization::jwt_manager::{JwtManager, TokenManager};
[INFO] [stdout]   |                                                   ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::authorization::utils::*`
[INFO] [stdout]  --> src/handlers/models.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::services::authorization::utils::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AuthRepository`, `MAIL_CONFIRMATION`, `PASS_RESET`, `User as DataUser`, `VerificationDataType`, `VerificationData`
[INFO] [stdout]  --> src/handlers/models.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     AuthRepository, AuthRepositoryError, User as DataUser, VerificationData, VerificationDataType,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^                       ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9 |     MAIL_CONFIRMATION, PASS_RESET,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::store::auth_repository_memory::*`
[INFO] [stdout]   --> src/handlers/models.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::store::auth_repository_memory::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::store::database::*`
[INFO] [stdout]   --> src/handlers/models.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::store::database::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]   --> src/handlers/models.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use async_trait::async_trait;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/handlers/models.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use chrono::{Duration, Utc};
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `jwt_simple::reexports::anyhow::Ok`
[INFO] [stdout]   --> src/handlers/models.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use jwt_simple::reexports::anyhow::Ok;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Add`
[INFO] [stdout]   --> src/handlers/models.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::ops::Add;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `RwLock`
[INFO] [stdout]   --> src/handlers/models.rs:20:23
[INFO] [stdout]    |
[INFO] [stdout] 20 | use async_std::sync::{Arc, RwLock};
[INFO] [stdout]    |                       ^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::serde::ts_seconds`
[INFO] [stdout]  --> src/store/auth_repository.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::serde::ts_seconds;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PASS_RESET`
[INFO] [stdout]  --> src/store/auth_repository_memory.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 |     MAIL_CONFIRMATION, PASS_RESET,
[INFO] [stdout]   |                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/handlers/auth.rs:625:9
[INFO] [stdout]     |
[INFO] [stdout] 625 |     let mut store =  auth.repo.write().await;
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verification_data_type`
[INFO] [stdout]    --> src/store/auth_repository_memory.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |         verification_data_type: VerificationDataType,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verification_data_type`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/store/auth_repository_memory.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let mut map = self.users.read().await;
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/store/auth_repository_memory.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let mut element = user_data.lock().await;
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verification_data_type`
[INFO] [stdout]    --> src/store/auth_repository_memory.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |         verification_data_type: VerificationDataType,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verification_data_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `logger` is never read
[INFO] [stdout]   --> src/handlers/auth.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Auth {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 33 |     logger: Option<slog::Logger>, //TODO
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Auth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `logger` and `configs` are never read
[INFO] [stdout]   --> src/services/authorization/auth.rs:97:5
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub struct AuthService {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 97 |     logger: Option<slog::Logger>, //TODO
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 98 |     configs: Configurations,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthService` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `logger` is never read
[INFO] [stdout]   --> src/services/authorization/jwt_manager.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct JwtManager {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 22 |     logger: Option<slog::Logger>, //TODO
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `JwtManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `createdAt` should have a snake case name
[INFO] [stdout]    --> src/handlers/models.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub createdAt: Option<DateTime<Utc>>,
[INFO] [stdout]     |         ^^^^^^^^^ help: convert the identifier to snake case: `created_at`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `updatedAt` should have a snake case name
[INFO] [stdout]    --> src/handlers/models.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub updatedAt: Option<DateTime<Utc>>,
[INFO] [stdout]     |         ^^^^^^^^^ help: convert the identifier to snake case: `updated_at`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 5.49s
[INFO] running `Command { std: "docker" "inspect" "c546cdb741ee7a9322654f26ff9670aa398663dcac48f9a267de55aef7979026", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c546cdb741ee7a9322654f26ff9670aa398663dcac48f9a267de55aef7979026", kill_on_drop: false }`
[INFO] [stdout] c546cdb741ee7a9322654f26ff9670aa398663dcac48f9a267de55aef7979026
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7bdd07e7eebb20801e6e368a46f2033da9f70fc1b3c09354f242ae4cb2105cf3
[INFO] running `Command { std: "docker" "start" "-a" "7bdd07e7eebb20801e6e368a46f2033da9f70fc1b3c09354f242ae4cb2105cf3", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `AuthServiceError`
[INFO] [stderr]  --> src/handlers/auth.rs:3:18
[INFO] [stderr]   |
[INFO] [stderr] 3 |     AuthService, AuthServiceError, Authentication, Configurations as AuthConfigurations, User,
[INFO] [stderr]   |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AuthRepositoryError`, `VerificationDataType`
[INFO] [stderr]  --> src/handlers/auth.rs:8:21
[INFO] [stderr]   |
[INFO] [stderr] 8 |     AuthRepository, AuthRepositoryError, User as DataUser, VerificationData, VerificationDataType,
[INFO] [stderr]   |                     ^^^^^^^^^^^^^^^^^^^                                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::store::database::*`
[INFO] [stderr]   --> src/handlers/auth.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use crate::store::database::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `jwt_simple::reexports::anyhow::Ok`
[INFO] [stderr]   --> src/handlers/auth.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use jwt_simple::reexports::anyhow::Ok;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::f32::consts::E`
[INFO] [stderr]   --> src/handlers/auth.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::f32::consts::E;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `thiserror::Error`
[INFO] [stderr]   --> src/handlers/auth.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | use thiserror::Error;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stderr]   --> src/handlers/auth.rs:22:13
[INFO] [stderr]    |
[INFO] [stderr] 22 | use serde::{Serialize, Deserialize};
[INFO] [stderr]    |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::prelude::*`
[INFO] [stderr]   --> src/handlers/auth.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use chrono::prelude::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::prelude::*`
[INFO] [stderr]   --> src/handlers/auth.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | use chrono::prelude::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::json`
[INFO] [stderr]   --> src/handlers/auth.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 28 | use serde_json::json;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AuthService`, `Authentication`, `Configurations as AuthConfigurations`, `User`
[INFO] [stderr]  --> src/handlers/models.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 |     AuthService, AuthServiceError, Authentication, Configurations as AuthConfigurations, User,
[INFO] [stderr]   |     ^^^^^^^^^^^                    ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `JwtManager`, `TokenManager`
[INFO] [stderr]  --> src/handlers/models.rs:5:51
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::services::authorization::jwt_manager::{JwtManager, TokenManager};
[INFO] [stderr]   |                                                   ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::services::authorization::utils::*`
[INFO] [stderr]  --> src/handlers/models.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use crate::services::authorization::utils::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AuthRepository`, `MAIL_CONFIRMATION`, `PASS_RESET`, `User as DataUser`, `VerificationDataType`, `VerificationData`
[INFO] [stderr]  --> src/handlers/models.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 |     AuthRepository, AuthRepositoryError, User as DataUser, VerificationData, VerificationDataType,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^                       ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 9 |     MAIL_CONFIRMATION, PASS_RESET,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::store::auth_repository_memory::*`
[INFO] [stderr]   --> src/handlers/models.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use crate::store::auth_repository_memory::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::store::database::*`
[INFO] [stderr]   --> src/handlers/models.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use crate::store::database::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `async_trait::async_trait`
[INFO] [stderr]   --> src/handlers/models.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use async_trait::async_trait;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Duration`
[INFO] [stderr]   --> src/handlers/models.rs:15:14
[INFO] [stderr]    |
[INFO] [stderr] 15 | use chrono::{Duration, Utc};
[INFO] [stderr]    |              ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `jwt_simple::reexports::anyhow::Ok`
[INFO] [stderr]   --> src/handlers/models.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use jwt_simple::reexports::anyhow::Ok;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ops::Add`
[INFO] [stderr]   --> src/handlers/models.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use std::ops::Add;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Arc`, `RwLock`
[INFO] [stderr]   --> src/handlers/models.rs:20:23
[INFO] [stderr]    |
[INFO] [stderr] 20 | use async_std::sync::{Arc, RwLock};
[INFO] [stderr]    |                       ^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::serde::ts_seconds`
[INFO] [stderr]  --> src/store/auth_repository.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use chrono::serde::ts_seconds;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `PASS_RESET`
[INFO] [stderr]  --> src/store/auth_repository_memory.rs:4:24
[INFO] [stderr]   |
[INFO] [stderr] 4 |     MAIL_CONFIRMATION, PASS_RESET,
[INFO] [stderr]   |                        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/handlers/auth.rs:625:9
[INFO] [stderr]     |
[INFO] [stderr] 625 |     let mut store =  auth.repo.write().await;
[INFO] [stderr]     |         ----^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `verification_data_type`
[INFO] [stderr]    --> src/store/auth_repository_memory.rs:122:9
[INFO] [stderr]     |
[INFO] [stderr] 122 |         verification_data_type: VerificationDataType,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verification_data_type`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/store/auth_repository_memory.rs:140:13
[INFO] [stderr]     |
[INFO] [stderr] 140 |         let mut map = self.users.read().await;
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/store/auth_repository_memory.rs:147:13
[INFO] [stderr]     |
[INFO] [stderr] 147 |         let mut element = user_data.lock().await;
[INFO] [stderr]     |             ----^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `verification_data_type`
[INFO] [stderr]    --> src/store/auth_repository_memory.rs:165:9
[INFO] [stderr]     |
[INFO] [stderr] 165 |         verification_data_type: VerificationDataType,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verification_data_type`
[INFO] [stderr] 
[INFO] [stderr] warning: field `logger` is never read
[INFO] [stderr]   --> src/handlers/auth.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub struct Auth {
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] 33 |     logger: Option<slog::Logger>, //TODO
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Auth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `logger` and `configs` are never read
[INFO] [stderr]   --> src/services/authorization/auth.rs:97:5
[INFO] [stderr]    |
[INFO] [stderr] 96 | pub struct AuthService {
[INFO] [stderr]    |            ----------- fields in this struct
[INFO] [stderr] 97 |     logger: Option<slog::Logger>, //TODO
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 98 |     configs: Configurations,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `AuthService` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `logger` is never read
[INFO] [stderr]   --> src/services/authorization/jwt_manager.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub struct JwtManager {
[INFO] [stderr]    |            ---------- field in this struct
[INFO] [stderr] 22 |     logger: Option<slog::Logger>, //TODO
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `JwtManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `createdAt` should have a snake case name
[INFO] [stderr]    --> src/handlers/models.rs:106:9
[INFO] [stderr]     |
[INFO] [stderr] 106 |     pub createdAt: Option<DateTime<Utc>>,
[INFO] [stderr]     |         ^^^^^^^^^ help: convert the identifier to snake case: `created_at`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `updatedAt` should have a snake case name
[INFO] [stderr]    --> src/handlers/models.rs:107:9
[INFO] [stderr]     |
[INFO] [stderr] 107 |     pub updatedAt: Option<DateTime<Utc>>,
[INFO] [stderr]     |         ^^^^^^^^^ help: convert the identifier to snake case: `updated_at`
[INFO] [stderr] 
[INFO] [stderr] warning: `todo-cli` (bin "todo-cli" test) generated 33 warnings (run `cargo fix --bin "todo-cli" --tests` to apply 28 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/todo_cli-4685c80d19221535)
[INFO] [stdout] 
[INFO] [stdout] running 15 tests
[INFO] [stdout] test services::authorization::jwt_manager::test_generate_custom_key ... ok
[INFO] [stdout] test services::authorization::jwt_manager::test_generate_refresh_token ... ok
[INFO] [stdout] test services::authorization::jwt_manager::test_generate_access_token ... ok
[INFO] [stdout] test services::authorization::jwt_manager::test_validate_access_token ... ok
[INFO] [stdout] test services::authorization::utils::test_generate_random_string ... ok
[INFO] [stdout] test services::authorization::jwt_manager::test_validate_refresh_token ... ok
[INFO] [stdout] test store::auth_repository_postgres::test_create ... FAILED
[INFO] [stdout] test store::auth_repository_postgres::test_user_by_email ... FAILED
[INFO] [stdout] test store::database::test_new_connection - should panic ... ok
[INFO] [stdout] test store::auth_repository_memory::test_new_memory ... ok
[INFO] [stdout] test handlers::auth::test_refresh_token ... ok
[INFO] [stdout] test services::authorization::auth::test_authenticate ... ok
[INFO] [stdout] test handlers::auth::test_profile ... ok
[INFO] [stdout] test handlers::auth::test_generate_pass_reset_code ... ok
[INFO] [stdout] test handlers::auth::test_update_username has been running for over 60 seconds
[ERROR] error running command: no output for 300 seconds
[INFO] running `Command { std: "docker" "inspect" "7bdd07e7eebb20801e6e368a46f2033da9f70fc1b3c09354f242ae4cb2105cf3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7bdd07e7eebb20801e6e368a46f2033da9f70fc1b3c09354f242ae4cb2105cf3", kill_on_drop: false }`
[INFO] [stdout] 7bdd07e7eebb20801e6e368a46f2033da9f70fc1b3c09354f242ae4cb2105cf3
[INFO] testing and07/auth against beta-2023-12-22 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fand07%2Fauth" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/and07/auth on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/and07/auth
[INFO] finished tweaking git repo https://github.com/and07/auth
[INFO] tweaked toml for git repo https://github.com/and07/auth written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/and07/auth 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" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e71877406c63bee57256d4c89c57a0867f9b061491b026458319b66f46c1511d
[INFO] running `Command { std: "docker" "start" "-a" "e71877406c63bee57256d4c89c57a0867f9b061491b026458319b66f46c1511d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e71877406c63bee57256d4c89c57a0867f9b061491b026458319b66f46c1511d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e71877406c63bee57256d4c89c57a0867f9b061491b026458319b66f46c1511d", kill_on_drop: false }`
[INFO] [stdout] e71877406c63bee57256d4c89c57a0867f9b061491b026458319b66f46c1511d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1e7706758f465e0fac8acf2af3e85dc50ca8c265bf59905cbb43a006f7f26b22
[INFO] running `Command { std: "docker" "start" "-a" "1e7706758f465e0fac8acf2af3e85dc50ca8c265bf59905cbb43a006f7f26b22", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling proc-macro2 v1.0.50
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.9
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling once_cell v1.17.0
[INFO] [stderr]    Compiling futures-io v0.3.25
[INFO] [stderr]    Compiling const-oid v0.9.1
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling jobserver v0.1.25
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.3
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.14
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling bytes v1.3.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling itoa v1.0.5
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling fastrand v1.8.0
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling polling v2.5.2
[INFO] [stderr]    Compiling futures-lite v1.12.0
[INFO] [stderr]    Compiling concurrent-queue v2.1.0
[INFO] [stderr]    Compiling futures-sink v0.3.25
[INFO] [stderr]    Compiling zeroize v1.5.7
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]    Compiling openssl-sys v0.9.80
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling async-io v1.12.0
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]    Compiling async-lock v2.6.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.6
[INFO] [stderr]    Compiling unicode-bidi v0.3.10
[INFO] [stderr]    Compiling base64ct v1.5.3
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling signal-hook v0.3.14
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]    Compiling pem-rfc7468 v0.6.0
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.45
[INFO] [stderr]    Compiling der v0.6.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling libm v0.2.6
[INFO] [stderr]    Compiling async-task v4.3.0
[INFO] [stderr]    Compiling paste v1.0.11
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling async-channel v1.8.0
[INFO] [stderr]    Compiling tokio v1.24.2
[INFO] [stderr]    Compiling async-process v1.6.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling atomic-waker v1.1.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling blocking v1.3.0
[INFO] [stderr]    Compiling spki v0.6.0
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling pkcs8 v0.9.0
[INFO] [stderr]    Compiling async-executor v1.5.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling ryu v1.0.12
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling serde_json v1.0.91
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling hkdf v0.12.3
[INFO] [stderr]    Compiling zstd-sys v2.0.5+zstd.1.5.2
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling crypto-bigint v0.4.9
[INFO] [stderr]    Compiling ff v0.12.1
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling base16ct v0.1.1
[INFO] [stderr]    Compiling sec1 v0.3.0
[INFO] [stderr]    Compiling group v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling sha1 v0.10.5
[INFO] [stderr]    Compiling bytestring v1.2.0
[INFO] [stderr]    Compiling ctor v0.1.26
[INFO] [stderr]    Compiling futures-macro v0.3.25
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling regex v1.7.1
[INFO] [stderr]    Compiling zstd-safe v6.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling local-waker v0.1.3
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling mio v0.8.5
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling elliptic-curve v0.12.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.53
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling crossbeam-queue v0.3.8
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling time-macros v0.2.6
[INFO] [stderr]    Compiling tokio-util v0.7.4
[INFO] [stderr]    Compiling actix-rt v2.8.0
[INFO] [stderr]    Compiling async-global-executor v2.3.1
[INFO] [stderr]    Compiling brotli-decompressor v2.3.4
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling rfc6979 v0.3.1
[INFO] [stderr]    Compiling actix-service v2.0.2
[INFO] [stderr]    Compiling signature v2.0.0
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling crc-catalog v2.2.0
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling io-lifetimes v1.0.5
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling sqlformat v0.2.1
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling crc v3.0.1
[INFO] [stderr]    Compiling brotli v3.3.4
[INFO] [stderr]    Compiling ecdsa v0.15.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling actix-router v0.5.1
[INFO] [stderr]    Compiling async-std v1.12.0
[INFO] [stderr]    Compiling flate2 v1.0.25
[INFO] [stderr]    Compiling async-native-tls v0.4.0
[INFO] [stderr]    Compiling time v0.3.17
[INFO] [stderr]    Compiling actix-codec v0.5.0
[INFO] [stderr]    Compiling h2 v0.3.15
[INFO] [stderr]    Compiling local-channel v0.1.3
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling rustix v0.36.8
[INFO] [stderr]    Compiling num-bigint-dig v0.8.2
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling base64 v0.21.0
[INFO] [stderr]    Compiling dotenvy v0.15.6
[INFO] [stderr]    Compiling whoami v1.3.0
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling actix-server v2.2.0
[INFO] [stderr]    Compiling sqlx-rt v0.6.2
[INFO] [stderr]    Compiling chrono v0.4.23
[INFO] [stderr]    Compiling actix-web-codegen v4.1.0
[INFO] [stderr]    Compiling futures-intrusive v0.4.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hashlink v0.8.1
[INFO] [stderr]    Compiling atoi v1.0.0
[INFO] [stderr]    Compiling primeorder v0.12.1
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]    Compiling md-5 v0.10.5
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling prometheus v0.13.3
[INFO] [stderr]    Compiling unicode-segmentation v1.10.0
[INFO] [stderr]    Compiling anyhow v1.0.68
[INFO] [stderr]    Compiling linux-raw-sys v0.1.4
[INFO] [stderr]    Compiling cipher v0.4.3
[INFO] [stderr]    Compiling sqlx-core v0.6.2
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling pkcs1 v0.4.1
[INFO] [stderr]    Compiling signature v1.6.4
[INFO] [stderr]    Compiling async-trait v0.1.63
[INFO] [stderr]    Compiling ct-codecs v1.1.1
[INFO] [stderr]    Compiling slog v2.7.0
[INFO] [stderr]    Compiling ed25519-compact v2.0.4
[INFO] [stderr]    Compiling rsa v0.7.2
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling is-terminal v0.4.3
[INFO] [stderr]    Compiling p384 v0.12.0
[INFO] [stderr]    Compiling p256 v0.12.0
[INFO] [stderr]    Compiling k256 v0.12.0
[INFO] [stderr]    Compiling futures-executor v0.3.25
[INFO] [stderr]    Compiling hmac-sha512 v1.1.4
[INFO] [stderr]    Compiling hmac-sha256 v1.1.6
[INFO] [stderr]    Compiling coarsetime v0.1.22
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling base32 v0.4.0
[INFO] [stderr]    Compiling constant_time_eq v0.2.4
[INFO] [stderr]    Compiling hmac-sha1-compact v1.1.3
[INFO] [stderr]    Compiling binstring v0.1.1
[INFO] [stderr]    Compiling totp-rs v4.2.0
[INFO] [stderr]    Compiling env_logger v0.10.0
[INFO] [stderr]    Compiling jwt-simple v0.11.3
[INFO] [stderr]    Compiling futures v0.3.25
[INFO] [stderr]    Compiling bcrypt v0.13.0
[INFO] [stderr]    Compiling uuid v1.2.2
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling sqlx-macros v0.6.2
[INFO] [stderr]    Compiling zstd v0.12.2+zstd.1.5.2
[INFO] [stderr]    Compiling actix-http v3.3.0
[INFO] [stderr]    Compiling actix-web v4.3.0
[INFO] [stderr]    Compiling sqlx v0.6.2
[INFO] [stderr]    Compiling actix-web-prom v0.6.0
[INFO] [stderr]    Compiling actix-cors v0.6.4
[INFO] [stderr]    Compiling todo-cli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `AuthServiceError`
[INFO] [stdout]  --> src/handlers/auth.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 |     AuthService, AuthServiceError, Authentication, Configurations as AuthConfigurations, User,
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AuthRepositoryError`, `VerificationDataType`
[INFO] [stdout]  --> src/handlers/auth.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     AuthRepository, AuthRepositoryError, User as DataUser, VerificationData, VerificationDataType,
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^                                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::store::database::*`
[INFO] [stdout]   --> src/handlers/auth.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::store::database::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `jwt_simple::reexports::anyhow::Ok`
[INFO] [stdout]   --> src/handlers/auth.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use jwt_simple::reexports::anyhow::Ok;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::E`
[INFO] [stdout]   --> src/handlers/auth.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::f32::consts::E;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thiserror::Error`
[INFO] [stdout]   --> src/handlers/auth.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use thiserror::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]   --> src/handlers/auth.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | use serde::{Serialize, Deserialize};
[INFO] [stdout]    |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]   --> src/handlers/auth.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use chrono::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]   --> src/handlers/auth.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use chrono::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> src/handlers/auth.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AuthService`, `Authentication`, `Configurations as AuthConfigurations`, `User`
[INFO] [stdout]  --> src/handlers/models.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     AuthService, AuthServiceError, Authentication, Configurations as AuthConfigurations, User,
[INFO] [stdout]   |     ^^^^^^^^^^^                    ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `JwtManager`, `TokenManager`
[INFO] [stdout]  --> src/handlers/models.rs:5:51
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::services::authorization::jwt_manager::{JwtManager, TokenManager};
[INFO] [stdout]   |                                                   ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::authorization::utils::*`
[INFO] [stdout]  --> src/handlers/models.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::services::authorization::utils::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AuthRepository`, `MAIL_CONFIRMATION`, `PASS_RESET`, `User as DataUser`, `VerificationDataType`, `VerificationData`
[INFO] [stdout]  --> src/handlers/models.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     AuthRepository, AuthRepositoryError, User as DataUser, VerificationData, VerificationDataType,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^                       ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9 |     MAIL_CONFIRMATION, PASS_RESET,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::store::auth_repository_memory::*`
[INFO] [stdout]   --> src/handlers/models.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::store::auth_repository_memory::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::store::database::*`
[INFO] [stdout]   --> src/handlers/models.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::store::database::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]   --> src/handlers/models.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use async_trait::async_trait;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/handlers/models.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use chrono::{Duration, Utc};
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `jwt_simple::reexports::anyhow::Ok`
[INFO] [stdout]   --> src/handlers/models.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use jwt_simple::reexports::anyhow::Ok;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Add`
[INFO] [stdout]   --> src/handlers/models.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::ops::Add;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `RwLock`
[INFO] [stdout]   --> src/handlers/models.rs:20:23
[INFO] [stdout]    |
[INFO] [stdout] 20 | use async_std::sync::{Arc, RwLock};
[INFO] [stdout]    |                       ^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::authorization::utils::*`
[INFO] [stdout]  --> src/services/authorization/auth.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::services::authorization::utils::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::serde::ts_seconds`
[INFO] [stdout]  --> src/store/auth_repository.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::serde::ts_seconds;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::authorization::utils::*`
[INFO] [stdout]  --> src/store/auth_repository_memory.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::services::authorization::utils::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MAIL_CONFIRMATION`, `PASS_RESET`
[INFO] [stdout]  --> src/store/auth_repository_memory.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     MAIL_CONFIRMATION, PASS_RESET,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::authorization::utils::*`
[INFO] [stdout]  --> src/store/auth_repository_postgres.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::services::authorization::utils::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verification_data_type`
[INFO] [stdout]    --> src/store/auth_repository_memory.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |         verification_data_type: VerificationDataType,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verification_data_type`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/store/auth_repository_memory.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let mut map = self.users.read().await;
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/store/auth_repository_memory.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let mut element = user_data.lock().await;
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verification_data_type`
[INFO] [stdout]    --> src/store/auth_repository_memory.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |         verification_data_type: VerificationDataType,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verification_data_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `logger` is never read
[INFO] [stdout]   --> src/handlers/auth.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Auth {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 33 |     logger: Option<slog::Logger>, //TODO
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Auth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `logger` and `configs` are never read
[INFO] [stdout]   --> src/services/authorization/auth.rs:97:5
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub struct AuthService {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 97 |     logger: Option<slog::Logger>, //TODO
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 98 |     configs: Configurations,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthService` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `logger` is never read
[INFO] [stdout]   --> src/services/authorization/jwt_manager.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct JwtManager {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 22 |     logger: Option<slog::Logger>, //TODO
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `JwtManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `init` are never used
[INFO] [stdout]   --> src/store/auth_repository_postgres.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl AuthRepositoryPostgres {
[INFO] [stdout]    | --------------------------- associated items in this implementation
[INFO] [stdout] 17 |     pub fn new(conn: Connection) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub async fn init(&self) -> Result<(), AuthRepositoryError> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USER_SCHEMA` is never used
[INFO] [stdout]  --> src/store/auth_shema.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub const USER_SCHEMA: &str = r#"
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VERIFICATION_SCHEMA` is never used
[INFO] [stdout]   --> src/store/auth_shema.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const VERIFICATION_SCHEMA: &str = r#"
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `database_url` is never used
[INFO] [stdout]   --> src/store/database.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Config {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 22 |     pub fn database_url(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/store/database.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 75 | impl Connection {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 76 |     pub async fn new(cfg: Config) -> Result<Connection, ConnectionError> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `createdAt` should have a snake case name
[INFO] [stdout]    --> src/handlers/models.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub createdAt: Option<DateTime<Utc>>,
[INFO] [stdout]     |         ^^^^^^^^^ help: convert the identifier to snake case: `created_at`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `updatedAt` should have a snake case name
[INFO] [stdout]    --> src/handlers/models.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub updatedAt: Option<DateTime<Utc>>,
[INFO] [stdout]     |         ^^^^^^^^^ help: convert the identifier to snake case: `updated_at`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 40 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 46.13s
[INFO] running `Command { std: "docker" "inspect" "1e7706758f465e0fac8acf2af3e85dc50ca8c265bf59905cbb43a006f7f26b22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e7706758f465e0fac8acf2af3e85dc50ca8c265bf59905cbb43a006f7f26b22", kill_on_drop: false }`
[INFO] [stdout] 1e7706758f465e0fac8acf2af3e85dc50ca8c265bf59905cbb43a006f7f26b22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cbd94430a17f1117bb29192d56f3da0236130a22caa0b7d76b3aeea608f4d435
[INFO] running `Command { std: "docker" "start" "-a" "cbd94430a17f1117bb29192d56f3da0236130a22caa0b7d76b3aeea608f4d435", kill_on_drop: false }`
[INFO] [stderr]    Compiling todo-cli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `AuthServiceError`
[INFO] [stdout]  --> src/handlers/auth.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 |     AuthService, AuthServiceError, Authentication, Configurations as AuthConfigurations, User,
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AuthRepositoryError`, `VerificationDataType`
[INFO] [stdout]  --> src/handlers/auth.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     AuthRepository, AuthRepositoryError, User as DataUser, VerificationData, VerificationDataType,
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^                                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::store::database::*`
[INFO] [stdout]   --> src/handlers/auth.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::store::database::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `jwt_simple::reexports::anyhow::Ok`
[INFO] [stdout]   --> src/handlers/auth.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use jwt_simple::reexports::anyhow::Ok;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::E`
[INFO] [stdout]   --> src/handlers/auth.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::f32::consts::E;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thiserror::Error`
[INFO] [stdout]   --> src/handlers/auth.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use thiserror::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]   --> src/handlers/auth.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | use serde::{Serialize, Deserialize};
[INFO] [stdout]    |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]   --> src/handlers/auth.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use chrono::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]   --> src/handlers/auth.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use chrono::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]   --> src/handlers/auth.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use serde_json::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AuthService`, `Authentication`, `Configurations as AuthConfigurations`, `User`
[INFO] [stdout]  --> src/handlers/models.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     AuthService, AuthServiceError, Authentication, Configurations as AuthConfigurations, User,
[INFO] [stdout]   |     ^^^^^^^^^^^                    ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `JwtManager`, `TokenManager`
[INFO] [stdout]  --> src/handlers/models.rs:5:51
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::services::authorization::jwt_manager::{JwtManager, TokenManager};
[INFO] [stdout]   |                                                   ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::authorization::utils::*`
[INFO] [stdout]  --> src/handlers/models.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::services::authorization::utils::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AuthRepository`, `MAIL_CONFIRMATION`, `PASS_RESET`, `User as DataUser`, `VerificationDataType`, `VerificationData`
[INFO] [stdout]  --> src/handlers/models.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     AuthRepository, AuthRepositoryError, User as DataUser, VerificationData, VerificationDataType,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^                       ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9 |     MAIL_CONFIRMATION, PASS_RESET,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::store::auth_repository_memory::*`
[INFO] [stdout]   --> src/handlers/models.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::store::auth_repository_memory::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::store::database::*`
[INFO] [stdout]   --> src/handlers/models.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::store::database::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]   --> src/handlers/models.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use async_trait::async_trait;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/handlers/models.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use chrono::{Duration, Utc};
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `jwt_simple::reexports::anyhow::Ok`
[INFO] [stdout]   --> src/handlers/models.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use jwt_simple::reexports::anyhow::Ok;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Add`
[INFO] [stdout]   --> src/handlers/models.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::ops::Add;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `RwLock`
[INFO] [stdout]   --> src/handlers/models.rs:20:23
[INFO] [stdout]    |
[INFO] [stdout] 20 | use async_std::sync::{Arc, RwLock};
[INFO] [stdout]    |                       ^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::serde::ts_seconds`
[INFO] [stdout]  --> src/store/auth_repository.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::serde::ts_seconds;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PASS_RESET`
[INFO] [stdout]  --> src/store/auth_repository_memory.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 |     MAIL_CONFIRMATION, PASS_RESET,
[INFO] [stdout]   |                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/handlers/auth.rs:625:9
[INFO] [stdout]     |
[INFO] [stdout] 625 |     let mut store =  auth.repo.write().await;
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verification_data_type`
[INFO] [stdout]    --> src/store/auth_repository_memory.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |         verification_data_type: VerificationDataType,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verification_data_type`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/store/auth_repository_memory.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let mut map = self.users.read().await;
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/store/auth_repository_memory.rs:147:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let mut element = user_data.lock().await;
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verification_data_type`
[INFO] [stdout]    --> src/store/auth_repository_memory.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |         verification_data_type: VerificationDataType,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verification_data_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `logger` is never read
[INFO] [stdout]   --> src/handlers/auth.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Auth {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 33 |     logger: Option<slog::Logger>, //TODO
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Auth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `logger` and `configs` are never read
[INFO] [stdout]   --> src/services/authorization/auth.rs:97:5
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub struct AuthService {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 97 |     logger: Option<slog::Logger>, //TODO
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 98 |     configs: Configurations,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthService` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `logger` is never read
[INFO] [stdout]   --> src/services/authorization/jwt_manager.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct JwtManager {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 22 |     logger: Option<slog::Logger>, //TODO
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `JwtManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `createdAt` should have a snake case name
[INFO] [stdout]    --> src/handlers/models.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub createdAt: Option<DateTime<Utc>>,
[INFO] [stdout]     |         ^^^^^^^^^ help: convert the identifier to snake case: `created_at`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `updatedAt` should have a snake case name
[INFO] [stdout]    --> src/handlers/models.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub updatedAt: Option<DateTime<Utc>>,
[INFO] [stdout]     |         ^^^^^^^^^ help: convert the identifier to snake case: `updated_at`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 5.05s
[INFO] running `Command { std: "docker" "inspect" "cbd94430a17f1117bb29192d56f3da0236130a22caa0b7d76b3aeea608f4d435", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cbd94430a17f1117bb29192d56f3da0236130a22caa0b7d76b3aeea608f4d435", kill_on_drop: false }`
[INFO] [stdout] cbd94430a17f1117bb29192d56f3da0236130a22caa0b7d76b3aeea608f4d435
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0466fd2746e9d0d70969939913e1b0112f550acf32dbe628b1b8444f10193680
[INFO] running `Command { std: "docker" "start" "-a" "0466fd2746e9d0d70969939913e1b0112f550acf32dbe628b1b8444f10193680", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `AuthServiceError`
[INFO] [stderr]  --> src/handlers/auth.rs:3:18
[INFO] [stderr]   |
[INFO] [stderr] 3 |     AuthService, AuthServiceError, Authentication, Configurations as AuthConfigurations, User,
[INFO] [stderr]   |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AuthRepositoryError`, `VerificationDataType`
[INFO] [stderr]  --> src/handlers/auth.rs:8:21
[INFO] [stderr]   |
[INFO] [stderr] 8 |     AuthRepository, AuthRepositoryError, User as DataUser, VerificationData, VerificationDataType,
[INFO] [stderr]   |                     ^^^^^^^^^^^^^^^^^^^                                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::store::database::*`
[INFO] [stderr]   --> src/handlers/auth.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use crate::store::database::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `jwt_simple::reexports::anyhow::Ok`
[INFO] [stderr]   --> src/handlers/auth.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use jwt_simple::reexports::anyhow::Ok;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::f32::consts::E`
[INFO] [stderr]   --> src/handlers/auth.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | use std::f32::consts::E;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `thiserror::Error`
[INFO] [stderr]   --> src/handlers/auth.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | use thiserror::Error;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stderr]   --> src/handlers/auth.rs:22:13
[INFO] [stderr]    |
[INFO] [stderr] 22 | use serde::{Serialize, Deserialize};
[INFO] [stderr]    |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::prelude::*`
[INFO] [stderr]   --> src/handlers/auth.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use chrono::prelude::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::prelude::*`
[INFO] [stderr]   --> src/handlers/auth.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | use chrono::prelude::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::json`
[INFO] [stderr]   --> src/handlers/auth.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 28 | use serde_json::json;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AuthService`, `Authentication`, `Configurations as AuthConfigurations`, `User`
[INFO] [stderr]  --> src/handlers/models.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 |     AuthService, AuthServiceError, Authentication, Configurations as AuthConfigurations, User,
[INFO] [stderr]   |     ^^^^^^^^^^^                    ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `JwtManager`, `TokenManager`
[INFO] [stderr]  --> src/handlers/models.rs:5:51
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::services::authorization::jwt_manager::{JwtManager, TokenManager};
[INFO] [stderr]   |                                                   ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::services::authorization::utils::*`
[INFO] [stderr]  --> src/handlers/models.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use crate::services::authorization::utils::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AuthRepository`, `MAIL_CONFIRMATION`, `PASS_RESET`, `User as DataUser`, `VerificationDataType`, `VerificationData`
[INFO] [stderr]  --> src/handlers/models.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 |     AuthRepository, AuthRepositoryError, User as DataUser, VerificationData, VerificationDataType,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^                       ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 9 |     MAIL_CONFIRMATION, PASS_RESET,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::store::auth_repository_memory::*`
[INFO] [stderr]   --> src/handlers/models.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use crate::store::auth_repository_memory::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::store::database::*`
[INFO] [stderr]   --> src/handlers/models.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use crate::store::database::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `async_trait::async_trait`
[INFO] [stderr]   --> src/handlers/models.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use async_trait::async_trait;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Duration`
[INFO] [stderr]   --> src/handlers/models.rs:15:14
[INFO] [stderr]    |
[INFO] [stderr] 15 | use chrono::{Duration, Utc};
[INFO] [stderr]    |              ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `jwt_simple::reexports::anyhow::Ok`
[INFO] [stderr]   --> src/handlers/models.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use jwt_simple::reexports::anyhow::Ok;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ops::Add`
[INFO] [stderr]   --> src/handlers/models.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use std::ops::Add;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Arc`, `RwLock`
[INFO] [stderr]   --> src/handlers/models.rs:20:23
[INFO] [stderr]    |
[INFO] [stderr] 20 | use async_std::sync::{Arc, RwLock};
[INFO] [stderr]    |                       ^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::serde::ts_seconds`
[INFO] [stderr]  --> src/store/auth_repository.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use chrono::serde::ts_seconds;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `PASS_RESET`
[INFO] [stderr]  --> src/store/auth_repository_memory.rs:4:24
[INFO] [stderr]   |
[INFO] [stderr] 4 |     MAIL_CONFIRMATION, PASS_RESET,
[INFO] [stderr]   |                        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/handlers/auth.rs:625:9
[INFO] [stderr]     |
[INFO] [stderr] 625 |     let mut store =  auth.repo.write().await;
[INFO] [stderr]     |         ----^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `verification_data_type`
[INFO] [stderr]    --> src/store/auth_repository_memory.rs:122:9
[INFO] [stderr]     |
[INFO] [stderr] 122 |         verification_data_type: VerificationDataType,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verification_data_type`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/store/auth_repository_memory.rs:140:13
[INFO] [stderr]     |
[INFO] [stderr] 140 |         let mut map = self.users.read().await;
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/store/auth_repository_memory.rs:147:13
[INFO] [stderr]     |
[INFO] [stderr] 147 |         let mut element = user_data.lock().await;
[INFO] [stderr]     |             ----^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `verification_data_type`
[INFO] [stderr]    --> src/store/auth_repository_memory.rs:165:9
[INFO] [stderr]     |
[INFO] [stderr] 165 |         verification_data_type: VerificationDataType,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verification_data_type`
[INFO] [stderr] 
[INFO] [stderr] warning: field `logger` is never read
[INFO] [stderr]   --> src/handlers/auth.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub struct Auth {
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] 33 |     logger: Option<slog::Logger>, //TODO
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Auth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `logger` and `configs` are never read
[INFO] [stderr]   --> src/services/authorization/auth.rs:97:5
[INFO] [stderr]    |
[INFO] [stderr] 96 | pub struct AuthService {
[INFO] [stderr]    |            ----------- fields in this struct
[INFO] [stderr] 97 |     logger: Option<slog::Logger>, //TODO
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 98 |     configs: Configurations,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `AuthService` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `logger` is never read
[INFO] [stderr]   --> src/services/authorization/jwt_manager.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub struct JwtManager {
[INFO] [stderr]    |            ---------- field in this struct
[INFO] [stderr] 22 |     logger: Option<slog::Logger>, //TODO
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `JwtManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `createdAt` should have a snake case name
[INFO] [stderr]    --> src/handlers/models.rs:106:9
[INFO] [stderr]     |
[INFO] [stderr] 106 |     pub createdAt: Option<DateTime<Utc>>,
[INFO] [stderr]     |         ^^^^^^^^^ help: convert the identifier to snake case: `created_at`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `updatedAt` should have a snake case name
[INFO] [stderr]    --> src/handlers/models.rs:107:9
[INFO] [stderr]     |
[INFO] [stderr] 107 |     pub updatedAt: Option<DateTime<Utc>>,
[INFO] [stderr]     |         ^^^^^^^^^ help: convert the identifier to snake case: `updated_at`
[INFO] [stderr] 
[INFO] [stderr] warning: `todo-cli` (bin "todo-cli" test) generated 33 warnings (run `cargo fix --bin "todo-cli" --tests` to apply 28 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/todo_cli-fe82021dda146bcb)
[INFO] [stdout] 
[INFO] [stdout] running 15 tests
[INFO] [stdout] test services::authorization::jwt_manager::test_generate_custom_key ... ok
[INFO] [stdout] test services::authorization::jwt_manager::test_generate_access_token ... ok
[INFO] [stdout] test services::authorization::jwt_manager::test_validate_access_token ... ok
[INFO] [stdout] test services::authorization::utils::test_generate_random_string ... ok
[INFO] [stdout] test services::authorization::jwt_manager::test_generate_refresh_token ... ok
[INFO] [stdout] test services::authorization::jwt_manager::test_validate_refresh_token ... ok
[INFO] [stdout] test store::auth_repository_memory::test_new_memory ... ok
[INFO] [stdout] test store::auth_repository_postgres::test_create ... FAILED
[INFO] [stdout] test store::auth_repository_postgres::test_user_by_email ... FAILED
[INFO] [stdout] test store::database::test_new_connection - should panic ... ok
[INFO] [stdout] test services::authorization::auth::test_authenticate ... ok
[INFO] [stdout] test handlers::auth::test_profile ... ok
[INFO] [stdout] test handlers::auth::test_refresh_token ... ok
[INFO] [stdout] test handlers::auth::test_generate_pass_reset_code ... ok
[INFO] [stdout] test handlers::auth::test_update_username has been running for over 60 seconds
[ERROR] error running command: no output for 300 seconds
[INFO] running `Command { std: "docker" "inspect" "0466fd2746e9d0d70969939913e1b0112f550acf32dbe628b1b8444f10193680", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0466fd2746e9d0d70969939913e1b0112f550acf32dbe628b1b8444f10193680", kill_on_drop: false }`
[INFO] [stdout] 0466fd2746e9d0d70969939913e1b0112f550acf32dbe628b1b8444f10193680
