[INFO] cloning repository https://github.com/shame41/rust_web
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shame41/rust_web" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshame41%2Frust_web", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshame41%2Frust_web'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c8198b3d68de68e683f439e85a23a2363fb5a224
[INFO] testing shame41/rust_web against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshame41%2Frust_web" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shame41/rust_web
[INFO] finished tweaking git repo https://github.com/shame41/rust_web
[INFO] tweaked toml for git repo https://github.com/shame41/rust_web written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shame41/rust_web on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shame41/rust_web 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.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: /workspace/builds/worker-6-tc1/source/webservice/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
[INFO] [stderr] (in the `sqlx` dependency)
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v1.0.20
[INFO] [stderr]   Downloaded futures-macro v0.3.21
[INFO] [stderr]   Downloaded actix-rt v2.7.0
[INFO] [stderr]   Downloaded sha1 v0.10.1
[INFO] [stderr]   Downloaded local-channel v0.1.3
[INFO] [stderr]   Downloaded actix-cors v0.6.1
[INFO] [stderr]   Downloaded miniz_oxide v0.5.3
[INFO] [stderr]   Downloaded time v0.3.11
[INFO] [stderr]   Downloaded rust_decimal v1.25.0
[INFO] [stderr]   Downloaded flate2 v1.0.24
[INFO] [stderr]   Downloaded tokio-util v0.7.3
[INFO] [stderr]   Downloaded actix-web v4.1.0
[INFO] [stderr]   Downloaded syn v1.0.98
[INFO] [stderr]   Downloaded sea-query v0.24.6
[INFO] [stderr]   Downloaded sqlx-core v0.5.13
[INFO] [stderr]   Downloaded num-bigint v0.3.3
[INFO] [stderr]   Downloaded openssl v0.10.40
[INFO] [stderr]   Downloaded rustls v0.20.6
[INFO] [stderr]   Downloaded mio v0.8.4
[INFO] [stderr]   Downloaded actix-http v3.1.0
[INFO] [stderr]   Downloaded sqlx v0.5.13
[INFO] [stderr]   Downloaded sqlx v0.6.0
[INFO] [stderr]   Downloaded async-trait v0.1.56
[INFO] [stderr]   Downloaded webpki-roots v0.22.3
[INFO] [stderr]   Downloaded sea-orm v0.8.0
[INFO] [stderr]   Downloaded sqlx-core v0.6.0
[INFO] [stderr]   Downloaded hashbrown v0.12.1
[INFO] [stderr]   Downloaded unicode-normalization v0.1.20
[INFO] [stderr]   Downloaded actix-server v2.1.1
[INFO] [stderr]   Downloaded env_logger v0.8.4
[INFO] [stderr]   Downloaded openssl-sys v0.9.74
[INFO] [stderr]   Downloaded sqlx-rt v0.6.0
[INFO] [stderr]   Downloaded sea-query-derive v0.2.0
[INFO] [stderr]   Downloaded tokio v1.19.2
[INFO] [stderr]   Downloaded sea-query-driver v0.1.1
[INFO] [stderr]   Downloaded crossbeam-queue v0.3.5
[INFO] [stderr]   Downloaded paste v1.0.7
[INFO] [stderr]   Downloaded smallvec v1.8.1
[INFO] [stderr]   Downloaded web-sys v0.3.58
[INFO] [stderr]   Downloaded sqlx-rt v0.5.13
[INFO] [stderr]   Downloaded sqlx-macros v0.5.13
[INFO] [stderr]   Downloaded tracing v0.1.35
[INFO] [stderr]   Downloaded bytestring v1.1.0
[INFO] [stderr]   Downloaded zstd-sys v2.0.1+zstd.1.5.2
[INFO] [stderr]   Downloaded semver v1.0.10
[INFO] [stderr]   Downloaded atoi v1.0.0
[INFO] [stderr]   Downloaded hashlink v0.8.0
[INFO] [stderr]   Downloaded rustls-pemfile v1.0.0
[INFO] [stderr]   Downloaded ouroboros_macro v0.15.0
[INFO] [stderr]   Downloaded ouroboros v0.15.0
[INFO] [stderr]   Downloaded sea-orm-macros v0.8.0
[INFO] [stderr]   Downloaded rustversion v1.0.7
[INFO] [stderr]   Downloaded sea-strum v0.23.0
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.10
[INFO] [stderr]   Downloaded md-5 v0.10.1
[INFO] [stderr]   Downloaded tokio-stream v0.1.9
[INFO] [stderr]   Downloaded whoami v1.2.1
[INFO] [stderr]   Downloaded const_fn v0.4.9
[INFO] [stderr]   Downloaded tracing-core v0.1.28
[INFO] [stderr]   Downloaded local-waker v0.1.3
[INFO] [stderr]   Downloaded actix-web-codegen v4.0.1
[INFO] [stderr]   Downloaded sqlx-macros v0.6.0
[INFO] [stderr]   Downloaded bae v0.1.7
[INFO] [stderr]   Downloaded sea-strum_macros v0.23.0
[INFO] [stderr]   Downloaded firestorm v0.5.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.40
[INFO] [stderr]   Downloaded unicode-ident v1.0.1
[INFO] [stderr]   Downloaded getrandom v0.2.7
[INFO] [stderr]   Downloaded brotli v3.3.4
[INFO] [stderr]   Downloaded openssl-src v111.21.0+1.1.1p
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 97aece9d67d0be31fb6047c702c01c4b2f81f67e7e250ec1eee4da46f3bc663d
[INFO] running `Command { std: "docker" "start" "-a" "97aece9d67d0be31fb6047c702c01c4b2f81f67e7e250ec1eee4da46f3bc663d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97aece9d67d0be31fb6047c702c01c4b2f81f67e7e250ec1eee4da46f3bc663d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97aece9d67d0be31fb6047c702c01c4b2f81f67e7e250ec1eee4da46f3bc663d", kill_on_drop: false }`
[INFO] [stdout] 97aece9d67d0be31fb6047c702c01c4b2f81f67e7e250ec1eee4da46f3bc663d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f98bdc15aa17aa18896a5947944243875c5a2880148cc32415089647a1317bc8
[INFO] running `Command { std: "docker" "start" "-a" "f98bdc15aa17aa18896a5947944243875c5a2880148cc32415089647a1317bc8", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: /opt/rustwide/workdir/webservice/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
[INFO] [stderr] (in the `sqlx` dependency)
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling smallvec v1.8.1
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling crossbeam-utils v0.8.10
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling tracing-core v0.1.28
[INFO] [stderr]    Compiling hashbrown v0.12.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.5
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling tokio v1.19.2
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling const_fn v0.4.9
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling futures-intrusive v0.4.0
[INFO] [stderr]    Compiling hkdf v0.12.3
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling sha2 v0.10.2
[INFO] [stderr]    Compiling md-5 v0.10.1
[INFO] [stderr]    Compiling sha-1 v0.10.0
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling zstd-sys v2.0.1+zstd.1.5.2
[INFO] [stderr]    Compiling time v0.2.27
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling event-listener v2.5.2
[INFO] [stderr]    Compiling rust_decimal v1.25.0
[INFO] [stderr]    Compiling whoami v1.2.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.20
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]    Compiling rustls v0.20.6
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling sqlformat v0.1.8
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling rustversion v1.0.7
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling crc-catalog v1.1.1
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.3
[INFO] [stderr]    Compiling local-waker v0.1.3
[INFO] [stderr]    Compiling crc v2.1.0
[INFO] [stderr]    Compiling alloc-stdlib v0.2.1
[INFO] [stderr]    Compiling atoi v0.4.0
[INFO] [stderr]    Compiling openssl-src v111.21.0+1.1.1p
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling bytestring v1.1.0
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling miniz_oxide v0.5.3
[INFO] [stderr]    Compiling hashlink v0.7.0
[INFO] [stderr]    Compiling brotli-decompressor v2.3.2
[INFO] [stderr]    Compiling actix-utils v3.0.0
[INFO] [stderr]    Compiling actix-service v2.0.2
[INFO] [stderr]    Compiling cookie v0.16.0
[INFO] [stderr]    Compiling firestorm v0.5.1
[INFO] [stderr]    Compiling async-trait v0.1.56
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling time v0.3.11
[INFO] [stderr]    Compiling openssl-sys v0.9.74
[INFO] [stderr]    Compiling hashlink v0.8.0
[INFO] [stderr]    Compiling atoi v1.0.0
[INFO] [stderr]    Compiling flate2 v1.0.24
[INFO] [stderr]    Compiling sha1 v0.10.1
[INFO] [stderr]    Compiling brotli v3.3.4
[INFO] [stderr]    Compiling rustls-pemfile v1.0.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling openssl v0.10.40
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling tokio-stream v0.1.9
[INFO] [stderr]    Compiling sct v0.6.1
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling rustls v0.19.1
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling webpki-roots v0.21.1
[INFO] [stderr]    Compiling webpki-roots v0.22.3
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling time-macros-impl v0.1.2
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]    Compiling tokio-rustls v0.22.0
[INFO] [stderr]    Compiling sqlx-rt v0.5.13
[INFO] [stderr]    Compiling actix-rt v2.7.0
[INFO] [stderr]    Compiling thiserror v1.0.31
[INFO] [stderr]    Compiling sea-query-driver v0.1.1
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling sea-query-derive v0.2.0
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling sqlx-rt v0.6.0
[INFO] [stderr]    Compiling sea-strum_macros v0.23.0
[INFO] [stderr]    Compiling tracing v0.1.35
[INFO] [stderr]    Compiling tokio-util v0.7.3
[INFO] [stderr]    Compiling async-stream-impl v0.3.3
[INFO] [stderr]    Compiling bae v0.1.7
[INFO] [stderr]    Compiling ouroboros_macro v0.15.0
[INFO] [stderr]    Compiling actix-codec v0.5.0
[INFO] [stderr]    Compiling async-stream v0.3.3
[INFO] [stderr]    Compiling sea-orm-macros v0.8.0
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling sea-strum v0.23.0
[INFO] [stderr]    Compiling ouroboros v0.15.0
[INFO] [stderr]    Compiling h2 v0.3.13
[INFO] [stderr]    Compiling local-channel v0.1.3
[INFO] [stderr]    Compiling futures-executor v0.3.21
[INFO] [stderr]    Compiling actix-server v2.1.1
[INFO] [stderr]    Compiling futures v0.3.21
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling actix-router v0.5.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling actix-web-codegen v4.0.1
[INFO] [stderr]    Compiling sqlx-core v0.5.13
[INFO] [stderr]    Compiling sqlx-core v0.6.0
[INFO] [stderr]    Compiling sea-query v0.24.6
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling actix-http v3.1.0
[INFO] [stderr]    Compiling sqlx-macros v0.5.13
[INFO] [stderr]    Compiling sqlx-macros v0.6.0
[INFO] [stderr]    Compiling actix-web v4.1.0
[INFO] [stderr]    Compiling sqlx v0.5.13
[INFO] [stderr]    Compiling sea-orm v0.8.0
[INFO] [stderr]    Compiling sqlx v0.6.0
[INFO] [stderr]    Compiling actix-cors v0.6.1
[INFO] [stderr]    Compiling entity v0.1.0 (/opt/rustwide/workdir/webservice/src/entity)
[INFO] [stderr]    Compiling webservice v0.1.0 (/opt/rustwide/workdir/webservice)
[INFO] [stdout] warning: unused imports: `Result`, `error`, `get`, and `middleware::Logger`
[INFO] [stdout]  --> webservice/src/bin/main-service.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, error, get, middleware::Logger, App, HttpServer, Result};
[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: `sea_orm::Database`
[INFO] [stdout]  --> webservice/src/bin/main-service.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sea_orm::Database;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]  --> webservice/src/bin/main-service.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use log::info;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::state::app_state::*`
[INFO] [stdout]  --> webservice/src/bin/../handlers/first_handler.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::state::app_state::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App` and `web`
[INFO] [stdout]  --> webservice/src/bin/../handlers/first_handler.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::{web, App, HttpResponse};
[INFO] [stdout]   |                 ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::user`
[INFO] [stdout]  --> webservice/src/bin/../handlers/first_handler.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::user;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response_state`
[INFO] [stdout]  --> webservice/src/bin/../handlers/user_handlers.rs:1:50
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{state::{app_state::*, request_state, response_state}, errors::MyError};
[INFO] [stdout]   |                                                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `App`
[INFO] [stdout]  --> webservice/src/bin/../handlers/user_handlers.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::{web, App, HttpResponse};
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::descriptor::*`
[INFO] [stdout]  --> webservice/src/bin/../handlers/user_handlers.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::models::descriptor::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::Executor`
[INFO] [stdout]  --> webservice/src/bin/../handlers/user_handlers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sqlx::Executor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error` and `error`
[INFO] [stdout]  --> webservice/src/bin/../handlers/user_handlers.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use actix_web::{error, Result, Error};
[INFO] [stdout]   |                 ^^^^^          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `App`
[INFO] [stdout]  --> webservice/src/bin/../handlers/article_handlers.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, App, HttpResponse};
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `App`
[INFO] [stdout]  --> webservice/src/bin/../handlers/draft_handlers.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, App, HttpResponse};
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `descriptor::*` and `markdown::*`
[INFO] [stdout]  --> webservice/src/bin/../handlers/draft_handlers.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::{descriptor::*, markdown::*};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response_state`
[INFO] [stdout]  --> webservice/src/bin/../handlers/draft_handlers.rs:4:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::state::{app_state::*, request_state, response_state};
[INFO] [stdout]   |                                                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `App`
[INFO] [stdout]  --> webservice/src/bin/../handlers/admin_handlers.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, App, HttpResponse};
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `descriptor::*` and `markdown::*`
[INFO] [stdout]  --> webservice/src/bin/../handlers/admin_handlers.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::{descriptor::*, markdown::*};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response_state`
[INFO] [stdout]  --> webservice/src/bin/../handlers/admin_handlers.rs:4:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::state::{app_state::*, request_state, response_state};
[INFO] [stdout]   |                                                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `createTagInfo` should have an upper camel case name
[INFO] [stdout]    --> webservice/src/bin/../state/request_state.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub struct createTagInfo {
[INFO] [stdout]     |            ^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `CreateTagInfo`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::web`
[INFO] [stdout]  --> webservice/src/bin/../state/response_state.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::web;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::user::*`
[INFO] [stdout]  --> webservice/src/bin/../state/response_state.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::user::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::web`
[INFO] [stdout]  --> webservice/src/bin/../models/user.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::web;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::web`
[INFO] [stdout]  --> webservice/src/bin/../models/descriptor.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::web;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> webservice/src/bin/../models/descriptor.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::web`
[INFO] [stdout]  --> webservice/src/bin/../models/markdown.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::web;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> webservice/src/bin/../models/markdown.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models::user::*`
[INFO] [stdout]  --> webservice/src/bin/../db/users.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{models::user::*, state::response_state, errors::MyError};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Executor`
[INFO] [stdout]  --> webservice/src/bin/../db/users.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{postgres::PgPool, Executor};
[INFO] [stdout]   |                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> webservice/src/bin/../db/articles.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models::user::*`
[INFO] [stdout]  --> webservice/src/bin/../db/articles.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{models::user::*, errors::MyError};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Executor`
[INFO] [stdout]  --> webservice/src/bin/../db/articles.rs:4:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::{postgres::PgPool, Executor};
[INFO] [stdout]   |                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models::user::*`
[INFO] [stdout]  --> webservice/src/bin/../db/drafts.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{models::user::*, state::response_state, errors::MyError};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Executor`
[INFO] [stdout]  --> webservice/src/bin/../db/drafts.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{postgres::PgPool, Executor};
[INFO] [stdout]   |                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models::user::*`
[INFO] [stdout]  --> webservice/src/bin/../db/admins.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{models::user::*, state::response_state, errors::MyError};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Executor`
[INFO] [stdout]  --> webservice/src/bin/../db/admins.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{postgres::PgPool, Executor};
[INFO] [stdout]   |                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `comment::*`, `descriptor::*`, `markdown::*`, and `user::*`
[INFO] [stdout]   --> webservice/src/bin/main-service.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::models::{user::*, comment::*, markdown::*, descriptor::*};
[INFO] [stdout]    |                     ^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `routers::*`
[INFO] [stdout]   --> webservice/src/bin/main-service.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use routers::*;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sea_orm::entity::prelude`
[INFO] [stdout]  --> webservice/src/bin/../models/user.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sea_orm::entity::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]  --> webservice/src/bin/../db/users.rs:4:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn post_user_login(pool: &PgPool, email: String, password: String) 
[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: `email`
[INFO] [stdout]  --> webservice/src/bin/../db/users.rs:4:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn post_user_login(pool: &PgPool, email: String, password: String) 
[INFO] [stdout]   |                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_email`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password`
[INFO] [stdout]  --> webservice/src/bin/../db/users.rs:4:60
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn post_user_login(pool: &PgPool, email: String, password: String) 
[INFO] [stdout]   |                                                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> webservice/src/bin/../db/users.rs:27:31
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub async fn get_user_account(pool: &PgPool, email: String, password: String) 
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `email`
[INFO] [stdout]   --> webservice/src/bin/../db/users.rs:27:46
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub async fn get_user_account(pool: &PgPool, email: String, password: String) 
[INFO] [stdout]    |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_email`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password`
[INFO] [stdout]   --> webservice/src/bin/../db/users.rs:27:61
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub async fn get_user_account(pool: &PgPool, email: String, password: String) 
[INFO] [stdout]    |                                                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app_state`
[INFO] [stdout]    --> webservice/src/bin/../handlers/user_handlers.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 |     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: unused variable: `pool`
[INFO] [stdout]  --> webservice/src/bin/../db/articles.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn get_article_articles(pool: &PgPool, current_page: i32, page_size: i32) 
[INFO] [stdout]   |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_page`
[INFO] [stdout]  --> webservice/src/bin/../db/articles.rs:6:50
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn get_article_articles(pool: &PgPool, current_page: i32, page_size: i32) 
[INFO] [stdout]   |                                                  ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_page`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_size`
[INFO] [stdout]  --> webservice/src/bin/../db/articles.rs:6:69
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn get_article_articles(pool: &PgPool, current_page: i32, page_size: i32) 
[INFO] [stdout]   |                                                                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]    --> webservice/src/bin/../db/articles.rs:151:33
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub async fn get_article_detail(pool: &PgPool, id: i32) 
[INFO] [stdout]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> webservice/src/bin/../db/articles.rs:151:48
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub async fn get_article_detail(pool: &PgPool, id: i32) 
[INFO] [stdout]     |                                                ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]    --> webservice/src/bin/../db/articles.rs:193:31
[INFO] [stdout]     |
[INFO] [stdout] 193 | pub async fn get_article_tags(pool: &PgPool) 
[INFO] [stdout]     |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]    --> webservice/src/bin/../db/articles.rs:308:34
[INFO] [stdout]     |
[INFO] [stdout] 308 | pub async fn get_article_classes(pool: &PgPool) 
[INFO] [stdout]     |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> webservice/src/bin/../db/drafts.rs:22:31
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub async fn get_write_drafts(pool: &PgPool) 
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> webservice/src/bin/../db/drafts.rs:41:30
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub async fn get_write_draft(pool: &PgPool, id: i32) 
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> webservice/src/bin/../db/drafts.rs:41:45
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub async fn get_write_draft(pool: &PgPool, id: i32) 
[INFO] [stdout]    |                                             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> webservice/src/bin/../db/drafts.rs:76:37
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub async fn post_write_deletedraft(pool: &PgPool, id: i32) 
[INFO] [stdout]    |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> webservice/src/bin/../db/drafts.rs:76:52
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub async fn post_write_deletedraft(pool: &PgPool, id: i32) 
[INFO] [stdout]    |                                                    ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]    --> webservice/src/bin/../db/drafts.rs:174:33
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub async fn post_write_publish(pool: &PgPool, content: String,
[INFO] [stdout]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]    --> webservice/src/bin/../db/drafts.rs:174:48
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub async fn post_write_publish(pool: &PgPool, content: String,
[INFO] [stdout]     |                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tags_id`
[INFO] [stdout]    --> webservice/src/bin/../db/drafts.rs:175:33
[INFO] [stdout]     |
[INFO] [stdout] 175 | ...                   tags_id: Vec<i32>, category_id: i32)
[INFO] [stdout]     |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tags_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `category_id`
[INFO] [stdout]    --> webservice/src/bin/../db/drafts.rs:175:52
[INFO] [stdout]     |
[INFO] [stdout] 175 | ...                   tags_id: Vec<i32>, category_id: i32)
[INFO] [stdout]     |                                          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> webservice/src/bin/../db/admins.rs:36:35
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub async fn get_admin_categories(pool: &PgPool) 
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> webservice/src/bin/../db/admins.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub async fn get_admin_tags(pool: &PgPool) 
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]    --> webservice/src/bin/../db/admins.rs:102:36
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub async fn update_admin_category(pool: &PgPool, category_id: i32, name: String) 
[INFO] [stdout]     |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `category_id`
[INFO] [stdout]    --> webservice/src/bin/../db/admins.rs:102:51
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub async fn update_admin_category(pool: &PgPool, category_id: i32, name: String) 
[INFO] [stdout]     |                                                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> webservice/src/bin/../db/admins.rs:102:69
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub async fn update_admin_category(pool: &PgPool, category_id: i32, name: String) 
[INFO] [stdout]     |                                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> webservice/src/bin/../db/admins.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub async fn del_admin_category(pool: &PgPool, category_id: i32) 
[INFO] [stdout]    |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `category_id`
[INFO] [stdout]   --> webservice/src/bin/../db/admins.rs:90:48
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub async fn del_admin_category(pool: &PgPool, category_id: i32) 
[INFO] [stdout]    |                                                ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]    --> webservice/src/bin/../db/admins.rs:114:33
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub async fn add_admin_category(pool: &PgPool, name: String) 
[INFO] [stdout]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> webservice/src/bin/../db/admins.rs:114:48
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub async fn add_admin_category(pool: &PgPool, name: String) 
[INFO] [stdout]     |                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> webservice/src/bin/../errors.rs:40:30
[INFO] [stdout]    |
[INFO] [stdout] 40 |             MyError::DBError(msg) | MyError::ActixError(msg) => StatusCode::INSUFFICIENT_STORAGE,
[INFO] [stdout]    |                              ^^^                        ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 40 |             MyError::DBError(_msg) | MyError::ActixError(_msg) => StatusCode::INSUFFICIENT_STORAGE,
[INFO] [stdout]    |                              +                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> webservice/src/bin/../errors.rs:41:31
[INFO] [stdout]    |
[INFO] [stdout] 41 |             MyError::NotFound(msg) => StatusCode::NOT_FOUND,
[INFO] [stdout]    |                               ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RegisterInfo` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct RegisterInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommentInfo` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct CommentInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AddComment` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct AddComment {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FavoriteInfo` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct FavoriteInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IsFavoriteInfo` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct IsFavoriteInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SaveDraftInfo` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct SaveDraftInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateDraft` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub struct UpdateDraft {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeleteDraft` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub struct DeleteDraft {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ArticalList` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct ArticalList {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ArticalByClass` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct ArticalByClass {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ArticalByTag` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/request_state.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct ArticalByTag {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `createTagInfo` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/request_state.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub struct createTagInfo {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RegisterResponse` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/response_state.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct RegisterResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccountResponse` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/response_state.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct AccountResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Entity` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/response_state.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct Entity {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DetailUser` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct DetailUser {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub struct User {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Comment` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub struct Comment {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommentResponse` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub struct CommentResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TagsResponse` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:147:12
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub struct TagsResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Class` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub struct Class {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClassesResponse` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:160:12
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub struct ClassesResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DraftsResponse` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:172:12
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub struct DraftsResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeleteDraftResponse` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:184:12
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub struct DeleteDraftResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CategoriesResponse` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:189:12
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub struct CategoriesResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CategoriesNum` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:196:12
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub struct CategoriesNum {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdminArticles` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:202:12
[INFO] [stdout]     |
[INFO] [stdout] 202 | pub struct AdminArticles{
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdminArticlesResponse` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:212:12
[INFO] [stdout]     |
[INFO] [stdout] 212 | pub struct AdminArticlesResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommentArticle` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:218:12
[INFO] [stdout]     |
[INFO] [stdout] 218 | pub struct CommentArticle {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommentUser` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:224:12
[INFO] [stdout]     |
[INFO] [stdout] 224 | pub struct CommentUser {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Comments` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:229:12
[INFO] [stdout]     |
[INFO] [stdout] 229 | pub struct Comments {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Entitys` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:245:12
[INFO] [stdout]     |
[INFO] [stdout] 245 | pub struct Entitys {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GetCategoriesResponse` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:258:12
[INFO] [stdout]     |
[INFO] [stdout] 258 | pub struct GetCategoriesResponse{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> webservice/src/bin/../models/user.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct User {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Descriptor` is never constructed
[INFO] [stdout]  --> webservice/src/bin/../models/descriptor.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Descriptor {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Markdown` is never constructed
[INFO] [stdout]  --> webservice/src/bin/../models/markdown.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Markdown {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Comment` is never constructed
[INFO] [stdout]  --> webservice/src/bin/../models/comment.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Comment {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NotFound` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../errors.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum MyError {
[INFO] [stdout]    |          ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MyError` 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 `articleId` should have a snake case name
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub articleId: i32,
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `article_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `articleId` should have a snake case name
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub articleId: i32,
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `article_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `userId` should have a snake case name
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub userId: i32
[INFO] [stdout]    |         ^^^^^^ help: convert the identifier to snake case: `user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `articleId` should have a snake case name
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub articleId: i32,
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `article_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `currentPage` should have a snake case name
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub currentPage: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: convert the identifier to snake case: `current_page`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `pageSize` should have a snake case name
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub pageSize: i32,
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `page_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `currentPage` should have a snake case name
[INFO] [stdout]    --> webservice/src/bin/../state/request_state.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub currentPage: i32,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: convert the identifier to snake case: `current_page`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `pageSize` should have a snake case name
[INFO] [stdout]    --> webservice/src/bin/../state/request_state.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub pageSize: i32,
[INFO] [stdout]     |         ^^^^^^^^ help: convert the identifier to snake case: `page_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `isPublish` should have a snake case name
[INFO] [stdout]   --> webservice/src/bin/../models/markdown.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub isPublish: bool,
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `is_publish`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 57s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-core v0.5.13, sqlx-core v0.6.0
[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" "f98bdc15aa17aa18896a5947944243875c5a2880148cc32415089647a1317bc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f98bdc15aa17aa18896a5947944243875c5a2880148cc32415089647a1317bc8", kill_on_drop: false }`
[INFO] [stdout] f98bdc15aa17aa18896a5947944243875c5a2880148cc32415089647a1317bc8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 714cc19a358335dfebaf1cb07263d03d7bd4af7e22508995b5e7468776de1038
[INFO] running `Command { std: "docker" "start" "-a" "714cc19a358335dfebaf1cb07263d03d7bd4af7e22508995b5e7468776de1038", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: /opt/rustwide/workdir/webservice/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
[INFO] [stderr] (in the `sqlx` dependency)
[INFO] [stderr]    Compiling entity v0.1.0 (/opt/rustwide/workdir/webservice/src/entity)
[INFO] [stderr]    Compiling webservice v0.1.0 (/opt/rustwide/workdir/webservice)
[INFO] [stdout] warning: unused imports: `Result`, `error`, `get`, and `middleware::Logger`
[INFO] [stdout]  --> webservice/src/bin/main-service.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, error, get, middleware::Logger, App, HttpServer, Result};
[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: `sea_orm::Database`
[INFO] [stdout]  --> webservice/src/bin/main-service.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sea_orm::Database;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]  --> webservice/src/bin/main-service.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use log::info;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::state::app_state::*`
[INFO] [stdout]  --> webservice/src/bin/../handlers/first_handler.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::state::app_state::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App` and `web`
[INFO] [stdout]  --> webservice/src/bin/../handlers/first_handler.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::{web, App, HttpResponse};
[INFO] [stdout]   |                 ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::user`
[INFO] [stdout]  --> webservice/src/bin/../handlers/first_handler.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::user;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response_state`
[INFO] [stdout]  --> webservice/src/bin/../handlers/user_handlers.rs:1:50
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{state::{app_state::*, request_state, response_state}, errors::MyError};
[INFO] [stdout]   |                                                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `App`
[INFO] [stdout]  --> webservice/src/bin/../handlers/user_handlers.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::{web, App, HttpResponse};
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::descriptor::*`
[INFO] [stdout]  --> webservice/src/bin/../handlers/user_handlers.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::models::descriptor::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::Executor`
[INFO] [stdout]  --> webservice/src/bin/../handlers/user_handlers.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sqlx::Executor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error` and `error`
[INFO] [stdout]  --> webservice/src/bin/../handlers/user_handlers.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use actix_web::{error, Result, Error};
[INFO] [stdout]   |                 ^^^^^          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `App`
[INFO] [stdout]  --> webservice/src/bin/../handlers/article_handlers.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, App, HttpResponse};
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `App`
[INFO] [stdout]  --> webservice/src/bin/../handlers/draft_handlers.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, App, HttpResponse};
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `descriptor::*` and `markdown::*`
[INFO] [stdout]  --> webservice/src/bin/../handlers/draft_handlers.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::{descriptor::*, markdown::*};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response_state`
[INFO] [stdout]  --> webservice/src/bin/../handlers/draft_handlers.rs:4:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::state::{app_state::*, request_state, response_state};
[INFO] [stdout]   |                                                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `App`
[INFO] [stdout]  --> webservice/src/bin/../handlers/admin_handlers.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, App, HttpResponse};
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `descriptor::*` and `markdown::*`
[INFO] [stdout]  --> webservice/src/bin/../handlers/admin_handlers.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::{descriptor::*, markdown::*};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response_state`
[INFO] [stdout]  --> webservice/src/bin/../handlers/admin_handlers.rs:4:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::state::{app_state::*, request_state, response_state};
[INFO] [stdout]   |                                                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `createTagInfo` should have an upper camel case name
[INFO] [stdout]    --> webservice/src/bin/../state/request_state.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub struct createTagInfo {
[INFO] [stdout]     |            ^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `CreateTagInfo`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::web`
[INFO] [stdout]  --> webservice/src/bin/../state/response_state.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::web;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::user::*`
[INFO] [stdout]  --> webservice/src/bin/../state/response_state.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::user::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::web`
[INFO] [stdout]  --> webservice/src/bin/../models/user.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::web;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::web`
[INFO] [stdout]  --> webservice/src/bin/../models/descriptor.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::web;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> webservice/src/bin/../models/descriptor.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::web`
[INFO] [stdout]  --> webservice/src/bin/../models/markdown.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::web;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> webservice/src/bin/../models/markdown.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models::user::*`
[INFO] [stdout]  --> webservice/src/bin/../db/users.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{models::user::*, state::response_state, errors::MyError};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Executor`
[INFO] [stdout]  --> webservice/src/bin/../db/users.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{postgres::PgPool, Executor};
[INFO] [stdout]   |                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> webservice/src/bin/../db/articles.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models::user::*`
[INFO] [stdout]  --> webservice/src/bin/../db/articles.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{models::user::*, errors::MyError};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Executor`
[INFO] [stdout]  --> webservice/src/bin/../db/articles.rs:4:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::{postgres::PgPool, Executor};
[INFO] [stdout]   |                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models::user::*`
[INFO] [stdout]  --> webservice/src/bin/../db/drafts.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{models::user::*, state::response_state, errors::MyError};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Executor`
[INFO] [stdout]  --> webservice/src/bin/../db/drafts.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{postgres::PgPool, Executor};
[INFO] [stdout]   |                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models::user::*`
[INFO] [stdout]  --> webservice/src/bin/../db/admins.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{models::user::*, state::response_state, errors::MyError};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Executor`
[INFO] [stdout]  --> webservice/src/bin/../db/admins.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{postgres::PgPool, Executor};
[INFO] [stdout]   |                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `comment::*`, `descriptor::*`, `markdown::*`, and `user::*`
[INFO] [stdout]   --> webservice/src/bin/main-service.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::models::{user::*, comment::*, markdown::*, descriptor::*};
[INFO] [stdout]    |                     ^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `routers::*`
[INFO] [stdout]   --> webservice/src/bin/main-service.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use routers::*;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sea_orm::entity::prelude`
[INFO] [stdout]  --> webservice/src/bin/../models/user.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sea_orm::entity::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]  --> webservice/src/bin/../db/users.rs:4:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn post_user_login(pool: &PgPool, email: String, password: String) 
[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: `email`
[INFO] [stdout]  --> webservice/src/bin/../db/users.rs:4:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn post_user_login(pool: &PgPool, email: String, password: String) 
[INFO] [stdout]   |                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_email`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password`
[INFO] [stdout]  --> webservice/src/bin/../db/users.rs:4:60
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn post_user_login(pool: &PgPool, email: String, password: String) 
[INFO] [stdout]   |                                                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> webservice/src/bin/../db/users.rs:27:31
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub async fn get_user_account(pool: &PgPool, email: String, password: String) 
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `email`
[INFO] [stdout]   --> webservice/src/bin/../db/users.rs:27:46
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub async fn get_user_account(pool: &PgPool, email: String, password: String) 
[INFO] [stdout]    |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_email`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password`
[INFO] [stdout]   --> webservice/src/bin/../db/users.rs:27:61
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub async fn get_user_account(pool: &PgPool, email: String, password: String) 
[INFO] [stdout]    |                                                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app_state`
[INFO] [stdout]    --> webservice/src/bin/../handlers/user_handlers.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 |     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: unused variable: `pool`
[INFO] [stdout]  --> webservice/src/bin/../db/articles.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn get_article_articles(pool: &PgPool, current_page: i32, page_size: i32) 
[INFO] [stdout]   |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_page`
[INFO] [stdout]  --> webservice/src/bin/../db/articles.rs:6:50
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn get_article_articles(pool: &PgPool, current_page: i32, page_size: i32) 
[INFO] [stdout]   |                                                  ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_page`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_size`
[INFO] [stdout]  --> webservice/src/bin/../db/articles.rs:6:69
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub async fn get_article_articles(pool: &PgPool, current_page: i32, page_size: i32) 
[INFO] [stdout]   |                                                                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]    --> webservice/src/bin/../db/articles.rs:151:33
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub async fn get_article_detail(pool: &PgPool, id: i32) 
[INFO] [stdout]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> webservice/src/bin/../db/articles.rs:151:48
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub async fn get_article_detail(pool: &PgPool, id: i32) 
[INFO] [stdout]     |                                                ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]    --> webservice/src/bin/../db/articles.rs:193:31
[INFO] [stdout]     |
[INFO] [stdout] 193 | pub async fn get_article_tags(pool: &PgPool) 
[INFO] [stdout]     |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]    --> webservice/src/bin/../db/articles.rs:308:34
[INFO] [stdout]     |
[INFO] [stdout] 308 | pub async fn get_article_classes(pool: &PgPool) 
[INFO] [stdout]     |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> webservice/src/bin/../db/drafts.rs:22:31
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub async fn get_write_drafts(pool: &PgPool) 
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> webservice/src/bin/../db/drafts.rs:41:30
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub async fn get_write_draft(pool: &PgPool, id: i32) 
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> webservice/src/bin/../db/drafts.rs:41:45
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub async fn get_write_draft(pool: &PgPool, id: i32) 
[INFO] [stdout]    |                                             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> webservice/src/bin/../db/drafts.rs:76:37
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub async fn post_write_deletedraft(pool: &PgPool, id: i32) 
[INFO] [stdout]    |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> webservice/src/bin/../db/drafts.rs:76:52
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub async fn post_write_deletedraft(pool: &PgPool, id: i32) 
[INFO] [stdout]    |                                                    ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]    --> webservice/src/bin/../db/drafts.rs:174:33
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub async fn post_write_publish(pool: &PgPool, content: String,
[INFO] [stdout]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]    --> webservice/src/bin/../db/drafts.rs:174:48
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub async fn post_write_publish(pool: &PgPool, content: String,
[INFO] [stdout]     |                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tags_id`
[INFO] [stdout]    --> webservice/src/bin/../db/drafts.rs:175:33
[INFO] [stdout]     |
[INFO] [stdout] 175 | ...                   tags_id: Vec<i32>, category_id: i32)
[INFO] [stdout]     |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tags_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `category_id`
[INFO] [stdout]    --> webservice/src/bin/../db/drafts.rs:175:52
[INFO] [stdout]     |
[INFO] [stdout] 175 | ...                   tags_id: Vec<i32>, category_id: i32)
[INFO] [stdout]     |                                          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> webservice/src/bin/../db/admins.rs:36:35
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub async fn get_admin_categories(pool: &PgPool) 
[INFO] [stdout]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> webservice/src/bin/../db/admins.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub async fn get_admin_tags(pool: &PgPool) 
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]    --> webservice/src/bin/../db/admins.rs:102:36
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub async fn update_admin_category(pool: &PgPool, category_id: i32, name: String) 
[INFO] [stdout]     |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `category_id`
[INFO] [stdout]    --> webservice/src/bin/../db/admins.rs:102:51
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub async fn update_admin_category(pool: &PgPool, category_id: i32, name: String) 
[INFO] [stdout]     |                                                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> webservice/src/bin/../db/admins.rs:102:69
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub async fn update_admin_category(pool: &PgPool, category_id: i32, name: String) 
[INFO] [stdout]     |                                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> webservice/src/bin/../db/admins.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub async fn del_admin_category(pool: &PgPool, category_id: i32) 
[INFO] [stdout]    |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `category_id`
[INFO] [stdout]   --> webservice/src/bin/../db/admins.rs:90:48
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub async fn del_admin_category(pool: &PgPool, category_id: i32) 
[INFO] [stdout]    |                                                ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]    --> webservice/src/bin/../db/admins.rs:114:33
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub async fn add_admin_category(pool: &PgPool, name: String) 
[INFO] [stdout]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> webservice/src/bin/../db/admins.rs:114:48
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub async fn add_admin_category(pool: &PgPool, name: String) 
[INFO] [stdout]     |                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> webservice/src/bin/../errors.rs:40:30
[INFO] [stdout]    |
[INFO] [stdout] 40 |             MyError::DBError(msg) | MyError::ActixError(msg) => StatusCode::INSUFFICIENT_STORAGE,
[INFO] [stdout]    |                              ^^^                        ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 40 |             MyError::DBError(_msg) | MyError::ActixError(_msg) => StatusCode::INSUFFICIENT_STORAGE,
[INFO] [stdout]    |                              +                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> webservice/src/bin/../errors.rs:41:31
[INFO] [stdout]    |
[INFO] [stdout] 41 |             MyError::NotFound(msg) => StatusCode::NOT_FOUND,
[INFO] [stdout]    |                               ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RegisterInfo` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct RegisterInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommentInfo` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct CommentInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AddComment` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct AddComment {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FavoriteInfo` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct FavoriteInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IsFavoriteInfo` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct IsFavoriteInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SaveDraftInfo` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct SaveDraftInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateDraft` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub struct UpdateDraft {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeleteDraft` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub struct DeleteDraft {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ArticalList` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct ArticalList {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ArticalByClass` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct ArticalByClass {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ArticalByTag` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/request_state.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct ArticalByTag {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `createTagInfo` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/request_state.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub struct createTagInfo {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RegisterResponse` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/response_state.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct RegisterResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccountResponse` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/response_state.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct AccountResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Entity` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../state/response_state.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct Entity {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DetailUser` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct DetailUser {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub struct User {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Comment` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub struct Comment {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommentResponse` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub struct CommentResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TagsResponse` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:147:12
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub struct TagsResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Class` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub struct Class {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClassesResponse` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:160:12
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub struct ClassesResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DraftsResponse` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:172:12
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub struct DraftsResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DeleteDraftResponse` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:184:12
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub struct DeleteDraftResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CategoriesResponse` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:189:12
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub struct CategoriesResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CategoriesNum` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:196:12
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub struct CategoriesNum {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdminArticles` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:202:12
[INFO] [stdout]     |
[INFO] [stdout] 202 | pub struct AdminArticles{
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdminArticlesResponse` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:212:12
[INFO] [stdout]     |
[INFO] [stdout] 212 | pub struct AdminArticlesResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommentArticle` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:218:12
[INFO] [stdout]     |
[INFO] [stdout] 218 | pub struct CommentArticle {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommentUser` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:224:12
[INFO] [stdout]     |
[INFO] [stdout] 224 | pub struct CommentUser {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Comments` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:229:12
[INFO] [stdout]     |
[INFO] [stdout] 229 | pub struct Comments {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Entitys` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:245:12
[INFO] [stdout]     |
[INFO] [stdout] 245 | pub struct Entitys {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GetCategoriesResponse` is never constructed
[INFO] [stdout]    --> webservice/src/bin/../state/response_state.rs:258:12
[INFO] [stdout]     |
[INFO] [stdout] 258 | pub struct GetCategoriesResponse{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> webservice/src/bin/../models/user.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct User {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Descriptor` is never constructed
[INFO] [stdout]  --> webservice/src/bin/../models/descriptor.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Descriptor {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Markdown` is never constructed
[INFO] [stdout]  --> webservice/src/bin/../models/markdown.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Markdown {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Comment` is never constructed
[INFO] [stdout]  --> webservice/src/bin/../models/comment.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Comment {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NotFound` is never constructed
[INFO] [stdout]   --> webservice/src/bin/../errors.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum MyError {
[INFO] [stdout]    |          ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MyError` 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 `articleId` should have a snake case name
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub articleId: i32,
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `article_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `articleId` should have a snake case name
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub articleId: i32,
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `article_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `userId` should have a snake case name
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub userId: i32
[INFO] [stdout]    |         ^^^^^^ help: convert the identifier to snake case: `user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `articleId` should have a snake case name
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub articleId: i32,
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `article_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `currentPage` should have a snake case name
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub currentPage: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: convert the identifier to snake case: `current_page`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `pageSize` should have a snake case name
[INFO] [stdout]   --> webservice/src/bin/../state/request_state.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub pageSize: i32,
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `page_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `currentPage` should have a snake case name
[INFO] [stdout]    --> webservice/src/bin/../state/request_state.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub currentPage: i32,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: convert the identifier to snake case: `current_page`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `pageSize` should have a snake case name
[INFO] [stdout]    --> webservice/src/bin/../state/request_state.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub pageSize: i32,
[INFO] [stdout]     |         ^^^^^^^^ help: convert the identifier to snake case: `page_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `isPublish` should have a snake case name
[INFO] [stdout]   --> webservice/src/bin/../models/markdown.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub isPublish: bool,
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `is_publish`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.01s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-core v0.5.13, sqlx-core v0.6.0
[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" "714cc19a358335dfebaf1cb07263d03d7bd4af7e22508995b5e7468776de1038", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "714cc19a358335dfebaf1cb07263d03d7bd4af7e22508995b5e7468776de1038", kill_on_drop: false }`
[INFO] [stdout] 714cc19a358335dfebaf1cb07263d03d7bd4af7e22508995b5e7468776de1038
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1ceb4f9170967a1e429eac77a899bb9179b07624385dcac7c281d3a1479a95ee
[INFO] running `Command { std: "docker" "start" "-a" "1ceb4f9170967a1e429eac77a899bb9179b07624385dcac7c281d3a1479a95ee", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: /opt/rustwide/workdir/webservice/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
[INFO] [stderr] (in the `sqlx` dependency)
[INFO] [stderr] warning: unused imports: `Result`, `error`, `get`, and `middleware::Logger`
[INFO] [stderr]  --> webservice/src/bin/main-service.rs:1:22
[INFO] [stderr]   |
[INFO] [stderr] 1 | use actix_web::{web, error, get, middleware::Logger, App, HttpServer, Result};
[INFO] [stderr]   |                      ^^^^^  ^^^  ^^^^^^^^^^^^^^^^^^                   ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sea_orm::Database`
[INFO] [stderr]  --> webservice/src/bin/main-service.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use sea_orm::Database;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `log::info`
[INFO] [stderr]  --> webservice/src/bin/main-service.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use log::info;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::state::app_state::*`
[INFO] [stderr]  --> webservice/src/bin/../handlers/first_handler.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::state::app_state::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `App` and `web`
[INFO] [stderr]  --> webservice/src/bin/../handlers/first_handler.rs:2:17
[INFO] [stderr]   |
[INFO] [stderr] 2 | use actix_web::{web, App, HttpResponse};
[INFO] [stderr]   |                 ^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::models::user`
[INFO] [stderr]  --> webservice/src/bin/../handlers/first_handler.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::models::user;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `response_state`
[INFO] [stderr]  --> webservice/src/bin/../handlers/user_handlers.rs:1:50
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{state::{app_state::*, request_state, response_state}, errors::MyError};
[INFO] [stderr]   |                                                  ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `App`
[INFO] [stderr]  --> webservice/src/bin/../handlers/user_handlers.rs:2:22
[INFO] [stderr]   |
[INFO] [stderr] 2 | use actix_web::{web, App, HttpResponse};
[INFO] [stderr]   |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::models::descriptor::*`
[INFO] [stderr]  --> webservice/src/bin/../handlers/user_handlers.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use crate::models::descriptor::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sqlx::Executor`
[INFO] [stderr]  --> webservice/src/bin/../handlers/user_handlers.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use sqlx::Executor;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Error` and `error`
[INFO] [stderr]  --> webservice/src/bin/../handlers/user_handlers.rs:7:17
[INFO] [stderr]   |
[INFO] [stderr] 7 | use actix_web::{error, Result, Error};
[INFO] [stderr]   |                 ^^^^^          ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `App`
[INFO] [stderr]  --> webservice/src/bin/../handlers/article_handlers.rs:1:22
[INFO] [stderr]   |
[INFO] [stderr] 1 | use actix_web::{web, App, HttpResponse};
[INFO] [stderr]   |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `App`
[INFO] [stderr]  --> webservice/src/bin/../handlers/draft_handlers.rs:1:22
[INFO] [stderr]   |
[INFO] [stderr] 1 | use actix_web::{web, App, HttpResponse};
[INFO] [stderr]   |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `descriptor::*` and `markdown::*`
[INFO] [stderr]  --> webservice/src/bin/../handlers/draft_handlers.rs:3:21
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::models::{descriptor::*, markdown::*};
[INFO] [stderr]   |                     ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `response_state`
[INFO] [stderr]  --> webservice/src/bin/../handlers/draft_handlers.rs:4:49
[INFO] [stderr]   |
[INFO] [stderr] 4 | use crate::state::{app_state::*, request_state, response_state};
[INFO] [stderr]   |                                                 ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `App`
[INFO] [stderr]  --> webservice/src/bin/../handlers/admin_handlers.rs:1:22
[INFO] [stderr]   |
[INFO] [stderr] 1 | use actix_web::{web, App, HttpResponse};
[INFO] [stderr]   |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `descriptor::*` and `markdown::*`
[INFO] [stderr]  --> webservice/src/bin/../handlers/admin_handlers.rs:3:21
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::models::{descriptor::*, markdown::*};
[INFO] [stderr]   |                     ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `response_state`
[INFO] [stderr]  --> webservice/src/bin/../handlers/admin_handlers.rs:4:49
[INFO] [stderr]   |
[INFO] [stderr] 4 | use crate::state::{app_state::*, request_state, response_state};
[INFO] [stderr]   |                                                 ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type `createTagInfo` should have an upper camel case name
[INFO] [stderr]    --> webservice/src/bin/../state/request_state.rs:111:12
[INFO] [stderr]     |
[INFO] [stderr] 111 | pub struct createTagInfo {
[INFO] [stderr]     |            ^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `CreateTagInfo`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `actix_web::web`
[INFO] [stderr]  --> webservice/src/bin/../state/response_state.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use actix_web::web;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::models::user::*`
[INFO] [stderr]  --> webservice/src/bin/../state/response_state.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::models::user::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `actix_web::web`
[INFO] [stderr]  --> webservice/src/bin/../models/user.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use actix_web::web;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `actix_web::web`
[INFO] [stderr]  --> webservice/src/bin/../models/descriptor.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use actix_web::web;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stderr]  --> webservice/src/bin/../models/descriptor.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use serde::{Deserialize, Serialize};
[INFO] [stderr]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `actix_web::web`
[INFO] [stderr]  --> webservice/src/bin/../models/markdown.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use actix_web::web;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stderr]  --> webservice/src/bin/../models/markdown.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use serde::{Deserialize, Serialize};
[INFO] [stderr]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `models::user::*`
[INFO] [stderr]  --> webservice/src/bin/../db/users.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{models::user::*, state::response_state, errors::MyError};
[INFO] [stderr]   |             ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Executor`
[INFO] [stderr]  --> webservice/src/bin/../db/users.rs:2:30
[INFO] [stderr]   |
[INFO] [stderr] 2 | use sqlx::{postgres::PgPool, Executor};
[INFO] [stderr]   |                              ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> webservice/src/bin/../db/articles.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `models::user::*`
[INFO] [stderr]  --> webservice/src/bin/../db/articles.rs:3:13
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::{models::user::*, errors::MyError};
[INFO] [stderr]   |             ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Executor`
[INFO] [stderr]  --> webservice/src/bin/../db/articles.rs:4:30
[INFO] [stderr]   |
[INFO] [stderr] 4 | use sqlx::{postgres::PgPool, Executor};
[INFO] [stderr]   |                              ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `models::user::*`
[INFO] [stderr]  --> webservice/src/bin/../db/drafts.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{models::user::*, state::response_state, errors::MyError};
[INFO] [stderr]   |             ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Executor`
[INFO] [stderr]  --> webservice/src/bin/../db/drafts.rs:2:30
[INFO] [stderr]   |
[INFO] [stderr] 2 | use sqlx::{postgres::PgPool, Executor};
[INFO] [stderr]   |                              ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `models::user::*`
[INFO] [stderr]  --> webservice/src/bin/../db/admins.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{models::user::*, state::response_state, errors::MyError};
[INFO] [stderr]   |             ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Executor`
[INFO] [stderr]  --> webservice/src/bin/../db/admins.rs:2:30
[INFO] [stderr]   |
[INFO] [stderr] 2 | use sqlx::{postgres::PgPool, Executor};
[INFO] [stderr]   |                              ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `comment::*`, `descriptor::*`, `markdown::*`, and `user::*`
[INFO] [stderr]   --> webservice/src/bin/main-service.rs:24:21
[INFO] [stderr]    |
[INFO] [stderr] 24 | use crate::models::{user::*, comment::*, markdown::*, descriptor::*};
[INFO] [stderr]    |                     ^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `routers::*`
[INFO] [stderr]   --> webservice/src/bin/main-service.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | use routers::*;
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sea_orm::entity::prelude`
[INFO] [stderr]  --> webservice/src/bin/../models/user.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use sea_orm::entity::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]  --> webservice/src/bin/../db/users.rs:4:30
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub async fn post_user_login(pool: &PgPool, email: String, password: String) 
[INFO] [stderr]   |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `email`
[INFO] [stderr]  --> webservice/src/bin/../db/users.rs:4:45
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub async fn post_user_login(pool: &PgPool, email: String, password: String) 
[INFO] [stderr]   |                                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_email`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `password`
[INFO] [stderr]  --> webservice/src/bin/../db/users.rs:4:60
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub async fn post_user_login(pool: &PgPool, email: String, password: String) 
[INFO] [stderr]   |                                                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]   --> webservice/src/bin/../db/users.rs:27:31
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub async fn get_user_account(pool: &PgPool, email: String, password: String) 
[INFO] [stderr]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `email`
[INFO] [stderr]   --> webservice/src/bin/../db/users.rs:27:46
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub async fn get_user_account(pool: &PgPool, email: String, password: String) 
[INFO] [stderr]    |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_email`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `password`
[INFO] [stderr]   --> webservice/src/bin/../db/users.rs:27:61
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub async fn get_user_account(pool: &PgPool, email: String, password: String) 
[INFO] [stderr]    |                                                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `app_state`
[INFO] [stderr]    --> webservice/src/bin/../handlers/user_handlers.rs:104:5
[INFO] [stderr]     |
[INFO] [stderr] 104 |     app_state: web::Data<AppState>,//把服务器当作参数传入
[INFO] [stderr]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]  --> webservice/src/bin/../db/articles.rs:6:35
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub async fn get_article_articles(pool: &PgPool, current_page: i32, page_size: i32) 
[INFO] [stderr]   |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `current_page`
[INFO] [stderr]  --> webservice/src/bin/../db/articles.rs:6:50
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub async fn get_article_articles(pool: &PgPool, current_page: i32, page_size: i32) 
[INFO] [stderr]   |                                                  ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_page`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `page_size`
[INFO] [stderr]  --> webservice/src/bin/../db/articles.rs:6:69
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub async fn get_article_articles(pool: &PgPool, current_page: i32, page_size: i32) 
[INFO] [stderr]   |                                                                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_size`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]    --> webservice/src/bin/../db/articles.rs:151:33
[INFO] [stderr]     |
[INFO] [stderr] 151 | pub async fn get_article_detail(pool: &PgPool, id: i32) 
[INFO] [stderr]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `id`
[INFO] [stderr]    --> webservice/src/bin/../db/articles.rs:151:48
[INFO] [stderr]     |
[INFO] [stderr] 151 | pub async fn get_article_detail(pool: &PgPool, id: i32) 
[INFO] [stderr]     |                                                ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]    --> webservice/src/bin/../db/articles.rs:193:31
[INFO] [stderr]     |
[INFO] [stderr] 193 | pub async fn get_article_tags(pool: &PgPool) 
[INFO] [stderr]     |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]    --> webservice/src/bin/../db/articles.rs:308:34
[INFO] [stderr]     |
[INFO] [stderr] 308 | pub async fn get_article_classes(pool: &PgPool) 
[INFO] [stderr]     |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]   --> webservice/src/bin/../db/drafts.rs:22:31
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub async fn get_write_drafts(pool: &PgPool) 
[INFO] [stderr]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]   --> webservice/src/bin/../db/drafts.rs:41:30
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub async fn get_write_draft(pool: &PgPool, id: i32) 
[INFO] [stderr]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `id`
[INFO] [stderr]   --> webservice/src/bin/../db/drafts.rs:41:45
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub async fn get_write_draft(pool: &PgPool, id: i32) 
[INFO] [stderr]    |                                             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]   --> webservice/src/bin/../db/drafts.rs:76:37
[INFO] [stderr]    |
[INFO] [stderr] 76 | pub async fn post_write_deletedraft(pool: &PgPool, id: i32) 
[INFO] [stderr]    |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `id`
[INFO] [stderr]   --> webservice/src/bin/../db/drafts.rs:76:52
[INFO] [stderr]    |
[INFO] [stderr] 76 | pub async fn post_write_deletedraft(pool: &PgPool, id: i32) 
[INFO] [stderr]    |                                                    ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]    --> webservice/src/bin/../db/drafts.rs:174:33
[INFO] [stderr]     |
[INFO] [stderr] 174 | pub async fn post_write_publish(pool: &PgPool, content: String,
[INFO] [stderr]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `content`
[INFO] [stderr]    --> webservice/src/bin/../db/drafts.rs:174:48
[INFO] [stderr]     |
[INFO] [stderr] 174 | pub async fn post_write_publish(pool: &PgPool, content: String,
[INFO] [stderr]     |                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tags_id`
[INFO] [stderr]    --> webservice/src/bin/../db/drafts.rs:175:33
[INFO] [stderr]     |
[INFO] [stderr] 175 | ...                   tags_id: Vec<i32>, category_id: i32)
[INFO] [stderr]     |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tags_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `category_id`
[INFO] [stderr]    --> webservice/src/bin/../db/drafts.rs:175:52
[INFO] [stderr]     |
[INFO] [stderr] 175 | ...                   tags_id: Vec<i32>, category_id: i32)
[INFO] [stderr]     |                                          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]   --> webservice/src/bin/../db/admins.rs:36:35
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub async fn get_admin_categories(pool: &PgPool) 
[INFO] [stderr]    |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]   --> webservice/src/bin/../db/admins.rs:74:29
[INFO] [stderr]    |
[INFO] [stderr] 74 | pub async fn get_admin_tags(pool: &PgPool) 
[INFO] [stderr]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]    --> webservice/src/bin/../db/admins.rs:102:36
[INFO] [stderr]     |
[INFO] [stderr] 102 | pub async fn update_admin_category(pool: &PgPool, category_id: i32, name: String) 
[INFO] [stderr]     |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `category_id`
[INFO] [stderr]    --> webservice/src/bin/../db/admins.rs:102:51
[INFO] [stderr]     |
[INFO] [stderr] 102 | pub async fn update_admin_category(pool: &PgPool, category_id: i32, name: String) 
[INFO] [stderr]     |                                                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `name`
[INFO] [stderr]    --> webservice/src/bin/../db/admins.rs:102:69
[INFO] [stderr]     |
[INFO] [stderr] 102 | pub async fn update_admin_category(pool: &PgPool, category_id: i32, name: String) 
[INFO] [stderr]     |                                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]   --> webservice/src/bin/../db/admins.rs:90:33
[INFO] [stderr]    |
[INFO] [stderr] 90 | pub async fn del_admin_category(pool: &PgPool, category_id: i32) 
[INFO] [stderr]    |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `category_id`
[INFO] [stderr]   --> webservice/src/bin/../db/admins.rs:90:48
[INFO] [stderr]    |
[INFO] [stderr] 90 | pub async fn del_admin_category(pool: &PgPool, category_id: i32) 
[INFO] [stderr]    |                                                ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]    --> webservice/src/bin/../db/admins.rs:114:33
[INFO] [stderr]     |
[INFO] [stderr] 114 | pub async fn add_admin_category(pool: &PgPool, name: String) 
[INFO] [stderr]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `name`
[INFO] [stderr]    --> webservice/src/bin/../db/admins.rs:114:48
[INFO] [stderr]     |
[INFO] [stderr] 114 | pub async fn add_admin_category(pool: &PgPool, name: String) 
[INFO] [stderr]     |                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `msg`
[INFO] [stderr]   --> webservice/src/bin/../errors.rs:40:30
[INFO] [stderr]    |
[INFO] [stderr] 40 |             MyError::DBError(msg) | MyError::ActixError(msg) => StatusCode::INSUFFICIENT_STORAGE,
[INFO] [stderr]    |                              ^^^                        ^^^
[INFO] [stderr]    |
[INFO] [stderr] help: if this is intentional, prefix it with an underscore
[INFO] [stderr]    |
[INFO] [stderr] 40 |             MyError::DBError(_msg) | MyError::ActixError(_msg) => StatusCode::INSUFFICIENT_STORAGE,
[INFO] [stderr]    |                              +                           +
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `msg`
[INFO] [stderr]   --> webservice/src/bin/../errors.rs:41:31
[INFO] [stderr]    |
[INFO] [stderr] 41 |             MyError::NotFound(msg) => StatusCode::NOT_FOUND,
[INFO] [stderr]    |                               ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RegisterInfo` is never constructed
[INFO] [stderr]   --> webservice/src/bin/../state/request_state.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct RegisterInfo {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CommentInfo` is never constructed
[INFO] [stderr]   --> webservice/src/bin/../state/request_state.rs:37:12
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub struct CommentInfo {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AddComment` is never constructed
[INFO] [stderr]   --> webservice/src/bin/../state/request_state.rs:43:12
[INFO] [stderr]    |
[INFO] [stderr] 43 | pub struct AddComment {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `FavoriteInfo` is never constructed
[INFO] [stderr]   --> webservice/src/bin/../state/request_state.rs:50:12
[INFO] [stderr]    |
[INFO] [stderr] 50 | pub struct FavoriteInfo {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `IsFavoriteInfo` is never constructed
[INFO] [stderr]   --> webservice/src/bin/../state/request_state.rs:56:12
[INFO] [stderr]    |
[INFO] [stderr] 56 | pub struct IsFavoriteInfo {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SaveDraftInfo` is never constructed
[INFO] [stderr]   --> webservice/src/bin/../state/request_state.rs:61:12
[INFO] [stderr]    |
[INFO] [stderr] 61 | pub struct SaveDraftInfo {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UpdateDraft` is never constructed
[INFO] [stderr]   --> webservice/src/bin/../state/request_state.rs:72:12
[INFO] [stderr]    |
[INFO] [stderr] 72 | pub struct UpdateDraft {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DeleteDraft` is never constructed
[INFO] [stderr]   --> webservice/src/bin/../state/request_state.rs:79:12
[INFO] [stderr]    |
[INFO] [stderr] 79 | pub struct DeleteDraft {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ArticalList` is never constructed
[INFO] [stderr]   --> webservice/src/bin/../state/request_state.rs:91:12
[INFO] [stderr]    |
[INFO] [stderr] 91 | pub struct ArticalList {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ArticalByClass` is never constructed
[INFO] [stderr]   --> webservice/src/bin/../state/request_state.rs:97:12
[INFO] [stderr]    |
[INFO] [stderr] 97 | pub struct ArticalByClass {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ArticalByTag` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/request_state.rs:104:12
[INFO] [stderr]     |
[INFO] [stderr] 104 | pub struct ArticalByTag {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `createTagInfo` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/request_state.rs:111:12
[INFO] [stderr]     |
[INFO] [stderr] 111 | pub struct createTagInfo {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RegisterResponse` is never constructed
[INFO] [stderr]   --> webservice/src/bin/../state/response_state.rs:19:12
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub struct RegisterResponse {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AccountResponse` is never constructed
[INFO] [stderr]   --> webservice/src/bin/../state/response_state.rs:60:12
[INFO] [stderr]    |
[INFO] [stderr] 60 | pub struct AccountResponse {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Entity` is never constructed
[INFO] [stderr]   --> webservice/src/bin/../state/response_state.rs:70:12
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub struct Entity {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DetailUser` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:105:12
[INFO] [stderr]     |
[INFO] [stderr] 105 | pub struct DetailUser {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `User` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:124:12
[INFO] [stderr]     |
[INFO] [stderr] 124 | pub struct User {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Comment` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:129:12
[INFO] [stderr]     |
[INFO] [stderr] 129 | pub struct Comment {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CommentResponse` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:135:12
[INFO] [stderr]     |
[INFO] [stderr] 135 | pub struct CommentResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TagsResponse` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:147:12
[INFO] [stderr]     |
[INFO] [stderr] 147 | pub struct TagsResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Class` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:153:12
[INFO] [stderr]     |
[INFO] [stderr] 153 | pub struct Class {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ClassesResponse` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:160:12
[INFO] [stderr]     |
[INFO] [stderr] 160 | pub struct ClassesResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DraftsResponse` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:172:12
[INFO] [stderr]     |
[INFO] [stderr] 172 | pub struct DraftsResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DeleteDraftResponse` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:184:12
[INFO] [stderr]     |
[INFO] [stderr] 184 | pub struct DeleteDraftResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CategoriesResponse` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:189:12
[INFO] [stderr]     |
[INFO] [stderr] 189 | pub struct CategoriesResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CategoriesNum` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:196:12
[INFO] [stderr]     |
[INFO] [stderr] 196 | pub struct CategoriesNum {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AdminArticles` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:202:12
[INFO] [stderr]     |
[INFO] [stderr] 202 | pub struct AdminArticles{
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AdminArticlesResponse` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:212:12
[INFO] [stderr]     |
[INFO] [stderr] 212 | pub struct AdminArticlesResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CommentArticle` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:218:12
[INFO] [stderr]     |
[INFO] [stderr] 218 | pub struct CommentArticle {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CommentUser` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:224:12
[INFO] [stderr]     |
[INFO] [stderr] 224 | pub struct CommentUser {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Comments` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:229:12
[INFO] [stderr]     |
[INFO] [stderr] 229 | pub struct Comments {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Entitys` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:245:12
[INFO] [stderr]     |
[INFO] [stderr] 245 | pub struct Entitys {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `GetCategoriesResponse` is never constructed
[INFO] [stderr]    --> webservice/src/bin/../state/response_state.rs:258:12
[INFO] [stderr]     |
[INFO] [stderr] 258 | pub struct GetCategoriesResponse{
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `User` is never constructed
[INFO] [stderr]  --> webservice/src/bin/../models/user.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct User {
[INFO] [stderr]   |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Descriptor` is never constructed
[INFO] [stderr]  --> webservice/src/bin/../models/descriptor.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct Descriptor {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Markdown` is never constructed
[INFO] [stderr]  --> webservice/src/bin/../models/markdown.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct Markdown {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Comment` is never constructed
[INFO] [stderr]  --> webservice/src/bin/../models/comment.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct Comment {
[INFO] [stderr]   |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `NotFound` is never constructed
[INFO] [stderr]   --> webservice/src/bin/../errors.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr]  7 | pub enum MyError {
[INFO] [stderr]    |          ------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 10 |     NotFound(String),
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `articleId` should have a snake case name
[INFO] [stderr]   --> webservice/src/bin/../state/request_state.rs:44:9
[INFO] [stderr]    |
[INFO] [stderr] 44 |     pub articleId: i32,
[INFO] [stderr]    |         ^^^^^^^^^ help: convert the identifier to snake case: `article_id`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `articleId` should have a snake case name
[INFO] [stderr]   --> webservice/src/bin/../state/request_state.rs:51:9
[INFO] [stderr]    |
[INFO] [stderr] 51 |     pub articleId: i32,
[INFO] [stderr]    |         ^^^^^^^^^ help: convert the identifier to snake case: `article_id`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `userId` should have a snake case name
[INFO] [stderr]   --> webservice/src/bin/../state/request_state.rs:52:9
[INFO] [stderr]    |
[INFO] [stderr] 52 |     pub userId: i32
[INFO] [stderr]    |         ^^^^^^ help: convert the identifier to snake case: `user_id`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `articleId` should have a snake case name
[INFO] [stderr]   --> webservice/src/bin/../state/request_state.rs:57:9
[INFO] [stderr]    |
[INFO] [stderr] 57 |     pub articleId: i32,
[INFO] [stderr]    |         ^^^^^^^^^ help: convert the identifier to snake case: `article_id`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `currentPage` should have a snake case name
[INFO] [stderr]   --> webservice/src/bin/../state/request_state.rs:98:9
[INFO] [stderr]    |
[INFO] [stderr] 98 |     pub currentPage: i32,
[INFO] [stderr]    |         ^^^^^^^^^^^ help: convert the identifier to snake case: `current_page`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `pageSize` should have a snake case name
[INFO] [stderr]   --> webservice/src/bin/../state/request_state.rs:99:9
[INFO] [stderr]    |
[INFO] [stderr] 99 |     pub pageSize: i32,
[INFO] [stderr]    |         ^^^^^^^^ help: convert the identifier to snake case: `page_size`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `currentPage` should have a snake case name
[INFO] [stderr]    --> webservice/src/bin/../state/request_state.rs:105:9
[INFO] [stderr]     |
[INFO] [stderr] 105 |     pub currentPage: i32,
[INFO] [stderr]     |         ^^^^^^^^^^^ help: convert the identifier to snake case: `current_page`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `pageSize` should have a snake case name
[INFO] [stderr]    --> webservice/src/bin/../state/request_state.rs:106:9
[INFO] [stderr]     |
[INFO] [stderr] 106 |     pub pageSize: i32,
[INFO] [stderr]     |         ^^^^^^^^ help: convert the identifier to snake case: `page_size`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `isPublish` should have a snake case name
[INFO] [stderr]   --> webservice/src/bin/../models/markdown.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 11 |     pub isPublish: bool,
[INFO] [stderr]    |         ^^^^^^^^^ help: convert the identifier to snake case: `is_publish`
[INFO] [stderr] 
[INFO] [stderr] warning: `webservice` (bin "main-service" test) generated 119 warnings (run `cargo fix --bin "main-service" -p webservice --tests` to apply 70 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-core v0.5.13, sqlx-core v0.6.0
[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/lib.rs (/opt/rustwide/target/debug/deps/entity-ad853c2e8fbbcb64)
[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] [stderr]      Running unittests src/bin/main-service.rs (/opt/rustwide/target/debug/deps/main_service-02b9a82e2323dfd8)
[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] [stderr]    Doc-tests entity
[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" "1ceb4f9170967a1e429eac77a899bb9179b07624385dcac7c281d3a1479a95ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ceb4f9170967a1e429eac77a899bb9179b07624385dcac7c281d3a1479a95ee", kill_on_drop: false }`
[INFO] [stdout] 1ceb4f9170967a1e429eac77a899bb9179b07624385dcac7c281d3a1479a95ee
