[INFO] cloning repository https://github.com/AstrayChao/cdb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AstrayChao/cdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAstrayChao%2Fcdb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAstrayChao%2Fcdb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 360515702260dcc101a1b5cce6f3edf449bcfe47
[INFO] building AstrayChao/cdb against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAstrayChao%2Fcdb" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AstrayChao/cdb
[INFO] finished tweaking git repo https://github.com/AstrayChao/cdb
[INFO] tweaked toml for git repo https://github.com/AstrayChao/cdb written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AstrayChao/cdb on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AstrayChao/cdb 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicase v2.7.0
[INFO] [stderr]   Downloaded tracing-serde v0.1.3
[INFO] [stderr]   Downloaded darling_macro v0.20.9
[INFO] [stderr]   Downloaded darling v0.20.9
[INFO] [stderr]   Downloaded uuid v1.8.0
[INFO] [stderr]   Downloaded sea-bae v0.2.0
[INFO] [stderr]   Downloaded sea-query-binder v0.5.0
[INFO] [stderr]   Downloaded aliasable v0.1.3
[INFO] [stderr]   Downloaded sha1_smol v1.0.0
[INFO] [stderr]   Downloaded ordered-float v3.9.2
[INFO] [stderr]   Downloaded borsh v1.5.0
[INFO] [stderr]   Downloaded num-bigint v0.4.5
[INFO] [stderr]   Downloaded hdrhistogram v7.5.4
[INFO] [stderr]   Downloaded sea-orm-macros v0.12.15
[INFO] [stderr]   Downloaded rkyv v0.7.44
[INFO] [stderr]   Downloaded redis v0.25.4
[INFO] [stderr]   Downloaded borsh-derive v1.5.0
[INFO] [stderr]   Downloaded simdutf8 v0.1.4
[INFO] [stderr]   Downloaded ouroboros_macro v0.17.2
[INFO] [stderr]   Downloaded ouroboros v0.17.2
[INFO] [stderr]   Downloaded inherent v1.0.11
[INFO] [stderr]   Downloaded rust_decimal v1.35.0
[INFO] [stderr]   Downloaded bigdecimal v0.3.1
[INFO] [stderr]   Downloaded rkyv_derive v0.7.44
[INFO] [stderr]   Downloaded strum v0.25.0
[INFO] [stderr]   Downloaded sea-query v0.30.7
[INFO] [stderr]   Downloaded http-range-header v0.4.1
[INFO] [stderr]   Downloaded iri-string v0.7.2
[INFO] [stderr]   Downloaded darling_core v0.20.9
[INFO] [stderr]   Downloaded validator_derive v0.18.1
[INFO] [stderr]   Downloaded zstd-sys v2.0.10+zstd.1.5.6
[INFO] [stderr]   Downloaded sea-orm v0.12.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 89909f3e0a6a020e9f44e37bdafdbca1908ba5132710b2666f096a5ca659903c
[INFO] running `Command { std: "docker" "start" "-a" "89909f3e0a6a020e9f44e37bdafdbca1908ba5132710b2666f096a5ca659903c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "89909f3e0a6a020e9f44e37bdafdbca1908ba5132710b2666f096a5ca659903c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89909f3e0a6a020e9f44e37bdafdbca1908ba5132710b2666f096a5ca659903c", kill_on_drop: false }`
[INFO] [stdout] 89909f3e0a6a020e9f44e37bdafdbca1908ba5132710b2666f096a5ca659903c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 003bb6234c672f9fd0f0748d4ada336a1787e9bcd2e6fc6c26ebf42812b2ba37
[INFO] running `Command { std: "docker" "start" "-a" "003bb6234c672f9fd0f0748d4ada336a1787e9bcd2e6fc6c26ebf42812b2ba37", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.84
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling zerocopy v0.7.34
[INFO] [stderr]    Compiling allocator-api2 v0.2.18
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling jobserver v0.1.31
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling rust_decimal v1.35.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling num-bigint v0.4.5
[INFO] [stderr]    Compiling zstd-sys v2.0.10+zstd.1.5.6
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling bigdecimal v0.3.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling tokio v1.38.0
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling pest v2.7.10
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling unicode-properties v0.1.1
[INFO] [stderr]    Compiling zstd-safe v7.1.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling darling_core v0.20.9
[INFO] [stderr]    Compiling pest_meta v2.7.10
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling axum-core v0.4.3
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling hdrhistogram v7.5.4
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling whoami v1.5.1
[INFO] [stderr]    Compiling miniz_oxide v0.7.3
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling dlv-list v0.5.2
[INFO] [stderr]    Compiling pest_generator v2.7.10
[INFO] [stderr]    Compiling inherent v1.0.11
[INFO] [stderr]    Compiling axum v0.7.5
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling ordered-float v3.9.2
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling winnow v0.6.9
[INFO] [stderr]    Compiling darling_macro v0.20.9
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]    Compiling h2 v0.4.5
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling uuid v1.8.0
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling toml_datetime v0.6.6
[INFO] [stderr]    Compiling serde_spanned v0.6.6
[INFO] [stderr]    Compiling zstd v0.13.1
[INFO] [stderr]    Compiling toml_edit v0.22.13
[INFO] [stderr]    Compiling sqlformat v0.2.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tracing-serde v0.1.3
[INFO] [stderr]    Compiling serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling ordered-multimap v0.6.0
[INFO] [stderr]    Compiling sea-query v0.30.7
[INFO] [stderr]    Compiling darling v0.20.9
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling pest_derive v2.7.10
[INFO] [stderr]    Compiling flate2 v1.0.30
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling axum-macros v0.4.1
[INFO] [stderr]    Compiling hyper v1.3.1
[INFO] [stderr]    Compiling ouroboros_macro v0.17.2
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling sea-bae v0.2.0
[INFO] [stderr]    Compiling hyper-util v0.1.5
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling aliasable v0.1.3
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling ouroboros v0.17.2
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling sea-orm-macros v0.12.15
[INFO] [stderr]    Compiling toml v0.8.13
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling async-compression v0.4.11
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling validator_derive v0.18.1
[INFO] [stderr]    Compiling rust-ini v0.19.0
[INFO] [stderr]    Compiling ron v0.8.1
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling crossbeam-channel v0.5.13
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling strum v0.25.0
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling sha1_smol v1.0.0
[INFO] [stderr]    Compiling http-range-header v0.4.1
[INFO] [stderr]    Compiling iri-string v0.7.2
[INFO] [stderr]    Compiling pathdiff v0.2.1
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling config v0.14.0
[INFO] [stderr]    Compiling bcrypt v0.15.1
[INFO] [stderr]    Compiling tracing-appender v0.2.3
[INFO] [stderr]    Compiling validator v0.18.1
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling axum-extra v0.9.3
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling sea-query-binder v0.5.0
[INFO] [stderr]    Compiling sea-orm v0.12.15
[INFO] [stderr]    Compiling redis v0.25.4
[INFO] [stderr]    Compiling cdb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Alphanumeric` and `DistString`
[INFO] [stdout]  --> src/service/user.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::distributions::{Alphanumeric, DistString};
[INFO] [stdout]   |                           ^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ColumnTrait`, `PaginatorTrait`, `QueryFilter`, and `Set`
[INFO] [stdout]  --> src/service/user.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sea_orm::{ColumnTrait, EntityTrait, PaginatorTrait, QueryFilter, Set};
[INFO] [stdout]   |               ^^^^^^^^^^^               ^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::request::UserCreateRequest`
[INFO] [stdout]  --> src/service/user.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::common::request::UserCreateRequest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `salt` is never used
[INFO] [stdout]  --> src/util/mod.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn salt() -> String {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_with_salt` is never used
[INFO] [stdout]  --> src/util/mod.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn hash_with_salt<P: AsRef<[u8]>>(pwd: P, salt: [u8; 16]) -> String {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify` is never used
[INFO] [stdout]   --> src/util/mod.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn verify<P: AsRef<[u8]>>(pwd: P, pwd_in_db: &str) -> BcryptResult<bool> {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UserStatus` is never used
[INFO] [stdout]  --> src/common/mod.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum UserStatus {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `fail`, and `ok_with_msg` are never used
[INFO] [stdout]   --> src/common/result.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<T> ApiResponse<T> {
[INFO] [stdout]    | ---------------------- associated functions in this implementation
[INFO] [stdout] 22 |     pub fn new(code: usize, message: String, data: Option<T>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn fail(code: usize, message: String) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn ok_with_msg(data: Option<T>, message: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InternalServerError` is never constructed
[INFO] [stdout]   --> src/common/result.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub enum Error {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 85 |     InternalServerError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Error`, `TokenCreation`, `InvalidToken`, `MissingToken`, and `InvalidTokenType` are never constructed
[INFO] [stdout]    --> src/common/result.rs:92:5
[INFO] [stdout]     |
[INFO] [stdout]  90 | pub enum AuthError {
[INFO] [stdout]     |          --------- variants in this enum
[INFO] [stdout]  91 |     #[error("{0}")]
[INFO] [stdout]  92 |     Error(String),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]  93 |     #[error("Token creation error")]
[INFO] [stdout]  94 |     TokenCreation,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]  95 |     #[error("Invalid token")]
[INFO] [stdout]  96 |     InvalidToken,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]  97 |     #[error("Missing token")]
[INFO] [stdout]  98 |     MissingToken,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]  99 |     #[error("Invalid token type")]
[INFO] [stdout] 100 |     InvalidTokenType,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `bad_request`, `not_found`, and `auth_error` are never used
[INFO] [stdout]    --> src/common/result.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl Error {
[INFO] [stdout]     | ---------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn bad_request() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn not_found() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn auth_error() -> Self { Error::AuthError(AuthError::Error("Auth Error".to_string())) }
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserCreateRequest` is never constructed
[INFO] [stdout]  --> src/common/request.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct UserCreateRequest {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 56s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.4, sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "003bb6234c672f9fd0f0748d4ada336a1787e9bcd2e6fc6c26ebf42812b2ba37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "003bb6234c672f9fd0f0748d4ada336a1787e9bcd2e6fc6c26ebf42812b2ba37", kill_on_drop: false }`
[INFO] [stdout] 003bb6234c672f9fd0f0748d4ada336a1787e9bcd2e6fc6c26ebf42812b2ba37
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0f49dfa9cb105dc09c5c0dff4e96a1338315ccc04d230840891a1a7f89049d7
[INFO] running `Command { std: "docker" "start" "-a" "c0f49dfa9cb105dc09c5c0dff4e96a1338315ccc04d230840891a1a7f89049d7", kill_on_drop: false }`
[INFO] [stderr]    Compiling cdb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Alphanumeric` and `DistString`
[INFO] [stdout]  --> src/service/user.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::distributions::{Alphanumeric, DistString};
[INFO] [stdout]   |                           ^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ColumnTrait`, `PaginatorTrait`, `QueryFilter`, and `Set`
[INFO] [stdout]  --> src/service/user.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sea_orm::{ColumnTrait, EntityTrait, PaginatorTrait, QueryFilter, Set};
[INFO] [stdout]   |               ^^^^^^^^^^^               ^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::request::UserCreateRequest`
[INFO] [stdout]  --> src/service/user.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::common::request::UserCreateRequest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `salt` is never used
[INFO] [stdout]  --> src/util/mod.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn salt() -> String {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UserStatus` is never used
[INFO] [stdout]  --> src/common/mod.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum UserStatus {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `fail`, and `ok_with_msg` are never used
[INFO] [stdout]   --> src/common/result.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<T> ApiResponse<T> {
[INFO] [stdout]    | ---------------------- associated functions in this implementation
[INFO] [stdout] 22 |     pub fn new(code: usize, message: String, data: Option<T>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn fail(code: usize, message: String) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn ok_with_msg(data: Option<T>, message: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InternalServerError` is never constructed
[INFO] [stdout]   --> src/common/result.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub enum Error {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 85 |     InternalServerError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Error`, `TokenCreation`, `InvalidToken`, `MissingToken`, and `InvalidTokenType` are never constructed
[INFO] [stdout]    --> src/common/result.rs:92:5
[INFO] [stdout]     |
[INFO] [stdout]  90 | pub enum AuthError {
[INFO] [stdout]     |          --------- variants in this enum
[INFO] [stdout]  91 |     #[error("{0}")]
[INFO] [stdout]  92 |     Error(String),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]  93 |     #[error("Token creation error")]
[INFO] [stdout]  94 |     TokenCreation,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]  95 |     #[error("Invalid token")]
[INFO] [stdout]  96 |     InvalidToken,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]  97 |     #[error("Missing token")]
[INFO] [stdout]  98 |     MissingToken,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]  99 |     #[error("Invalid token type")]
[INFO] [stdout] 100 |     InvalidTokenType,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `bad_request`, `not_found`, and `auth_error` are never used
[INFO] [stdout]    --> src/common/result.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl Error {
[INFO] [stdout]     | ---------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn bad_request() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn not_found() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn auth_error() -> Self { Error::AuthError(AuthError::Error("Auth Error".to_string())) }
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserCreateRequest` is never constructed
[INFO] [stdout]  --> src/common/request.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct UserCreateRequest {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.41s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.4, sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "c0f49dfa9cb105dc09c5c0dff4e96a1338315ccc04d230840891a1a7f89049d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0f49dfa9cb105dc09c5c0dff4e96a1338315ccc04d230840891a1a7f89049d7", kill_on_drop: false }`
[INFO] [stdout] c0f49dfa9cb105dc09c5c0dff4e96a1338315ccc04d230840891a1a7f89049d7
