[INFO] cloning repository https://github.com/GwenTeam/teamturbo-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GwenTeam/teamturbo-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGwenTeam%2Fteamturbo-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGwenTeam%2Fteamturbo-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c639f24420c73d04e4dbd7f3233d18f2c1bb17c0 [INFO] checking GwenTeam/teamturbo-cli against 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGwenTeam%2Fteamturbo-cli" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/GwenTeam/teamturbo-cli [INFO] finished tweaking git repo https://github.com/GwenTeam/teamturbo-cli [INFO] tweaked toml for git repo https://github.com/GwenTeam/teamturbo-cli written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/GwenTeam/teamturbo-cli on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/GwenTeam/teamturbo-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 38 packages to highest compatible versions [INFO] [stderr] Adding adler2 v2.0.1 [INFO] [stderr] Adding aes v0.8.4 [INFO] [stderr] Adding aho-corasick v1.1.5 [INFO] [stderr] Adding base64ct v1.8.3 [INFO] [stderr] Adding byteorder v1.5.0 [INFO] [stderr] Adding bzip2 v0.4.4 [INFO] [stderr] Adding bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Adding cipher v0.4.4 [INFO] [stderr] Adding colored v2.2.0 (available: v3.1.1) [INFO] [stderr] Adding constant_time_eq v0.1.5 [INFO] [stderr] Adding crc32fast v1.5.2 [INFO] [stderr] Adding crossbeam-utils v0.8.23 [INFO] [stderr] Adding deranged v0.5.9 [INFO] [stderr] Adding flate2 v1.1.10 [INFO] [stderr] Adding getrandom v0.4.3 [INFO] [stderr] Adding hmac v0.12.1 [INFO] [stderr] Adding inout v0.1.4 [INFO] [stderr] Adding jobserver v0.1.35 [INFO] [stderr] Adding lazy_static v1.5.1 [INFO] [stderr] Adding miniz_oxide v0.9.1 [INFO] [stderr] Adding num-conv v0.2.2 [INFO] [stderr] Adding password-hash v0.4.2 [INFO] [stderr] Adding pbkdf2 v0.11.0 [INFO] [stderr] Adding powerfmt v0.2.1 [INFO] [stderr] Adding r-efi v6.0.0 [INFO] [stderr] Adding regex v1.13.1 [INFO] [stderr] Adding regex-automata v0.4.18 [INFO] [stderr] Adding regex-syntax v0.8.11 [INFO] [stderr] Adding sha1 v0.10.7 [INFO] [stderr] Adding simd-adler32 v0.3.10 [INFO] [stderr] Adding subtle v2.6.1 [INFO] [stderr] Adding time v0.3.55 [INFO] [stderr] Adding time-core v0.1.9 [INFO] [stderr] Adding zip v0.6.6 (available: v9.0.5) [INFO] [stderr] Adding zlib-rs v0.6.8 [INFO] [stderr] Adding zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Adding zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Adding zstd-sys v2.1.2+zstd.1.5.7 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Downloaded cc v1.2.44 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.105 [INFO] [stderr] Downloaded zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.105 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.105 [INFO] [stderr] Downloaded js-sys v0.3.82 [INFO] [stderr] Downloaded raw-window-handle v0.5.2 [INFO] [stderr] Downloaded password-hash v0.4.2 [INFO] [stderr] Downloaded webbrowser v0.8.15 [INFO] [stderr] Downloaded wasm-bindgen v0.2.105 [INFO] [stderr] Downloaded generic-array v0.14.9 [INFO] [stderr] Downloaded bzip2 v0.4.4 [INFO] [stderr] Downloaded bumpalo v3.19.0 [INFO] [stderr] Downloaded wit-bindgen v0.46.0 [INFO] [stderr] Downloaded constant_time_eq v0.1.5 [INFO] [stderr] Downloaded uuid v1.18.1 [INFO] [stderr] Downloaded find-msvc-tools v0.1.4 [INFO] [stderr] Downloaded zip v0.6.6 [INFO] [stderr] Downloaded socket2 v0.6.1 [INFO] [stderr] Downloaded security-framework-sys v2.15.0 [INFO] [stderr] Downloaded wasip2 v1.0.1+wasi-0.2.4 [INFO] [stderr] Downloaded tempfile v3.23.0 [INFO] [stderr] Downloaded openssl-sys v0.9.110 [INFO] [stderr] Downloaded syn v2.0.109 [INFO] [stderr] Downloaded schannel v0.1.28 [INFO] [stderr] Downloaded mio v1.1.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.55 [INFO] [stderr] Downloaded bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Downloaded web-sys v0.3.82 [INFO] [stderr] Downloaded zerocopy-derive v0.8.27 [INFO] [stderr] Downloaded libc v0.2.177 [INFO] [stderr] Downloaded zerocopy v0.8.27 [INFO] [stderr] Downloaded libredox v0.1.10 [INFO] [stderr] Downloaded shell-words v1.1.0 [INFO] [stderr] Downloaded tokio v1.48.0 [INFO] [stderr] Downloaded tokio-util v0.7.17 [INFO] [stderr] Downloaded dialoguer v0.11.0 [INFO] [stderr] Downloaded clap_lex v0.7.6 [INFO] [stderr] Downloaded rustix v1.1.2 [INFO] [stderr] Downloaded openssl v0.10.74 [INFO] [stderr] Downloaded clap_derive v4.5.49 [INFO] [stderr] Downloaded clap_builder v4.5.51 [INFO] [stderr] Downloaded iana-time-zone v0.1.64 [INFO] [stderr] Downloaded portable-atomic v1.11.1 [INFO] [stderr] Downloaded clap v4.5.51 [INFO] [stderr] Downloaded chrono v0.4.42 [INFO] [stderr] Downloaded anstyle-wincon v3.0.10 [INFO] [stderr] Downloaded linux-raw-sys v0.11.0 [INFO] [stderr] Downloaded zstd-sys v2.1.2+zstd.1.5.7 [INFO] [stderr] Downloaded anstyle-query v1.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 63b415539ef0db0e451da1ac27e33825bb8fd380f81525ea0eec4fcfe4572c90 [INFO] running `Command { std: "docker" "start" "63b415539ef0db0e451da1ac27e33825bb8fd380f81525ea0eec4fcfe4572c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63b415539ef0db0e451da1ac27e33825bb8fd380f81525ea0eec4fcfe4572c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "63b415539ef0db0e451da1ac27e33825bb8fd380f81525ea0eec4fcfe4572c90" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63b415539ef0db0e451da1ac27e33825bb8fd380f81525ea0eec4fcfe4572c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "63b415539ef0db0e451da1ac27e33825bb8fd380f81525ea0eec4fcfe4572c90" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling syn v2.0.109 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Compiling jobserver v0.1.35 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling crc32fast v1.5.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking simd-adler32 v0.3.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking miniz_oxide v0.9.1 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling zstd-sys v2.1.2+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking aho-corasick v1.1.5 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.1 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking deranged v0.5.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking clap_builder v4.5.51 [INFO] [stderr] Checking regex-automata v0.4.18 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking time v0.3.55 [INFO] [stderr] Checking flate2 v1.1.10 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking sha1 v0.10.7 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking lazy_static v1.5.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking regex v1.13.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking clap v4.5.51 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking teamturbo-cli v1.2.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde::de::Error` [INFO] [stdout] --> src/api/client.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | use serde::de::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Error` [INFO] [stdout] --> src/config/mod.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | use serde::de::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Error` [INFO] [stdout] --> src/api/client.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | use serde::de::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Error` [INFO] [stdout] --> src/config/mod.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | use serde::de::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/commands/push.rs:329:27 [INFO] [stdout] | [INFO] [stdout] 329 | for (uuid, title, path, content, checksum) in to_push { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/commands/push.rs:329:27 [INFO] [stdout] | [INFO] [stdout] 329 | for (uuid, title, path, content, checksum) in to_push { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/commands/import.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 63 | (true, Some(from_path), None) => { [INFO] [stdout] | ----------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 77 | (true, Some(_), None) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doc_path` [INFO] [stdout] --> src/commands/verify.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let doc_path = Path::new(&doc.path); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_doc_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/commands/import.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 63 | (true, Some(from_path), None) => { [INFO] [stdout] | ----------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 77 | (true, Some(_), None) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doc_path` [INFO] [stdout] --> src/commands/verify.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let doc_path = Path::new(&doc.path); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_doc_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error_msg` and `data` are never read [INFO] [stdout] --> src/auth/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct PollResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub error_msg: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | pub data: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PollResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `message` are never read [INFO] [stdout] --> src/auth/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct PollData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 27 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PollData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenResponse` is never constructed [INFO] [stdout] --> src/auth/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct TokenResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_open_browser` is never used [INFO] [stdout] --> src/auth/mod.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn can_open_browser() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `server_url` and `all_documents` are never used [INFO] [stdout] --> src/api/client.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl DocuramConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 66 | /// Get server URL [INFO] [stdout] 67 | pub fn server_url(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn all_documents(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `category_remote_url` and `remote_url` are never used [INFO] [stdout] --> src/api/client.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl DocumentInfo { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 171 | /// Generate category remote URL from project URL [INFO] [stdout] 172 | pub fn category_remote_url(&self, project_url: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn remote_url(&self, project_url: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `path` are never read [INFO] [stdout] --> src/api/client.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 269 | pub struct CategoryInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 270 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CategoryInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `status`, `priority`, and `is_required` are never read [INFO] [stdout] --> src/api/client.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct DocumentContent { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 281 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 285 | pub version: i64, [INFO] [stdout] 286 | pub priority: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 287 | pub is_required: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentContent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete_category` and `get_category_documents` are never used [INFO] [stdout] --> src/api/client.rs:777:18 [INFO] [stdout] | [INFO] [stdout] 308 | impl ApiClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 777 | pub async fn delete_category(&self, uuid: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 855 | pub async fn get_category_documents(&self, category_path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error_code` is never read [INFO] [stdout] --> src/api/client.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 718 | struct ApiResponse { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 723 | error_code: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success` and `message_count` are never read [INFO] [stdout] --> src/api/client.rs:995:9 [INFO] [stdout] | [INFO] [stdout] 994 | pub struct FeedbackResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 995 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 996 | pub recipients: Vec, [INFO] [stdout] 997 | pub message_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FeedbackResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `status` are never read [INFO] [stdout] --> src/api/client.rs:1003:9 [INFO] [stdout] | [INFO] [stdout] 1002 | pub struct Recipient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 1003 | pub user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1006 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Recipient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `category` and `source` are never read [INFO] [stdout] --> src/api/client.rs:1052:9 [INFO] [stdout] | [INFO] [stdout] 1051 | pub struct DownloadGlobalDependencyResponse { [INFO] [stdout] | -------------------------------- fields in this struct [INFO] [stdout] 1052 | pub category: GlobalDependencyCategory, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1053 | pub documents: Vec, [INFO] [stdout] 1054 | pub source: PublicSource, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DownloadGlobalDependencyResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/commands/list.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct NewLocalDocument { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 12 | file_path: String, [INFO] [stdout] 13 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `doc_type`, and `source` are never read [INFO] [stdout] --> src/commands/list.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 408 | struct ListDocumentInfo { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 409 | title: String, [INFO] [stdout] 410 | uuid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 411 | doc_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | source: DocumentSource, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_insert_as_child` is never used [INFO] [stdout] --> src/commands/list.rs:572:4 [INFO] [stdout] | [INFO] [stdout] 572 | fn try_insert_as_child(nodes: &mut Vec, path: &str, parent_path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_parent_path` is never used [INFO] [stdout] --> src/commands/list.rs:593:4 [INFO] [stdout] | [INFO] [stdout] 593 | fn get_parent_path(path: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `category_uuid` and `category_path` are never read [INFO] [stdout] --> src/commands/delete.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 284 | struct DocumentToDelete { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 288 | category_uuid: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 289 | category_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentToDelete` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_auth` is never used [INFO] [stdout] --> src/config/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl CliConfig { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn remove_auth(&mut self, server_url: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `category_remote_url` and `remote_url` are never used [INFO] [stdout] --> src/config/mod.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 193 | impl DocumentInfo { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 194 | /// Generate category remote URL from project URL [INFO] [stdout] 195 | pub fn category_remote_url(&self, project_url: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn remote_url(&self, project_url: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_document_by_path`, `get_document_by_path_mut`, `get_local_document_by_path`, `add_local_document`, and `remove_local_document` are never used [INFO] [stdout] --> src/config/mod.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 339 | impl DocuramConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 401 | pub fn get_document_by_path(&self, path: &str) -> Option<&DocumentInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | pub fn get_document_by_path_mut(&mut self, path: &str) -> Option<&mut DocumentInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn get_local_document_by_path(&self, path: &str) -> Option<&LocalOnlyDocument> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn add_local_document(&mut self, doc: LocalOnlyDocument) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn remove_local_document(&mut self, path: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_checksum` is never used [INFO] [stdout] --> src/utils/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn normalize_checksum(checksum: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_checksum` is never used [INFO] [stdout] --> src/utils/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn verify_checksum>(path: P, expected_checksum: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_size` is never used [INFO] [stdout] --> src/utils/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn format_size(bytes: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verbose` is never used [INFO] [stdout] --> src/utils/logger.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn verbose(message: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error_msg` and `data` are never read [INFO] [stdout] --> src/auth/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct PollResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub error_msg: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | pub data: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PollResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `message` are never read [INFO] [stdout] --> src/auth/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct PollData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 27 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PollData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenResponse` is never constructed [INFO] [stdout] --> src/auth/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct TokenResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_open_browser` is never used [INFO] [stdout] --> src/auth/mod.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn can_open_browser() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `server_url` and `all_documents` are never used [INFO] [stdout] --> src/api/client.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl DocuramConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 66 | /// Get server URL [INFO] [stdout] 67 | pub fn server_url(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn all_documents(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `category_remote_url` and `remote_url` are never used [INFO] [stdout] --> src/api/client.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl DocumentInfo { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 171 | /// Generate category remote URL from project URL [INFO] [stdout] 172 | pub fn category_remote_url(&self, project_url: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn remote_url(&self, project_url: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `path` are never read [INFO] [stdout] --> src/api/client.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 269 | pub struct CategoryInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 270 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CategoryInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `status`, `priority`, and `is_required` are never read [INFO] [stdout] --> src/api/client.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct DocumentContent { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 281 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 285 | pub version: i64, [INFO] [stdout] 286 | pub priority: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 287 | pub is_required: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentContent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete_category` and `get_category_documents` are never used [INFO] [stdout] --> src/api/client.rs:777:18 [INFO] [stdout] | [INFO] [stdout] 308 | impl ApiClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 777 | pub async fn delete_category(&self, uuid: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 855 | pub async fn get_category_documents(&self, category_path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error_code` is never read [INFO] [stdout] --> src/api/client.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 718 | struct ApiResponse { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 723 | error_code: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success` and `message_count` are never read [INFO] [stdout] --> src/api/client.rs:995:9 [INFO] [stdout] | [INFO] [stdout] 994 | pub struct FeedbackResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 995 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 996 | pub recipients: Vec, [INFO] [stdout] 997 | pub message_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FeedbackResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `status` are never read [INFO] [stdout] --> src/api/client.rs:1003:9 [INFO] [stdout] | [INFO] [stdout] 1002 | pub struct Recipient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 1003 | pub user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1006 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Recipient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `category` and `source` are never read [INFO] [stdout] --> src/api/client.rs:1052:9 [INFO] [stdout] | [INFO] [stdout] 1051 | pub struct DownloadGlobalDependencyResponse { [INFO] [stdout] | -------------------------------- fields in this struct [INFO] [stdout] 1052 | pub category: GlobalDependencyCategory, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1053 | pub documents: Vec, [INFO] [stdout] 1054 | pub source: PublicSource, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DownloadGlobalDependencyResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/commands/list.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct NewLocalDocument { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 12 | file_path: String, [INFO] [stdout] 13 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `doc_type`, and `source` are never read [INFO] [stdout] --> src/commands/list.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 408 | struct ListDocumentInfo { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 409 | title: String, [INFO] [stdout] 410 | uuid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 411 | doc_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | source: DocumentSource, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_insert_as_child` is never used [INFO] [stdout] --> src/commands/list.rs:572:4 [INFO] [stdout] | [INFO] [stdout] 572 | fn try_insert_as_child(nodes: &mut Vec, path: &str, parent_path: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_parent_path` is never used [INFO] [stdout] --> src/commands/list.rs:593:4 [INFO] [stdout] | [INFO] [stdout] 593 | fn get_parent_path(path: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `category_uuid` and `category_path` are never read [INFO] [stdout] --> src/commands/delete.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 284 | struct DocumentToDelete { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 288 | category_uuid: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 289 | category_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentToDelete` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_auth` is never used [INFO] [stdout] --> src/config/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl CliConfig { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn remove_auth(&mut self, server_url: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `category_remote_url` and `remote_url` are never used [INFO] [stdout] --> src/config/mod.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 193 | impl DocumentInfo { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 194 | /// Generate category remote URL from project URL [INFO] [stdout] 195 | pub fn category_remote_url(&self, project_url: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn remote_url(&self, project_url: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_document_by_path`, `get_document_by_path_mut`, `get_local_document_by_path`, `add_local_document`, and `remove_local_document` are never used [INFO] [stdout] --> src/config/mod.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 339 | impl DocuramConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 401 | pub fn get_document_by_path(&self, path: &str) -> Option<&DocumentInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | pub fn get_document_by_path_mut(&mut self, path: &str) -> Option<&mut DocumentInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn get_local_document_by_path(&self, path: &str) -> Option<&LocalOnlyDocument> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn add_local_document(&mut self, doc: LocalOnlyDocument) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn remove_local_document(&mut self, path: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_checksum` is never used [INFO] [stdout] --> src/utils/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn normalize_checksum(checksum: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_checksum` is never used [INFO] [stdout] --> src/utils/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn verify_checksum>(path: P, expected_checksum: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_size` is never used [INFO] [stdout] --> src/utils/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn format_size(bytes: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verbose` is never used [INFO] [stdout] --> src/utils/logger.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn verbose(message: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `serde_yaml` [INFO] [stderr] --> Cargo.toml:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | serde_yaml = "0.9" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `serde_yaml` [INFO] [stderr] warning: `teamturbo-cli` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 01s [INFO] running `Command { std: "docker" "inspect" "63b415539ef0db0e451da1ac27e33825bb8fd380f81525ea0eec4fcfe4572c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63b415539ef0db0e451da1ac27e33825bb8fd380f81525ea0eec4fcfe4572c90", kill_on_drop: false }` [INFO] [stdout] 63b415539ef0db0e451da1ac27e33825bb8fd380f81525ea0eec4fcfe4572c90