[INFO] cloning repository https://github.com/AlanLang/storkitty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlanLang/storkitty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlanLang%2Fstorkitty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlanLang%2Fstorkitty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f94e572cb6370901038dac33fa25d805c799fa4 [INFO] building AlanLang/storkitty against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlanLang%2Fstorkitty" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AlanLang/storkitty [INFO] finished tweaking git repo https://github.com/AlanLang/storkitty [INFO] tweaked toml for git repo https://github.com/AlanLang/storkitty written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AlanLang/storkitty on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AlanLang/storkitty 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1981b112d6e58dd536951106156c20f73a41c7421d942e22832b945dc79e179 [INFO] running `Command { std: "docker" "start" "-a" "e1981b112d6e58dd536951106156c20f73a41c7421d942e22832b945dc79e179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1981b112d6e58dd536951106156c20f73a41c7421d942e22832b945dc79e179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1981b112d6e58dd536951106156c20f73a41c7421d942e22832b945dc79e179", kill_on_drop: false }` [INFO] [stdout] e1981b112d6e58dd536951106156c20f73a41c7421d942e22832b945dc79e179 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 250322278d86ceb2e88492cade02c13ca00df2ec15f7e42f9e0f14920a0f56a1 [INFO] running `Command { std: "docker" "start" "-a" "250322278d86ceb2e88492cade02c13ca00df2ec15f7e42f9e0f14920a0f56a1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling bcrypt v0.15.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling storkitty v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Path as StdPath` [INFO] [stdout] --> src/backend/files.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | path::{Path as StdPath, PathBuf}, [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 variable: `extension` [INFO] [stdout] --> src/backend/upload.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let extension = original_name.split('.').last().unwrap_or(""); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extension` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress_percent` [INFO] [stdout] --> src/backend/download.rs:342:22 [INFO] [stdout] | [INFO] [stdout] 342 | let (progress_percent, eta_seconds) = if let Some(total) = total_bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress_percent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eta_seconds` [INFO] [stdout] --> src/backend/download.rs:342:40 [INFO] [stdout] | [INFO] [stdout] 342 | let (progress_percent, eta_seconds) = if let Some(total) = total_bytes { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eta_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `user_id` are never read [INFO] [stdout] --> src/backend/upload.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct UploadSession { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 33 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UploadSession` has derived impls for the traits `Clone` and `Debug`, but these are 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: struct `ChunkUploadResponse` is never constructed [INFO] [stdout] --> src/backend/upload.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ChunkUploadResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkParams` is never constructed [INFO] [stdout] --> src/backend/upload.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct ChunkParams { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `security` is never read [INFO] [stdout] --> src/backend/config.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub security: SecurityConfig, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `allow_mkdir`, `allow_delete`, and `allow_download` are never read [INFO] [stdout] --> src/backend/config.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct SecurityConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 44 | pub allow_mkdir: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | pub allow_delete: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | pub allow_download: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecurityConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/backend/config.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct DirectoryConfig { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | pub config: Option>, // 云存储配置 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectoryConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_magic_bytes` is never used [INFO] [stdout] --> src/backend/upload.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn validate_magic_bytes(mime_type: &str, data: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_upload_handler` is never used [INFO] [stdout] --> src/backend/upload.rs:321:14 [INFO] [stdout] | [INFO] [stdout] 321 | pub async fn chunk_upload_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_upload_handler` is never used [INFO] [stdout] --> src/backend/upload.rs:542:14 [INFO] [stdout] | [INFO] [stdout] 542 | pub async fn simple_upload_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "250322278d86ceb2e88492cade02c13ca00df2ec15f7e42f9e0f14920a0f56a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "250322278d86ceb2e88492cade02c13ca00df2ec15f7e42f9e0f14920a0f56a1", kill_on_drop: false }` [INFO] [stdout] 250322278d86ceb2e88492cade02c13ca00df2ec15f7e42f9e0f14920a0f56a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5099538c364c6e3750d61988f09c60f60ba4d15cfdf7bb6d7d1ba71f41fb2452 [INFO] running `Command { std: "docker" "start" "-a" "5099538c364c6e3750d61988f09c60f60ba4d15cfdf7bb6d7d1ba71f41fb2452", kill_on_drop: false }` [INFO] [stderr] Compiling storkitty v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Path as StdPath` [INFO] [stdout] --> src/backend/files.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | path::{Path as StdPath, PathBuf}, [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 variable: `progress_percent` [INFO] [stdout] --> src/backend/download.rs:342:22 [INFO] [stdout] | [INFO] [stdout] 342 | let (progress_percent, eta_seconds) = if let Some(total) = total_bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress_percent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eta_seconds` [INFO] [stdout] --> src/backend/download.rs:342:40 [INFO] [stdout] | [INFO] [stdout] 342 | let (progress_percent, eta_seconds) = if let Some(total) = total_bytes { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eta_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extension` [INFO] [stdout] --> src/backend/upload.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let extension = original_name.split('.').last().unwrap_or(""); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `user_id` are never read [INFO] [stdout] --> src/backend/upload.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct UploadSession { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 33 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UploadSession` has derived impls for the traits `Clone` and `Debug`, but these are 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: struct `ChunkUploadResponse` is never constructed [INFO] [stdout] --> src/backend/upload.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ChunkUploadResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkParams` is never constructed [INFO] [stdout] --> src/backend/upload.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct ChunkParams { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_magic_bytes` is never used [INFO] [stdout] --> src/backend/upload.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn validate_magic_bytes(mime_type: &str, data: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_upload_handler` is never used [INFO] [stdout] --> src/backend/upload.rs:321:14 [INFO] [stdout] | [INFO] [stdout] 321 | pub async fn chunk_upload_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_upload_handler` is never used [INFO] [stdout] --> src/backend/upload.rs:542:14 [INFO] [stdout] | [INFO] [stdout] 542 | pub async fn simple_upload_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `security` is never read [INFO] [stdout] --> src/backend/config.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub security: SecurityConfig, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `allow_mkdir`, `allow_delete`, and `allow_download` are never read [INFO] [stdout] --> src/backend/config.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct SecurityConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 44 | pub allow_mkdir: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | pub allow_delete: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | pub allow_download: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecurityConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/backend/config.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct DirectoryConfig { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | pub config: Option>, // 云存储配置 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectoryConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.50s [INFO] running `Command { std: "docker" "inspect" "5099538c364c6e3750d61988f09c60f60ba4d15cfdf7bb6d7d1ba71f41fb2452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5099538c364c6e3750d61988f09c60f60ba4d15cfdf7bb6d7d1ba71f41fb2452", kill_on_drop: false }` [INFO] [stdout] 5099538c364c6e3750d61988f09c60f60ba4d15cfdf7bb6d7d1ba71f41fb2452