[INFO] cloning repository https://github.com/1738352551/rust-man-blog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1738352551/rust-man-blog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1738352551%2Frust-man-blog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1738352551%2Frust-man-blog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e20c25920f0061930ad195f4fbe73419cf5351d [INFO] checking 1738352551/rust-man-blog/2e20c25920f0061930ad195f4fbe73419cf5351d against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1738352551%2Frust-man-blog" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/1738352551/rust-man-blog on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/1738352551/rust-man-blog [INFO] finished tweaking git repo https://github.com/1738352551/rust-man-blog [INFO] tweaked toml for git repo https://github.com/1738352551/rust-man-blog written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/1738352551/rust-man-blog 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12af56e48b74db970dd2183db0c4dbef985b02669606c813ac84ba10aaba0f62 [INFO] running `Command { std: "docker" "start" "-a" "12af56e48b74db970dd2183db0c4dbef985b02669606c813ac84ba10aaba0f62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12af56e48b74db970dd2183db0c4dbef985b02669606c813ac84ba10aaba0f62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12af56e48b74db970dd2183db0c4dbef985b02669606c813ac84ba10aaba0f62", kill_on_drop: false }` [INFO] [stdout] 12af56e48b74db970dd2183db0c4dbef985b02669606c813ac84ba10aaba0f62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f84036f930bc737ed04fa065a5c9025ff049f0ab58ba402803aa51ba4abc72b9 [INFO] running `Command { std: "docker" "start" "-a" "f84036f930bc737ed04fa065a5c9025ff049f0ab58ba402803aa51ba4abc72b9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling tokio v1.38.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Checking sqlformat v0.2.4 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling pkcs1 v0.3.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling inherent v1.0.11 [INFO] [stderr] Checking sqlx-mysql v0.7.4 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking sea-query v0.30.7 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Compiling sea-bae v0.2.0 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking ouroboros v0.17.2 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling sea-orm-macros v0.12.15 [INFO] [stderr] Checking sea-query-binder v0.5.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling sqlx-macros v0.5.13 [INFO] [stderr] Checking actix-server v2.4.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking sea-orm v0.12.15 [INFO] [stderr] Checking actix-http v3.8.0 [INFO] [stderr] Checking sqlx v0.5.13 [INFO] [stderr] Checking actix-web v4.8.0 [INFO] [stderr] Checking man-blog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `prelude::ChronoDateTimeLocal` [INFO] [stdout] --> src/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::{prelude::ChronoDateTimeLocal, ConnectOptions, Database, DatabaseConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/api/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::ChronoDateTimeLocal` [INFO] [stdout] --> src/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use sea_orm::{prelude::ChronoDateTimeLocal, ConnectOptions, Database, DatabaseConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/api/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/custom_resp.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn fail(code: i32, msg: &str) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/custom_resp.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | fn respond_to(self, req: &HttpRequest) -> HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/custom_resp.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn fail(code: i32, msg: &str) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/custom_resp.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | fn respond_to(self, req: &HttpRequest) -> HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fail` is never used [INFO] [stdout] --> src/custom_resp.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl JsonResp { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn fail(code: i32, msg: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InternalError`, `BadClientData`, `Timeout`, and `ValidationError` are never constructed [INFO] [stdout] --> src/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ServerError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 9 | #[display(fmt = "内部错误")] [INFO] [stdout] 10 | InternalError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | BadClientData, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | ValidationError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fail` is never used [INFO] [stdout] --> src/custom_resp.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl JsonResp { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn fail(code: i32, msg: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InternalError`, `BadClientData`, `Timeout`, and `ValidationError` are never constructed [INFO] [stdout] --> src/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ServerError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 9 | #[display(fmt = "内部错误")] [INFO] [stdout] 10 | InternalError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | BadClientData, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | ValidationError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 09s [INFO] running `Command { std: "docker" "inspect" "f84036f930bc737ed04fa065a5c9025ff049f0ab58ba402803aa51ba4abc72b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f84036f930bc737ed04fa065a5c9025ff049f0ab58ba402803aa51ba4abc72b9", kill_on_drop: false }` [INFO] [stdout] f84036f930bc737ed04fa065a5c9025ff049f0ab58ba402803aa51ba4abc72b9