[INFO] cloning repository https://github.com/wobusbz/app
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wobusbz/app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwobusbz%2Fapp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwobusbz%2Fapp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 80a83d7509c44b54b4ff495da3173f942f902aa3
[INFO] checking wobusbz/app against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwobusbz%2Fapp" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/wobusbz/app
[INFO] finished tweaking git repo https://github.com/wobusbz/app
[INFO] tweaked toml for git repo https://github.com/wobusbz/app written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/wobusbz/app on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/wobusbz/app 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.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sqlx-rt v0.5.11
[INFO] [stderr]   Downloaded parking_lot_core v0.9.2
[INFO] [stderr]   Downloaded parking_lot v0.12.0
[INFO] [stderr]   Downloaded crc v2.1.0
[INFO] [stderr]   Downloaded ctor v0.1.22
[INFO] [stderr]   Downloaded async-task v4.2.0
[INFO] [stderr]   Downloaded crossbeam-queue v0.3.5
[INFO] [stderr]   Downloaded crc-catalog v1.1.1
[INFO] [stderr]   Downloaded local-channel v0.1.2
[INFO] [stderr]   Downloaded hashlink v0.7.0
[INFO] [stderr]   Downloaded local-waker v0.1.2
[INFO] [stderr]   Downloaded firestorm v0.5.0
[INFO] [stderr]   Downloaded zstd-safe v4.1.4+zstd.1.5.2
[INFO] [stderr]   Downloaded async-process v1.3.0
[INFO] [stderr]   Downloaded actix-web-codegen v4.0.0
[INFO] [stderr]   Downloaded actix-router v0.5.0
[INFO] [stderr]   Downloaded ron v0.7.0
[INFO] [stderr]   Downloaded tracing-core v0.1.24
[INFO] [stderr]   Downloaded hashbrown v0.12.0
[INFO] [stderr]   Downloaded config v0.13.0
[INFO] [stderr]   Downloaded sqlx v0.5.11
[INFO] [stderr]   Downloaded actix-http v3.0.4
[INFO] [stderr]   Downloaded signal-hook v0.3.13
[INFO] [stderr]   Downloaded value-bag v1.0.0-alpha.8
[INFO] [stderr]   Downloaded zstd v0.10.0+zstd.1.5.2
[INFO] [stderr]   Downloaded async-std v1.11.0
[INFO] [stderr]   Downloaded actix-web v4.0.1
[INFO] [stderr]   Downloaded sqlformat v0.1.8
[INFO] [stderr]   Downloaded polling v2.2.0
[INFO] [stderr]   Downloaded sqlx-core v0.5.11
[INFO] [stderr]   Downloaded async-global-executor v2.0.4
[INFO] [stderr]   Downloaded gloo-timers v0.2.3
[INFO] [stderr]   Downloaded async-lock v2.5.0
[INFO] [stderr]   Downloaded sqlx-macros v0.5.11
[INFO] [stderr]   Downloaded libc v0.2.122
[INFO] [stderr]   Downloaded zstd-sys v1.6.3+zstd.1.5.2
[INFO] [stderr]   Downloaded windows-sys v0.34.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 25fe0a0835c185e2404e21b978b45173fd0e9456795c55ab690ad741ffd10546
[INFO] running `Command { std: "docker" "start" "-a" "25fe0a0835c185e2404e21b978b45173fd0e9456795c55ab690ad741ffd10546", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "25fe0a0835c185e2404e21b978b45173fd0e9456795c55ab690ad741ffd10546", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25fe0a0835c185e2404e21b978b45173fd0e9456795c55ab690ad741ffd10546", kill_on_drop: false }`
[INFO] [stdout] 25fe0a0835c185e2404e21b978b45173fd0e9456795c55ab690ad741ffd10546
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6397718811ff7f18f91ca91ae14967b0f9b328342fbc666d911696b7481b4741
[INFO] running `Command { std: "docker" "start" "-a" "6397718811ff7f18f91ca91ae14967b0f9b328342fbc666d911696b7481b4741", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.122
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.8
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling libm v0.2.2
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]    Compiling signal-hook v0.3.13
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling cache-padded v1.2.0
[INFO] [stderr]    Compiling event-listener v2.5.2
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling parking_lot_core v0.9.2
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling num-bigint-dig v0.7.0
[INFO] [stderr]    Compiling futures-lite v1.12.0
[INFO] [stderr]    Compiling async-task v4.2.0
[INFO] [stderr]    Compiling async-channel v1.6.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling const-oid v0.6.2
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling async-mutex v1.4.0
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking ahash v0.7.6
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking tracing-core v0.1.24
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling crypto-bigint v0.2.11
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling async-executor v1.4.1
[INFO] [stderr]    Compiling blocking v1.2.0
[INFO] [stderr]    Compiling base64ct v1.1.1
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling crossbeam-queue v0.3.5
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]     Checking num-integer v0.1.44
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling pem-rfc7468 v0.2.4
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling der v0.4.5
[INFO] [stderr]    Compiling async-lock v2.5.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking indexmap v1.8.1
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.3
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]     Checking local-waker v0.1.2
[INFO] [stderr]    Compiling zstd-safe v4.1.4+zstd.1.5.2
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling zstd-sys v1.6.3+zstd.1.5.2
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling spki v0.4.1
[INFO] [stderr]    Compiling pest_meta v2.1.3
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]     Checking alloc-stdlib v0.2.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]    Compiling crc-catalog v1.1.1
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling crc v2.1.0
[INFO] [stderr]    Compiling futures-intrusive v0.4.0
[INFO] [stderr]     Checking brotli-decompressor v2.3.2
[INFO] [stderr]    Compiling hashlink v0.7.0
[INFO] [stderr]     Checking actix-utils v3.0.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling pest_generator v2.1.3
[INFO] [stderr]    Compiling atoi v0.4.0
[INFO] [stderr]     Checking hashbrown v0.12.0
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]    Compiling bytestring v1.0.0
[INFO] [stderr]    Compiling cookie v0.16.0
[INFO] [stderr]     Checking ucd-trie v0.1.3
[INFO] [stderr]    Compiling firestorm v0.5.0
[INFO] [stderr]     Checking dlv-list v0.3.0
[INFO] [stderr]     Checking time v0.3.9
[INFO] [stderr]     Checking pest v2.1.3
[INFO] [stderr]     Checking sqlformat v0.1.8
[INFO] [stderr]     Checking brotli v3.3.4
[INFO] [stderr]     Checking flate2 v1.0.22
[INFO] [stderr]     Checking sha-1 v0.10.0
[INFO] [stderr]     Checking ordered-multimap v0.4.3
[INFO] [stderr]     Checking local-channel v0.1.2
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]     Checking rust-ini v0.18.0
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]    Compiling ctor v0.1.22
[INFO] [stderr]    Compiling zeroize_derive v1.3.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling zeroize v1.4.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.20
[INFO] [stderr]     Checking mio v0.8.2
[INFO] [stderr]     Checking polling v2.2.0
[INFO] [stderr]     Checking async-io v1.6.0
[INFO] [stderr]     Checking tokio v1.17.0
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]     Checking async-global-executor v2.0.4
[INFO] [stderr]     Checking async-process v1.3.0
[INFO] [stderr]    Compiling pkcs1 v0.2.4
[INFO] [stderr]     Checking async-std v1.11.0
[INFO] [stderr]     Checking tracing v0.1.32
[INFO] [stderr]    Compiling pkcs8 v0.7.6
[INFO] [stderr]    Compiling actix-router v0.5.0
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling async-trait v0.1.53
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]     Checking rsa v0.5.0
[INFO] [stderr]    Compiling actix-web-codegen v4.0.0
[INFO] [stderr]     Checking async-native-tls v0.3.3
[INFO] [stderr]     Checking sqlx-rt v0.5.11
[INFO] [stderr]     Checking sqlx-core v0.5.11
[INFO] [stderr]     Checking tokio-util v0.7.1
[INFO] [stderr]     Checking actix-rt v2.7.0
[INFO] [stderr]     Checking actix-server v2.1.1
[INFO] [stderr]     Checking actix-codec v0.5.0
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking serde_json v1.0.79
[INFO] [stderr]     Checking ron v0.7.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking toml v0.5.8
[INFO] [stderr]     Checking config v0.13.0
[INFO] [stderr]    Compiling sqlx-macros v0.5.11
[INFO] [stderr]     Checking sqlx v0.5.11
[INFO] [stderr]     Checking zstd v0.10.0+zstd.1.5.2
[INFO] [stderr]     Checking actix-http v3.0.4
[INFO] [stderr]     Checking actix-web v4.0.1
[INFO] [stderr]     Checking temaple v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `user::*`
[INFO] [stdout]  --> src/model/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use user::*;
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dev::Response`
[INFO] [stdout]  --> src/main.rs:7:51
[INFO] [stdout]   |
[INFO] [stdout] 7 | use actix_web::{middleware, web, App, HttpServer, dev::Response};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `user::*`
[INFO] [stdout]  --> src/model/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use user::*;
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dev::Response`
[INFO] [stdout]  --> src/main.rs:7:51
[INFO] [stdout]   |
[INFO] [stdout] 7 | use actix_web::{middleware, web, App, HttpServer, dev::Response};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/dao/user.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn user_get_by_id(db: DB) {}
[INFO] [stdout]    |                       ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app_state`
[INFO] [stdout]   --> src/main.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | async fn index(app_state : web::Data<AppState>)  {
[INFO] [stdout]    |                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `index` is never used
[INFO] [stdout]   --> src/main.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | async fn index(app_state : web::Data<AppState>)  {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `mobile` are never read
[INFO] [stdout]  --> src/dao/user.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct HtUser {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 7 |     pub id: u64,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 8 |     pub mobile: String,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `HtUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `user_get_by_id` is never used
[INFO] [stdout]   --> src/dao/user.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn user_get_by_id(db: DB) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]  --> src/model/appstate.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct AppState {
[INFO] [stdout]   |            -------- field in this struct
[INFO] [stdout] 4 |     pub pool: Pool<MySql>,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/model/user.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct User {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NotFoundError` is never constructed
[INFO] [stdout]  --> src/utils/error/error.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum AppErrorType {
[INFO] [stdout]   |          ------------ variant in this enum
[INFO] [stdout] 6 |     DbError,
[INFO] [stdout] 7 |     NotFoundError
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `AppErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `code`, `message`, `cause`, and `error_type` are never read
[INFO] [stdout]   --> src/utils/error/error.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct AppError {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 12 |     pub code : i32,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 13 |     pub message :  Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 14 |     pub cause: Option<String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 15 |     pub error_type: AppErrorType,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | /     user_create(&pool).await.map(|row| {
[INFO] [stdout] 21 | |         println!("result: {:?}", row);
[INFO] [stdout] 22 | |     });
[INFO] [stdout]    | |______^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let _ = user_create(&pool).await.map(|row| {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/dao/user.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn user_get_by_id(db: DB) {}
[INFO] [stdout]    |                       ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app_state`
[INFO] [stdout]   --> src/main.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | async fn index(app_state : web::Data<AppState>)  {
[INFO] [stdout]    |                ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `index` is never used
[INFO] [stdout]   --> src/main.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | async fn index(app_state : web::Data<AppState>)  {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `mobile` are never read
[INFO] [stdout]  --> src/dao/user.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct HtUser {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 7 |     pub id: u64,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 8 |     pub mobile: String,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `HtUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `user_get_by_id` is never used
[INFO] [stdout]   --> src/dao/user.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn user_get_by_id(db: DB) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]  --> src/model/appstate.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct AppState {
[INFO] [stdout]   |            -------- field in this struct
[INFO] [stdout] 4 |     pub pool: Pool<MySql>,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/model/user.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct User {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NotFoundError` is never constructed
[INFO] [stdout]  --> src/utils/error/error.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum AppErrorType {
[INFO] [stdout]   |          ------------ variant in this enum
[INFO] [stdout] 6 |     DbError,
[INFO] [stdout] 7 |     NotFoundError
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `AppErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `code`, `message`, `cause`, and `error_type` are never read
[INFO] [stdout]   --> src/utils/error/error.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct AppError {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 12 |     pub code : i32,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 13 |     pub message :  Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 14 |     pub cause: Option<String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 15 |     pub error_type: AppErrorType,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | /     user_create(&pool).await.map(|row| {
[INFO] [stdout] 21 | |         println!("result: {:?}", row);
[INFO] [stdout] 22 | |     });
[INFO] [stdout]    | |______^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let _ = user_create(&pool).await.map(|row| {
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 59s
[INFO] running `Command { std: "docker" "inspect" "6397718811ff7f18f91ca91ae14967b0f9b328342fbc666d911696b7481b4741", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6397718811ff7f18f91ca91ae14967b0f9b328342fbc666d911696b7481b4741", kill_on_drop: false }`
[INFO] [stdout] 6397718811ff7f18f91ca91ae14967b0f9b328342fbc666d911696b7481b4741
