[INFO] cloning repository https://github.com/lsk569937453/modbus_mock_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lsk569937453/modbus_mock_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flsk569937453%2Fmodbus_mock_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flsk569937453%2Fmodbus_mock_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5587a4110372a5c9a714c47699079aa1b027ab27 [INFO] checking lsk569937453/modbus_mock_server against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flsk569937453%2Fmodbus_mock_server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lsk569937453/modbus_mock_server [INFO] finished tweaking git repo https://github.com/lsk569937453/modbus_mock_server [INFO] tweaked toml for git repo https://github.com/lsk569937453/modbus_mock_server written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lsk569937453/modbus_mock_server on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lsk569937453/modbus_mock_server 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `=0.9.34+deprecated` for dependency `serde_yaml` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e863189f0967f19e3a01d4cfdcd1e581d0351f5c7126fc71af9c48f0390f804 [INFO] running `Command { std: "docker" "start" "-a" "6e863189f0967f19e3a01d4cfdcd1e581d0351f5c7126fc71af9c48f0390f804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e863189f0967f19e3a01d4cfdcd1e581d0351f5c7126fc71af9c48f0390f804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e863189f0967f19e3a01d4cfdcd1e581d0351f5c7126fc71af9c48f0390f804", kill_on_drop: false }` [INFO] [stdout] 6e863189f0967f19e3a01d4cfdcd1e581d0351f5c7126fc71af9c48f0390f804 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb35022146c2edead085d3385131e6320715cafb87029095817be610bf3d374a [INFO] running `Command { std: "docker" "start" "-a" "eb35022146c2edead085d3385131e6320715cafb87029095817be610bf3d374a", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `=0.9.34+deprecated` for dependency `serde_yaml` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.50 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling serde_json v1.0.146 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Checking ryu v1.0.21 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling itoa v1.0.16 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Checking phf_shared v0.12.1 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking multer v3.1.0 [INFO] [stderr] Compiling rust-embed-utils v8.9.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking axum-core v0.5.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Compiling chrono-tz v0.10.4 [INFO] [stderr] Checking iri-string v0.7.9 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking rsa v0.9.9 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking headers v0.4.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Compiling rust-embed-impl v8.9.0 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking phf v0.12.1 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking p384 v0.13.1 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking logroller v0.1.10 [INFO] [stderr] Checking rust-embed v8.9.0 [INFO] [stderr] Checking bcrypt v0.17.1 [INFO] [stderr] Checking tracing-appender v0.2.4 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Checking validator v0.20.0 [INFO] [stderr] Checking jsonwebtoken v10.2.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking sqlx-sqlite v0.8.6 [INFO] [stderr] Checking axum-extra v0.12.3 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking modbus_mock_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::handler::echo_handler::echo` [INFO] [stdout] --> src/app/run.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::handler::echo_handler::echo; [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: `crate::middleware::log::log_requests` [INFO] [stdout] --> src/app/run.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::middleware::log::log_requests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Router` [INFO] [stdout] --> src/app/run.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use axum::Router; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::middleware as axum_middleware` [INFO] [stdout] --> src/app/run.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::middleware as axum_middleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::any` [INFO] [stdout] --> src/app/run.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use axum::routing::any; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower_http::cors::Any` [INFO] [stdout] --> src/app/run.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tower_http::cors::Any; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::handler::echo_handler::echo` [INFO] [stdout] --> src/app/run.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::handler::echo_handler::echo; [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: `crate::middleware::log::log_requests` [INFO] [stdout] --> src/app/run.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::middleware::log::log_requests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Router` [INFO] [stdout] --> src/app/run.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use axum::Router; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::middleware as axum_middleware` [INFO] [stdout] --> src/app/run.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::middleware as axum_middleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::any` [INFO] [stdout] --> src/app/run.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use axum::routing::any; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower_http::cors::Any` [INFO] [stdout] --> src/app/run.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tower_http::cors::Any; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Compression` [INFO] [stdout] --> src/logger/log.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use logroller::{Compression, LogRollerBuilder, Rotation, RotationAge, TimeZone}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EnvConfig` [INFO] [stdout] --> src/vojo/app_state.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::app_config::{Config, EnvConfig}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Compression` [INFO] [stdout] --> src/logger/log.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use logroller::{Compression, LogRollerBuilder, Rotation, RotationAge, TimeZone}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EnvConfig` [INFO] [stdout] --> src/vojo/app_state.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::app_config::{Config, EnvConfig}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> src/app/run.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let logger = setup_logger()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> src/app/run.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let logger = setup_logger()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/handler/echo_handler.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn echo_with_error(app_state: AppState) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvConfig` is never constructed [INFO] [stdout] --> src/config/app_config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct EnvConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/app_config.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl EnvConfig { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 18 | /// 初始化环境变量配置 [INFO] [stdout] 19 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AppError` is never used [INFO] [stdout] --> src/error/app_error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `echo` is never used [INFO] [stdout] --> src/handler/echo_handler.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn echo(State(app_state): State) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `echo_with_error` is never used [INFO] [stdout] --> src/handler/echo_handler.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn echo_with_error(app_state: AppState) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_requests` is never used [INFO] [stdout] --> src/middleware/log.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn log_requests( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db_pool` is never read [INFO] [stdout] --> src/vojo/app_state.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | pub db_pool: Pool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BaseResponse` is never constructed [INFO] [stdout] --> src/vojo/base_response.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BaseResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/handler/echo_handler.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn echo_with_error(app_state: AppState) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvConfig` is never constructed [INFO] [stdout] --> src/config/app_config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct EnvConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/app_config.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl EnvConfig { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 18 | /// 初始化环境变量配置 [INFO] [stdout] 19 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AppError` is never used [INFO] [stdout] --> src/error/app_error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `echo` is never used [INFO] [stdout] --> src/handler/echo_handler.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn echo(State(app_state): State) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `echo_with_error` is never used [INFO] [stdout] --> src/handler/echo_handler.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn echo_with_error(app_state: AppState) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_requests` is never used [INFO] [stdout] --> src/middleware/log.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn log_requests( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db_pool` is never read [INFO] [stdout] --> src/vojo/app_state.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 13 | pub db_pool: Pool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BaseResponse` is never constructed [INFO] [stdout] --> src/vojo/base_response.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BaseResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "eb35022146c2edead085d3385131e6320715cafb87029095817be610bf3d374a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb35022146c2edead085d3385131e6320715cafb87029095817be610bf3d374a", kill_on_drop: false }` [INFO] [stdout] eb35022146c2edead085d3385131e6320715cafb87029095817be610bf3d374a