[INFO] cloning repository https://github.com/Sakuya200/kirine-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sakuya200/kirine-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSakuya200%2Fkirine-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSakuya200%2Fkirine-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2dab990264ee2e282687901baa3ee1b63ff5705c [INFO] testing Sakuya200/kirine-server against 1.97.0-beta.6 for beta-1.98-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSakuya200%2Fkirine-server" "/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/Sakuya200/kirine-server [INFO] finished tweaking git repo https://github.com/Sakuya200/kirine-server [INFO] tweaked toml for git repo https://github.com/Sakuya200/kirine-server written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sakuya200/kirine-server on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Sakuya200/kirine-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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ppmd-rust v1.4.0 [INFO] [stderr] Downloaded pbkdf2 v0.13.0 [INFO] [stderr] Downloaded symlink v0.1.0 [INFO] [stderr] Downloaded cipher v0.5.1 [INFO] [stderr] Downloaded hybrid-array v0.4.11 [INFO] [stderr] Downloaded tracing-appender v0.2.5 [INFO] [stderr] Downloaded libbz2-rs-sys v0.2.3 [INFO] [stderr] Downloaded aes v0.9.0 [INFO] [stderr] Downloaded lzma-rust2 v0.16.2 [INFO] [stderr] Downloaded zlib-rs v0.6.3 [INFO] [stderr] Downloaded rustls-webpki v0.103.11 [INFO] [stderr] Downloaded sea-orm-migration v1.1.20 [INFO] [stderr] Downloaded sea-schema-derive v0.3.0 [INFO] [stderr] Downloaded sea-query-binder v0.7.0 [INFO] [stderr] Downloaded sea-query v0.32.7 [INFO] [stderr] Downloaded sea-query-derive v0.4.3 [INFO] [stderr] Downloaded inherent v1.0.13 [INFO] [stderr] Downloaded sea-orm-cli v1.1.20 [INFO] [stderr] Downloaded ouroboros_macro v0.18.5 [INFO] [stderr] Downloaded sea-orm-macros v1.1.20 [INFO] [stderr] Downloaded sea-bae v0.2.1 [INFO] [stderr] Downloaded pgvector v0.4.1 [INFO] [stderr] Downloaded ouroboros v0.18.5 [INFO] [stderr] Downloaded jsonwebtoken v10.4.0 [INFO] [stderr] Downloaded zip v7.2.0 [INFO] [stderr] Downloaded calamine v0.34.0 [INFO] [stderr] Downloaded sea-schema v0.16.2 [INFO] [stderr] Downloaded sea-orm v1.1.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 248312d22690b32bbc64b7f45ee017d647ffc824dc75031c6890a3a96905cfee [INFO] running `Command { std: "docker" "start" "248312d22690b32bbc64b7f45ee017d647ffc824dc75031c6890a3a96905cfee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "248312d22690b32bbc64b7f45ee017d647ffc824dc75031c6890a3a96905cfee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "248312d22690b32bbc64b7f45ee017d647ffc824dc75031c6890a3a96905cfee" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "248312d22690b32bbc64b7f45ee017d647ffc824dc75031c6890a3a96905cfee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "248312d22690b32bbc64b7f45ee017d647ffc824dc75031c6890a3a96905cfee" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling typenum v1.20.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling cc v1.2.62 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling crc-catalog v2.5.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling tinyvec v1.11.0 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling bigdecimal v0.4.10 [INFO] [stderr] Compiling rust_decimal v1.42.0 [INFO] [stderr] Compiling tokio v1.52.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling hybrid-array v0.4.11 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling uuid v1.23.1 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling crypto-common v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling cmov v0.5.3 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling ctutils v0.4.2 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling const-oid v0.10.2 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rand_core v0.10.1 [INFO] [stderr] Compiling zlib-rs v0.6.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling bumpalo v3.20.2 [INFO] [stderr] Compiling inout v0.2.2 [INFO] [stderr] Compiling typed-path v0.12.3 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling cipher v0.5.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling zopfli v0.8.3 [INFO] [stderr] Compiling libbz2-rs-sys v0.2.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling debug_unsafe v0.1.4 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling cpubits v0.1.1 [INFO] [stderr] Compiling winnow v1.0.2 [INFO] [stderr] Compiling aes v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling atoi_simd v0.17.0 [INFO] [stderr] Compiling codepage v0.1.2 [INFO] [stderr] Compiling quick-xml v0.39.4 [INFO] [stderr] Compiling chacha20 v0.10.0 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling bzip2 v0.6.1 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling serde_spanned v1.1.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling lzma-rust2 v0.16.2 [INFO] [stderr] Compiling fast-float2 v0.2.3 [INFO] [stderr] Compiling constant_time_eq v0.4.2 [INFO] [stderr] Compiling symlink v0.1.0 [INFO] [stderr] Compiling deflate64 v0.1.12 [INFO] [stderr] Compiling ppmd-rust v1.4.0 [INFO] [stderr] Compiling toml v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling rustls-webpki v0.103.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling block-buffer v0.12.0 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling inherent v1.0.13 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling digest v0.11.3 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling sea-query-derive v0.4.3 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling sea-orm-macros v1.1.20 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling hmac v0.13.0 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling sea-schema-derive v0.3.0 [INFO] [stderr] Compiling zip v7.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling pbkdf2 v0.13.0 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling simple_asn1 v0.6.4 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling sha1 v0.11.0 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling rand v0.10.1 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling clap v4.6.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sea-query v0.32.7 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling calamine v0.34.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling jsonwebtoken v10.4.0 [INFO] [stderr] Compiling zip v8.6.0 [INFO] [stderr] Compiling rsa v0.9.10 [INFO] [stderr] Compiling tracing-appender v0.2.5 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling sea-orm-cli v1.1.20 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling axum v0.8.9 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling sea-query-binder v0.7.0 [INFO] [stderr] Compiling sea-schema v0.16.2 [INFO] [stderr] Compiling sea-orm v1.1.20 [INFO] [stderr] Compiling sea-orm-migration v1.1.20 [INFO] [stderr] Compiling kirine-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/config/log_config.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt as stdfmt, fs, io, io::IsTerminal, path::PathBuf, sync::OnceLock, thread}; [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: `Context` and `Result` [INFO] [stdout] --> src/config/log_config.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UtcDateTime` [INFO] [stdout] --> src/utils/time.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | use time::{macros::format_description, OffsetDateTime, UtcOffset, UtcDateTime}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> src/utils/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use time::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/utils/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use time::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file::*` [INFO] [stdout] --> src/utils/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use file::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `sea_orm::prelude::DateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/utils/time.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | NaiveDateTime::from_timestamp_opt(local_time.unix_timestamp(), 0).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Forbidden` is never constructed [INFO] [stdout] --> src/api/auth.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum AuthError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | Forbidden, [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] = 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/api/entity.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl CommonResponse { [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] 22 | pub fn new(status_code: i32, data: Option, message: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `global_device_type` and `attn_implementation` are never used [INFO] [stdout] --> src/config/env_config.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl EnvConfig { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn global_device_type(&self) -> HardwareType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn attn_implementation(&self) -> AttentionImplementation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTextToSpeechTaskRequest` is never constructed [INFO] [stdout] --> src/data_model/history/req.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CreateTextToSpeechTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateModelTrainingTaskRequest` is never constructed [INFO] [stdout] --> src/data_model/history/req.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct CreateModelTrainingTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateVoiceCloneTaskRequest` is never constructed [INFO] [stdout] --> src/data_model/history/req.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct CreateVoiceCloneTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTextToSpeechTaskDto` is never constructed [INFO] [stdout] --> src/data_model/history/dto.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CreateTextToSpeechTaskDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateModelTrainingTaskDto` is never constructed [INFO] [stdout] --> src/data_model/history/dto.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CreateModelTrainingTaskDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateVoiceCloneTaskDto` is never constructed [INFO] [stdout] --> src/data_model/history/dto.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct CreateVoiceCloneTaskDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StorageMode` is never used [INFO] [stdout] --> src/pipeline/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum StorageMode { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_text_to_speech_task`, `create_model_training_task`, and `create_voice_clone_task` are never used [INFO] [stdout] --> src/service/history.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait HistoryService { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 25 | async fn create_text_to_speech_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | async fn create_model_training_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | async fn create_voice_clone_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_non_empty` is never used [INFO] [stdout] --> src/service/history.rs:277:4 [INFO] [stdout] | [INFO] [stdout] 277 | fn require_non_empty(field_name: &str, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_text_to_speech_task`, `create_model_training_task`, and `create_voice_clone_task` are never used [INFO] [stdout] --> src/storage/history.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait HistoryStorage { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 31 | async fn create_text_to_speech_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | async fn create_model_training_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | async fn create_voice_clone_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SRC_MODEL_RELATIVE_PATH_LIST` is never used [INFO] [stdout] --> src/utils/path.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const SRC_MODEL_RELATIVE_PATH_LIST: &[&str] = &["./src-model", "./lib/src-model"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_src_model_path` is never used [INFO] [stdout] --> src/utils/path.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn resolve_src_model_path() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_string` is never used [INFO] [stdout] --> src/utils/time.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn now_string() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_unique_token` is never used [INFO] [stdout] --> src/utils/time.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn generate_unique_token(prefix: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_parent_dir` is never used [INFO] [stdout] --> src/utils/file.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn ensure_parent_dir(path: &Path, description: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_directory` is never used [INFO] [stdout] --> src/utils/file.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn ensure_directory(path: &Path, description: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `directory_has_entries` is never used [INFO] [stdout] --> src/utils/file.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn directory_has_entries(path: &Path, description: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `same_path` is never used [INFO] [stdout] --> src/utils/file.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn same_path(left: &Path, right: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_dir_recursive` is never used [INFO] [stdout] --> src/utils/file.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn copy_dir_recursive(source_path: &Path, target_path: &Path, description: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `migrate_directory` is never used [INFO] [stdout] --> src/utils/file.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn migrate_directory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace_output_file` is never used [INFO] [stdout] --> src/utils/file.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn replace_output_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_file_if_exists` is never used [INFO] [stdout] --> src/utils/file.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn remove_file_if_exists(path: &Path, description: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [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" "248312d22690b32bbc64b7f45ee017d647ffc824dc75031c6890a3a96905cfee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "248312d22690b32bbc64b7f45ee017d647ffc824dc75031c6890a3a96905cfee" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/config/log_config.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt as stdfmt, fs, io, io::IsTerminal, path::PathBuf, sync::OnceLock, thread}; [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: `Context` and `Result` [INFO] [stdout] --> src/config/log_config.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UtcDateTime` [INFO] [stdout] --> src/utils/time.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | use time::{macros::format_description, OffsetDateTime, UtcOffset, UtcDateTime}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> src/utils/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use time::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/utils/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use time::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file::*` [INFO] [stdout] --> src/utils/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use file::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `sea_orm::prelude::DateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/utils/time.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | NaiveDateTime::from_timestamp_opt(local_time.unix_timestamp(), 0).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Forbidden` is never constructed [INFO] [stdout] --> src/api/auth.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum AuthError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | Forbidden, [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] = 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/api/entity.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl CommonResponse { [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] 22 | pub fn new(status_code: i32, data: Option, message: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `global_device_type` and `attn_implementation` are never used [INFO] [stdout] --> src/config/env_config.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl EnvConfig { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn global_device_type(&self) -> HardwareType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn attn_implementation(&self) -> AttentionImplementation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTextToSpeechTaskRequest` is never constructed [INFO] [stdout] --> src/data_model/history/req.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CreateTextToSpeechTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateModelTrainingTaskRequest` is never constructed [INFO] [stdout] --> src/data_model/history/req.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct CreateModelTrainingTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateVoiceCloneTaskRequest` is never constructed [INFO] [stdout] --> src/data_model/history/req.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct CreateVoiceCloneTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTextToSpeechTaskDto` is never constructed [INFO] [stdout] --> src/data_model/history/dto.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CreateTextToSpeechTaskDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateModelTrainingTaskDto` is never constructed [INFO] [stdout] --> src/data_model/history/dto.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CreateModelTrainingTaskDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateVoiceCloneTaskDto` is never constructed [INFO] [stdout] --> src/data_model/history/dto.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct CreateVoiceCloneTaskDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StorageMode` is never used [INFO] [stdout] --> src/pipeline/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum StorageMode { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_text_to_speech_task`, `create_model_training_task`, and `create_voice_clone_task` are never used [INFO] [stdout] --> src/service/history.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait HistoryService { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 25 | async fn create_text_to_speech_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | async fn create_model_training_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | async fn create_voice_clone_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_non_empty` is never used [INFO] [stdout] --> src/service/history.rs:277:4 [INFO] [stdout] | [INFO] [stdout] 277 | fn require_non_empty(field_name: &str, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_text_to_speech_task`, `create_model_training_task`, and `create_voice_clone_task` are never used [INFO] [stdout] --> src/storage/history.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait HistoryStorage { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 31 | async fn create_text_to_speech_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | async fn create_model_training_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | async fn create_voice_clone_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SRC_MODEL_RELATIVE_PATH_LIST` is never used [INFO] [stdout] --> src/utils/path.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const SRC_MODEL_RELATIVE_PATH_LIST: &[&str] = &["./src-model", "./lib/src-model"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_src_model_path` is never used [INFO] [stdout] --> src/utils/path.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn resolve_src_model_path() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_string` is never used [INFO] [stdout] --> src/utils/time.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn now_string() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_unique_token` is never used [INFO] [stdout] --> src/utils/time.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn generate_unique_token(prefix: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_parent_dir` is never used [INFO] [stdout] --> src/utils/file.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn ensure_parent_dir(path: &Path, description: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_directory` is never used [INFO] [stdout] --> src/utils/file.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn ensure_directory(path: &Path, description: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `directory_has_entries` is never used [INFO] [stdout] --> src/utils/file.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn directory_has_entries(path: &Path, description: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `same_path` is never used [INFO] [stdout] --> src/utils/file.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn same_path(left: &Path, right: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_dir_recursive` is never used [INFO] [stdout] --> src/utils/file.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn copy_dir_recursive(source_path: &Path, target_path: &Path, description: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kirine-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `migrate_directory` is never used [INFO] [stdout] --> src/utils/file.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn migrate_directory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace_output_file` is never used [INFO] [stdout] --> src/utils/file.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn replace_output_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_file_if_exists` is never used [INFO] [stdout] --> src/utils/file.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn remove_file_if_exists(path: &Path, description: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/config/log_config.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt as stdfmt, fs, io, io::IsTerminal, path::PathBuf, sync::OnceLock, thread}; [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: `Context` and `Result` [INFO] [stdout] --> src/config/log_config.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UtcDateTime` [INFO] [stdout] --> src/utils/time.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | use time::{macros::format_description, OffsetDateTime, UtcOffset, UtcDateTime}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> src/utils/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use time::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/utils/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use time::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file::*` [INFO] [stdout] --> src/utils/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use file::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `sea_orm::prelude::DateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/utils/time.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | NaiveDateTime::from_timestamp_opt(local_time.unix_timestamp(), 0).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Forbidden` is never constructed [INFO] [stdout] --> src/api/auth.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum AuthError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | Forbidden, [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] = 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/api/entity.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl CommonResponse { [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] 22 | pub fn new(status_code: i32, data: Option, message: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `global_device_type` and `attn_implementation` are never used [INFO] [stdout] --> src/config/env_config.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl EnvConfig { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn global_device_type(&self) -> HardwareType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn attn_implementation(&self) -> AttentionImplementation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTextToSpeechTaskRequest` is never constructed [INFO] [stdout] --> src/data_model/history/req.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CreateTextToSpeechTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateModelTrainingTaskRequest` is never constructed [INFO] [stdout] --> src/data_model/history/req.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct CreateModelTrainingTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateVoiceCloneTaskRequest` is never constructed [INFO] [stdout] --> src/data_model/history/req.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct CreateVoiceCloneTaskRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTextToSpeechTaskDto` is never constructed [INFO] [stdout] --> src/data_model/history/dto.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CreateTextToSpeechTaskDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateModelTrainingTaskDto` is never constructed [INFO] [stdout] --> src/data_model/history/dto.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CreateModelTrainingTaskDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateVoiceCloneTaskDto` is never constructed [INFO] [stdout] --> src/data_model/history/dto.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct CreateVoiceCloneTaskDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StorageMode` is never used [INFO] [stdout] --> src/pipeline/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum StorageMode { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_text_to_speech_task`, `create_model_training_task`, and `create_voice_clone_task` are never used [INFO] [stdout] --> src/service/history.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait HistoryService { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 25 | async fn create_text_to_speech_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | async fn create_model_training_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | async fn create_voice_clone_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_non_empty` is never used [INFO] [stdout] --> src/service/history.rs:277:4 [INFO] [stdout] | [INFO] [stdout] 277 | fn require_non_empty(field_name: &str, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_text_to_speech_task`, `create_model_training_task`, and `create_voice_clone_task` are never used [INFO] [stdout] --> src/storage/history.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait HistoryStorage { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 31 | async fn create_text_to_speech_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | async fn create_model_training_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | async fn create_voice_clone_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SRC_MODEL_RELATIVE_PATH_LIST` is never used [INFO] [stdout] --> src/utils/path.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const SRC_MODEL_RELATIVE_PATH_LIST: &[&str] = &["./src-model", "./lib/src-model"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_src_model_path` is never used [INFO] [stdout] --> src/utils/path.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn resolve_src_model_path() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_string` is never used [INFO] [stdout] --> src/utils/time.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn now_string() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_unique_token` is never used [INFO] [stdout] --> src/utils/time.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn generate_unique_token(prefix: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_parent_dir` is never used [INFO] [stdout] --> src/utils/file.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn ensure_parent_dir(path: &Path, description: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_directory` is never used [INFO] [stdout] --> src/utils/file.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn ensure_directory(path: &Path, description: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `directory_has_entries` is never used [INFO] [stdout] --> src/utils/file.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn directory_has_entries(path: &Path, description: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `same_path` is never used [INFO] [stdout] --> src/utils/file.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn same_path(left: &Path, right: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_dir_recursive` is never used [INFO] [stdout] --> src/utils/file.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn copy_dir_recursive(source_path: &Path, target_path: &Path, description: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `migrate_directory` is never used [INFO] [stdout] --> src/utils/file.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn migrate_directory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace_output_file` is never used [INFO] [stdout] --> src/utils/file.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn replace_output_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_file_if_exists` is never used [INFO] [stdout] --> src/utils/file.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn remove_file_if_exists(path: &Path, description: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [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" "248312d22690b32bbc64b7f45ee017d647ffc824dc75031c6890a3a96905cfee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "248312d22690b32bbc64b7f45ee017d647ffc824dc75031c6890a3a96905cfee" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `fs` [INFO] [stderr] --> src/config/log_config.rs:1:26 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{fmt as stdfmt, fs, io, io::IsTerminal, path::PathBuf, sync::OnceLock, thread}; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Context` and `Result` [INFO] [stderr] --> src/config/log_config.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use anyhow::{Context, Result}; [INFO] [stderr] | ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `UtcDateTime` [INFO] [stderr] --> src/utils/time.rs:1:67 [INFO] [stderr] | [INFO] [stderr] 1 | use time::{macros::format_description, OffsetDateTime, UtcOffset, UtcDateTime}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stderr] --> src/utils/mod.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use time::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the most public imported item is `pub(crate)` [INFO] [stderr] --> src/utils/mod.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use time::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stderr] [INFO] [stderr] warning: unused import: `file::*` [INFO] [stderr] --> src/utils/mod.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub use file::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `sea_orm::prelude::DateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stderr] --> src/utils/time.rs:22:20 [INFO] [stderr] | [INFO] [stderr] 22 | NaiveDateTime::from_timestamp_opt(local_time.unix_timestamp(), 0).unwrap() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Forbidden` is never constructed [INFO] [stderr] --> src/api/auth.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 32 | pub enum AuthError { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 38 | Forbidden, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/api/entity.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl CommonResponse { [INFO] [stderr] | ------------------------------------ associated function in this implementation [INFO] [stderr] 22 | pub fn new(status_code: i32, data: Option, message: Option) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `global_device_type` and `attn_implementation` are never used [INFO] [stderr] --> src/config/env_config.rs:136:12 [INFO] [stderr] | [INFO] [stderr] 92 | impl EnvConfig { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 136 | pub fn global_device_type(&self) -> HardwareType { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 140 | pub fn attn_implementation(&self) -> AttentionImplementation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CreateTextToSpeechTaskRequest` is never constructed [INFO] [stderr] --> src/data_model/history/req.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct CreateTextToSpeechTaskRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CreateModelTrainingTaskRequest` is never constructed [INFO] [stderr] --> src/data_model/history/req.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct CreateModelTrainingTaskRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CreateVoiceCloneTaskRequest` is never constructed [INFO] [stderr] --> src/data_model/history/req.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct CreateVoiceCloneTaskRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CreateTextToSpeechTaskDto` is never constructed [INFO] [stderr] --> src/data_model/history/dto.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct CreateTextToSpeechTaskDto { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CreateModelTrainingTaskDto` is never constructed [INFO] [stderr] --> src/data_model/history/dto.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct CreateModelTrainingTaskDto { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CreateVoiceCloneTaskDto` is never constructed [INFO] [stderr] --> src/data_model/history/dto.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct CreateVoiceCloneTaskDto { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `StorageMode` is never used [INFO] [stderr] --> src/pipeline/mod.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | pub enum StorageMode { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `create_text_to_speech_task`, `create_model_training_task`, and `create_voice_clone_task` are never used [INFO] [stderr] --> src/service/history.rs:25:14 [INFO] [stderr] | [INFO] [stderr] 24 | pub trait HistoryService { [INFO] [stderr] | -------------- methods in this trait [INFO] [stderr] 25 | async fn create_text_to_speech_task( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | async fn create_model_training_task( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | async fn create_voice_clone_task( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `require_non_empty` is never used [INFO] [stderr] --> src/service/history.rs:277:4 [INFO] [stderr] | [INFO] [stderr] 277 | fn require_non_empty(field_name: &str, value: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `create_text_to_speech_task`, `create_model_training_task`, and `create_voice_clone_task` are never used [INFO] [stderr] --> src/storage/history.rs:31:14 [INFO] [stderr] | [INFO] [stderr] 30 | pub trait HistoryStorage { [INFO] [stderr] | -------------- methods in this trait [INFO] [stderr] 31 | async fn create_text_to_speech_task( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | async fn create_model_training_task( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | async fn create_voice_clone_task( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `SRC_MODEL_RELATIVE_PATH_LIST` is never used [INFO] [stderr] --> src/utils/path.rs:5:7 [INFO] [stderr] | [INFO] [stderr] 5 | const SRC_MODEL_RELATIVE_PATH_LIST: &[&str] = &["./src-model", "./lib/src-model"]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `resolve_src_model_path` is never used [INFO] [stderr] --> src/utils/path.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn resolve_src_model_path() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `now_string` is never used [INFO] [stderr] --> src/utils/time.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) fn now_string() -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_unique_token` is never used [INFO] [stderr] --> src/utils/time.rs:30:15 [INFO] [stderr] | [INFO] [stderr] 30 | pub(crate) fn generate_unique_token(prefix: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `ensure_parent_dir` is never used [INFO] [stderr] --> src/utils/file.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn ensure_parent_dir(path: &Path, description: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `ensure_directory` is never used [INFO] [stderr] --> src/utils/file.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn ensure_directory(path: &Path, description: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `directory_has_entries` is never used [INFO] [stderr] --> src/utils/file.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn directory_has_entries(path: &Path, description: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `same_path` is never used [INFO] [stderr] --> src/utils/file.rs:61:4 [INFO] [stderr] | [INFO] [stderr] 61 | fn same_path(left: &Path, right: &Path) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `copy_dir_recursive` is never used [INFO] [stderr] --> src/utils/file.rs:70:4 [INFO] [stderr] | [INFO] [stderr] 70 | fn copy_dir_recursive(source_path: &Path, target_path: &Path, description: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `migrate_directory` is never used [INFO] [stderr] --> src/utils/file.rs:108:8 [INFO] [stderr] | [INFO] [stderr] 108 | pub fn migrate_directory( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `replace_output_file` is never used [INFO] [stderr] --> src/utils/file.rs:151:8 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn replace_output_file( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `remove_file_if_exists` is never used [INFO] [stderr] --> src/utils/file.rs:182:8 [INFO] [stderr] | [INFO] [stderr] 182 | pub fn remove_file_if_exists(path: &Path, description: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `kirine-server` (lib) generated 31 warnings (run `cargo fix --lib -p kirine-server` to apply 4 suggestions) [INFO] [stderr] warning: `kirine-server` (lib test) generated 31 warnings (31 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kirine_server-75cae556827303a8) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kirine_server-9ca129192fbfeb8a) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests kirine_server [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] [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] [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" "248312d22690b32bbc64b7f45ee017d647ffc824dc75031c6890a3a96905cfee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "248312d22690b32bbc64b7f45ee017d647ffc824dc75031c6890a3a96905cfee", kill_on_drop: false }` [INFO] [stdout] 248312d22690b32bbc64b7f45ee017d647ffc824dc75031c6890a3a96905cfee