[INFO] cloning repository https://github.com/Rohaan-Taneja/rust_auth_full
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rohaan-Taneja/rust_auth_full" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRohaan-Taneja%2Frust_auth_full", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRohaan-Taneja%2Frust_auth_full'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d96b51d142ae68bcd3951db6171b93849fc29f6e
[INFO] building Rohaan-Taneja/rust_auth_full against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRohaan-Taneja%2Frust_auth_full" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Rohaan-Taneja/rust_auth_full
[INFO] finished tweaking git repo https://github.com/Rohaan-Taneja/rust_auth_full
[INFO] tweaked toml for git repo https://github.com/Rohaan-Taneja/rust_auth_full written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Rohaan-Taneja/rust_auth_full on toolchain eb171a227f9e5de5d376b6edb56b174bc8235fb3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Rohaan-Taneja/rust_auth_full 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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hostname v0.4.1
[INFO] [stderr]   Downloaded email-encoding v0.4.1
[INFO] [stderr]   Downloaded validator_derive v0.20.0
[INFO] [stderr]   Downloaded diesel-derive-enum v2.1.0
[INFO] [stderr]   Downloaded validator v0.20.0
[INFO] [stderr]   Downloaded dsl_auto_type v0.2.0
[INFO] [stderr]   Downloaded pq-sys v0.7.5
[INFO] [stderr]   Downloaded diesel_table_macro_syntax v0.3.0
[INFO] [stderr]   Downloaded stacker v0.1.22
[INFO] [stderr]   Downloaded lettre v0.11.19
[INFO] [stderr]   Downloaded axum-extra v0.12.2
[INFO] [stderr]   Downloaded diesel_derives v2.3.4
[INFO] [stderr]   Downloaded diesel v2.3.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e61b7cbca5f1f6060f040434d75f72c0870a625db0fbb35d9e7244e599bd8423
[INFO] running `Command { std: "docker" "start" "-a" "e61b7cbca5f1f6060f040434d75f72c0870a625db0fbb35d9e7244e599bd8423", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e61b7cbca5f1f6060f040434d75f72c0870a625db0fbb35d9e7244e599bd8423", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e61b7cbca5f1f6060f040434d75f72c0870a625db0fbb35d9e7244e599bd8423", kill_on_drop: false }`
[INFO] [stdout] e61b7cbca5f1f6060f040434d75f72c0870a625db0fbb35d9e7244e599bd8423
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a764550ad3dc54a83e9088eb74a6a782db4d718fa0ec3aea7c411a8e00d96f2e
[INFO] running `Command { std: "docker" "start" "-a" "a764550ad3dc54a83e9088eb74a6a782db4d718fa0ec3aea7c411a8e00d96f2e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling base64ct v1.8.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling cc v1.2.46
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling num-bigint-dig v0.8.6
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling pq-sys v0.7.5
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling ff v0.13.1
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling stacker v0.1.22
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling diesel_derives v2.3.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling ed25519 v2.2.3
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling password-hash v0.5.0
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling hostname v0.4.1
[INFO] [stderr]    Compiling pem v3.0.6
[INFO] [stderr]    Compiling email-encoding v0.4.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling email_address v0.2.9
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling quoted_printable v0.5.1
[INFO] [stderr]    Compiling downcast-rs v2.0.2
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling argon2 v0.5.3
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling primeorder v0.13.6
[INFO] [stderr]    Compiling ecdsa v0.16.9
[INFO] [stderr]    Compiling rsa v0.9.9
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.3.0
[INFO] [stderr]    Compiling p256 v0.13.2
[INFO] [stderr]    Compiling p384 v0.13.1
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling ar_archive_writer v0.2.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling psm v0.1.28
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling diesel-derive-enum v2.1.0
[INFO] [stderr]    Compiling chumsky v0.9.3
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling ed25519-dalek v2.2.0
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling axum-core v0.5.5
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling tower-http v0.6.7
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling validator_derive v0.20.0
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling dsl_auto_type v0.2.0
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling jsonwebtoken v10.2.0
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling http-serde v2.1.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling validator v0.20.0
[INFO] [stderr]    Compiling lettre v0.11.19
[INFO] [stderr]    Compiling hyper-util v0.1.18
[INFO] [stderr]    Compiling axum v0.8.7
[INFO] [stderr]    Compiling diesel v2.3.3
[INFO] [stderr]    Compiling axum-extra v0.12.2
[INFO] [stderr]    Compiling backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `users::UserRepository`
[INFO] [stdout]  --> src/db/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use users::UserRepository ;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `UserRole` and `Users`
[INFO] [stdout]  --> src/dtos/register_dto.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::{UserRole, Users};
[INFO] [stdout]   |                     ^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ACCEPT`, `AUTHORIZATION`, `CONTENT_TYPE`, `HeaderValue`, `Method`, and `serve::Listener`
[INFO] [stdout]  --> src/main.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | use axum::{Router, http::{HeaderValue, Method, header::{ACCEPT, AUTHORIZATION, CONTENT_TYPE}}, serve::Listener};
[INFO] [stdout]   |                           ^^^^^^^^^^^  ^^^^^^           ^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Connection`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Connection, PgConnection,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tower_http::cors::CorsLayer`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tower_http::cors::CorsLayer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> src/main.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let pool = Pool::builder()
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/main.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let addr = format!("{}:{}", host, port);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `jwt_secret`, `jwt_maxage`, and `port` are never read
[INFO] [stdout]   --> src/config.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout]  7 |     pub database_url: String,
[INFO] [stdout]  8 |     pub jwt_secret: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]  9 |     pub jwt_maxage: i64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 10 |     pub port: i16,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserRepository` is never constructed
[INFO] [stdout]  --> src/db/users.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct UserRepository<'a> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthRepository` is never constructed
[INFO] [stdout]  --> src/db/auth.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct AuthRepository {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `save_user` and `get_user` are never used
[INFO] [stdout]   --> src/db/auth.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl AuthRepository {
[INFO] [stdout]    | ------------------- associated functions in this implementation
[INFO] [stdout] 16 |
[INFO] [stdout] 17 |     pub fn save_user(){
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn get_user(){}
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RegisterUser` is never constructed
[INFO] [stdout]  --> src/dtos/register_dto.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct RegisterUser {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorResponse` is never constructed
[INFO] [stdout]   --> src/errors.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct ErrorResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ErrorMessage` is never used
[INFO] [stdout]   --> src/errors.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum ErrorMessage {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpError` is never constructed
[INFO] [stdout]   --> src/errors.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct HttpError {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `server_error`, `bad_request`, and `into_http_response` are never used
[INFO] [stdout]   --> src/errors.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl HttpError {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 68 |     pub fn new(message: impl Into<String>, status: StatusCode) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn server_error(message: impl Into<String>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn bad_request(message: impl Into<String>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn into_http_response(self) -> Response {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Users` is never constructed
[INFO] [stdout]   --> src/models.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Users {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 51s
[INFO] running `Command { std: "docker" "inspect" "a764550ad3dc54a83e9088eb74a6a782db4d718fa0ec3aea7c411a8e00d96f2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a764550ad3dc54a83e9088eb74a6a782db4d718fa0ec3aea7c411a8e00d96f2e", kill_on_drop: false }`
[INFO] [stdout] a764550ad3dc54a83e9088eb74a6a782db4d718fa0ec3aea7c411a8e00d96f2e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6631ab0908bb32f248d1237c86a00edd7859182bef47db02224629ed83742c82
[INFO] running `Command { std: "docker" "start" "-a" "6631ab0908bb32f248d1237c86a00edd7859182bef47db02224629ed83742c82", kill_on_drop: false }`
[INFO] [stderr]    Compiling backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `users::UserRepository`
[INFO] [stdout]  --> src/db/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use users::UserRepository ;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `UserRole` and `Users`
[INFO] [stdout]  --> src/dtos/register_dto.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::{UserRole, Users};
[INFO] [stdout]   |                     ^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ACCEPT`, `AUTHORIZATION`, `CONTENT_TYPE`, `HeaderValue`, `Method`, and `serve::Listener`
[INFO] [stdout]  --> src/main.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | use axum::{Router, http::{HeaderValue, Method, header::{ACCEPT, AUTHORIZATION, CONTENT_TYPE}}, serve::Listener};
[INFO] [stdout]   |                           ^^^^^^^^^^^  ^^^^^^           ^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Connection`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Connection, PgConnection,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tower_http::cors::CorsLayer`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tower_http::cors::CorsLayer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> src/main.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let pool = Pool::builder()
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/main.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let addr = format!("{}:{}", host, port);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `jwt_secret`, `jwt_maxage`, and `port` are never read
[INFO] [stdout]   --> src/config.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout]  7 |     pub database_url: String,
[INFO] [stdout]  8 |     pub jwt_secret: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]  9 |     pub jwt_maxage: i64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 10 |     pub port: i16,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserRepository` is never constructed
[INFO] [stdout]  --> src/db/users.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct UserRepository<'a> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthRepository` is never constructed
[INFO] [stdout]  --> src/db/auth.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct AuthRepository {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `save_user` and `get_user` are never used
[INFO] [stdout]   --> src/db/auth.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl AuthRepository {
[INFO] [stdout]    | ------------------- associated functions in this implementation
[INFO] [stdout] 16 |
[INFO] [stdout] 17 |     pub fn save_user(){
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn get_user(){}
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RegisterUser` is never constructed
[INFO] [stdout]  --> src/dtos/register_dto.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct RegisterUser {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorResponse` is never constructed
[INFO] [stdout]   --> src/errors.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct ErrorResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ErrorMessage` is never used
[INFO] [stdout]   --> src/errors.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum ErrorMessage {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpError` is never constructed
[INFO] [stdout]   --> src/errors.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct HttpError {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `server_error`, `bad_request`, and `into_http_response` are never used
[INFO] [stdout]   --> src/errors.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl HttpError {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 68 |     pub fn new(message: impl Into<String>, status: StatusCode) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn server_error(message: impl Into<String>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn bad_request(message: impl Into<String>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn into_http_response(self) -> Response {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Users` is never constructed
[INFO] [stdout]   --> src/models.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Users {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.38s
[INFO] running `Command { std: "docker" "inspect" "6631ab0908bb32f248d1237c86a00edd7859182bef47db02224629ed83742c82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6631ab0908bb32f248d1237c86a00edd7859182bef47db02224629ed83742c82", kill_on_drop: false }`
[INFO] [stdout] 6631ab0908bb32f248d1237c86a00edd7859182bef47db02224629ed83742c82
