[INFO] cloning repository https://github.com/kanhekarbrijesh/Rust-master-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kanhekarbrijesh/Rust-master-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanhekarbrijesh%2FRust-master-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanhekarbrijesh%2FRust-master-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1deeb144abf0dc5cf7a8da5a009e5e0e83545b8d [INFO] checking kanhekarbrijesh/Rust-master-backend against try#24e1a22664233bce1f9b5dc6eee7c1f74327e28c for pr-159343 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanhekarbrijesh%2FRust-master-backend" "/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/kanhekarbrijesh/Rust-master-backend [INFO] finished tweaking git repo https://github.com/kanhekarbrijesh/Rust-master-backend [INFO] tweaked toml for git repo https://github.com/kanhekarbrijesh/Rust-master-backend written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kanhekarbrijesh/Rust-master-backend on toolchain 24e1a22664233bce1f9b5dc6eee7c1f74327e28c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kanhekarbrijesh/Rust-master-backend 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" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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] f6099f1d860f184f8320b4400db263437e84d4f111e46070b3224fc063c29ac1 [INFO] running `Command { std: "docker" "start" "f6099f1d860f184f8320b4400db263437e84d4f111e46070b3224fc063c29ac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6099f1d860f184f8320b4400db263437e84d4f111e46070b3224fc063c29ac1", 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" "f6099f1d860f184f8320b4400db263437e84d4f111e46070b3224fc063c29ac1" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6099f1d860f184f8320b4400db263437e84d4f111e46070b3224fc063c29ac1", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f6099f1d860f184f8320b4400db263437e84d4f111e46070b3224fc063c29ac1" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.30 [INFO] [stderr] Checking http v1.4.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking time-core v0.1.8 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling aws-lc-rs v1.17.0 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Checking hybrid-array v0.4.12 [INFO] [stderr] Checking rustls-pki-types v1.14.1 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling typenum v1.20.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Compiling aws-smithy-runtime-api-macros v1.0.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Checking const-oid v0.10.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Checking uuid v1.23.2 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling aws-lc-sys v0.41.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling cmov v0.5.4 [INFO] [stderr] Checking block-buffer v0.12.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Checking ipnet v2.12.0 [INFO] [stderr] Checking crypto-common v0.2.2 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking rustls-native-certs v0.8.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling ctutils v0.4.2 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling zerocopy v0.8.50 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling aws-types v1.3.16 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking digest v0.11.3 [INFO] [stderr] Checking sha2 v0.11.0 [INFO] [stderr] Checking hmac v0.13.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling mio v1.2.1 [INFO] [stderr] Compiling socket2 v0.6.4 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling memchr v2.8.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling rand_core v0.10.1 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tinyvec v1.11.0 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking rand v0.10.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling crc-catalog v2.5.0 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Checking bitflags v2.11.1 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling hashlink v0.11.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling chacha20 v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling webpki-roots v1.0.7 [INFO] [stderr] Checking arc-swap v1.9.2 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking regex-lite v0.1.9 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling rustls-webpki v0.103.13 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hkdf v0.13.0 [INFO] [stderr] Compiling md-5 v0.11.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Checking prefix-trie v0.8.4 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking aws-smithy-async v1.2.14 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Compiling whoami v2.1.2 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking data-encoding v2.11.0 [INFO] [stderr] Checking aws-smithy-xml v0.60.15 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking aws-smithy-types v1.5.0 [INFO] [stderr] Checking h2 v0.4.15 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling libwebp-sys v0.9.6 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking hickory-proto v0.26.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking pxfm v0.1.29 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking rand v0.9.4 [INFO] [stderr] Checking semver v1.0.28 [INFO] [stderr] Checking spin v0.10.0 [INFO] [stderr] Checking zune-core v0.5.1 [INFO] [stderr] Checking crc-fast v1.10.0 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking zune-jpeg v0.5.15 [INFO] [stderr] Checking rustc_version v0.4.1 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Checking aws-smithy-runtime-api v1.12.3 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.21 [INFO] [stderr] Checking aws-smithy-query v0.60.15 [INFO] [stderr] Checking moka v0.12.15 [INFO] [stderr] Checking hickory-net v0.26.1 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Compiling serde_with_macros v3.20.0 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha1 v0.11.0 [INFO] [stderr] Compiling typed-builder-macro v0.22.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Checking aws-smithy-schema v0.1.0 [INFO] [stderr] Checking aws-smithy-http v0.63.6 [INFO] [stderr] Checking aws-credential-types v1.2.14 [INFO] [stderr] Checking aws-smithy-observability v0.2.6 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking aws-sigv4 v1.4.5 [INFO] [stderr] Checking aws-smithy-json v0.62.7 [INFO] [stderr] Compiling sqlx-core v0.9.0 [INFO] [stderr] Checking resolv-conf v0.7.6 [INFO] [stderr] Checking compact_str v0.9.1 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Checking serde_with v3.20.0 [INFO] [stderr] Compiling schemars_derive v1.2.1 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking hickory-resolver v0.26.1 [INFO] [stderr] Checking aws-smithy-checksums v0.64.8 [INFO] [stderr] Checking ref-cast v1.0.25 [INFO] [stderr] Compiling mongodb-internal-macros v3.7.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking bson v2.15.0 [INFO] [stderr] Compiling garde_derive v0.23.0 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking typed-builder v0.22.0 [INFO] [stderr] Checking lru v0.16.4 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Compiling derive-where v1.6.1 [INFO] [stderr] Checking hyper v1.10.1 [INFO] [stderr] Compiling axum-macros v0.5.1 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking schemars v1.2.1 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking garde v0.23.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking bson v3.1.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Compiling sqlx-postgres v0.9.0 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking axum v0.8.9 [INFO] [stderr] Checking webp v0.3.1 [INFO] [stderr] Compiling sqlx-macros-core v0.9.0 [INFO] [stderr] Compiling sqlx-macros v0.9.0 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking hyper-rustls v0.27.9 [INFO] [stderr] Checking mongodb v3.7.0 [INFO] [stderr] Checking aws-smithy-http-client v1.1.13 [INFO] [stderr] Checking aws-smithy-runtime v1.11.3 [INFO] [stderr] Checking aws-runtime v1.7.5 [INFO] [stderr] Checking aws-sdk-ssooidc v1.104.0 [INFO] [stderr] Checking aws-sdk-sts v1.107.0 [INFO] [stderr] Checking aws-sdk-sso v1.102.0 [INFO] [stderr] Checking aws-sdk-s3 v1.137.0 [INFO] [stderr] Checking sqlx v0.9.0 [INFO] [stderr] Checking aws-config v1.8.18 [INFO] [stderr] Checking rust-tut-day1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `aws::AwsS3Storage` [INFO] [stdout] --> src/infrastructure/storage/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use aws::AwsS3Storage; [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: `cloudflare::CloudflareR2Storage` [INFO] [stdout] --> src/infrastructure/storage/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use cloudflare::CloudflareR2Storage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `localstorage::LocalStorage` [INFO] [stdout] --> src/infrastructure/storage/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use localstorage::LocalStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `storage_types::*` [INFO] [stdout] --> src/infrastructure/storage/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use storage_types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file_preprocess::file_preprocess_aws_lambda::AwsLambdaFilePreprocessor` [INFO] [stdout] --> src/infrastructure/storage/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use file_preprocess::file_preprocess_aws_lambda::AwsLambdaFilePreprocessor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file_preprocess::file_preprocess_cf_worker::CfWorkerFilePreprocessor` [INFO] [stdout] --> src/infrastructure/storage/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use file_preprocess::file_preprocess_cf_worker::CfWorkerFilePreprocessor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file_preprocess::file_preprocess_local::LocalFilePreprocessor` [INFO] [stdout] --> src/infrastructure/storage/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use file_preprocess::file_preprocess_local::LocalFilePreprocessor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FilePreprocessor`, `PreprocessingConfig`, and `PreprocessingResult` [INFO] [stdout] --> src/infrastructure/storage/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | pub use file_preprocess::{FilePreprocessor, PreprocessingConfig, PreprocessingResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aws::AwsS3Storage` [INFO] [stdout] --> src/infrastructure/storage/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use aws::AwsS3Storage; [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: `cloudflare::CloudflareR2Storage` [INFO] [stdout] --> src/infrastructure/storage/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use cloudflare::CloudflareR2Storage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `localstorage::LocalStorage` [INFO] [stdout] --> src/infrastructure/storage/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use localstorage::LocalStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `storage_types::*` [INFO] [stdout] --> src/infrastructure/storage/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use storage_types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file_preprocess::file_preprocess_aws_lambda::AwsLambdaFilePreprocessor` [INFO] [stdout] --> src/infrastructure/storage/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use file_preprocess::file_preprocess_aws_lambda::AwsLambdaFilePreprocessor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file_preprocess::file_preprocess_cf_worker::CfWorkerFilePreprocessor` [INFO] [stdout] --> src/infrastructure/storage/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use file_preprocess::file_preprocess_cf_worker::CfWorkerFilePreprocessor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file_preprocess::file_preprocess_local::LocalFilePreprocessor` [INFO] [stdout] --> src/infrastructure/storage/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use file_preprocess::file_preprocess_local::LocalFilePreprocessor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FilePreprocessor`, `PreprocessingConfig`, and `PreprocessingResult` [INFO] [stdout] --> src/infrastructure/storage/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | pub use file_preprocess::{FilePreprocessor, PreprocessingConfig, PreprocessingResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update` is never used [INFO] [stdout] --> src/domain/users/user_repo.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl UserRepo { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key`, `url`, `label`, `size`, and `content_type` are never read [INFO] [stdout] --> src/infrastructure/storage/file_postprocess/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct PostProcessOutput { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 58 | /// The storage key of the generated file (e.g. "gallery/uuid-thumb.webp"). [INFO] [stdout] 59 | pub key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 60 | /// The public URL of the generated file. [INFO] [stdout] 61 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | /// A label identifying what this output is (e.g. "thumbnail_200x200", "scan_report"). [INFO] [stdout] 63 | pub label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | /// Size of the generated file in bytes. [INFO] [stdout] 65 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 66 | /// Content type of the generated file. [INFO] [stdout] 67 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostProcessOutput` 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: trait `FilePostProcessor` is never used [INFO] [stdout] --> src/infrastructure/storage/file_postprocess/mod.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | pub trait FilePostProcessor: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SecurityScanner` is never constructed [INFO] [stdout] --> src/infrastructure/storage/file_postprocess/security_scan.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SecurityScanner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `fail_closed` are never used [INFO] [stdout] --> src/infrastructure/storage/file_postprocess/security_scan.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl SecurityScanner { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 54 | /// Create a new security scanner with default settings (fail-open, 100 MB limit). [INFO] [stdout] 55 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn fail_closed() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThumbnailGenerator` is never constructed [INFO] [stdout] --> src/infrastructure/storage/file_postprocess/thumbnail.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ThumbnailGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `with_format`, and `with_subdirectory` are never used [INFO] [stdout] --> src/infrastructure/storage/file_postprocess/thumbnail.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl ThumbnailGenerator { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn new(width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn with_format(width: u32, height: u32, format: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn with_subdirectory(width: u32, height: u32, subdirectory: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_file` is never used [INFO] [stdout] --> src/infrastructure/storage/file_postprocess/thumbnail.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | async fn download_file(storage: &dyn StorageProvider, key: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_name` and `is_encrypted` are never read [INFO] [stdout] --> src/infrastructure/storage/file_preprocess/mod.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct PreprocessingResult { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | pub file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 104 | /// Whether the file buffer is encrypted. [INFO] [stdout] 105 | pub is_encrypted: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PreprocessingResult` 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: method `decrypt` is never used [INFO] [stdout] --> src/infrastructure/storage/file_preprocess/mod.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub trait FilePreprocessor: Send + Sync { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 142 | fn decrypt(&self, encrypted: &[u8]) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG_SIZE` is never used [INFO] [stdout] --> src/infrastructure/storage/file_preprocess/encryption_utils.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const TAG_SIZE: usize = 16; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENCRYPTION_OVERHEAD` is never used [INFO] [stdout] --> src/infrastructure/storage/file_preprocess/encryption_utils.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const ENCRYPTION_OVERHEAD: usize = NONCE_SIZE + TAG_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_file` is never used [INFO] [stdout] --> src/infrastructure/storage/file_preprocess/encryption_utils.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn decrypt_file(ciphertext: &[u8], key: &[u8; KEY_SIZE]) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_encrypted` is never used [INFO] [stdout] --> src/infrastructure/storage/file_preprocess/encryption_utils.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn is_encrypted(data: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AwsLambdaFilePreprocessor` is never constructed [INFO] [stdout] --> src/infrastructure/storage/file_preprocess/file_preprocess_aws_lambda.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct AwsLambdaFilePreprocessor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_config` are never used [INFO] [stdout] --> src/infrastructure/storage/file_preprocess/file_preprocess_aws_lambda.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl AwsLambdaFilePreprocessor { [INFO] [stdout] | ------------------------------ associated functions in this implementation [INFO] [stdout] 75 | /// Create a preprocessor with the default config. [INFO] [stdout] 76 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn with_config(config: PreprocessingConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CF_MAX_FILE_SIZE` is never used [INFO] [stdout] --> src/infrastructure/storage/file_preprocess/file_preprocess_cf_worker.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | const CF_MAX_FILE_SIZE: usize = 10 * 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CfWorkerFilePreprocessor` is never constructed [INFO] [stdout] --> src/infrastructure/storage/file_preprocess/file_preprocess_cf_worker.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct CfWorkerFilePreprocessor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `with_config`, and `check_file_size` are never used [INFO] [stdout] --> src/infrastructure/storage/file_preprocess/file_preprocess_cf_worker.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl CfWorkerFilePreprocessor { [INFO] [stdout] | ----------------------------- associated functions in this implementation [INFO] [stdout] 88 | /// Create a preprocessor with the default config. [INFO] [stdout] 89 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn with_config(config: PreprocessingConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn check_file_size(buffer: &[u8]) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PresignedUploadConfig` is never constructed [INFO] [stdout] --> src/infrastructure/storage/storage_types.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct PresignedUploadConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PresignedUploadResult` is never constructed [INFO] [stdout] --> src/infrastructure/storage/storage_types.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct PresignedUploadResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_file_url`, `file_exists`, and `presigned_upload_url` are never used [INFO] [stdout] --> src/infrastructure/storage/storage_types.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait StorageProvider: Send + Sync { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 65 | async fn store_file(&self, input: StoreFileInput) -> Result; [INFO] [stdout] 66 | async fn get_file_url(&self, key: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 67 | async fn delete_file(&self, key: &str) -> Result<(), AppError>; [INFO] [stdout] 68 | async fn file_exists(&self, key: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | async fn presigned_upload_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_name_from_key` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_types.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn file_name_from_key(key: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_local_storage_provider` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new_local_storage_provider(base_path: &str, serve_prefix: &str) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `post_process_outputs` is never read [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct UploadResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub post_process_outputs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `post_process_outputs` is never read [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct OptionalUploadResult { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | pub post_process_outputs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_file_url_on_update` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | pub async fn resolve_file_url_on_update( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_multipart_upload_optional` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:320:14 [INFO] [stdout] | [INFO] [stdout] 320 | pub async fn handle_multipart_upload_optional( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_multipart_upload_with_preprocessor` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:423:14 [INFO] [stdout] | [INFO] [stdout] 423 | pub async fn handle_multipart_upload_with_preprocessor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_multipart_upload_optional_with_preprocessor` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:458:14 [INFO] [stdout] | [INFO] [stdout] 458 | pub async fn handle_multipart_upload_optional_with_preprocessor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_multipart_upload_with_post_processors` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:545:14 [INFO] [stdout] | [INFO] [stdout] 545 | pub async fn handle_multipart_upload_with_post_processors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_multipart_upload_optional_with_post_processors` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:586:14 [INFO] [stdout] | [INFO] [stdout] 586 | pub async fn handle_multipart_upload_optional_with_post_processors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_background_post_processing` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:663:4 [INFO] [stdout] | [INFO] [stdout] 663 | fn spawn_background_post_processing( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_isolated_processor` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:736:10 [INFO] [stdout] | [INFO] [stdout] 736 | async fn run_isolated_processor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update` is never used [INFO] [stdout] --> src/domain/users/user_repo.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl UserRepo { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key`, `url`, `label`, `size`, and `content_type` are never read [INFO] [stdout] --> src/infrastructure/storage/file_postprocess/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct PostProcessOutput { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 58 | /// The storage key of the generated file (e.g. "gallery/uuid-thumb.webp"). [INFO] [stdout] 59 | pub key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 60 | /// The public URL of the generated file. [INFO] [stdout] 61 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | /// A label identifying what this output is (e.g. "thumbnail_200x200", "scan_report"). [INFO] [stdout] 63 | pub label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | /// Size of the generated file in bytes. [INFO] [stdout] 65 | pub size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 66 | /// Content type of the generated file. [INFO] [stdout] 67 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostProcessOutput` 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: methods `post_process` and `post_process_cpu` are never used [INFO] [stdout] --> src/infrastructure/storage/file_postprocess/mod.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 75 | pub trait FilePostProcessor: Send + Sync { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 89 | async fn post_process( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn post_process_cpu( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SecurityScanner` is never constructed [INFO] [stdout] --> src/infrastructure/storage/file_postprocess/security_scan.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SecurityScanner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `fail_closed` are never used [INFO] [stdout] --> src/infrastructure/storage/file_postprocess/security_scan.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl SecurityScanner { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 54 | /// Create a new security scanner with default settings (fail-open, 100 MB limit). [INFO] [stdout] 55 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn fail_closed() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_file` is never used [INFO] [stdout] --> src/infrastructure/storage/file_postprocess/thumbnail.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | async fn download_file(storage: &dyn StorageProvider, key: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_encrypted` is never read [INFO] [stdout] --> src/infrastructure/storage/file_preprocess/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct PreprocessingResult { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | pub is_encrypted: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PreprocessingResult` 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: method `decrypt` is never used [INFO] [stdout] --> src/infrastructure/storage/file_preprocess/mod.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub trait FilePreprocessor: Send + Sync { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 142 | fn decrypt(&self, encrypted: &[u8]) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PresignedUploadConfig` is never constructed [INFO] [stdout] --> src/infrastructure/storage/storage_types.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct PresignedUploadConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PresignedUploadResult` is never constructed [INFO] [stdout] --> src/infrastructure/storage/storage_types.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct PresignedUploadResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_file_url`, `file_exists`, and `presigned_upload_url` are never used [INFO] [stdout] --> src/infrastructure/storage/storage_types.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait StorageProvider: Send + Sync { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 65 | async fn store_file(&self, input: StoreFileInput) -> Result; [INFO] [stdout] 66 | async fn get_file_url(&self, key: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 67 | async fn delete_file(&self, key: &str) -> Result<(), AppError>; [INFO] [stdout] 68 | async fn file_exists(&self, key: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | async fn presigned_upload_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_name_from_key` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_types.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn file_name_from_key(key: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_local_storage_provider` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new_local_storage_provider(base_path: &str, serve_prefix: &str) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `post_process_outputs` is never read [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct UploadResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub post_process_outputs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `post_process_outputs` is never read [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct OptionalUploadResult { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | pub post_process_outputs: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_file_url_on_update` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | pub async fn resolve_file_url_on_update( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_multipart_upload_optional` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:320:14 [INFO] [stdout] | [INFO] [stdout] 320 | pub async fn handle_multipart_upload_optional( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_multipart_upload_with_preprocessor` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:423:14 [INFO] [stdout] | [INFO] [stdout] 423 | pub async fn handle_multipart_upload_with_preprocessor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_multipart_upload_optional_with_preprocessor` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:458:14 [INFO] [stdout] | [INFO] [stdout] 458 | pub async fn handle_multipart_upload_optional_with_preprocessor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_multipart_upload_with_post_processors` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:545:14 [INFO] [stdout] | [INFO] [stdout] 545 | pub async fn handle_multipart_upload_with_post_processors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_multipart_upload_optional_with_post_processors` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:586:14 [INFO] [stdout] | [INFO] [stdout] 586 | pub async fn handle_multipart_upload_optional_with_post_processors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_background_post_processing` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:663:4 [INFO] [stdout] | [INFO] [stdout] 663 | fn spawn_background_post_processing( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_isolated_processor` is never used [INFO] [stdout] --> src/infrastructure/storage/storage_util.rs:736:10 [INFO] [stdout] | [INFO] [stdout] 736 | async fn run_isolated_processor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 48s [INFO] running `Command { std: "docker" "inspect" "f6099f1d860f184f8320b4400db263437e84d4f111e46070b3224fc063c29ac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6099f1d860f184f8320b4400db263437e84d4f111e46070b3224fc063c29ac1", kill_on_drop: false }` [INFO] [stdout] f6099f1d860f184f8320b4400db263437e84d4f111e46070b3224fc063c29ac1