[INFO] cloning repository https://github.com/hoangganh1228/To_Do_List
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hoangganh1228/To_Do_List" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoangganh1228%2FTo_Do_List", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoangganh1228%2FTo_Do_List'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dcd67d074c6b12a4583f97a26a108fcca6d35d6d
[INFO] testing hoangganh1228/To_Do_List against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhoangganh1228%2FTo_Do_List" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hoangganh1228/To_Do_List
[INFO] finished tweaking git repo https://github.com/hoangganh1228/To_Do_List
[INFO] tweaked toml for git repo https://github.com/hoangganh1228/To_Do_List written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hoangganh1228/To_Do_List on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hoangganh1228/To_Do_List 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.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded typed-builder v0.20.1
[INFO] [stderr]   Downloaded rustls-pki-types v1.13.0
[INFO] [stderr]   Downloaded typed-builder-macro v0.20.1
[INFO] [stderr]   Downloaded rustc_version_runtime v0.3.0
[INFO] [stderr]   Downloaded mongodb-internal-macros v3.3.0
[INFO] [stderr]   Downloaded macro_magic_macros v0.5.1
[INFO] [stderr]   Downloaded macro_magic_core v0.5.1
[INFO] [stderr]   Downloaded macro_magic_core_macros v0.5.1
[INFO] [stderr]   Downloaded mongocrypt-sys v0.1.4+1.12.0
[INFO] [stderr]   Downloaded simple_asn1 v0.6.3
[INFO] [stderr]   Downloaded resolv-conf v0.7.5
[INFO] [stderr]   Downloaded derive-syn-parse v0.2.0
[INFO] [stderr]   Downloaded macro_magic v0.5.1
[INFO] [stderr]   Downloaded find-msvc-tools v0.1.4
[INFO] [stderr]   Downloaded mongocrypt v0.3.1
[INFO] [stderr]   Downloaded serde_with_macros v3.15.1
[INFO] [stderr]   Downloaded icu_properties v2.1.1
[INFO] [stderr]   Downloaded jsonwebtoken v10.1.0
[INFO] [stderr]   Downloaded schemars v1.0.5
[INFO] [stderr]   Downloaded hickory-resolver v0.24.4
[INFO] [stderr]   Downloaded cc v1.2.44
[INFO] [stderr]   Downloaded hyper-util v0.1.17
[INFO] [stderr]   Downloaded bson v2.15.0
[INFO] [stderr]   Downloaded num-bigint-dig v0.8.5
[INFO] [stderr]   Downloaded webpki-roots v1.0.4
[INFO] [stderr]   Downloaded icu_properties_data v2.1.1
[INFO] [stderr]   Downloaded serde_with v3.15.1
[INFO] [stderr]   Downloaded mongodb v3.3.0
[INFO] [stderr]   Downloaded rustls v0.23.34
[INFO] [stderr]   Downloaded hickory-proto v0.24.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7fe35e7d14d8ed734bf8a7b3007dbe9da3f345e53b524b4a7a11fdd9a8abd6cf
[INFO] running `Command { std: "docker" "start" "7fe35e7d14d8ed734bf8a7b3007dbe9da3f345e53b524b4a7a11fdd9a8abd6cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7fe35e7d14d8ed734bf8a7b3007dbe9da3f345e53b524b4a7a11fdd9a8abd6cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7fe35e7d14d8ed734bf8a7b3007dbe9da3f345e53b524b4a7a11fdd9a8abd6cf" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7fe35e7d14d8ed734bf8a7b3007dbe9da3f345e53b524b4a7a11fdd9a8abd6cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7fe35e7d14d8ed734bf8a7b3007dbe9da3f345e53b524b4a7a11fdd9a8abd6cf" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling base64ct v1.8.0
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling cc v1.2.44
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling base16ct v0.2.0
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling rustls-pki-types v1.13.0
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling indexmap v2.12.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling ff v0.13.1
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling num-bigint-dig v0.8.5
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling rustls v0.23.34
[INFO] [stderr]    Compiling mongocrypt-sys v0.1.4+1.12.0
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling rustc_version_runtime v0.3.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling ed25519 v2.2.3
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling webpki-roots v1.0.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling resolv-conf v0.7.5
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling serde_bytes v0.11.19
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling pem v3.0.6
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling ecdsa v0.16.9
[INFO] [stderr]    Compiling primeorder v0.13.6
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling bcrypt v0.17.1
[INFO] [stderr]    Compiling p256 v0.13.2
[INFO] [stderr]    Compiling p384 v0.13.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling rsa v0.9.8
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.21.3
[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 tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.1
[INFO] [stderr]    Compiling derive-syn-parse v0.2.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]    Compiling typed-builder-macro v0.20.1
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling macro_magic_core v0.5.1
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling rustls-webpki v0.103.8
[INFO] [stderr]    Compiling derive-where v1.6.0
[INFO] [stderr]    Compiling macro_magic_macros v0.5.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling macro_magic v0.5.1
[INFO] [stderr]    Compiling mongodb-internal-macros v3.3.0
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling ed25519-dalek v2.2.0
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling typed-builder v0.20.1
[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 darling_macro v0.21.3
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling serde_with_macros v3.15.1
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling jsonwebtoken v10.1.0
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling serde_with v3.15.1
[INFO] [stderr]    Compiling bson v2.15.0
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling axum-core v0.4.5
[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 mongocrypt v0.3.1
[INFO] [stderr]    Compiling hickory-proto v0.24.4
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling hyper-util v0.1.17
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling hickory-resolver v0.24.4
[INFO] [stderr]    Compiling mongodb v3.3.0
[INFO] [stderr]    Compiling to_do_list v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `IntoResponse`, `Query`, and `http::StatusCode`
[INFO] [stdout]  --> src/handlers/user_handler.rs:2:3
[INFO] [stdout]   |
[INFO] [stdout] 2 |   http::StatusCode, 
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 3 |   extract::{State, Path, Query},
[INFO] [stdout]   |                          ^^^^^
[INFO] [stdout] 4 |   response::{Json, IntoResponse},
[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: `IntoResponse` and `Query`
[INFO] [stdout]  --> src/handlers/task_handler.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 |   extract::{State, Path, Query},
[INFO] [stdout]   |                          ^^^^^
[INFO] [stdout] 4 |   response::{Json, IntoResponse},
[INFO] [stdout]   |                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DateTime`
[INFO] [stdout]   --> src/handlers/task_handler.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | use chrono::{DateTime, Utc};
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId`
[INFO] [stdout]  --> src/dtos/task_dto.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use mongodb::bson::oid::ObjectId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeaderMap`
[INFO] [stdout]  --> src/auth/middleware.rs:4:40
[INFO] [stdout]   |
[INFO] [stdout] 4 |     http::{request::Parts, StatusCode, HeaderMap},
[INFO] [stdout]   |                                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Claims`
[INFO] [stdout]   --> src/auth/middleware.rs:11:26
[INFO] [stdout]    |
[INFO] [stdout] 11 |   use crate::auth::jwt::{Claims, verify_token};
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `jwt::*`
[INFO] [stdout]  --> src/auth/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use jwt::*;
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `middleware::*`
[INFO] [stdout]  --> src/auth/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use middleware::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ErrorResponse`
[INFO] [stdout]  --> src/utils/mod.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use errors::{AppError, ErrorResponse};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::Router`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use axum::Router;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> src/handlers/task_handler.rs:207:7
[INFO] [stdout]     |
[INFO] [stdout] 207 |   let result = collection.update_one(filter, mongodb::bson::doc! { "$set": { "deleted": true } })
[INFO] [stdout]     |       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/auth/middleware.rs:71:7
[INFO] [stdout]    |
[INFO] [stdout] 71 |       state: &S
[INFO] [stdout]    |       ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TaskQuery` is never constructed
[INFO] [stdout]   --> src/handlers/task_handler.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct TaskQuery {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `email` is never read
[INFO] [stdout]   --> src/auth/middleware.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |   pub struct AuthenticatedUser {
[INFO] [stdout]    |              ----------------- field in this struct
[INFO] [stdout] 54 |     pub user_id: String,
[INFO] [stdout] 55 |     pub email: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthenticatedUser` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unauthorized` is never used
[INFO] [stdout]   --> src/utils/errors.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl AppError {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |   pub fn unauthorized(message: impl Into<String>) -> Self {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `app_error`, `conflict`, `not_found`, and `forbidden` are never used
[INFO] [stdout]   --> src/utils/result_ext.rs:5:6
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub trait ResultExt<T, E> {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout]  5 |   fn app_error(self, status: StatusCode, error: impl Into<String>) -> Result<T, AppError>;
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  8 |   fn conflict(self, msg: impl Into<String>) -> Result<T, AppError>;
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout]  9 |   fn not_found(self, msg: impl Into<String>) -> Result<T, AppError>;
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 10 |   fn forbidden(self, msg: impl Into<String>) -> Result<T, AppError>;
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.5
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "7fe35e7d14d8ed734bf8a7b3007dbe9da3f345e53b524b4a7a11fdd9a8abd6cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7fe35e7d14d8ed734bf8a7b3007dbe9da3f345e53b524b4a7a11fdd9a8abd6cf" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling to_do_list v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `IntoResponse`, `Query`, and `http::StatusCode`
[INFO] [stdout]  --> src/handlers/user_handler.rs:2:3
[INFO] [stdout]   |
[INFO] [stdout] 2 |   http::StatusCode, 
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 3 |   extract::{State, Path, Query},
[INFO] [stdout]   |                          ^^^^^
[INFO] [stdout] 4 |   response::{Json, IntoResponse},
[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: `IntoResponse` and `Query`
[INFO] [stdout]  --> src/handlers/task_handler.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 |   extract::{State, Path, Query},
[INFO] [stdout]   |                          ^^^^^
[INFO] [stdout] 4 |   response::{Json, IntoResponse},
[INFO] [stdout]   |                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DateTime`
[INFO] [stdout]   --> src/handlers/task_handler.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 | use chrono::{DateTime, Utc};
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId`
[INFO] [stdout]  --> src/dtos/task_dto.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use mongodb::bson::oid::ObjectId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeaderMap`
[INFO] [stdout]  --> src/auth/middleware.rs:4:40
[INFO] [stdout]   |
[INFO] [stdout] 4 |     http::{request::Parts, StatusCode, HeaderMap},
[INFO] [stdout]   |                                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Claims`
[INFO] [stdout]   --> src/auth/middleware.rs:11:26
[INFO] [stdout]    |
[INFO] [stdout] 11 |   use crate::auth::jwt::{Claims, verify_token};
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `jwt::*`
[INFO] [stdout]  --> src/auth/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use jwt::*;
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `middleware::*`
[INFO] [stdout]  --> src/auth/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use middleware::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ErrorResponse`
[INFO] [stdout]  --> src/utils/mod.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use errors::{AppError, ErrorResponse};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::Router`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use axum::Router;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> src/handlers/task_handler.rs:207:7
[INFO] [stdout]     |
[INFO] [stdout] 207 |   let result = collection.update_one(filter, mongodb::bson::doc! { "$set": { "deleted": true } })
[INFO] [stdout]     |       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/auth/middleware.rs:71:7
[INFO] [stdout]    |
[INFO] [stdout] 71 |       state: &S
[INFO] [stdout]    |       ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TaskQuery` is never constructed
[INFO] [stdout]   --> src/handlers/task_handler.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct TaskQuery {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `email` is never read
[INFO] [stdout]   --> src/auth/middleware.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |   pub struct AuthenticatedUser {
[INFO] [stdout]    |              ----------------- field in this struct
[INFO] [stdout] 54 |     pub user_id: String,
[INFO] [stdout] 55 |     pub email: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthenticatedUser` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unauthorized` is never used
[INFO] [stdout]   --> src/utils/errors.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl AppError {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |   pub fn unauthorized(message: impl Into<String>) -> Self {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `app_error`, `conflict`, `not_found`, and `forbidden` are never used
[INFO] [stdout]   --> src/utils/result_ext.rs:5:6
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub trait ResultExt<T, E> {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout]  5 |   fn app_error(self, status: StatusCode, error: impl Into<String>) -> Result<T, AppError>;
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  8 |   fn conflict(self, msg: impl Into<String>) -> Result<T, AppError>;
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout]  9 |   fn not_found(self, msg: impl Into<String>) -> Result<T, AppError>;
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 10 |   fn forbidden(self, msg: impl Into<String>) -> Result<T, AppError>;
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.66s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.5
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "7fe35e7d14d8ed734bf8a7b3007dbe9da3f345e53b524b4a7a11fdd9a8abd6cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7fe35e7d14d8ed734bf8a7b3007dbe9da3f345e53b524b4a7a11fdd9a8abd6cf" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `IntoResponse`, `Query`, and `http::StatusCode`
[INFO] [stderr]  --> src/handlers/user_handler.rs:2:3
[INFO] [stderr]   |
[INFO] [stderr] 2 |   http::StatusCode, 
[INFO] [stderr]   |   ^^^^^^^^^^^^^^^^
[INFO] [stderr] 3 |   extract::{State, Path, Query},
[INFO] [stderr]   |                          ^^^^^
[INFO] [stderr] 4 |   response::{Json, IntoResponse},
[INFO] [stderr]   |                    ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `IntoResponse` and `Query`
[INFO] [stderr]  --> src/handlers/task_handler.rs:3:26
[INFO] [stderr]   |
[INFO] [stderr] 3 |   extract::{State, Path, Query},
[INFO] [stderr]   |                          ^^^^^
[INFO] [stderr] 4 |   response::{Json, IntoResponse},
[INFO] [stderr]   |                    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `DateTime`
[INFO] [stderr]   --> src/handlers/task_handler.rs:14:14
[INFO] [stderr]    |
[INFO] [stderr] 14 | use chrono::{DateTime, Utc};
[INFO] [stderr]    |              ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `mongodb::bson::oid::ObjectId`
[INFO] [stderr]  --> src/dtos/task_dto.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use mongodb::bson::oid::ObjectId;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HeaderMap`
[INFO] [stderr]  --> src/auth/middleware.rs:4:40
[INFO] [stderr]   |
[INFO] [stderr] 4 |     http::{request::Parts, StatusCode, HeaderMap},
[INFO] [stderr]   |                                        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Claims`
[INFO] [stderr]   --> src/auth/middleware.rs:11:26
[INFO] [stderr]    |
[INFO] [stderr] 11 |   use crate::auth::jwt::{Claims, verify_token};
[INFO] [stderr]    |                          ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `jwt::*`
[INFO] [stderr]  --> src/auth/mod.rs:4:9
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub use jwt::*;
[INFO] [stderr]   |         ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `middleware::*`
[INFO] [stderr]  --> src/auth/mod.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub use middleware::*;
[INFO] [stderr]   |         ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ErrorResponse`
[INFO] [stderr]  --> src/utils/mod.rs:4:28
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub use errors::{AppError, ErrorResponse};
[INFO] [stderr]   |                            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `axum::Router`
[INFO] [stderr]  --> src/main.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use axum::Router;
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `result`
[INFO] [stderr]    --> src/handlers/task_handler.rs:207:7
[INFO] [stderr]     |
[INFO] [stderr] 207 |   let result = collection.update_one(filter, mongodb::bson::doc! { "$set": { "deleted": true } })
[INFO] [stderr]     |       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `state`
[INFO] [stderr]   --> src/auth/middleware.rs:71:7
[INFO] [stderr]    |
[INFO] [stderr] 71 |       state: &S
[INFO] [stderr]    |       ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TaskQuery` is never constructed
[INFO] [stderr]   --> src/handlers/task_handler.rs:19:12
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub struct TaskQuery {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `email` is never read
[INFO] [stderr]   --> src/auth/middleware.rs:55:9
[INFO] [stderr]    |
[INFO] [stderr] 53 |   pub struct AuthenticatedUser {
[INFO] [stderr]    |              ----------------- field in this struct
[INFO] [stderr] 54 |     pub user_id: String,
[INFO] [stderr] 55 |     pub email: String,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `AuthenticatedUser` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `unauthorized` is never used
[INFO] [stderr]   --> src/utils/errors.rs:30:10
[INFO] [stderr]    |
[INFO] [stderr] 17 | impl AppError {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 30 |   pub fn unauthorized(message: impl Into<String>) -> Self {
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `app_error`, `conflict`, `not_found`, and `forbidden` are never used
[INFO] [stderr]   --> src/utils/result_ext.rs:5:6
[INFO] [stderr]    |
[INFO] [stderr]  4 | pub trait ResultExt<T, E> {
[INFO] [stderr]    |           --------- methods in this trait
[INFO] [stderr]  5 |   fn app_error(self, status: StatusCode, error: impl Into<String>) -> Result<T, AppError>;
[INFO] [stderr]    |      ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  8 |   fn conflict(self, msg: impl Into<String>) -> Result<T, AppError>;
[INFO] [stderr]    |      ^^^^^^^^
[INFO] [stderr]  9 |   fn not_found(self, msg: impl Into<String>) -> Result<T, AppError>;
[INFO] [stderr]    |      ^^^^^^^^^
[INFO] [stderr] 10 |   fn forbidden(self, msg: impl Into<String>) -> Result<T, AppError>;
[INFO] [stderr]    |      ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `to_do_list` (bin "to_do_list" test) generated 16 warnings (run `cargo fix --bin "to_do_list" -p to_do_list --tests` to apply 12 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.5
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/to_do_list-4a16de57d976b671)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "7fe35e7d14d8ed734bf8a7b3007dbe9da3f345e53b524b4a7a11fdd9a8abd6cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7fe35e7d14d8ed734bf8a7b3007dbe9da3f345e53b524b4a7a11fdd9a8abd6cf", kill_on_drop: false }`
[INFO] [stdout] 7fe35e7d14d8ed734bf8a7b3007dbe9da3f345e53b524b4a7a11fdd9a8abd6cf
