=== Environment Setup Complete === === Starting Login Test - Wed Dec 17 14:07:28 PST 2025 === warning: profiles for the non root package will be ignored, specify profiles at the workspace root: package: /home/devops/projects/active/internxt-drive-rust-sdk/crates/internxt-wasm/Cargo.toml workspace: /home/devops/projects/active/internxt-drive-rust-sdk/Cargo.toml Updating crates.io index Downloading crates ... Downloaded cbc v0.1.2 Compiling proc-macro2 v1.0.103 Compiling unicode-ident v1.0.22 Compiling quote v1.0.42 Compiling cfg-if v1.0.4 Compiling libc v0.2.177 Compiling serde_core v1.0.228 Compiling version_check v0.9.5 Compiling serde v1.0.228 Compiling once_cell v1.21.3 Compiling shlex v1.3.0 Compiling find-msvc-tools v0.1.5 Compiling memchr v2.7.6 Compiling zerocopy v0.8.27 Compiling log v0.4.28 Compiling equivalent v1.0.2 Compiling hashbrown v0.16.0 Compiling pin-project-lite v0.2.16 Compiling itoa v1.0.15 Compiling typenum v1.19.0 Compiling bytes v1.11.0 Compiling parking_lot_core v0.9.12 Compiling allocator-api2 v0.2.21 Compiling subtle v2.6.1 Compiling scopeguard v1.2.0 Compiling futures-core v0.3.31 Compiling lock_api v0.4.14 Compiling pkg-config v0.3.32 Compiling autocfg v1.5.0 Compiling futures-sink v0.3.31 Compiling tracing-core v0.1.34 Compiling ahash v0.8.12 Compiling generic-array v0.14.7 Compiling fnv v1.0.7 Compiling cpufeatures v0.2.17 Compiling slab v0.4.11 Compiling futures-channel v0.3.31 Compiling pin-utils v0.1.0 Compiling semver v1.0.27 Compiling anyhow v1.0.100 Compiling ryu v1.0.20 Compiling futures-io v0.3.31 Compiling futures-task v0.3.31 Compiling stable_deref_trait v1.2.1 Compiling getrandom v0.3.4 Compiling serde_json v1.0.145 Compiling crc32fast v1.5.0 Compiling thiserror v1.0.69 Compiling target-lexicon v0.12.16 Compiling num-traits v0.2.19 Compiling arbitrary v1.4.2 Compiling bumpalo v3.19.0 Compiling crossbeam-utils v0.8.21 Compiling rustix v1.1.2 Compiling rustc-hash v1.1.0 Compiling slice-group-by v0.3.1 Compiling linux-raw-sys v0.11.0 Compiling syn v2.0.110 Compiling percent-encoding v2.3.2 Compiling vcpkg v0.2.15 Compiling httparse v1.10.1 Compiling syn v1.0.109 Compiling httpdate v1.0.3 Compiling writeable v0.6.2 Compiling unicode-xid v0.2.6 Compiling litemap v0.8.1 Compiling cranelift-isle v0.108.2 Compiling zstd-safe v7.2.4 Compiling jobserver v0.1.34 Compiling icu_normalizer_data v2.1.1 Compiling icu_properties_data v2.1.1 Compiling http v0.2.12 Compiling simd-adler32 v0.3.7 Compiling getrandom v0.2.16 Compiling signal-hook-registry v1.4.6 Compiling socket2 v0.6.1 Compiling mio v1.1.0 Compiling cc v1.2.46 Compiling rand_core v0.6.4 Compiling block-buffer v0.10.4 Compiling io-lifetimes v2.0.4 Compiling cranelift-codegen-shared v0.108.2 Compiling rustix v0.38.44 Compiling ipnet v2.11.0 Compiling base64 v0.22.1 Compiling cranelift-codegen-meta v0.108.2 Compiling crypto-common v0.1.7 Compiling ppv-lite86 v0.2.21 Compiling digest v0.10.7 Compiling crossbeam-epoch v0.9.18 Compiling hashbrown v0.14.5 Compiling hashbrown v0.13.2 Compiling http v1.3.1 Compiling encoding_rs v0.8.35 Compiling linux-raw-sys v0.4.15 Compiling fs_extra v1.3.0 Compiling adler2 v2.0.1 Compiling untrusted v0.9.0 Compiling dunce v1.0.5 Compiling leb128 v0.2.5 Compiling thiserror v2.0.17 Compiling miniz_oxide v0.8.9 Compiling cmake v0.1.54 Compiling form_urlencoded v1.2.2 Compiling bitflags v2.10.0 Compiling indexmap v2.12.0 Compiling aho-corasick v1.1.4 Compiling heck v0.4.1 Compiling either v1.15.0 Compiling time-core v0.1.6 Compiling cranelift-isle v0.106.2 Compiling powerfmt v0.2.0 Compiling io-extras v0.18.4 Compiling num-conv v0.1.0 Compiling regex-syntax v0.8.8 Compiling deranged v0.5.5 Compiling time-macros v0.2.24 Compiling flate2 v1.1.5 Compiling zstd-sys v2.0.16+zstd.1.5.7 Compiling ring v0.17.14 Compiling gimli v0.28.1 Compiling openssl-sys v0.9.111 Compiling aws-lc-sys v0.33.0 Compiling wasmparser v0.207.0 Compiling cranelift-control v0.108.2 Compiling rayon-core v1.13.0 Compiling utf8_iter v1.0.4 Compiling local-waker v0.1.4 Compiling iana-time-zone v0.1.64 Compiling unicode-width v0.2.2 Compiling synstructure v0.13.2 Compiling try-lock v0.2.5 Compiling ambient-authority v0.0.2 Compiling crunchy v0.2.4 Compiling cap-primitives v3.4.5 Compiling cranelift-codegen-shared v0.106.2 Compiling cranelift-codegen-meta v0.106.2 Compiling time v0.3.44 Compiling want v0.3.1 Compiling cranelift-codegen v0.108.2 Compiling crossbeam-deque v0.8.6 Compiling block-padding v0.3.3 Compiling tiny-keccak v2.0.2 Compiling regex-automata v0.4.13 Compiling tower-service v0.3.3 Compiling mime v0.3.17 Compiling winnow v0.7.13 Compiling aws-lc-rs v1.15.0 Compiling cpp_demangle v0.4.5 Compiling toml_write v0.1.2 Compiling wasm-encoder v0.241.2 Compiling maybe-owned v0.3.4 Compiling base64 v0.21.7 Compiling serde_derive v1.0.228 Compiling tokio-macros v2.6.0 Compiling zeroize_derive v1.4.2 Compiling tracing-attributes v0.1.30 Compiling futures-macro v0.3.31 Compiling zeroize v1.8.2 Compiling zerofrom-derive v0.1.6 Compiling yoke-derive v0.8.1 Compiling thiserror-impl v1.0.69 Compiling zerovec-derive v0.11.2 Compiling displaydoc v0.2.5 Compiling futures-util v0.3.31 Compiling rustls-pki-types v1.13.0 Compiling wasmtime-versioned-export-macros v21.0.2 Compiling tracing v0.1.41 Compiling thiserror-impl v2.0.17 Compiling fs-set-times v0.20.3 Compiling rustix-linux-procfs v0.1.1 Compiling zerofrom v0.1.6 Compiling actix-macros v0.2.4 Compiling alloc-no-stdlib v2.0.4 Compiling yoke v0.8.1 Compiling cranelift-codegen v0.106.2 Compiling alloc-stdlib v0.2.2 Compiling zerotrie v0.2.3 Compiling inout v0.1.4 Compiling zerovec v0.11.5 Compiling actix-utils v3.0.1 Compiling object v0.33.0 Compiling ittapi-sys v0.4.0 Compiling http-body v1.0.1 Compiling sha2 v0.10.9 Compiling rand_core v0.9.3 Compiling socket2 v0.5.10 Compiling tinystr v0.8.2 Compiling potential_utf v0.1.4 Compiling dirs-sys v0.3.7 Compiling icu_locale_core v2.1.1 Compiling object v0.32.2 Compiling icu_collections v2.1.1 Compiling actix-service v2.0.3 Compiling cobs v0.3.0 Compiling foreign-types-shared v0.1.1 Compiling id-arena v2.2.1 Compiling lazy_static v1.5.0 Compiling ucd-trie v0.1.7 Compiling bitflags v1.3.2 Compiling paste v1.0.15 Compiling cap-std v3.4.5 Compiling openssl v0.10.75 Compiling wasmtime-component-util v21.0.2 Compiling byteorder v1.5.0 Compiling foldhash v0.1.5 Compiling leb128fmt v0.1.0 Compiling cranelift-entity v0.106.2 Compiling pest v2.8.3 Compiling foreign-types v0.3.2 Compiling smallvec v1.15.1 Compiling cranelift-entity v0.108.2 Compiling icu_provider v2.1.1 Compiling serde_spanned v0.6.9 Compiling toml_datetime v0.6.11 Compiling postcard v1.1.3 Compiling uuid v1.18.1 Compiling regalloc2 v0.9.3 Compiling icu_normalizer v2.1.1 Compiling icu_properties v2.1.1 Compiling parking_lot v0.12.5 Compiling cranelift-bforest v0.108.2 Compiling wasmtime-types v21.0.2 Compiling toml_edit v0.22.27 Compiling tokio v1.48.0 Compiling cranelift-bforest v0.106.2 Compiling dirs v4.0.0 Compiling rand_chacha v0.9.0 Compiling idna_adapter v1.2.1 Compiling rayon v1.11.0 Compiling idna v1.1.0 Compiling cipher v0.4.4 Compiling url v2.5.7 Compiling brotli-decompressor v5.0.0 Compiling wasmtime-fiber v21.0.2 Compiling wasmprinter v0.207.0 Compiling derive_more-impl v2.0.1 Compiling async-trait v0.1.89 Compiling toml v0.8.23 Compiling openssl-macros v0.1.1 Compiling ar_archive_writer v0.2.0 Compiling itertools v0.12.1 Compiling wast v35.0.2 Compiling wasm-encoder v0.207.0 Compiling cranelift-control v0.106.2 Compiling dirs-sys-next v0.1.2 Compiling wit-parser v0.207.0 Compiling bytestring v1.5.0 Compiling memoffset v0.9.1 Compiling cookie v0.16.2 Compiling native-tls v0.2.14 Compiling atomic-waker v1.1.2 Compiling wasmtime-cache v21.0.2 Compiling libm v0.2.15 Compiling rustc-demangle v0.1.26 Compiling regex-lite v0.1.8 Compiling wasmtime-component-macro v21.0.2 Compiling wasmtime-environ v21.0.2 Compiling witx v0.9.1 Compiling const-random-macro v0.1.16 Compiling directories-next v2.0.0 Compiling psm v0.1.28 Compiling brotli v8.0.2 Compiling pest_meta v2.8.3 Compiling wast v241.0.2 Compiling derive_more v2.0.1 Compiling rand v0.9.2 Compiling shellexpand v2.1.2 Compiling debugid v0.8.0 Compiling chrono v0.4.42 Compiling serde_urlencoded v0.7.1 Compiling fxhash v0.2.1 Compiling regex v1.12.2 Compiling wasmtime v21.0.2 Compiling tokio-util v0.7.17 Compiling actix-rt v2.11.0 Compiling ptr_meta_derive v0.1.4 Compiling wasmtime-wit-bindgen v21.0.2 Compiling local-channel v0.1.5 Compiling rand_chacha v0.3.1 Compiling sha1 v0.10.6 Compiling h2 v0.4.12 Compiling h2 v0.3.27 Compiling actix-codec v0.5.2 Compiling universal-hash v0.5.1 Compiling rustc_version v0.4.1 Compiling ahash v0.7.8 Compiling proc-macro-error-attr v1.0.4 Compiling wasmtime-asm-macros v21.0.2 Compiling opaque-debug v0.3.1 Compiling bytecheck v0.6.12 Compiling language-tags v0.3.2 Compiling openssl-probe v0.1.6 Compiling impl-more v0.1.9 Compiling unicase v2.8.1 Compiling rustls v0.23.35 Compiling curve25519-dalek v4.1.3 Compiling mime_guess v2.0.5 Compiling rand v0.8.5 Compiling ptr_meta v0.1.4 Compiling fxprof-processed-profile v0.6.0 Compiling pest_generator v2.8.3 Compiling wiggle-generate v21.0.2 Compiling ittapi v0.4.0 Compiling const-random v0.1.18 Compiling actix-router v0.5.3 Compiling wasmtime-jit-debug v21.0.2 Compiling webpki-roots v1.0.4 Compiling addr2line v0.21.0 Compiling memfd v0.6.5 Compiling bytecheck_derive v0.6.12 Compiling stacker v0.1.22 Compiling wasmtime-jit-icache-coherence v21.0.2 Compiling proc-macro-error v1.0.4 Compiling utf8parse v0.2.2 Compiling simdutf8 v0.1.5 Compiling minimal-lexical v0.2.1 Compiling system-interface v0.27.3 Compiling bitcoin-internals v0.2.0 Compiling rend v0.4.2 Compiling wasmtime-slab v21.0.2 Compiling rustls v0.22.4 Compiling bytemuck v1.24.0 Compiling cap-fs-ext v3.4.5 Compiling sptr v0.3.2 Compiling zstd v0.13.3 Compiling nom v7.1.3 Compiling anstyle-parse v0.2.7 Compiling pest_derive v2.8.3 Compiling actix-web-codegen v4.3.0 Compiling dlv-list v0.5.2 Compiling wat v1.241.2 Compiling wiggle-macro v21.0.2 Compiling tokio-native-tls v0.3.1 Compiling actix-server v2.6.0 Compiling futures-executor v0.3.31 Compiling rustls-webpki v0.102.8 Compiling curve25519-dalek-derive v0.1.1 Compiling libsqlite3-sys v0.30.1 Compiling raw-cpuid v11.6.0 Compiling http-body v0.4.6 Compiling num_cpus v1.17.0 Compiling matrixmultiply v0.3.10 Compiling sync_wrapper v1.0.2 Compiling hyper v1.8.1 Compiling is_terminal_polyfill v1.70.2 Compiling fastrand v2.3.0 Compiling serde v0.8.23 Compiling v_htmlescape v0.15.8 Compiling portable-atomic v1.11.1 Compiling rkyv v0.7.45 Compiling tower-layer v0.3.3 Compiling signal-hook v0.3.18 Compiling anstyle v1.0.13 Compiling colorchoice v1.0.4 Compiling procfs v0.16.0 Compiling tinyvec_macros v0.1.1 Compiling cfg_aliases v0.2.1 Compiling hex v0.4.3 Compiling base64ct v1.8.0 Compiling platforms v2.0.0 Compiling protobuf v2.28.0 Compiling actix-http v3.11.2 Compiling anstyle-query v1.1.5 Compiling anstream v0.6.21 Compiling password-hash v0.5.0 Compiling procfs-core v0.16.0 Compiling nix v0.29.0 Compiling tinyvec v1.10.0 Compiling tower v0.5.2 Compiling hyper v0.14.32 Compiling hyper-util v0.1.18 Compiling serde_test v0.8.23 Compiling quanta v0.12.6 Compiling futures v0.3.31 Compiling hashbrown v0.12.3 Compiling ordered-multimap v0.7.3 Compiling safe_arch v0.7.4 Compiling cap-rand v3.4.5 Compiling polyval v0.6.2 Compiling cap-net-ext v3.4.5 Compiling tracing-serde v0.2.0 Compiling sharded-slab v0.1.7 Compiling http-body-util v0.1.3 Compiling cap-time-ext v3.4.5 Compiling matchers v0.2.0 Compiling rkyv_derive v0.7.45 Compiling cranelift-frontend v0.108.2 Compiling cranelift-native v0.108.2 Compiling console v0.15.11 Compiling blake3 v1.8.2 Compiling hashlink v0.8.4 Compiling metrics v0.22.4 Compiling cranelift-wasm v0.108.2 Compiling actix-web v4.11.0 Compiling aead v0.5.2 Compiling num-complex v0.4.6 Compiling num-integer v0.1.46 Compiling fdeflate v0.3.7 Compiling tracing-log v0.2.0 Compiling thread_local v1.1.9 Compiling arraydeque v0.5.1 Compiling option-ext v0.2.0 Compiling signature v2.2.0 Compiling iri-string v0.7.9 Compiling wasmtime-cranelift v21.0.2 Compiling seahash v4.1.0 Compiling sketches-ddsketch v0.2.2 Compiling hex-conservative v0.1.2 Compiling strsim v0.11.1 Compiling unicode-width v0.1.11 Compiling heck v0.5.0 Compiling rawpointer v0.2.1 Compiling nu-ansi-term v0.50.3 Compiling prometheus v0.13.4 Compiling protobuf v3.7.2 Compiling unicode-segmentation v1.12.0 Compiling bytecount v0.6.9 Compiling tokio-cron-scheduler v0.10.2 Compiling clap_lex v0.7.6 Compiling papergrid v0.12.0 Compiling tracing-subscriber v0.3.20 Compiling hyper-tls v0.5.0 Compiling clap_derive v4.5.49 Compiling clap_builder v4.5.51 Compiling bitcoin_hashes v0.13.0 Compiling convert_case v0.6.0 Compiling metrics-util v0.16.3 Compiling tower-http v0.6.6 Compiling yaml-rust2 v0.8.1 Compiling png v0.17.16 Compiling ed25519 v2.2.3 Compiling dirs-sys v0.4.1 Compiling tokio-rustls v0.25.0 Compiling wide v0.7.33 Compiling ghash v0.5.1 Compiling rust-ini v0.20.0 Compiling chumsky v0.9.3 Compiling tabled_derive v0.8.0 Compiling linked-hash-map v0.3.0 Compiling unicode-normalization v0.1.25 Compiling cron v0.12.1 Compiling tempfile v3.23.0 Compiling json5 v0.4.1 Compiling webpki-roots v0.26.11 Compiling actix-tls v3.5.0 Compiling poly1305 v0.8.0 Compiling ctr v0.9.2 Compiling aes v0.8.4 Compiling chacha20 v0.9.1 Compiling cranelift-native v0.106.2 Compiling cranelift-frontend v0.106.2 Compiling cranelift-module v0.106.2 Compiling ron v0.8.1 Compiling hashbrown v0.15.5 Compiling region v2.2.0 Compiling nix v0.24.3 Compiling protobuf-support v3.7.2 Compiling yasna v0.5.2 Compiling derive_more v0.99.20 Compiling num-derive v0.3.3 Compiling hashlink v0.9.1 Compiling blake2 v0.10.6 Compiling hmac v0.12.1 Compiling pem v3.0.6 Compiling email-encoding v0.4.1 Compiling wyhash v0.5.0 Compiling approx v0.5.1 Compiling num-traits v0.1.43 Compiling rtoolbox v0.0.3 Compiling hostname v0.4.1 Compiling wasmtime-jit-icache-coherence v19.0.2 Compiling memmap2 v0.9.9 Compiling crossbeam-channel v0.5.15 Compiling nom v8.0.0 Compiling unescape v0.1.0 Compiling constant_time_eq v0.3.1 Compiling arrayvec v0.7.6 Compiling arrayref v0.3.9 Compiling email_address v0.2.9 Compiling unsafe-libyaml v0.2.11 Compiling fallible-iterator v0.3.0 Compiling pathdiff v0.2.3 Compiling number_prefix v0.4.0 Compiling same-file v1.0.6 Compiling color_quant v1.1.0 Compiling shell-words v1.1.0 Compiling glob v0.3.3 Compiling jpeg-decoder v0.3.2 Compiling quoted_printable v0.5.1 Compiling xml-rs v0.8.28 Compiling fallible-streaming-iterator v0.1.9 Compiling http-range v0.1.5 Compiling keccak v0.1.5 Compiling dialoguer v0.11.0 Compiling psutil v3.3.0 Compiling walkdir v2.5.0 Compiling tracing-appender v0.2.3 Compiling actix-files v0.6.8 Compiling serde_yaml v0.9.34+deprecated Compiling sha3 v0.10.8 Compiling indicatif v0.17.11 Compiling rusqlite v0.32.1 Compiling xmltree v0.10.3 Compiling image v0.24.9 Compiling config v0.14.1 Compiling mmap-sync v1.0.4 Compiling rpassword v7.4.0 Compiling cranelift-jit v0.106.2 Compiling simba v0.8.1 Compiling rcgen v0.13.2 Compiling serde-hjson v0.9.1 Compiling argon2 v0.5.3 Compiling pbkdf2 v0.12.2 Compiling lru v0.12.5 Compiling cranelift v0.106.2 Compiling aes-gcm v0.10.3 Compiling chacha20poly1305 v0.10.1 Compiling awc v3.8.1 Compiling tabled v0.16.0 Compiling bip39 v2.2.0 Compiling signal-hook-tokio v0.3.1 Compiling actix-cors v0.7.1 Compiling lettre v0.11.19 Compiling clap v4.5.51 Compiling dirs v5.0.1 Compiling ed25519-dalek v2.2.0 Compiling metrics-exporter-prometheus v0.13.1 Compiling ndarray v0.15.6 Compiling num-bigint v0.4.6 Compiling x25519-dalek v2.0.1 Compiling handlebars v5.1.2 Compiling tokio-stream v0.1.17 Compiling sysinfo v0.32.1 Compiling cbc v0.1.2 Compiling dashmap v5.5.3 Compiling quick-xml v0.36.2 Compiling region v3.0.2 Compiling colored v2.2.0 Compiling rustls-pemfile v2.2.0 Compiling wasmparser v0.200.0 Compiling md-5 v0.10.6 Compiling metrics v0.23.1 Compiling daemonize v0.5.0 Compiling libloading v0.8.9 Compiling wiggle v21.0.2 Compiling dotenv v0.15.0 Compiling wasmtime-wasi v21.0.2 Compiling rustls-webpki v0.103.8 Compiling tokio-rustls v0.26.4 Compiling hyper-rustls v0.27.7 Compiling reqwest v0.12.24 Compiling wasmtime-wasi-http v21.0.2 Compiling internxt-cli v1.6.0 (/home/devops/projects/active/internxt-drive-rust-sdk) warning: use of deprecated function `base64::encode`: Use Engine::encode --> src/storage/internxt_provider.rs:1064:29 | 1064 | "data": base64::encode(test_bytes.clone()), | ^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated function `crypto::key_derivation::derive_key_from_password_legacy`: MD5 is cryptographically broken. Use derive_key_from_password_secure instead --> src/crypto/mod.rs:108:5 | 108 | derive_key_from_password_legacy, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated function `crypto::key_derivation::derive_key_from_password_legacy`: MD5 is cryptographically broken. Use derive_key_from_password_secure instead --> src/security/vault.rs:6:5 | 6 | derive_key_from_password_legacy, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated function `base64::encode`: Use Engine::encode --> src/security/vault.rs:305:38 | 305 | let encrypted_data = base64::encode(versioned_data); | ^^^^^^ warning: use of deprecated function `base64::decode`: Use Engine::decode --> src/security/vault.rs:372:39 | 372 | let encrypted_bytes = base64::decode(&encrypted.encrypted_data) | ^^^^^^ warning: field `circuit_breaker_enabled` is never read --> src/storage/adaptive_retry.rs:131:5 | 124 | pub struct AdaptiveRetryEngine { | ------------------- field in this struct ... 131 | circuit_breaker_enabled: bool, | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `AdaptiveRetryEngine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: field `connection_pool` is never read --> src/storage/internxt_provider.rs:27:5 | 20 | pub struct InternxtStorageProvider { | ----------------------- field in this struct ... 27 | connection_pool: Arc, | ^^^^^^^^^^^^^^^ warning: method `auth_header` is never used --> src/storage/internxt_provider.rs:140:8 | 32 | impl InternxtStorageProvider { | ---------------------------- method in this implementation ... 140 | fn auth_header(&self) -> String { | ^^^^^^^^^^^ warning: field `http_client` is never read --> src/storage/network_api.rs:34:5 | 32 | pub struct NetworkApiClient { | ---------------- field in this struct 33 | auth_context: Arc, 34 | http_client: reqwest::Client, | ^^^^^^^^^^^ warning: field `bucket_id` is never read --> src/storage/network_api.rs:765:5 | 763 | struct InitializeUploadResponse { | ------------------------ field in this struct 764 | upload_id: String, 765 | bucket_id: String, | ^^^^^^^^^ | = note: `InitializeUploadResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: struct `BackpressureControl` is never constructed --> src/io/backpressure.rs:8:12 | 8 | pub struct BackpressureControl { | ^^^^^^^^^^^^^^^^^^^ warning: associated items `new`, `acquire`, `try_acquire`, `available_permits`, `window_size`, and `clone_controller` are never used --> src/io/backpressure.rs:18:12 | 13 | impl BackpressureControl { | ------------------------ associated items in this implementation ... 18 | pub fn new(window_size: usize) -> Self { | ^^^ ... 28 | pub async fn acquire(&self) -> tokio::sync::SemaphorePermit<'_> { | ^^^^^^^ ... 33 | pub fn try_acquire(&self) -> Option> { | ^^^^^^^^^^^ ... 38 | pub fn available_permits(&self) -> usize { | ^^^^^^^^^^^^^^^^^ ... 43 | pub fn window_size(&self) -> usize { | ^^^^^^^^^^^ ... 48 | pub fn clone_controller(&self) -> Self { | ^^^^^^^^^^^^^^^^ warning: constant `MAX_FAILURE_COUNT` is never used --> src/dwm/worker_lifecycle.rs:18:7 | 18 | const MAX_FAILURE_COUNT: usize = 3; | ^^^^^^^^^^^^^^^^^ warning: method `mark_failed` is never used --> src/dwm/worker_lifecycle.rs:149:8 | 122 | impl WorkerInstance { | ------------------- method in this implementation ... 149 | fn mark_failed(&mut self) { | ^^^^^^^^^^^ warning: `internxt-cli` (lib) generated 14 warnings warning: unused imports: `AuthError`, `LoginRequest`, `LoginResponse`, `RetryConfig`, and `SecurityDetails` --> src/auth/mod.rs:19:30 | 19 | pub use client::{AuthClient, AuthError, SecurityDetails, LoginResponse, LoginRequest, RetryConfig}; | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: use of deprecated function `crypto::key_derivation::derive_key_from_password_legacy`: MD5 is cryptographically broken. Use derive_key_from_password_secure instead --> src/crypto/mod.rs:108:5 | 108 | derive_key_from_password_legacy, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated function `base64::encode`: Use Engine::encode --> src/storage/internxt_provider.rs:1064:29 | 1064 | "data": base64::encode(test_bytes.clone()), | ^^^^^^ warning: unused variable: `e` --> src/commands/create_folder.rs:48:66 | 48 | let credentials = config_service.load_credentials().map_err(|e| { | ^ help: if this is intentional, prefix it with an underscore: `_e` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `file_info` --> src/commands/download_file.rs:318:9 | 318 | let file_info = network_client.get_file_info(&file_meta.uuid).await | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_info` warning: unused variable: `event` --> src/commands/neural.rs:100:41 | 100 | pub async fn process_security_event(event: SecurityEvent) -> Result { | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` warning: unused variable: `benchmark_results` --> src/commands/neural.rs:526:10 | 526 | let (benchmark_results, performance) = match benchmark_type { | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_benchmark_results` warning: multiple patterns overlap on their endpoints --> src/commands/download_file.rs:353:9 | 351 | 0..=TEN_MB => 256 * 1024, | ---------- this range overlaps on `10485760_u64`... 352 | // Medium files: 1MB chunks 353 | TEN_MB..=HUNDRED_MB => 1024 * 1024, | ^^^^^^^^^^^^^^^^^^^ ... with this range | = note: you likely meant to write mutually exclusive ranges = note: `#[warn(overlapping_range_endpoints)]` on by default warning: multiple patterns overlap on their endpoints --> src/commands/download_file.rs:355:9 | 353 | TEN_MB..=HUNDRED_MB => 1024 * 1024, | ------------------- this range overlaps on `104857600_u64`... 354 | // Large files: 4MB chunks 355 | HUNDRED_MB..=ONE_GB => 4 * 1024 * 1024, | ^^^^^^^^^^^^^^^^^^^ ... with this range | = note: you likely meant to write mutually exclusive ranges warning: unused variable: `folder_uuid` --> src/commands/list.rs:74:44 | 74 | fn display_json(contents: &FolderContents, folder_uuid: &str, extended: bool) -> Result<()> { | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_folder_uuid` warning: fields `magic_iv` and `magic_salt` are never read --> src/auth/crypto.rs:22:9 | 20 | pub struct CryptoConfig { | ------------ fields in this struct 21 | pub app_crypto_secret: String, 22 | pub magic_iv: Option, | ^^^^^^^^ 23 | pub magic_salt: Option, | ^^^^^^^^^^ | = note: `CryptoConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: associated function `new` is never used --> src/auth/crypto.rs:61:12 | 26 | impl CryptoConfig { | ----------------- associated function in this implementation ... 61 | pub fn new(secret: String) -> Self { | ^^^ warning: associated function `from_env` is never used --> src/auth/crypto.rs:232:12 | 226 | impl InternxtCrypto { | ------------------- associated function in this implementation ... 232 | pub fn from_env() -> Result { | ^^^^^^^^ warning: field `use_opaque_login` is never read --> src/auth/client.rs:53:9 | 48 | pub struct SecurityDetails { | --------------- field in this struct ... 53 | pub use_opaque_login: Option, | ^^^^^^^^^^^^^^^^ | = note: `SecurityDetails` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: fields `email`, `user_id`, `name`, `lastname`, `root_folder_id`, and `root_folder_uuid` are never read --> src/auth/client.rs:69:9 | 67 | pub struct UserData { | -------- fields in this struct 68 | pub uuid: String, 69 | pub email: String, | ^^^^^ 70 | #[serde(rename = "userId")] 71 | pub user_id: Option, | ^^^^^^^ 72 | pub name: Option, | ^^^^ 73 | pub lastname: Option, | ^^^^^^^^ 74 | #[serde(rename = "rootFolderId")] 75 | pub root_folder_id: Option, | ^^^^^^^^^^^^^^ 76 | #[serde(rename = "rootFolderUuid")] 77 | pub root_folder_uuid: Option, | ^^^^^^^^^^^^^^^^ | = note: `UserData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: function `validate_folder_name` is never used --> src/commands/create_folder.rs:165:4 | 165 | fn validate_folder_name(name: &str) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^ warning: field `download_duration` is never read --> src/commands/download_file.rs:18:9 | 13 | pub struct DownloadResult { | -------------- field in this struct ... 18 | pub download_duration: std::time::Duration, | ^^^^^^^^^^^^^^^^^ | = note: `DownloadResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: method `apply` is never used --> src/commands/list.rs:315:12 | 313 | impl FilterOptions { | ------------------ method in this implementation 314 | /// Apply filters to a list of items 315 | pub fn apply<'a>(&self, items: &'a [ItemInfo]) -> Vec<&'a ItemInfo> { | ^^^^^ warning: function `format_speed` is never used --> src/commands/upload_file.rs:287:4 | 287 | fn format_speed(bytes_per_sec: u64) -> String { | ^^^^^^^^^^^^ warning: struct `NeuralArgs` is never constructed --> src/commands/neural.rs:148:12 | 148 | pub struct NeuralArgs { | ^^^^^^^^^^ warning: function `execute_neural_command` is never used --> src/commands/neural.rs:155:14 | 155 | pub async fn execute_neural_command(args: NeuralArgs) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^ warning: function `execute_init` is never used --> src/commands/neural.rs:182:10 | 182 | async fn execute_init(force: bool, json: bool) -> Result<()> { | ^^^^^^^^^^^^ warning: function `execute_process` is never used --> src/commands/neural.rs:226:10 | 226 | async fn execute_process( | ^^^^^^^^^^^^^^^ warning: function `execute_health` is never used --> src/commands/neural.rs:328:10 | 328 | async fn execute_health(detailed: bool, json: bool) -> Result<()> { | ^^^^^^^^^^^^^^ warning: function `execute_metrics` is never used --> src/commands/neural.rs:410:10 | 410 | async fn execute_metrics(category: &str, json: bool) -> Result<()> { | ^^^^^^^^^^^^^^^ warning: function `execute_benchmark` is never used --> src/commands/neural.rs:517:10 | 517 | async fn execute_benchmark(benchmark_type: &str, iterations: u32, json: bool) -> Result<()> { | ^^^^^^^^^^^^^^^^^ warning: function `execute_wisdom` is never used --> src/commands/neural.rs:616:10 | 616 | async fn execute_wisdom(context: Option<&str>, json: bool) -> Result<()> { | ^^^^^^^^^^^^^^ warning: function `execute_config` is never used --> src/commands/neural.rs:648:10 | 648 | async fn execute_config(setting: &str, value: &str, json: bool) -> Result<()> { | ^^^^^^^^^^^^^^ warning: function `run_jit_benchmark` is never used --> src/commands/neural.rs:694:10 | 694 | async fn run_jit_benchmark(iterations: u32) -> Result> { | ^^^^^^^^^^^^^^^^^ warning: function `run_simd_benchmark` is never used --> src/commands/neural.rs:698:10 | 698 | async fn run_simd_benchmark(iterations: u32) -> Result> { | ^^^^^^^^^^^^^^^^^^ warning: function `run_consciousness_benchmark` is never used --> src/commands/neural.rs:702:10 | 702 | async fn run_consciousness_benchmark(iterations: u32) -> Result> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: function `run_maritime_benchmark` is never used --> src/commands/neural.rs:706:10 | 706 | async fn run_maritime_benchmark(iterations: u32) -> Result> { | ^^^^^^^^^^^^^^^^^^^^^^ warning: function `run_full_benchmark` is never used --> src/commands/neural.rs:710:10 | 710 | async fn run_full_benchmark(iterations: u32) -> Result> { | ^^^^^^^^^^^^^^^^^^ warning: multiple methods are never used --> src/config/mod.rs:86:12 | 61 | impl Credentials { | ---------------- methods in this implementation ... 86 | pub fn is_expired(&self, buffer_minutes: i64) -> bool { | ^^^^^^^^^^ ... 96 | pub fn time_until_expires(&self) -> Option { | ^^^^^^^^^^^^^^^^^^ ... 101 | pub fn has_refresh_token(&self) -> bool { | ^^^^^^^^^^^^^^^^^ ... 106 | pub fn storage_quota_gb(&self) -> f64 { | ^^^^^^^^^^^^^^^^ ... 112 | pub fn update_auth_timestamp(&mut self) { | ^^^^^^^^^^^^^^^^^^^^^ ... 117 | pub fn validate(&self) -> std::result::Result<(), String> { | ^^^^^^^^ ... 131 | pub fn summary(&self) -> CredentialsSummary { | ^^^^^^^ warning: struct `CredentialsSummary` is never constructed --> src/config/mod.rs:146:12 | 146 | pub struct CredentialsSummary { | ^^^^^^^^^^^^^^^^^^ warning: struct `WebDavConfig` is never constructed --> src/config/mod.rs:158:12 | 158 | pub struct WebDavConfig { | ^^^^^^^^^^^^ warning: function `default_port` is never used --> src/config/mod.rs:171:4 | 171 | fn default_port() -> u16 { | ^^^^^^^^^^^^ warning: function `default_host` is never used --> src/config/mod.rs:175:4 | 175 | fn default_host() -> String { | ^^^^^^^^^^^^ warning: function `default_https` is never used --> src/config/mod.rs:179:4 | 179 | fn default_https() -> bool { | ^^^^^^^^^^^^^ warning: field `webdav_config_path` is never read --> src/config/service.rs:14:5 | 12 | pub struct ConfigService { | ------------- field in this struct 13 | credentials_path: PathBuf, 14 | webdav_config_path: PathBuf, | ^^^^^^^^^^^^^^^^^^ warning: methods `load_webdav_config`, `save_webdav_config`, and `webdav_config_path` are never used --> src/config/service.rs:106:12 | 17 | impl ConfigService { | ------------------ methods in this implementation ... 106 | pub fn load_webdav_config(&self) -> Result { | ^^^^^^^^^^^^^^^^^^ ... 129 | pub fn save_webdav_config(&self, config: &WebDavConfig) -> Result<()> { | ^^^^^^^^^^^^^^^^^^ ... 143 | pub fn webdav_config_path(&self) -> &PathBuf { | ^^^^^^^^^^^^^^^^^^ warning: struct `WebDAVConfigService` is never constructed --> src/config/webdav.rs:6:12 | 6 | pub struct WebDAVConfigService; | ^^^^^^^^^^^^^^^^^^^ warning: associated function `new` is never used --> src/config/webdav.rs:9:12 | 8 | impl WebDAVConfigService { | ------------------------ associated function in this implementation 9 | pub fn new() -> Result { | ^^^ warning: multiple associated items are never used --> src/config/endpoints.rs:31:12 | 20 | impl ApiEndpoints { | ----------------- associated items in this implementation ... 31 | pub fn from_env() -> Result { | ^^^^^^^^ ... 54 | pub fn validate(&self) -> Result<(), String> { | ^^^^^^^^ ... 71 | pub fn login_url(&self) -> String { | ^^^^^^^^^ ... 76 | pub fn logout_url(&self) -> String { | ^^^^^^^^^^ ... 81 | pub fn file_download_url(&self, file_id: &str, _file_name: &str) -> String { | ^^^^^^^^^^^^^^^^^ ... 86 | pub fn chunk_upload_url(&self, chunk_index: u32) -> String { | ^^^^^^^^^^^^^^^^ ... 91 | pub fn chunk_download_url(&self, chunk_id: &str) -> String { | ^^^^^^^^^^^^^^^^^^ ... 96 | pub fn create_folder_url(&self) -> String { | ^^^^^^^^^^^^^^^^^ ... 101 | pub fn list_folder_url(&self, folder_id: &str) -> String { | ^^^^^^^^^^^^^^^ ... 106 | pub fn file_upload_url(&self) -> String { | ^^^^^^^^^^^^^^^ ... 111 | pub fn frame_create_url(&self) -> String { | ^^^^^^^^^^^^^^^^ ... 116 | pub fn shard_upload_url(&self, frame_id: &str) -> String { | ^^^^^^^^^^^^^^^^ ... 121 | pub fn file_token_url(&self, bucket_id: &str, file_id: &str, operation: &str) -> String { | ^^^^^^^^^^^^^^ ... 127 | pub fn file_metadata_url(&self, file_id: &str) -> String { | ^^^^^^^^^^^^^^^^^ ... 132 | pub fn trash_url(&self) -> String { | ^^^^^^^^^ ... 137 | pub fn trash_restore_url(&self) -> String { | ^^^^^^^^^^^^^^^^^ ... 142 | pub fn to_config(&self) -> serde_json::Value { | ^^^^^^^^^ warning: struct `EnvConfig` is never constructed --> src/config/env.rs:12:12 | 12 | pub struct EnvConfig { | ^^^^^^^^^ warning: struct `EnvManager` is never constructed --> src/config/env.rs:38:12 | 38 | pub struct EnvManager { | ^^^^^^^^^^ warning: multiple associated items are never used --> src/config/env.rs:44:12 | 42 | impl EnvManager { | --------------- associated items in this implementation 43 | /// Create a new environment manager with the given configuration 44 | pub fn new(config: EnvConfig) -> Self { | ^^^ ... 49 | pub fn default() -> Self { | ^^^^^^^ ... 54 | pub fn get_required(&self, key: &str, validator: impl Fn(&str) -> Result) -> Result { | ^^^^^^^^^^^^ ... 67 | pub fn get_optional(&self, key: &str, fallback: F) -> Result | ^^^^^^^^^^^^ ... 89 | pub fn get_crypto_secret(&self) -> Result { | ^^^^^^^^^^^^^^^^^ ... 106 | pub fn get_magic_iv(&self) -> Result { | ^^^^^^^^^^^^ ... 123 | pub fn get_magic_salt(&self) -> Result { | ^^^^^^^^^^^^^^ ... 140 | pub fn get_vault_seed(&self, environment: &str) -> Result { | ^^^^^^^^^^^^^^ ... 148 | fn generate_secure_vault_seed(&self, environment: &str) -> String { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 179 | pub fn get_api_endpoints(&self) -> ApiEndpoints { | ^^^^^^^^^^^^^^^^^ ... 191 | pub fn validate_critical_vars(&self) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^ ... 224 | pub fn generate_secrets_config(&self) -> Result { | ^^^^^^^^^^^^^^^^^^^^^^^ ... 259 | fn generate_secure_hex_string(&self, byte_length: usize) -> String { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: struct `ApiEndpoints` is never constructed --> src/config/env.rs:276:12 | 276 | pub struct ApiEndpoints { | ^^^^^^^^^^^^ warning: struct `SecretsConfig` is never constructed --> src/config/env.rs:284:12 | 284 | pub struct SecretsConfig { | ^^^^^^^^^^^^^ warning: method `to_env_format` is never used --> src/config/env.rs:293:12 | 291 | impl SecretsConfig { | ------------------ method in this implementation 292 | /// Export as environment file format 293 | pub fn to_env_format(&self) -> String { | ^^^^^^^^^^^^^ warning: function `detect_environment` is never used --> src/config/env.rs:316:8 | 316 | pub fn detect_environment() -> String { | ^^^^^^^^^^^^^^^^^^ warning: function `init_environment` is never used --> src/config/env.rs:336:8 | 336 | pub fn init_environment() -> Result { | ^^^^^^^^^^^^^^^^ warning: function `has_hardware_acceleration` is never used --> src/crypto/mod.rs:116:8 | 116 | pub fn has_hardware_acceleration() -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^ warning: function `get_implementation_info` is never used --> src/crypto/mod.rs:128:8 | 128 | pub fn get_implementation_info() -> String { | ^^^^^^^^^^^^^^^^^^^^^^^ warning: multiple variants are never constructed --> src/crypto/errors.rs:15:5 | 13 | pub enum CryptoError { | ----------- variants in this enum 14 | /// Invalid encryption key length 15 | InvalidKeyLength { | ^^^^^^^^^^^^^^^^ ... 21 | InvalidNonceLength { | ^^^^^^^^^^^^^^^^^^ ... 37 | InvalidMnemonic { | ^^^^^^^^^^^^^^^ ... 42 | KeyDerivationFailed { | ^^^^^^^^^^^^^^^^^^^ ... 52 | StreamError { | ^^^^^^^^^^^ ... 57 | BufferSizeError { | ^^^^^^^^^^^^^^^ ... 62 | AccelerationUnavailable { | ^^^^^^^^^^^^^^^^^^^^^^^ ... 67 | UnsupportedOperation { | ^^^^^^^^^^^^^^^^^^^^ ... 77 | Other { | ^^^^^ | = note: `CryptoError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: constant `AES_BLOCK_SIZE` is never used --> src/crypto/aes_cipher.rs:18:11 | 18 | pub const AES_BLOCK_SIZE: usize = 16; | ^^^^^^^^^^^^^^ warning: struct `AesCtxCipher` is never constructed --> src/crypto/aes_cipher.rs:25:12 | 25 | pub struct AesCtxCipher { | ^^^^^^^^^^^^ warning: enum `CipherImpl` is never used --> src/crypto/aes_cipher.rs:30:6 | 30 | enum CipherImpl { | ^^^^^^^^^^ warning: multiple associated items are never used --> src/crypto/aes_cipher.rs:46:12 | 36 | impl AesCtxCipher { | ----------------- associated items in this implementation ... 46 | pub fn new(key: &[u8; 32]) -> CryptoResult { | ^^^ ... 65 | pub fn is_hardware_accelerated(&self) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^ ... 77 | pub fn encrypt_block(&self, plaintext: &[u8; 16]) -> [u8; 16] { | ^^^^^^^^^^^^^ ... 93 | pub fn encrypt(&self, nonce: &[u8; 16], data: &[u8]) -> Vec { | ^^^^^^^ ... 109 | pub fn decrypt(&self, nonce: &[u8; 16], data: &[u8]) -> Vec { | ^^^^^^^ ... 126 | pub fn encrypt_with_offset( | ^^^^^^^^^^^^^^^^^^^ ... 140 | pub fn decrypt_with_offset( | ^^^^^^^^^^^^^^^^^^^ ... 164 | pub fn encrypt_stream( | ^^^^^^^^^^^^^^ ... 184 | pub fn decrypt_stream( | ^^^^^^^^^^^^^^ ... 197 | fn clone_inner(&self) -> CipherImpl { | ^^^^^^^^^^^ warning: struct `EncryptStream` is never constructed --> src/crypto/aes_cipher.rs:215:8 | 215 | struct EncryptStream { | ^^^^^^^^^^^^^ warning: associated function `new` is never used --> src/crypto/aes_cipher.rs:226:8 | 222 | / impl EncryptStream 223 | | where 224 | | S: Stream, | |____________________________- associated function in this implementation 225 | { 226 | fn new(cipher: CipherImpl, nonce: [u8; 16], source: S) -> Self { | ^^^ warning: struct `DecryptStream` is never constructed --> src/crypto/aes_cipher.rs:265:8 | 265 | struct DecryptStream { | ^^^^^^^^^^^^^ warning: associated function `new` is never used --> src/crypto/aes_cipher.rs:276:8 | 272 | / impl DecryptStream 273 | | where 274 | | S: Stream, | |____________________________- associated function in this implementation 275 | { 276 | fn new(cipher: CipherImpl, nonce: [u8; 16], source: S, start_offset: Option) -> Self { | ^^^ warning: function `encrypt_stream_helper` is never used --> src/crypto/aes_cipher.rs:317:14 | 317 | pub async fn encrypt_stream_helper( | ^^^^^^^^^^^^^^^^^^^^^ warning: function `decrypt_stream_helper` is never used --> src/crypto/aes_cipher.rs:339:14 | 339 | pub async fn decrypt_stream_helper( | ^^^^^^^^^^^^^^^^^^^^^ warning: constant `HMAC_TAG_SIZE` is never used --> src/crypto/aes_cipher.rs:480:11 | 480 | pub const HMAC_TAG_SIZE: usize = 32; | ^^^^^^^^^^^^^ warning: constant `AUTHENTICATED_VERSION` is never used --> src/crypto/aes_cipher.rs:483:11 | 483 | pub const AUTHENTICATED_VERSION: u8 = 0x01; | ^^^^^^^^^^^^^^^^^^^^^ warning: struct `AuthenticatedAesCipher` is never constructed --> src/crypto/aes_cipher.rs:527:12 | 527 | pub struct AuthenticatedAesCipher { | ^^^^^^^^^^^^^^^^^^^^^^ warning: associated items `new`, `encrypt_authenticated`, `decrypt_authenticated`, and `is_hardware_accelerated` are never used --> src/crypto/aes_cipher.rs:545:12 | 534 | impl AuthenticatedAesCipher { | --------------------------- associated items in this implementation ... 545 | pub fn new(key: &[u8; 32]) -> CryptoResult { | ^^^ ... 588 | pub fn encrypt_authenticated(&self, nonce: &[u8; 16], plaintext: &[u8]) -> CryptoResult> { | ^^^^^^^^^^^^^^^^^^^^^ ... 645 | pub fn decrypt_authenticated(&self, authenticated_ciphertext: &[u8]) -> CryptoResult> { | ^^^^^^^^^^^^^^^^^^^^^ ... 704 | pub fn is_hardware_accelerated(&self) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^ warning: function `encrypt_authenticated` is never used --> src/crypto/aes_cipher.rs:721:8 | 721 | pub fn encrypt_authenticated( | ^^^^^^^^^^^^^^^^^^^^^ warning: function `decrypt_authenticated` is never used --> src/crypto/aes_cipher.rs:741:8 | 741 | pub fn decrypt_authenticated( | ^^^^^^^^^^^^^^^^^^^^^ warning: function `generate_file_key` is never used --> src/crypto/key_derivation.rs:102:8 | 102 | pub fn generate_file_key( | ^^^^^^^^^^^^^^^^^ warning: function `derive_key_from_password` is never used --> src/crypto/key_derivation.rs:253:8 | 253 | pub fn derive_key_from_password(password: &str, salt: &[u8; 8]) -> ([u8; 32], [u8; 16]) { | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: function `hash_password_secure` is never used --> src/crypto/key_derivation.rs:288:8 | 288 | pub fn hash_password_secure(password: &str, salt: Option<&str>) -> CryptoResult<(String, String)> { | ^^^^^^^^^^^^^^^^^^^^ warning: function `hash_password_legacy` is never used --> src/crypto/key_derivation.rs:334:8 | 334 | pub fn hash_password_legacy(password: &str, salt: Option<&str>) -> CryptoResult<(String, String)> { | ^^^^^^^^^^^^^^^^^^^^ warning: function `hash_password` is never used --> src/crypto/key_derivation.rs:376:8 | 376 | pub fn hash_password(password: &str, salt: Option<&str>) -> CryptoResult<(String, String)> { | ^^^^^^^^^^^^^ warning: function `generate_random_nonce` is never used --> src/crypto/key_derivation.rs:382:8 | 382 | pub fn generate_random_nonce() -> [u8; 16] { | ^^^^^^^^^^^^^^^^^^^^^ warning: function `generate_random_salt` is never used --> src/crypto/key_derivation.rs:394:8 | 394 | pub fn generate_random_salt() -> [u8; 8] { | ^^^^^^^^^^^^^^^^^^^^ warning: function `validate_mnemonic` is never used --> src/crypto/key_derivation.rs:411:8 | 411 | pub fn validate_mnemonic(mnemonic: &str) -> CryptoResult<()> { | ^^^^^^^^^^^^^^^^^ warning: associated items `from_mnemonic` and `as_slice` are never used --> src/crypto/key_derivation.rs:433:12 | 426 | impl EncryptionKey { | ------------------ associated items in this implementation ... 433 | pub fn from_mnemonic(mnemonic: &str, bucket_id: &str, index: usize) -> CryptoResult { | ^^^^^^^^^^^^^ ... 482 | pub fn as_slice(&self) -> &[u8] { | ^^^^^^^^ warning: constant `AES_BLOCK_SIZE` is never used --> src/crypto/aes_ni.rs:16:11 | 16 | pub const AES_BLOCK_SIZE: usize = 16; | ^^^^^^^^^^^^^^ warning: constant `AES_256_ROUNDS` is never used --> src/crypto/aes_ni.rs:23:11 | 23 | pub const AES_256_ROUNDS: usize = 14; | ^^^^^^^^^^^^^^ warning: function `has_aes_ni` is never used --> src/crypto/aes_ni.rs:27:8 | 27 | pub fn has_aes_ni() -> bool { | ^^^^^^^^^^ warning: struct `AesNiCipherCtx` is never constructed --> src/crypto/aes_ni.rs:42:12 | 42 | pub struct AesNiCipherCtx { | ^^^^^^^^^^^^^^ warning: multiple associated items are never used --> src/crypto/aes_ni.rs:59:12 | 48 | impl AesNiCipherCtx { | ------------------- associated items in this implementation ... 59 | pub fn new(key: &[u8; 32]) -> CryptoResult { | ^^^ ... 77 | unsafe fn expand_key_aes_256(key: &[u8; 32]) -> [__m128i; AES_256_ROUNDS + 1] { | ^^^^^^^^^^^^^^^^^^ ... 120 | unsafe fn expand_key_assist_const(prev: __m128i, prev2: __m128i) -> __m128i { | ^^^^^^^^^^^^^^^^^^^^^^^ ... 139 | unsafe fn expand_key_assist_256(prev: __m128i, prev2: __m128i) -> __m128i { | ^^^^^^^^^^^^^^^^^^^^^ ... 167 | unsafe fn encrypt_block_intrinsic(&self, plaintext: &[u8; 16]) -> [u8; 16] { | ^^^^^^^^^^^^^^^^^^^^^^^ ... 188 | pub fn encrypt_block(&self, plaintext: &[u8; 16]) -> [u8; 16] { | ^^^^^^^^^^^^^ ... 204 | pub fn encrypt_stream(&self, nonce: &[u8; 16], data: &[u8]) -> Vec { | ^^^^^^^^^^^^^^ ... 233 | pub fn decrypt_stream(&self, nonce: &[u8; 16], data: &[u8]) -> Vec { | ^^^^^^^^^^^^^^ ... 247 | pub fn encrypt_stream_with_offset( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 296 | pub fn decrypt_stream_with_offset( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: struct `Counter` is never constructed --> src/crypto/aes_ni.rs:309:8 | 309 | struct Counter { | ^^^^^^^ warning: associated items `new`, `next`, and `advance` are never used --> src/crypto/aes_ni.rs:315:8 | 313 | impl Counter { | ------------ associated items in this implementation 314 | /// Create a new counter from a nonce 315 | fn new(nonce: &[u8; 16]) -> Self { | ^^^ ... 321 | fn next(&mut self) -> [u8; 16] { | ^^^^ ... 328 | fn advance(&mut self, n: usize) { | ^^^^^^^ warning: constant `AES_BLOCK_SIZE` is never used --> src/crypto/pure_rust.rs:11:11 | 11 | pub const AES_BLOCK_SIZE: usize = 16; | ^^^^^^^^^^^^^^ warning: constant `NR` is never used --> src/crypto/pure_rust.rs:18:7 | 18 | const NR: usize = 14; | ^^ warning: constant `SBOX` is never used --> src/crypto/pure_rust.rs:21:7 | 21 | const SBOX: [u8; 256] = [ | ^^^^ warning: constant `RCON` is never used --> src/crypto/pure_rust.rs:41:7 | 41 | const RCON: [u8; 15] = [ | ^^^^ warning: struct `AesPureRustCtx` is never constructed --> src/crypto/pure_rust.rs:46:12 | 46 | pub struct AesPureRustCtx { | ^^^^^^^^^^^^^^ warning: multiple associated items are never used --> src/crypto/pure_rust.rs:53:12 | 51 | impl AesPureRustCtx { | ------------------- associated items in this implementation 52 | /// Create a new cipher context with the given 256-bit key 53 | pub fn new(key: &[u8; 32]) -> CryptoResult { | ^^^ ... 59 | fn expand_key(key: &[u8; 32]) -> [[u8; 16]; NR + 1] { | ^^^^^^^^^^ ... 119 | fn sub_bytes(state: &mut [u8; 16]) { | ^^^^^^^^^ ... 126 | fn shift_rows(state: &mut [u8; 16]) { | ^^^^^^^^^^ ... 151 | fn gf_mul_2(b: u8) -> u8 { | ^^^^^^^^ ... 160 | fn mix_columns(state: &mut [u8; 16]) { | ^^^^^^^^^^^ ... 175 | fn add_round_key(state: &mut [u8; 16], round_key: &[u8; 16]) { | ^^^^^^^^^^^^^ ... 182 | pub fn encrypt_block(&self, plaintext: &[u8; 16]) -> [u8; 16] { | ^^^^^^^^^^^^^ ... 205 | pub fn encrypt_stream(&self, nonce: &[u8; 16], data: &[u8]) -> Vec { | ^^^^^^^^^^^^^^ ... 222 | pub fn decrypt_stream(&self, nonce: &[u8; 16], data: &[u8]) -> Vec { | ^^^^^^^^^^^^^^ ... 227 | pub fn encrypt_stream_with_offset( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 272 | pub fn decrypt_stream_with_offset( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: struct `Counter` is never constructed --> src/crypto/pure_rust.rs:283:8 | 283 | struct Counter { | ^^^^^^^ warning: associated items `new`, `next`, and `advance` are never used --> src/crypto/pure_rust.rs:288:8 | 287 | impl Counter { | ------------ associated items in this implementation 288 | fn new(nonce: &[u8; 16]) -> Self { | ^^^ ... 293 | fn next(&mut self) -> [u8; 16] { | ^^^^ ... 299 | fn advance(&mut self, n: usize) { | ^^^^^^^ warning: multiple variants are never constructed --> src/error.rs:17:5 | 6 | pub enum CliError { | -------- variants in this enum ... 17 | WebDAVError(String), | ^^^^^^^^^^^ ... 59 | InvalidPassword, | ^^^^^^^^^^^^^^^ ... 62 | InvalidTwoFactorCode(String), | ^^^^^^^^^^^^^^^^^^^^ ... 65 | JwtError(String), | ^^^^^^^^ ... 68 | TokenRefreshError(String), | ^^^^^^^^^^^^^^^^^ ... 74 | TooManyAuthAttempts, | ^^^^^^^^^^^^^^^^^^^ ... 77 | AccountLocked, | ^^^^^^^^^^^^^ ... 80 | InvalidApiResponse(String), | ^^^^^^^^^^^^^^^^^^ ... 86 | AuthTimeout, | ^^^^^^^^^^^ ... 89 | InvalidCredentialsFormat(String), | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 98 | SanitizationFailed(String), | ^^^^^^^^^^^^^^^^^^ ... 101 | PathTraversal(String), | ^^^^^^^^^^^^^ ... 104 | RateLimitExceeded(String), | ^^^^^^^^^^^^^^^^^ ... 107 | InputSizeExceeded(String), | ^^^^^^^^^^^^^^^^^ ... 110 | SuspiciousActivity(String), | ^^^^^^^^^^^^^^^^^^ ... 113 | SecurityPolicyViolation(String), | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `CliError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: multiple associated functions are never used --> src/error.rs:219:12 | 206 | impl CliError { | ------------- associated functions in this implementation ... 219 | pub fn not_found(msg: impl Into) -> Self { | ^^^^^^^^^ ... 227 | pub fn file_exists(msg: impl Into) -> Self { | ^^^^^^^^^^^ ... 247 | pub fn sanitization_error(msg: impl Into) -> Self { | ^^^^^^^^^^^^^^^^^^ ... 251 | pub fn path_traversal_error(msg: impl Into) -> Self { | ^^^^^^^^^^^^^^^^^^^^ ... 255 | pub fn rate_limit_exceeded_error(msg: impl Into) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^ ... 259 | pub fn input_size_exceeded_error(msg: impl Into) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^ ... 263 | pub fn suspicious_activity_error(msg: impl Into) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^ ... 267 | pub fn security_policy_violation_error(msg: impl Into) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: field `stream_pool` is never read --> src/io/concurrent_manager.rs:42:5 | 38 | pub struct ConcurrentStreamManager { | ----------------------- field in this struct ... 42 | stream_pool: Arc, | ^^^^^^^^^^^ warning: associated items `active_streams`, `metrics`, `stream_pool`, `network_client`, `with_network_client`, and `simulation_only` are never used --> src/io/concurrent_manager.rs:278:12 | 47 | impl ConcurrentStreamManager { | ---------------------------- associated items in this implementation ... 278 | pub fn active_streams(&self) -> usize { | ^^^^^^^^^^^^^^ ... 283 | pub fn metrics(&self) -> Arc { | ^^^^^^^ ... 288 | pub fn stream_pool(&self) -> Arc { | ^^^^^^^^^^^ ... 320 | pub fn network_client(&self) -> Option> { | ^^^^^^^^^^^^^^ ... 325 | pub fn with_network_client( | ^^^^^^^^^^^^^^^^^^^ ... 333 | pub fn simulation_only(max_concurrent: usize) -> Self { | ^^^^^^^^^^^^^^^ warning: fields `buffer` and `last_used` are never read --> src/io/stream_pool.rs:9:5 | 8 | pub struct EncryptedStream { | --------------- fields in this struct 9 | buffer: Vec, | ^^^^^^ 10 | last_used: Instant, | ^^^^^^^^^ | = note: `EncryptedStream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: associated items `new`, `reset`, `is_expired`, `buffer`, `buffer_mut`, and `to_bytes` are never used --> src/io/stream_pool.rs:15:8 | 13 | impl EncryptedStream { | -------------------- associated items in this implementation 14 | /// Create new stream with capacity 15 | fn new(capacity: usize) -> Self { | ^^^ ... 23 | fn reset(&mut self) { | ^^^^^ ... 29 | fn is_expired(&self, max_age: Duration) -> bool { | ^^^^^^^^^^ ... 34 | pub fn buffer(&self) -> &[u8] { | ^^^^^^ ... 39 | pub fn buffer_mut(&mut self) -> &mut Vec { | ^^^^^^^^^^ ... 44 | pub fn to_bytes(&self) -> Bytes { | ^^^^^^^^ warning: struct `PooledStream` is never constructed --> src/io/stream_pool.rs:52:12 | 52 | pub struct PooledStream { | ^^^^^^^^^^^^ warning: associated items `new`, `get_mut`, and `get` are never used --> src/io/stream_pool.rs:58:8 | 57 | impl PooledStream { | ----------------- associated items in this implementation 58 | fn new(stream: EncryptedStream, pool: Arc) -> Self { | ^^^ ... 66 | pub fn get_mut(&mut self) -> &mut EncryptedStream { | ^^^^^^^ ... 71 | pub fn get(&self) -> &EncryptedStream { | ^^^ warning: fields `pool`, `max_size`, `stream_capacity`, and `max_age` are never read --> src/io/stream_pool.rs:89:5 | 88 | pub struct StreamPool { | ---------- fields in this struct 89 | pool: Mutex>, | ^^^^ 90 | max_size: usize, | ^^^^^^^^ 91 | stream_capacity: usize, | ^^^^^^^^^^^^^^^ 92 | max_age: Duration, | ^^^^^^^ warning: methods `acquire`, `release`, `size`, `clear`, and `cleanup_expired` are never used --> src/io/stream_pool.rs:111:18 | 95 | impl StreamPool { | --------------- methods in this implementation ... 111 | pub async fn acquire(self: &Arc) -> PooledStream { | ^^^^^^^ ... 131 | fn release(&self, stream: EncryptedStream) { | ^^^^^^^ ... 142 | pub fn size(&self) -> usize { | ^^^^ ... 147 | pub fn clear(&self) { | ^^^^^ ... 152 | pub fn cleanup_expired(&self) { | ^^^^^^^^^^^^^^^ warning: method `on_error` is never used --> src/io/progress.rs:23:8 | 15 | pub trait ProgressCallback: Send + Sync { | ---------------- method in this trait ... 23 | fn on_error(&self, error: &str); | ^^^^^^^^ warning: methods `get_percentage`, `get_bytes_processed`, `error`, and `get_counter` are never used --> src/io/progress.rs:66:12 | 26 | impl ProgressTracker { | -------------------- methods in this implementation ... 66 | pub fn get_percentage(&self) -> u32 { | ^^^^^^^^^^^^^^ ... 76 | pub fn get_bytes_processed(&self) -> u64 { | ^^^^^^^^^^^^^^^^^^^ ... 88 | pub fn error(&self, error: &str) { | ^^^^^ ... 95 | pub fn get_counter(&self) -> Arc { | ^^^^^^^^^^^ warning: method `process_parallel` is never used --> src/io/chunk_processor.rs:120:18 | 20 | impl ChunkProcessor { | ------------------- method in this implementation ... 120 | pub async fn process_parallel( | ^^^^^^^^^^^^^^^^ warning: fields `offset` and `total_chunks` are never read --> src/io/file_chunker.rs:13:9 | 10 | pub struct FileChunk { | --------- fields in this struct ... 13 | pub offset: u64, | ^^^^^^ 14 | pub total_chunks: usize, | ^^^^^^^^^^^^ | = note: `FileChunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: method `is_last` is never used --> src/io/file_chunker.rs:24:12 | 17 | impl FileChunk { | -------------- method in this implementation ... 24 | pub fn is_last(&self) -> bool { | ^^^^^^^ warning: associated items `multipart` and `chunk_stream` are never used --> src/io/file_chunker.rs:46:12 | 34 | impl FileChunker { | ---------------- associated items in this implementation ... 46 | pub fn multipart() -> Self { | ^^^^^^^^^ ... 95 | pub fn chunk_stream( | ^^^^^^^^^^^^ warning: field `errors_count` is never read --> src/io/metrics.rs:12:5 | 8 | pub struct IoMetrics { | --------- field in this struct ... 12 | errors_count: AtomicU64, | ^^^^^^^^^^^^ warning: struct `IoReport` is never constructed --> src/io/metrics.rs:18:12 | 18 | pub struct IoReport { | ^^^^^^^^ warning: methods `record_error`, `report`, `reset`, and `total_bytes` are never used --> src/io/metrics.rs:54:12 | 26 | impl IoMetrics { | -------------- methods in this implementation ... 54 | pub fn record_error(&self) { | ^^^^^^^^^^^^ ... 69 | pub fn report(&self) -> IoReport { | ^^^^^^ ... 80 | pub fn reset(&self) { | ^^^^^ ... 89 | pub fn total_bytes(&self) -> u64 { | ^^^^^^^^^^^ warning: struct `CacheStats` is never constructed --> src/paths/cache.rs:9:12 | 9 | pub struct CacheStats { | ^^^^^^^^^^ warning: method `hit_rate` is never used --> src/paths/cache.rs:18:12 | 16 | impl CacheStats { | --------------- method in this implementation 17 | /// Calculate cache hit rate as a percentage 18 | pub fn hit_rate(&self) -> f64 { | ^^^^^^^^ warning: struct `CacheEntry` is never constructed --> src/paths/cache.rs:30:8 | 30 | struct CacheEntry { | ^^^^^^^^^^ warning: struct `PathCache` is never constructed --> src/paths/cache.rs:41:12 | 41 | pub struct PathCache { | ^^^^^^^^^ warning: multiple associated items are never used --> src/paths/cache.rs:52:12 | 47 | impl PathCache { | -------------- associated items in this implementation ... 52 | pub fn new(max_size: usize) -> Self { | ^^^ ... 65 | pub fn get(&self, path: &str) -> Option<(String, bool)> { | ^^^ ... 82 | pub fn insert(&self, path: String, uuid: String, is_folder: bool) { | ^^^^^^ ... 94 | pub fn remove(&self, path: &str) -> Option<(String, bool)> { | ^^^^^^ ... 99 | pub fn clear(&self) { | ^^^^^ ... 106 | pub fn stats(&self) -> CacheStats { | ^^^^^ ... 119 | pub fn remove_prefix(&self, prefix: &str) { | ^^^^^^^^^^^^^ warning: multiple variants are never constructed --> src/paths/errors.rs:7:5 | 5 | pub enum PathError { | --------- variants in this enum 6 | #[error("Path not found: {0}")] 7 | NotFound(String), | ^^^^^^^^ ... 10 | InvalidPath(String), | ^^^^^^^^^^^ ... 13 | DecodingError(String), | ^^^^^^^^^^^^^ ... 16 | TraversalFailed(String), | ^^^^^^^^^^^^^^^ ... 19 | CacheError(String), | ^^^^^^^^^^ ... 25 | EmptyComponent, | ^^^^^^^^^^^^^^ ... 28 | InvalidCharacters, | ^^^^^^^^^^^^^^^^^ ... 31 | MaxDepthExceeded, | ^^^^^^^^^^^^^^^^ | = note: `PathError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: struct `CachedFolderContents` is never constructed --> src/paths/folder_cache.rs:8:8 | 8 | struct CachedFolderContents { | ^^^^^^^^^^^^^^^^^^^^ warning: method `is_expired` is never used --> src/paths/folder_cache.rs:14:8 | 13 | impl CachedFolderContents { | ------------------------- method in this implementation 14 | fn is_expired(&self, ttl: Duration) -> bool { | ^^^^^^^^^^ warning: struct `FolderContentCache` is never constructed --> src/paths/folder_cache.rs:23:12 | 23 | pub struct FolderContentCache { | ^^^^^^^^^^^^^^^^^^ warning: multiple associated items are never used --> src/paths/folder_cache.rs:33:12 | 28 | impl FolderContentCache { | ----------------------- associated items in this implementation ... 33 | pub fn new(ttl_secs: u64) -> Self { | ^^^ ... 47 | pub fn get(&self, folder_uuid: &str) -> Option> { | ^^^ ... 65 | pub fn set(&self, folder_uuid: String, items: Vec) { | ^^^ ... 76 | pub fn invalidate(&self, folder_uuid: &str) { | ^^^^^^^^^^ ... 81 | pub fn clear(&self) { | ^^^^^ ... 86 | pub fn len(&self) -> usize { | ^^^ ... 91 | pub fn is_empty(&self) -> bool { | ^^^^^^^^ ... 98 | pub fn cleanup_expired(&self) { | ^^^^^^^^^^^^^^^ warning: struct `ResolutionMetrics` is never constructed --> src/paths/performance.rs:5:12 | 5 | pub struct ResolutionMetrics { | ^^^^^^^^^^^^^^^^^ warning: associated items `new`, `record_hit`, `record_miss`, `record_resolution`, `report`, and `reset` are never used --> src/paths/performance.rs:14:12 | 12 | impl ResolutionMetrics { | ---------------------- associated items in this implementation 13 | /// Create a new metrics tracker 14 | pub fn new() -> Self { | ^^^ ... 24 | pub fn record_hit(&self) { | ^^^^^^^^^^ ... 29 | pub fn record_miss(&self) { | ^^^^^^^^^^^ ... 37 | pub fn record_resolution(&self, duration: std::time::Duration) { | ^^^^^^^^^^^^^^^^^ ... 44 | pub fn report(&self) -> MetricsReport { | ^^^^^^ ... 72 | pub fn reset(&self) { | ^^^^^ warning: struct `MetricsReport` is never constructed --> src/paths/performance.rs:88:12 | 88 | pub struct MetricsReport { | ^^^^^^^^^^^^^ warning: struct `Timer` is never constructed --> src/paths/performance.rs:116:12 | 116 | pub struct Timer { | ^^^^^ warning: associated items `start` and `elapsed` are never used --> src/paths/performance.rs:122:12 | 120 | impl Timer { | ---------- associated items in this implementation 121 | /// Start a new timer 122 | pub fn start() -> Self { | ^^^^^ ... 129 | pub fn elapsed(&self) -> std::time::Duration { | ^^^^^^^ warning: struct `PathResolver` is never constructed --> src/paths/resolver.rs:17:12 | 17 | pub struct PathResolver { | ^^^^^^^^^^^^ warning: multiple associated items are never used --> src/paths/resolver.rs:32:12 | 24 | impl PathResolver { | ----------------- associated items in this implementation ... 32 | pub fn new( | ^^^ ... 62 | pub async fn resolve(&self, webdav_path: &str) -> PathResult<(String, bool)> { | ^^^^^^^ ... 94 | pub async fn resolve_uuid(&self, webdav_path: &str) -> PathResult { | ^^^^^^^^^^^^ ... 112 | pub async fn resolve_parent(&self, webdav_path: &str) -> PathResult { | ^^^^^^^^^^^^^^ ... 141 | pub fn invalidate(&self, webdav_path: &str) { | ^^^^^^^^^^ ... 160 | pub fn invalidate_recursive(&self, webdav_path: &str) { | ^^^^^^^^^^^^^^^^^^^^ ... 176 | pub fn cache_stats(&self) -> crate::paths::cache::CacheStats { | ^^^^^^^^^^^ ... 181 | pub fn metrics(&self) -> crate::paths::performance::MetricsReport { | ^^^^^^^ ... 186 | pub fn clear_cache(&self) { | ^^^^^^^^^^^ ... 192 | pub fn root_uuid(&self) -> &str { | ^^^^^^^^^ ... 200 | pub async fn list_shared_folders(&self) -> PathResult> { | ^^^^^^^^^^^^^^^^^^^ ... 224 | pub async fn set_root_to_shared_folder(&mut self, shared_folder_uuid: &str) -> PathResult { | ^^^^^^^^^^^^^^^^^^^^^^^^^ ... 247 | pub async fn auto_detect_master_folder(&mut self) -> PathResult<(String, String)> { | ^^^^^^^^^^^^^^^^^^^^^^^^^ ... 284 | pub async fn init_with_shared_folders(&mut self) -> PathResult { | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: struct `FolderTraversal` is never constructed --> src/paths/traversal.rs:7:12 | 7 | pub struct FolderTraversal { | ^^^^^^^^^^^^^^^ warning: multiple associated items are never used --> src/paths/traversal.rs:18:12 | 12 | impl FolderTraversal { | -------------------- associated items in this implementation ... 18 | pub fn new(storage: Arc, folder_cache: FolderContentCache) -> Self { | ^^^ ... 41 | pub async fn traverse_path( | ^^^^^^^^^^^^^ ... 89 | async fn find_child_by_name( | ^^^^^^^^^^^^^^^^^^ ... 121 | pub fn invalidate_folder(&self, folder_uuid: &str) { | ^^^^^^^^^^^^^^^^^ ... 126 | pub fn clear_cache(&self) { | ^^^^^^^^^^^ ... 133 | pub async fn get_folder_contents( | ^^^^^^^^^^^^^^^^^^^ ... 143 | pub async fn list_shared_folders(&self) -> PathResult> { | ^^^^^^^^^^^^^^^^^^^ warning: constant `PATH_ENCODE_SET` is never used --> src/paths/url_handling.rs:6:7 | 6 | const PATH_ENCODE_SET: &AsciiSet = &CONTROLS | ^^^^^^^^^^^^^^^ warning: function `decode_path_component` is never used --> src/paths/url_handling.rs:28:8 | 28 | pub fn decode_path_component(component: &str) -> PathResult { | ^^^^^^^^^^^^^^^^^^^^^ warning: function `encode_path_component` is never used --> src/paths/url_handling.rs:48:8 | 48 | pub fn encode_path_component(component: &str) -> String { | ^^^^^^^^^^^^^^^^^^^^^ warning: function `normalize_webdav_path` is never used --> src/paths/url_handling.rs:64:8 | 64 | pub fn normalize_webdav_path(path: &str) -> String { | ^^^^^^^^^^^^^^^^^^^^^ warning: function `split_path` is never used --> src/paths/url_handling.rs:91:8 | 91 | pub fn split_path(path: &str) -> PathResult> { | ^^^^^^^^^^ warning: fields `thumbprint_length` and `algorithm_version` are never read --> src/security/vault.rs:28:9 | 26 | pub struct SecurityConfig { | -------------- fields in this struct 27 | /// Thumbprint length (6 characters recommended) 28 | pub thumbprint_length: usize, | ^^^^^^^^^^^^^^^^^ ... 31 | pub algorithm_version: String, | ^^^^^^^^^^^^^^^^^ | = note: `SecurityConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: method `with_environment_seed` is never used --> src/security/vault.rs:86:12 | 51 | impl SecurityConfig { | ------------------- method in this implementation ... 86 | pub fn with_environment_seed(mut self, environment: &str, seed: &str) -> Self { | ^^^^^^^^^^^^^^^^^^^^^ warning: associated items `with_storage`, `save_to_storage`, `load_from_storage`, `migrate_credential_to_secure`, `get_credential_metadata`, and `remove_credential` are never used --> src/security/vault.rs:189:12 | 174 | impl CredentialVault { | -------------------- associated items in this implementation ... 189 | pub fn with_storage( | ^^^^^^^^^^^^ ... 204 | pub fn save_to_storage(&self, storage_path: &Path) -> Result<()> { | ^^^^^^^^^^^^^^^ ... 234 | fn load_from_storage(&mut self, storage_path: &Path) -> Result<()> { | ^^^^^^^^^^^^^^^^^ ... 469 | pub fn migrate_credential_to_secure( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 505 | pub fn get_credential_metadata(&self, environment: &str, email: &str, thumbprint: &str) -> Option<&CredentialMetadata> { | ^^^^^^^^^^^^^^^^^^^^^^^ ... 555 | pub fn remove_credential(&mut self, environment: &str, email: &str, thumbprint: &str) -> Result { | ^^^^^^^^^^^^^^^^^ warning: struct `VaultStorageData` is never constructed --> src/security/vault.rs:592:8 | 592 | struct VaultStorageData { | ^^^^^^^^^^^^^^^^ warning: associated function `validate_credential_thumbprint` is never used --> src/security/vault.rs:633:12 | 631 | impl CredentialManager { | ---------------------- associated function in this implementation 632 | /// Validate credential thumbprint without accessing the actual credentials 633 | pub fn validate_credential_thumbprint( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type alias `Result` is never used --> src/storage/adaptive_retry.rs:12:10 | 12 | pub type Result = std::result::Result; | ^^^^^^ warning: struct `AdaptiveRetryConfig` is never constructed --> src/storage/adaptive_retry.rs:16:12 | 16 | pub struct AdaptiveRetryConfig { | ^^^^^^^^^^^^^^^^^^^ warning: enum `RetryStrategy` is never used --> src/storage/adaptive_retry.rs:67:10 | 67 | pub enum RetryStrategy { | ^^^^^^^^^^^^^ warning: struct `ErrorPattern` is never constructed --> src/storage/adaptive_retry.rs:111:12 | 111 | pub struct ErrorPattern { | ^^^^^^^^^^^^ warning: struct `AdaptiveRetryEngine` is never constructed --> src/storage/adaptive_retry.rs:124:12 | 124 | pub struct AdaptiveRetryEngine { | ^^^^^^^^^^^^^^^^^^^ warning: struct `RetryAttempt` is never constructed --> src/storage/adaptive_retry.rs:136:12 | 136 | pub struct RetryAttempt { | ^^^^^^^^^^^^ warning: multiple associated items are never used --> src/storage/adaptive_retry.rs:147:12 | 145 | impl AdaptiveRetryEngine { | ------------------------ associated items in this implementation 146 | /// Create new adaptive retry engine 147 | pub fn new(config: AdaptiveRetryConfig) -> Self { | ^^^ ... 157 | pub fn with_defaults() -> Self { | ^^^^^^^^^^^^^ ... 162 | pub async fn execute(&self, operation: F) -> Result | ^^^^^^^ ... 294 | fn calculate_delay(&self, error: &StorageError, attempt: u32, error_type: &str) -> Duration { | ^^^^^^^^^^^^^^^ ... 354 | fn apply_jitter(&self, delay: Duration) -> Duration { | ^^^^^^^^^^^^ ... 367 | fn calculate_adaptive_delay(&self, error_type: &str, attempt: u32) -> Option { | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 404 | fn extract_error_type(&self, error: &StorageError) -> String { | ^^^^^^^^^^^^^^^^^^ ... 423 | fn record_attempt(&self, attempt: RetryAttempt) { | ^^^^^^^^^^^^^^ ... 438 | fn update_error_pattern(&self, error_type: &str, success: bool) { | ^^^^^^^^^^^^^^^^^^^^ ... 455 | fn update_success_patterns(&self) { | ^^^^^^^^^^^^^^^^^^^^^^^ ... 487 | pub fn get_retry_stats(&self) -> RetryStats { | ^^^^^^^^^^^^^^^ ... 526 | pub fn reset_learning(&self) { | ^^^^^^^^^^^^^^ ... 533 | pub fn configure(&mut self, config: AdaptiveRetryConfig) { | ^^^^^^^^^ warning: struct `RetryStats` is never constructed --> src/storage/adaptive_retry.rs:541:12 | 541 | pub struct RetryStats { | ^^^^^^^^^^ warning: function `retry_with_adaptive_backoff` is never used --> src/storage/adaptive_retry.rs:566:14 | 566 | pub async fn retry_with_adaptive_backoff(operation: F) -> Result | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: function `retry_with_config` is never used --> src/storage/adaptive_retry.rs:576:14 | 576 | pub async fn retry_with_config(operation: F, config: AdaptiveRetryConfig) -> Result | ^^^^^^^^^^^^^^^^^ warning: methods `http_client` and `api_base_url` are never used --> src/storage/auth.rs:31:12 | 15 | impl AuthService { | ---------------- methods in this implementation ... 31 | pub fn http_client(&self) -> &reqwest::Client { | ^^^^^^^^^^^ ... 36 | pub fn api_base_url(&self) -> &str { | ^^^^^^^^^^^^ warning: methods `is_expired`, `expires_at`, and `user_id` are never used --> src/storage/auth.rs:67:12 | 50 | impl TokenInfo { | -------------- methods in this implementation ... 67 | pub fn is_expired(&self, buffer_minutes: i64) -> bool { | ^^^^^^^^^^ ... 72 | pub fn expires_at(&self) -> chrono::DateTime { | ^^^^^^^^^^ ... 77 | pub fn user_id(&self) -> &str { | ^^^^^^^ warning: field `max_storage_bytes` is never read --> src/storage/auth.rs:195:9 | 192 | pub struct RefreshUserData { | --------------- field in this struct ... 195 | pub max_storage_bytes: Option, | ^^^^^^^^^^^^^^^^^ | = note: `RefreshUserData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: field `http_client` is never read --> src/storage/auth_context.rs:29:5 | 17 | pub struct AuthContext { | ----------- field in this struct ... 29 | http_client: reqwest::Client, | ^^^^^^^^^^^ | = note: `AuthContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: methods `get_user_id`, `get_token_expires_at`, `validate_current_token`, `get_auth_stats`, and `authenticated_request` are never used --> src/storage/auth_context.rs:104:12 | 42 | impl AuthContext { | ---------------- methods in this implementation ... 104 | pub fn get_user_id(&self) -> &str { | ^^^^^^^^^^^ ... 109 | pub fn get_token_expires_at(&self) -> chrono::DateTime { | ^^^^^^^^^^^^^^^^^^^^ ... 223 | pub fn validate_current_token(&self) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^ ... 237 | pub fn get_auth_stats(&self) -> AuthStats { | ^^^^^^^^^^^^^^ ... 252 | pub fn authenticated_request(&self, method: reqwest::Method, url: &str) -> reqwest::RequestBuilder { | ^^^^^^^^^^^^^^^^^^^^^ warning: struct `AuthStats` is never constructed --> src/storage/auth_context.rs:263:12 | 263 | pub struct AuthStats { | ^^^^^^^^^ warning: methods `time_since_last_refresh` and `time_until_expires` are never used --> src/storage/auth_context.rs:273:12 | 271 | impl AuthStats { | -------------- methods in this implementation 272 | /// Get time since last refresh 273 | pub fn time_since_last_refresh(&self) -> Option { | ^^^^^^^^^^^^^^^^^^^^^^^ ... 278 | pub fn time_until_expires(&self) -> chrono::Duration { | ^^^^^^^^^^^^^^^^^^ warning: type alias `Result` is never used --> src/storage/circuit_breaker.rs:9:10 | 9 | pub type Result = std::result::Result; | ^^^^^^ warning: enum `CircuitState` is never used --> src/storage/circuit_breaker.rs:13:10 | 13 | pub enum CircuitState { | ^^^^^^^^^^^^ warning: struct `CircuitBreakerConfig` is never constructed --> src/storage/circuit_breaker.rs:24:12 | 24 | pub struct CircuitBreakerConfig { | ^^^^^^^^^^^^^^^^^^^^ warning: struct `CircuitBreakerStats` is never constructed --> src/storage/circuit_breaker.rs:54:12 | 54 | pub struct CircuitBreakerStats { | ^^^^^^^^^^^^^^^^^^^ warning: struct `CircuitBreaker` is never constructed --> src/storage/circuit_breaker.rs:72:12 | 72 | pub struct CircuitBreaker { | ^^^^^^^^^^^^^^ warning: multiple associated items are never used --> src/storage/circuit_breaker.rs:86:12 | 84 | impl CircuitBreaker { | ------------------- associated items in this implementation 85 | /// Create a new circuit breaker with the given name and config 86 | pub fn new(name: String, config: CircuitBreakerConfig) -> Self { | ^^^ ... 101 | pub fn with_defaults(name: String) -> Self { | ^^^^^^^^^^^^^ ... 106 | pub async fn execute(&self, operation: F) -> Result | ^^^^^^^ ... 151 | async fn can_execute(&self) -> Result<()> { | ^^^^^^^^^^^ ... 198 | fn check_error_rate(&self) -> Result<()> { | ^^^^^^^^^^^^^^^^ ... 237 | fn record_attempt(&self) { | ^^^^^^^^^^^^^^ ... 258 | fn record_success(&self, execution_time: Duration) { | ^^^^^^^^^^^^^^ ... 292 | fn record_failure(&self, error: &StorageError, execution_time: Duration) { | ^^^^^^^^^^^^^^ ... 326 | fn transition_to_open(&self) { | ^^^^^^^^^^^^^^^^^^ ... 341 | fn transition_to_closed(&self) { | ^^^^^^^^^^^^^^^^^^^^ ... 356 | fn transition_to_half_open(&self) { | ^^^^^^^^^^^^^^^^^^^^^^^ ... 368 | async fn increment_concurrent_requests(&self) -> Result> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 388 | pub fn state(&self) -> CircuitState { | ^^^^^ ... 393 | pub fn stats(&self) -> CircuitBreakerStats { | ^^^^^ ... 398 | pub fn config(&self) -> &CircuitBreakerConfig { | ^^^^^^ ... 403 | pub fn reset(&self) { | ^^^^^ warning: struct `RequestGuard` is never constructed --> src/storage/circuit_breaker.rs:424:12 | 424 | pub struct RequestGuard<'a> { | ^^^^^^^^^^^^ warning: struct `CircuitBreakerRegistry` is never constructed --> src/storage/circuit_breaker.rs:442:12 | 442 | pub struct CircuitBreakerRegistry { | ^^^^^^^^^^^^^^^^^^^^^^ warning: associated items `new`, `get_or_create`, `get_all_stats`, `reset_all`, and `remove` are never used --> src/storage/circuit_breaker.rs:447:12 | 446 | impl CircuitBreakerRegistry { | --------------------------- associated items in this implementation 447 | pub fn new() -> Self { | ^^^ ... 454 | pub fn get_or_create(&self, name: &str, config: CircuitBreakerConfig) -> Arc { | ^^^^^^^^^^^^^ ... 467 | pub fn get_all_stats(&self) -> HashMap { | ^^^^^^^^^^^^^ ... 475 | pub fn reset_all(&self) { | ^^^^^^^^^ ... 483 | pub fn remove(&self, name: &str) { | ^^^^^^ warning: type alias `Result` is never used --> src/storage/comprehensive_errors.rs:5:10 | 5 | pub type Result = std::result::Result; | ^^^^^^ warning: enum `StorageError` is never used --> src/storage/comprehensive_errors.rs:16:10 | 16 | pub enum StorageError { | ^^^^^^^^^^^^ warning: enum `ValidationError` is never used --> src/storage/comprehensive_errors.rs:403:10 | 403 | pub enum ValidationError { | ^^^^^^^^^^^^^^^ warning: enum `RateLimitStrategy` is never used --> src/storage/comprehensive_errors.rs:424:10 | 424 | pub enum RateLimitStrategy { | ^^^^^^^^^^^^^^^^^ warning: enum `ServiceDegradationLevel` is never used --> src/storage/comprehensive_errors.rs:433:10 | 433 | pub enum ServiceDegradationLevel { | ^^^^^^^^^^^^^^^^^^^^^^^ warning: enum `NetworkErrorType` is never used --> src/storage/comprehensive_errors.rs:441:10 | 441 | pub enum NetworkErrorType { | ^^^^^^^^^^^^^^^^ warning: enum `TimeoutType` is never used --> src/storage/comprehensive_errors.rs:466:10 | 466 | pub enum TimeoutType { | ^^^^^^^^^^^ warning: multiple associated items are never used --> src/storage/comprehensive_errors.rs:490:12 | 488 | impl StorageError { | ----------------- associated items in this implementation 489 | /// Determine if this error is retryable 490 | pub fn is_retryable(&self) -> bool { | ^^^^^^^^^^^^ ... 519 | pub fn retry_delay(&self) -> Option { | ^^^^^^^^^^^ ... 536 | pub fn retry_policy(&self) -> RetryPolicy { | ^^^^^^^^^^^^ ... 551 | pub fn requires_user_action(&self) -> bool { | ^^^^^^^^^^^^^^^^^^^^ ... 566 | pub fn user_message(&self) -> String { | ^^^^^^^^^^^^ ... 657 | pub fn status_code(&self) -> Option { | ^^^^^^^^^^^ ... 696 | pub fn from_http_status(status: u16, body: String, headers: HashMap) -> Self { | ^^^^^^^^^^^^^^^^ ... 936 | pub fn from_reqwest_error(err: reqwest::Error) -> Self { | ^^^^^^^^^^^^^^^^^^ warning: enum `RetryPolicy` is never used --> src/storage/comprehensive_errors.rs:986:10 | 986 | pub enum RetryPolicy { | ^^^^^^^^^^^ warning: function `parse_rate_limit_headers` is never used --> src/storage/comprehensive_errors.rs:994:4 | 994 | fn parse_rate_limit_headers(headers: &HashMap) -> Option<(u32, u64, u32)> { | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: field `client` is never read --> src/storage/connection_pool.rs:7:5 | 6 | pub struct ConnectionPool { | -------------- field in this struct 7 | client: reqwest::Client, | ^^^^^^ | = note: `ConnectionPool` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: method `get_client` is never used --> src/storage/connection_pool.rs:36:12 | 10 | impl ConnectionPool { | ------------------- method in this implementation ... 36 | pub fn get_client(&self) -> &reqwest::Client { | ^^^^^^^^^^ warning: variants `TokenExpired`, `FolderNotFound`, and `CacheError` are never constructed --> src/storage/errors.rs:17:5 | 6 | pub enum StorageError { | ------------ variants in this enum ... 17 | TokenExpired, | ^^^^^^^^^^^^ ... 23 | FolderNotFound(String), | ^^^^^^^^^^^^^^ ... 35 | CacheError(String), | ^^^^^^^^^^ | = note: `StorageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: method `status_code` is never used --> src/storage/errors.rs:67:12 | 53 | impl StorageError { | ----------------- method in this implementation ... 67 | pub fn status_code(&self) -> Option { | ^^^^^^^^^^^ warning: fields `shared_folder_cache` and `connection_pool` are never read --> src/storage/internxt_provider.rs:26:5 | 20 | pub struct InternxtStorageProvider { | ----------------------- fields in this struct ... 26 | shared_folder_cache: Arc, // Separate cache with 5-minute TTL for shared folders | ^^^^^^^^^^^^^^^^^^^ 27 | connection_pool: Arc, | ^^^^^^^^^^^^^^^ warning: associated items `with_cache_ttl` and `auth_header` are never used --> src/storage/internxt_provider.rs:104:12 | 32 | impl InternxtStorageProvider { | ---------------------------- associated items in this implementation ... 104 | pub fn with_cache_ttl( | ^^^^^^^^^^^^^^ ... 140 | fn auth_header(&self) -> String { | ^^^^^^^^^^^ warning: field `folders` is never read --> src/storage/metadata_cache.rs:27:5 | 26 | struct CachedSharedFolders { | ------------------- field in this struct 27 | folders: Vec, | ^^^^^^^ warning: methods `get_folder`, `put_folder`, `clear`, `get_shared_folders`, `put_shared_folders`, and `invalidate_shared_folders` are never used --> src/storage/metadata_cache.rs:93:12 | 31 | impl MetadataCache { | ------------------ methods in this implementation ... 93 | pub fn get_folder(&self, folder_uuid: &str) -> Option { | ^^^^^^^^^^ ... 107 | pub fn put_folder(&self, folder_uuid: String, meta: FolderMeta) { | ^^^^^^^^^^ ... 160 | pub fn clear(&self) { | ^^^^^ ... 167 | pub fn get_shared_folders(&self) -> Option> { | ^^^^^^^^^^^^^^^^^^ ... 182 | pub fn put_shared_folders(&self, folders: Vec) { | ^^^^^^^^^^^^^^^^^^ ... 194 | pub fn invalidate_shared_folders(&self) { | ^^^^^^^^^^^^^^^^^^^^^^^^^ warning: fields `file_count`, `folder_count`, `shared_folders_cached`, and `ttl_secs` are never read --> src/storage/metadata_cache.rs:251:9 | 250 | pub struct CacheStats { | ---------- fields in this struct 251 | pub file_count: usize, | ^^^^^^^^^^ 252 | pub folder_count: usize, | ^^^^^^^^^^^^ 253 | pub shared_folders_cached: bool, | ^^^^^^^^^^^^^^^^^^^^^ 254 | pub ttl_secs: u64, | ^^^^^^^^ | = note: `CacheStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: multiple fields are never read --> src/storage/network_api.rs:46:9 | 45 | pub struct SessionInfo { | ----------- fields in this struct 46 | pub session_id: String, | ^^^^^^^^^^ 47 | pub session_type: SessionType, | ^^^^^^^^^^^^ 48 | pub created_at: Instant, | ^^^^^^^^^^ 49 | pub expires_at: Instant, | ^^^^^^^^^^ 50 | pub uploaded_chunks: HashMap, 51 | pub total_chunks: usize, | ^^^^^^^^^^^^ 52 | pub file_size: u64, | ^^^^^^^^^ 53 | pub bucket_id: String, | ^^^^^^^^^ 54 | pub file_name: String, | ^^^^^^^^^ | = note: `SessionInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: field `0` is never read --> src/storage/network_api.rs:59:12 | 59 | Upload(String), // upload_id | ------ ^^^^^^ | | | field in this variant | = note: `SessionType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 59 - Upload(String), // upload_id 59 + Upload(()), // upload_id | warning: variant `Download` is never constructed --> src/storage/network_api.rs:60:5 | 58 | pub enum SessionType { | ----------- variant in this enum 59 | Upload(String), // upload_id 60 | Download(String), // file_id | ^^^^^^^^ | = note: `SessionType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: field `session_recoveries` is never read --> src/storage/network_api.rs:84:9 | 75 | pub struct PerformanceMetrics { | ------------------ field in this struct ... 84 | pub session_recoveries: u64, | ^^^^^^^^^^^^^^^^^^ | = note: `PerformanceMetrics` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: methods `download_chunk`, `resume_upload_session`, `cleanup_expired_sessions`, `get_performance_metrics`, `get_session_stats`, and `get_file_info_optimized` are never used --> src/storage/network_api.rs:389:18 | 99 | impl NetworkApiClient { | --------------------- methods in this implementation ... 389 | pub async fn download_chunk(&self, chunk_url: &str) -> Result { | ^^^^^^^^^^^^^^ ... 529 | pub async fn resume_upload_session(&self, upload_id: &str) -> Result> { | ^^^^^^^^^^^^^^^^^^^^^ ... 556 | pub async fn cleanup_expired_sessions(&self) -> usize { | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 639 | pub async fn get_performance_metrics(&self) -> PerformanceMetrics { | ^^^^^^^^^^^^^^^^^^^^^^^ ... 644 | pub async fn get_session_stats(&self) -> (usize, usize) { | ^^^^^^^^^^^^^^^^^ ... 741 | pub async fn get_file_info_optimized(&self, file_id: &str, use_cache: bool) -> Result { | ^^^^^^^^^^^^^^^^^^^^^^^ warning: field `chunk_index` is never read --> src/storage/network_api.rs:798:9 | 796 | pub struct ChunkUploadResult { | ----------------- field in this struct 797 | pub chunk_id: String, 798 | pub chunk_index: usize, | ^^^^^^^^^^^ | = note: `ChunkUploadResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: fields `file_id`, `file_url`, `total_bytes`, and `chunk_count` are never read --> src/storage/network_api.rs:814:9 | 813 | pub struct FinalizeUploadResult { | -------------------- fields in this struct 814 | pub file_id: String, | ^^^^^^^ 815 | pub file_url: String, | ^^^^^^^^ 816 | pub total_bytes: u64, | ^^^^^^^^^^^ 817 | pub chunk_count: usize, | ^^^^^^^^^^^ | = note: `FinalizeUploadResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: fields `file_id`, `file_name`, `file_size`, `chunk_urls`, and `encryption_key_id` are never read --> src/storage/network_api.rs:822:9 | 821 | pub struct FileInfo { | -------- fields in this struct 822 | pub file_id: String, | ^^^^^^^ 823 | pub file_name: String, | ^^^^^^^^^ 824 | pub file_size: u64, | ^^^^^^^^^ 825 | pub chunk_urls: Vec, | ^^^^^^^^^^ 826 | pub encryption_key_id: String, | ^^^^^^^^^^^^^^^^^ | = note: `FileInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: multiple methods are never used --> src/storage/provider.rs:37:14 | 11 | pub trait StorageProvider: Send + Sync { | --------------- methods in this trait ... 37 | async fn get_folder_metadata(&self, folder_uuid: &str) -> PathResult; | ^^^^^^^^^^^^^^^^^^^ ... 62 | async fn rename_file(&self, file_uuid: &str, new_name: &str) -> PathResult<()>; | ^^^^^^^^^^^ ... 69 | async fn rename_folder(&self, folder_uuid: &str, new_name: &str) -> PathResult<()>; | ^^^^^^^^^^^^^ ... 76 | async fn move_file(&self, file_uuid: &str, dest_folder: &str) -> PathResult<()>; | ^^^^^^^^^ ... 83 | async fn move_folder(&self, folder_uuid: &str, dest_folder: &str) -> PathResult<()>; | ^^^^^^^^^^^ ... 89 | async fn delete_file_permanent(&self, file_uuid: &str) -> PathResult<()>; | ^^^^^^^^^^^^^^^^^^^^^ ... 95 | async fn delete_folder_permanent(&self, folder_uuid: &str) -> PathResult<()>; | ^^^^^^^^^^^^^^^^^^^^^^^ ... 107 | async fn trash_folder(&self, folder_uuid: &str) -> PathResult<()>; | ^^^^^^^^^^^^ ... 114 | async fn restore_file(&self, file_uuid: &str, dest_folder: &str) -> PathResult<()>; | ^^^^^^^^^^^^ ... 121 | async fn restore_folder(&self, folder_uuid: &str, dest_folder: &str) -> PathResult<()>; | ^^^^^^^^^^^^^^ ... 139 | async fn list_shared_folders(&self) -> PathResult>; | ^^^^^^^^^^^^^^^^^^^ ... 186 | async fn stream_file(&self, file_uuid: &str, range: Option<(u64, u64)>) -> PathResult; | ^^^^^^^^^^^ warning: associated function `custom` is never used --> src/storage/retry.rs:33:12 | 19 | impl RetryPolicy { | ---------------- associated function in this implementation ... 33 | pub fn custom(max_retries: u32, initial_delay_ms: u64, max_delay_ms: u64) -> Self { | ^^^^^^ warning: enum `SyncDirection` is never used --> src/storage/sync.rs:15:10 | 15 | pub enum SyncDirection { | ^^^^^^^^^^^^^ warning: enum `ConflictResolution` is never used --> src/storage/sync.rs:26:10 | 26 | pub enum ConflictResolution { | ^^^^^^^^^^^^^^^^^^ warning: struct `CliSyncProgress` is never constructed --> src/storage/sync.rs:41:12 | 41 | pub struct CliSyncProgress { | ^^^^^^^^^^^^^^^ warning: associated items `new`, `log`, and `log_progress` are never used --> src/storage/sync.rs:48:12 | 46 | impl CliSyncProgress { | -------------------- associated items in this implementation 47 | /// Create a new progress callback 48 | pub fn new(verbose: bool) -> Self { | ^^^ ... 53 | pub fn log(&self, message: &str) { | ^^^ ... 60 | pub fn log_progress(&self, current: u64, total: u64, operation: &str) { | ^^^^^^^^^^^^ warning: struct `SyncConfig` is never constructed --> src/storage/sync.rs:74:12 | 74 | pub struct SyncConfig { | ^^^^^^^^^^ warning: associated items `new`, `should_include`, `should_exclude`, `is_file_size_acceptable`, and `should_skip_due_to_size` are never used --> src/storage/sync.rs:105:12 | 103 | impl SyncConfig { | --------------- associated items in this implementation 104 | /// Create a new sync configuration 105 | pub fn new( | ^^^ ... 129 | pub fn should_include(&self, _file_path: &PathBuf) -> bool { | ^^^^^^^^^^^^^^ ... 135 | pub fn should_exclude(&self, _file_path: &PathBuf) -> bool { | ^^^^^^^^^^^^^^ ... 141 | pub fn is_file_size_acceptable(&self, file_size: u64) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^ ... 146 | pub fn should_skip_due_to_size(&self, file_size: u64) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^ warning: struct `SyncManager` is never constructed --> src/storage/sync.rs:152:12 | 152 | pub struct SyncManager { | ^^^^^^^^^^^ warning: multiple associated items are never used --> src/storage/sync.rs:167:12 | 165 | impl SyncManager { | ---------------- associated items in this implementation 166 | /// Create a new sync manager 167 | pub fn new( | ^^^ ... 183 | pub async fn start_sync(&mut self) -> Result<()> { | ^^^^^^^^^^ ... 202 | pub async fn stop_sync(&mut self) -> Result<()> { | ^^^^^^^^^ ... 208 | pub async fn get_status(&self) -> SyncStatus { | ^^^^^^^^^^ ... 219 | pub fn optimize_for_high_speed(&mut self) { | ^^^^^^^^^^^^^^^^^^^^^^^ ... 227 | pub fn get_network_metrics(&self) -> &NetworkMetrics { | ^^^^^^^^^^^^^^^^^^^ ... 232 | pub fn estimate_sync_time(&self, file_size_bytes: u64) -> f64 { | ^^^^^^^^^^^^^^^^^^ warning: struct `SyncStatus` is never constructed --> src/storage/sync.rs:242:12 | 242 | pub struct SyncStatus { | ^^^^^^^^^^ warning: enum `NetworkQuality` is never used --> src/storage/sync.rs:257:10 | 257 | pub enum NetworkQuality { | ^^^^^^^^^^^^^^ warning: struct `NetworkMetrics` is never constructed --> src/storage/sync.rs:272:12 | 272 | pub struct NetworkMetrics { | ^^^^^^^^^^^^^^ warning: associated items `new`, `get_recommended_concurrent_streams`, `get_recommended_chunk_size`, `estimate_sync_time`, and `update_speed_measurement` are never used --> src/storage/sync.rs:287:12 | 285 | impl NetworkMetrics { | ------------------- associated items in this implementation 286 | /// Create new network metrics 287 | pub fn new() -> Self { | ^^^ ... 298 | pub fn get_recommended_concurrent_streams(&self) -> usize { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 303 | pub fn get_recommended_chunk_size(&self) -> u64 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 308 | pub fn estimate_sync_time(&self, file_size_bytes: u64) -> f64 { | ^^^^^^^^^^^^^^^^^^ ... 315 | pub fn update_speed_measurement(&mut self, speed_bps: u64) { | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: methods `find_by_name`, `folders`, and `files` are never used --> src/storage/types.rs:48:12 | 46 | impl FolderContents { | ------------------- methods in this implementation 47 | /// Find an item by name (case-sensitive) 48 | pub fn find_by_name(&self, name: &str) -> Option<&ItemInfo> { | ^^^^^^^^^^^^ ... 53 | pub fn folders(&self) -> impl Iterator { | ^^^^^^^ ... 58 | pub fn files(&self) -> impl Iterator { | ^^^^^ warning: struct `PaginationParams` is never constructed --> src/storage/types.rs:189:12 | 189 | pub struct PaginationParams { | ^^^^^^^^^^^^^^^^ warning: associated items `new`, `page`, `limit`, `sort_by`, and `to_query_params` are never used --> src/storage/types.rs:202:12 | 200 | impl PaginationParams { | --------------------- associated items in this implementation 201 | /// Create new pagination parameters 202 | pub fn new() -> Self { | ^^^ ... 212 | pub fn page(mut self, page: u32) -> Self { | ^^^^ ... 218 | pub fn limit(mut self, limit: u32) -> Self { | ^^^^^ ... 224 | pub fn sort_by(mut self, field: &str, order: SortOrder) -> Self { | ^^^^^^^ ... 231 | pub fn to_query_params(&self) -> Vec<(String, String)> { | ^^^^^^^^^^^^^^^ warning: enum `SortOrder` is never used --> src/storage/types.rs:263:10 | 263 | pub enum SortOrder { | ^^^^^^^^^ warning: struct `PaginatedResponse` is never constructed --> src/storage/types.rs:279:12 | 279 | pub struct PaginatedResponse { | ^^^^^^^^^^^^^^^^^ warning: struct `PaginationInfo` is never constructed --> src/storage/types.rs:286:12 | 286 | pub struct PaginationInfo { | ^^^^^^^^^^^^^^ warning: associated items `new` and `offset` are never used --> src/storage/types.rs:303:12 | 301 | impl PaginationInfo { | ------------------- associated items in this implementation 302 | /// Create new pagination info 303 | pub fn new(page: u32, limit: u32, total: u64) -> Self { | ^^^ ... 319 | pub fn offset(&self) -> u64 { | ^^^^^^ warning: struct `FolderContentsPaginated` is never constructed --> src/storage/types.rs:326:12 | 326 | pub struct FolderContentsPaginated { | ^^^^^^^^^^^^^^^^^^^^^^^ warning: methods `find_by_name`, `folders`, `files`, and `to_folder_contents` are never used --> src/storage/types.rs:335:12 | 333 | impl FolderContentsPaginated { | ---------------------------- methods in this implementation 334 | /// Find an item by name (case-sensitive) 335 | pub fn find_by_name(&self, name: &str) -> Option<&ItemInfo> { | ^^^^^^^^^^^^ ... 340 | pub fn folders(&self) -> impl Iterator { | ^^^^^^^ ... 345 | pub fn files(&self) -> impl Iterator { | ^^^^^ ... 350 | pub fn to_folder_contents(&self) -> FolderContents { | ^^^^^^^^^^^^^^^^^^ warning: struct `ByteStream` is never constructed --> src/storage/types.rs:487:12 | 487 | pub struct ByteStream { | ^^^^^^^^^^ warning: struct `FileMetaWithSharing` is never constructed --> src/storage/types.rs:598:12 | 598 | pub struct FileMetaWithSharing { | ^^^^^^^^^^^^^^^^^^^ warning: struct `FolderMetaWithSharing` is never constructed --> src/storage/types.rs:606:12 | 606 | pub struct FolderMetaWithSharing { | ^^^^^^^^^^^^^^^^^^^^^ warning: struct `FileOperationResult` is never constructed --> src/storage/types.rs:614:12 | 614 | pub struct FileOperationResult { | ^^^^^^^^^^^^^^^^^^^ warning: struct `UploadProgress` is never constructed --> src/storage/types.rs:623:12 | 623 | pub struct UploadProgress { | ^^^^^^^^^^^^^^ warning: struct `DownloadProgress` is never constructed --> src/storage/types.rs:637:12 | 637 | pub struct DownloadProgress { | ^^^^^^^^^^^^^^^^ warning: method `on_error` is never used --> src/sync/mod.rs:148:8 | 136 | pub trait SyncProgressCallback: Send + Sync { | -------------------- method in this trait ... 148 | fn on_error(&self, error: &str); | ^^^^^^^^ warning: variant `Unstable` is never constructed --> src/sync/mod.rs:177:5 | 171 | pub enum NetworkQuality { | -------------- variant in this enum ... 177 | Unstable, // Highly variable | ^^^^^^^^ | = note: `NetworkQuality` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: fields `pending_changes` and `conflicts` are never read --> src/sync/mod.rs:186:9 | 182 | pub struct SyncState { | --------- fields in this struct ... 186 | pub pending_changes: Vec, | ^^^^^^^^^^^^^^^ 187 | pub conflicts: Vec, | ^^^^^^^^^ | = note: `SyncState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: fields `path` and `hash` are never read --> src/sync/mod.rs:203:9 | 202 | pub struct FileMetadata { | ------------ fields in this struct 203 | pub path: PathBuf, | ^^^^ ... 206 | pub hash: Option, | ^^^^ | = note: `FileMetadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: methods `stop_sync`, `get_sync_state`, and `get_sync_stats` are never used --> src/sync/mod.rs:265:18 | 209 | impl SyncManager { | ---------------- methods in this implementation ... 265 | pub async fn stop_sync(&mut self) -> Result<()> { | ^^^^^^^^^ ... 756 | pub async fn get_sync_state(&self) -> SyncState { | ^^^^^^^^^^^^^^ ... 761 | pub async fn get_sync_stats(&self) -> Option { | ^^^^^^^^^^^^^^ warning: struct `MockStorageProvider` is never constructed --> src/sync/mod.rs:1038:8 | 1038 | struct MockStorageProvider {} | ^^^^^^^^^^^^^^^^^^^ warning: associated function `new` is never used --> src/sync/mod.rs:1041:8 | 1040 | impl MockStorageProvider { | ------------------------ associated function in this implementation 1041 | fn new() -> Self { Self {} } | ^^^ warning: struct `MockAuthContext` is never constructed --> src/sync/mod.rs:1175:8 | 1175 | struct MockAuthContext {} | ^^^^^^^^^^^^^^^ warning: associated function `new` is never used --> src/sync/mod.rs:1178:8 | 1177 | impl MockAuthContext { | -------------------- associated function in this implementation 1178 | fn new() -> Self { Self {} } | ^^^ warning: methods `get_current_token` and `force_refresh` are never used --> src/sync/mod.rs:1182:12 | 1181 | impl MockAuthContext { | -------------------- methods in this implementation 1182 | pub fn get_current_token(&self) -> String { "mock-token".to_string() } | ^^^^^^^^^^^^^^^^^ 1183 | 1184 | pub async fn force_refresh(&self) -> Result<()> { | ^^^^^^^^^^^^^ warning: field `verbose` is never read --> src/utils/common.rs:8:9 | 7 | pub struct CommonArgs { | ---------- field in this struct 8 | pub verbose: bool, | ^^^^^^^ warning: function `setup_logging` is never used --> src/utils/common.rs:13:8 | 13 | pub fn setup_logging(verbose: bool) -> Result<(), Box> { | ^^^^^^^^^^^^^ warning: function `is_json_output` is never used --> src/utils/common.rs:29:8 | 29 | pub fn is_json_output(matches: &ArgMatches) -> bool { | ^^^^^^^^^^^^^^ warning: function `is_verbose_output` is never used --> src/utils/common.rs:34:8 | 34 | pub fn is_verbose_output(matches: &ArgMatches) -> bool { | ^^^^^^^^^^^^^^^^^ warning: constant `DAV_COMPLIANCE_CLASS` is never used --> src/webdav/mod.rs:14:11 | 14 | pub const DAV_COMPLIANCE_CLASS: &str = "1, 2"; | ^^^^^^^^^^^^^^^^^^^^ warning: constant `WEBDAV_XMLNS` is never used --> src/webdav/mod.rs:15:11 | 15 | pub const WEBDAV_XMLNS: &str = "DAV:"; | ^^^^^^^^^^^^ warning: constant `DEFAULT_DEPTH` is never used --> src/webdav/mod.rs:16:11 | 16 | pub const DEFAULT_DEPTH: &str = "1"; | ^^^^^^^^^^^^^ warning: fields `host`, `port`, `use_https`, `timeout_secs`, `max_connections`, and `enable_logging` are never read --> src/webdav/server.rs:24:9 | 22 | pub struct WebDAVConfig { | ------------ fields in this struct 23 | /// Server bind address (e.g., "0.0.0.0") 24 | pub host: String, | ^^^^ ... 27 | pub port: u16, | ^^^^ ... 30 | pub use_https: bool, | ^^^^^^^^^ ... 39 | pub timeout_secs: u64, | ^^^^^^^^^^^^ ... 42 | pub max_connections: usize, | ^^^^^^^^^^^^^^^ ... 45 | pub enable_logging: bool, | ^^^^^^^^^^^^^^ | = note: `WebDAVConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: multiple associated items are never used --> src/webdav/server.rs:64:12 | 63 | impl WebDAVConfig { | ----------------- associated items in this implementation 64 | pub fn new() -> Self { | ^^^ ... 68 | pub fn with_host(mut self, host: String) -> Self { | ^^^^^^^^^ ... 73 | pub fn with_port(mut self, port: u16) -> Self { | ^^^^^^^^^ ... 78 | pub fn with_https(mut self, use_https: bool) -> Self { | ^^^^^^^^^^ ... 83 | pub fn with_cert_and_key(mut self, cert_path: PathBuf, key_path: PathBuf) -> Self { | ^^^^^^^^^^^^^^^^^ ... 89 | pub fn with_timeout(mut self, timeout_secs: u64) -> Self { | ^^^^^^^^^^^^ ... 94 | pub fn bind_address(&self) -> String { | ^^^^^^^^^^^^ warning: fields `context`, `path_cache`, and `config` are never read --> src/webdav/server.rs:103:9 | 101 | pub struct AppState { | -------- fields in this struct 102 | /// User context (credentials, root folder, etc.) 103 | pub context: Arc>>, | ^^^^^^^ ... 106 | pub path_cache: Arc>>, | ^^^^^^^^^^ ... 109 | pub config: Arc, | ^^^^^^ | = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: associated items `new`, `set_context`, `get_cached_path`, `cache_path`, and `invalidate_path` are never used --> src/webdav/server.rs:113:12 | 112 | impl AppState { | ------------- associated items in this implementation 113 | pub fn new(config: WebDAVConfig) -> Self { | ^^^ ... 124 | pub fn set_context(&self, context: WebDAVContext) { | ^^^^^^^^^^^ ... 129 | pub fn get_cached_path(&self, path: &str) -> Option { | ^^^^^^^^^^^^^^^ ... 134 | pub fn cache_path(&self, path: String, uuid: String) { | ^^^^^^^^^^ ... 139 | pub fn invalidate_path(&self, path: &str) { | ^^^^^^^^^^^^^^^ warning: field `state` is never read --> src/webdav/server.rs:157:5 | 155 | pub struct WebDAVServer { | ------------ field in this struct 156 | config: WebDAVConfig, 157 | state: AppState, | ^^^^^ warning: associated items `new` and `start` are never used --> src/webdav/server.rs:162:12 | 160 | impl WebDAVServer { | ----------------- associated items in this implementation 161 | /// Create a new WebDAV server instance 162 | pub fn new(config: WebDAVConfig) -> Self { | ^^^ ... 206 | pub async fn start(self) -> WebDAVResult<()> { | ^^^^^ warning: multiple variants are never constructed --> src/webdav/types.rs:14:5 | 12 | pub enum WebDAVError { | ----------- variants in this enum 13 | #[error("Not found: {0}")] 14 | NotFound(String), | ^^^^^^^^ ... 17 | Forbidden(String), | ^^^^^^^^^ ... 20 | Conflict(String), | ^^^^^^^^ ... 23 | BadRequest(String), | ^^^^^^^^^^ ... 29 | Unauthorized(String), | ^^^^^^^^^^^^ ... 32 | MethodNotAllowed(String), | ^^^^^^^^^^^^^^^^ ... 35 | PreconditionFailed(String), | ^^^^^^^^^^^^^^^^^^ ... 38 | Locked(String), | ^^^^^^ ... 41 | InsufficientStorage, | ^^^^^^^^^^^^^^^^^^^ | = note: `WebDAVError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: enum `ResourceType` is never used --> src/webdav/types.rs:83:10 | 83 | pub enum ResourceType { | ^^^^^^^^^^^^ warning: struct `WebDAVResource` is never constructed --> src/webdav/types.rs:99:12 | 99 | pub struct WebDAVResource { | ^^^^^^^^^^^^^^ warning: associated items `new` and `is_root` are never used --> src/webdav/types.rs:106:12 | 105 | impl WebDAVResource { | ------------------- associated items in this implementation 106 | pub fn new(path: String, name: String, resource_type: ResourceType) -> Self { | ^^^ ... 114 | pub fn is_root(&self) -> bool { | ^^^^^^^ warning: struct `DriveFileItem` is never constructed --> src/webdav/types.rs:121:12 | 121 | pub struct DriveFileItem { | ^^^^^^^^^^^^^ warning: struct `DriveFolderItem` is never constructed --> src/webdav/types.rs:137:12 | 137 | pub struct DriveFolderItem { | ^^^^^^^^^^^^^^^ warning: struct `FolderContents` is never constructed --> src/webdav/types.rs:147:12 | 147 | pub struct FolderContents { | ^^^^^^^^^^^^^^ warning: struct `DavProperty` is never constructed --> src/webdav/types.rs:154:12 | 154 | pub struct DavProperty { | ^^^^^^^^^^^ warning: struct `DavResponse` is never constructed --> src/webdav/types.rs:162:12 | 162 | pub struct DavResponse { | ^^^^^^^^^^^ warning: associated items `new` and `with_property` are never used --> src/webdav/types.rs:169:12 | 168 | impl DavResponse { | ---------------- associated items in this implementation 169 | pub fn new(href: String, status: u16) -> Self { | ^^^ ... 177 | pub fn with_property(mut self, name: String, value: Option) -> Self { | ^^^^^^^^^^^^^ warning: fields `user_id`, `mnemonic`, and `root_folder_uuid` are never read --> src/webdav/types.rs:190:9 | 189 | pub struct WebDAVContext { | ------------- fields in this struct 190 | pub user_id: String, | ^^^^^^^ 191 | pub mnemonic: String, | ^^^^^^^^ 192 | pub root_folder_uuid: String, | ^^^^^^^^^^^^^^^^ | = note: `WebDAVContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: struct `ProgressInfo` is never constructed --> src/webdav/types.rs:197:12 | 197 | pub struct ProgressInfo { | ^^^^^^^^^^^^ warning: method `percentage` is never used --> src/webdav/types.rs:203:12 | 202 | impl ProgressInfo { | ----------------- method in this implementation 203 | pub fn percentage(&self) -> f64 { | ^^^^^^^^^^ warning: variants `Zero`, `One`, and `Infinity` are never constructed --> src/webdav/types.rs:215:5 | 214 | pub enum PropfindDepth { | ------------- variants in this enum 215 | Zero, | ^^^^ 216 | One, | ^^^ 217 | Infinity, | ^^^^^^^^ | = note: `PropfindDepth` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: associated function `from_header` is never used --> src/webdav/types.rs:221:12 | 220 | impl PropfindDepth { | ------------------ associated function in this implementation 221 | pub fn from_header(header: Option<&str>) -> Self { | ^^^^^^^^^^^ warning: struct `RangeSpec` is never constructed --> src/webdav/types.rs:233:12 | 233 | pub struct RangeSpec { | ^^^^^^^^^ warning: associated items `from_header` and `content_length` are never used --> src/webdav/types.rs:239:12 | 238 | impl RangeSpec { | -------------- associated items in this implementation 239 | pub fn from_header(range_header: &str, file_size: u64) -> Option { | ^^^^^^^^^^^ ... 258 | pub fn content_length(&self) -> u64 { | ^^^^^^^^^^^^^^ warning: struct `XmlBuilder` is never constructed --> src/webdav/xml.rs:13:12 | 13 | pub struct XmlBuilder { | ^^^^^^^^^^ warning: multiple associated items are never used --> src/webdav/xml.rs:18:12 | 17 | impl XmlBuilder { | --------------- associated items in this implementation 18 | pub fn new() -> Self { | ^^^ ... 29 | pub fn build(self) -> String { | ^^^^^ ... 35 | pub fn start_multistatus(&mut self) { | ^^^^^^^^^^^^^^^^^ ... 44 | pub fn end_multistatus(&mut self) { | ^^^^^^^^^^^^^^^ ... 51 | pub fn add_file_response(&mut self, file: &DriveFileItem, href: &str) { | ^^^^^^^^^^^^^^^^^ ... 122 | pub fn add_folder_response(&mut self, folder: &DriveFolderItem, href: &str, is_root: bool) { | ^^^^^^^^^^^^^^^^^^^ ... 185 | pub fn add_not_found_response(&mut self, href: &str) { | ^^^^^^^^^^^^^^^^^^^^^^ ... 212 | fn write_simple_element(&mut self, tag: &str, content: &str) { | ^^^^^^^^^^^^^^^^^^^^ warning: function `format_webdav_date` is never used --> src/webdav/xml.rs:232:8 | 232 | pub fn format_webdav_date(date: &DateTime) -> String { | ^^^^^^^^^^^^^^^^^^ warning: function `encode_webdav_uri` is never used --> src/webdav/xml.rs:237:8 | 237 | pub fn encode_webdav_uri(path: &str) -> String { | ^^^^^^^^^^^^^^^^^ warning: function `build_file_propfind_response` is never used --> src/webdav/xml.rs:244:8 | 244 | pub fn build_file_propfind_response(file: &DriveFileItem, href: &str) -> WebDAVResult { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: function `build_folder_propfind_response` is never used --> src/webdav/xml.rs:253:8 | 253 | pub fn build_folder_propfind_response( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: function `join_webdav_path` is never used --> src/webdav/xml.rs:292:8 | 292 | pub fn join_webdav_path(base: &str, name: &str, is_folder: bool) -> String { | ^^^^^^^^^^^^^^^^ warning: function `route_handler` is never used --> src/webdav/handlers/mod.rs:20:14 | 20 | pub async fn route_handler( | ^^^^^^^^^^^^^ warning: function `parse_path` is never used --> src/webdav/handlers/mod.rs:65:8 | 65 | pub fn parse_path(path_param: &str) -> Result { | ^^^^^^^^^^ warning: function `normalize_path` is never used --> src/webdav/handlers/mod.rs:104:4 | 104 | fn normalize_path(path: &str) -> String { | ^^^^^^^^^^^^^^ warning: function `is_folder_path` is never used --> src/webdav/handlers/mod.rs:130:8 | 130 | pub fn is_folder_path(path: &str) -> bool { | ^^^^^^^^^^^^^^ warning: function `handle_options` is never used --> src/webdav/handlers/options.rs:9:14 | 9 | pub async fn handle_options( | ^^^^^^^^^^^^^^ warning: function `handle_get` is never used --> src/webdav/handlers/get.rs:9:14 | 9 | pub async fn handle_get( | ^^^^^^^^^^ warning: function `create_download_stream` is never used --> src/webdav/handlers/get.rs:50:14 | 50 | pub async fn create_download_stream( | ^^^^^^^^^^^^^^^^^^^^^^ warning: function `handle_head` is never used --> src/webdav/handlers/head.rs:9:14 | 9 | pub async fn handle_head( | ^^^^^^^^^^^ warning: function `handle_put` is never used --> src/webdav/handlers/put.rs:10:14 | 10 | pub async fn handle_put( | ^^^^^^^^^^ warning: function `upload_file_stream` is never used --> src/webdav/handlers/put.rs:51:14 | 51 | pub async fn upload_file_stream( | ^^^^^^^^^^^^^^^^^^ warning: function `handle_delete` is never used --> src/webdav/handlers/delete.rs:9:14 | 9 | pub async fn handle_delete( | ^^^^^^^^^^^^^ warning: function `handle_propfind` is never used --> src/webdav/handlers/propfind.rs:11:14 | 11 | pub async fn handle_propfind( | ^^^^^^^^^^^^^^^ warning: function `generate_placeholder_folder_listing` is never used --> src/webdav/handlers/propfind.rs:63:4 | 63 | fn generate_placeholder_folder_listing(path: &str, is_root: bool) -> WebDAVResult { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: function `generate_placeholder_file_metadata` is never used --> src/webdav/handlers/propfind.rs:95:4 | 95 | fn generate_placeholder_file_metadata(path: &str) -> WebDAVResult { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: function `handle_mkcol` is never used --> src/webdav/handlers/mkcol.rs:9:14 | 9 | pub async fn handle_mkcol( | ^^^^^^^^^^^^ warning: function `handle_move` is never used --> src/webdav/handlers/move.rs:9:14 | 9 | pub async fn handle_move( | ^^^^^^^^^^^ warning: function `parse_destination_url` is never used --> src/webdav/handlers/move.rs:70:4 | 70 | fn parse_destination_url(destination: &str) -> WebDAVResult { | ^^^^^^^^^^^^^^^^^^^^^ warning: function `handle_copy` is never used --> src/webdav/handlers/copy.rs:17:14 | 17 | pub async fn handle_copy( | ^^^^^^^^^^^ warning: function `parse_destination_url` is never used --> src/webdav/handlers/copy.rs:123:4 | 123 | fn parse_destination_url(destination: &str) -> WebDAVResult { | ^^^^^^^^^^^^^^^^^^^^^ warning: method `to_xml` is never used --> src/webdav/handlers/lock.rs:35:8 | 25 | impl LockScope { | -------------- method in this implementation ... 35 | fn to_xml(&self) -> &'static str { | ^^^^^^ warning: enum `LockDepth` is never used --> src/webdav/handlers/lock.rs:45:10 | 45 | pub enum LockDepth { | ^^^^^^^^^ warning: associated items `from_header` and `to_string` are never used --> src/webdav/handlers/lock.rs:51:8 | 50 | impl LockDepth { | -------------- associated items in this implementation 51 | fn from_header(header: Option<&str>) -> Self { | ^^^^^^^^^^^ ... 59 | fn to_string(&self) -> &'static str { | ^^^^^^^^^ warning: struct `LockInfo` is never constructed --> src/webdav/handlers/lock.rs:69:12 | 69 | pub struct LockInfo { | ^^^^^^^^ warning: methods `is_expired` and `remaining_seconds` are never used --> src/webdav/handlers/lock.rs:81:12 | 80 | impl LockInfo { | ------------- methods in this implementation 81 | pub fn is_expired(&self) -> bool { | ^^^^^^^^^^ ... 85 | pub fn remaining_seconds(&self) -> u64 { | ^^^^^^^^^^^^^^^^^ warning: static `LOCK_STORE` is never used --> src/webdav/handlers/lock.rs:97:8 | 97 | static LOCK_STORE: OnceLock>> = OnceLock::new(); | ^^^^^^^^^^ warning: function `lock_store` is never used --> src/webdav/handlers/lock.rs:99:4 | 99 | fn lock_store() -> &'static RwLock> { | ^^^^^^^^^^ warning: struct `LockRequest` is never constructed --> src/webdav/handlers/lock.rs:105:8 | 105 | struct LockRequest { | ^^^^^^^^^^^ warning: function `handle_lock` is never used --> src/webdav/handlers/lock.rs:111:14 | 111 | pub async fn handle_lock( | ^^^^^^^^^^^ warning: function `handle_unlock` is never used --> src/webdav/handlers/lock.rs:197:14 | 197 | pub async fn handle_unlock( | ^^^^^^^^^^^^^ warning: function `check_lock_exists` is never used --> src/webdav/handlers/lock.rs:255:8 | 255 | pub fn check_lock_exists(resource_path: &str, user_id: &str) -> Result<(), WebDAVError> { | ^^^^^^^^^^^^^^^^^ warning: function `handle_lock_refresh` is never used --> src/webdav/handlers/lock.rs:286:4 | 286 | fn handle_lock_refresh( | ^^^^^^^^^^^^^^^^^^^ warning: function `check_lock_conflicts` is never used --> src/webdav/handlers/lock.rs:337:4 | 337 | fn check_lock_conflicts(resource_path: &str, requested_scope: LockScope) -> WebDAVResult<()> { | ^^^^^^^^^^^^^^^^^^^^ warning: function `parse_lock_request_xml` is never used --> src/webdav/handlers/lock.rs:369:4 | 369 | fn parse_lock_request_xml(body: &[u8]) -> WebDAVResult { | ^^^^^^^^^^^^^^^^^^^^^^ warning: function `build_lock_response` is never used --> src/webdav/handlers/lock.rs:416:4 | 416 | fn build_lock_response( | ^^^^^^^^^^^^^^^^^^^ warning: function `parse_timeout_header` is never used --> src/webdav/handlers/lock.rs:527:4 | 527 | fn parse_timeout_header(req: &HttpRequest) -> Option { | ^^^^^^^^^^^^^^^^^^^^ warning: function `parse_lock_token_header` is never used --> src/webdav/handlers/lock.rs:548:4 | 548 | fn parse_lock_token_header(header: &str) -> WebDAVResult { | ^^^^^^^^^^^^^^^^^^^^^^^ warning: function `parse_lock_token_from_if_header` is never used --> src/webdav/handlers/lock.rs:562:4 | 562 | fn parse_lock_token_from_if_header(header: &str) -> WebDAVResult { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: function `cleanup_expired_locks` is never used --> src/webdav/handlers/lock.rs:579:4 | 579 | fn cleanup_expired_locks(store: &mut HashMap) { | ^^^^^^^^^^^^^^^^^^^^^ warning: enum `PropertyOperation` is never used --> src/webdav/handlers/proppatch.rs:16:10 | 16 | pub enum PropertyOperation { | ^^^^^^^^^^^^^^^^^ warning: struct `PropertyUpdate` is never constructed --> src/webdav/handlers/proppatch.rs:23:12 | 23 | pub struct PropertyUpdate { | ^^^^^^^^^^^^^^ warning: function `handle_proppatch` is never used --> src/webdav/handlers/proppatch.rs:32:14 | 32 | pub async fn handle_proppatch( | ^^^^^^^^^^^^^^^^ warning: function `parse_proppatch_request` is never used --> src/webdav/handlers/proppatch.rs:91:4 | 91 | fn parse_proppatch_request(body: &[u8]) -> WebDAVResult { | ^^^^^^^^^^^^^^^^^^^^^^^ warning: struct `PropertyResult` is never constructed --> src/webdav/handlers/proppatch.rs:201:12 | 201 | pub struct PropertyResult { | ^^^^^^^^^^^^^^ warning: function `process_property_operations` is never used --> src/webdav/handlers/proppatch.rs:208:10 | 208 | async fn process_property_operations( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: function `process_set_property` is never used --> src/webdav/handlers/proppatch.rs:243:10 | 243 | async fn process_set_property( | ^^^^^^^^^^^^^^^^^^^^ warning: function `process_remove_property` is never used --> src/webdav/handlers/proppatch.rs:324:10 | 324 | async fn process_remove_property( | ^^^^^^^^^^^^^^^^^^^^^^^ warning: function `build_proppatch_response` is never used --> src/webdav/handlers/proppatch.rs:379:4 | 379 | fn build_proppatch_response( | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: function `write_simple_element` is never used --> src/webdav/handlers/proppatch.rs:476:4 | 476 | fn write_simple_element( | ^^^^^^^^^^^^^^^^^^^^ warning: function `encode_webdav_uri` is never used --> src/webdav/handlers/proppatch.rs:494:4 | 494 | fn encode_webdav_uri(path: &str) -> String { | ^^^^^^^^^^^^^^^^^ warning: function `status_code_text` is never used --> src/webdav/handlers/proppatch.rs:502:4 | 502 | fn status_code_text(code: u16) -> &'static str { | ^^^^^^^^^^^^^^^^ warning: struct `AuthMiddleware` is never constructed --> src/webdav/middleware/auth.rs:16:12 | 16 | pub struct AuthMiddleware; | ^^^^^^^^^^^^^^ warning: struct `AuthMiddlewareService` is never constructed --> src/webdav/middleware/auth.rs:37:12 | 37 | pub struct AuthMiddlewareService { | ^^^^^^^^^^^^^^^^^^^^^ warning: function `get_webdav_context` is never used --> src/webdav/middleware/auth.rs:89:8 | 89 | pub fn get_webdav_context(req: &ServiceRequest) -> Option { | ^^^^^^^^^^^^^^^^^^ warning: function `require_auth` is never used --> src/webdav/middleware/auth.rs:95:8 | 95 | pub fn require_auth( | ^^^^^^^^^^^^ warning: `internxt-cli` (bin "internxt") generated 333 warnings (7 duplicates) (run `cargo fix --bin "internxt"` to apply 1 suggestion) Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s Running `target/debug/internxt login -e 'daniel@willitzer.com' -p 'mugging*develops2daddies3debt7bold.BEA6hearings'` ERROR: Authentication error: Authentication failed: API error (405): === Login Test Completed - Wed Dec 17 14:08:54 PST 2025 ===