[INFO] fetching crate terzi 1.1.0... [INFO] building terzi-1.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate terzi 1.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate terzi 1.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate terzi 1.1.0 [INFO] tweaked toml for crates.io crate terzi 1.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate terzi 1.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate terzi 1.1.0 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_qs v0.8.5 [INFO] [stderr] Downloaded libredox v0.1.4 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded once_cell_polyfill v1.70.1 [INFO] [stderr] Downloaded ordered-multimap v0.4.3 [INFO] [stderr] Downloaded float-cmp v0.10.0 [INFO] [stderr] Downloaded cookie v0.17.0 [INFO] [stderr] Downloaded anyhow v1.0.98 [INFO] [stderr] Downloaded base64 v0.13.1 [INFO] [stderr] Downloaded infer v0.2.3 [INFO] [stderr] Downloaded difflib v0.4.0 [INFO] [stderr] Downloaded zerovec v0.11.2 [INFO] [stderr] Downloaded strum v0.25.0 [INFO] [stderr] Downloaded anstream v0.6.19 [INFO] [stderr] Downloaded tokio-util v0.7.15 [INFO] [stderr] Downloaded utf8parse v0.2.2 [INFO] [stderr] Downloaded normalize-line-endings v0.3.0 [INFO] [stderr] Downloaded async-stream v0.3.6 [INFO] [stderr] Downloaded clap_derive v4.5.41 [INFO] [stderr] Downloaded doc-comment v0.3.3 [INFO] [stderr] Downloaded predicates-tree v1.0.12 [INFO] [stderr] Downloaded json5 v0.4.1 [INFO] [stderr] Downloaded termtree v0.5.1 [INFO] [stderr] Downloaded wasm-streams v0.4.2 [INFO] [stderr] Downloaded anstyle-parse v0.2.7 [INFO] [stderr] Downloaded anstyle-query v1.1.3 [INFO] [stderr] Downloaded rust-ini v0.18.0 [INFO] [stderr] Downloaded predicates-core v1.0.9 [INFO] [stderr] Downloaded unicode-linebreak v0.1.5 [INFO] [stderr] Downloaded indicatif v0.17.11 [INFO] [stderr] Downloaded colorchoice v1.0.4 [INFO] [stderr] Downloaded assert_cmd v2.0.17 [INFO] [stderr] Downloaded dialoguer v0.11.0 [INFO] [stderr] Downloaded ron v0.7.1 [INFO] [stderr] Downloaded publicsuffix v2.3.0 [INFO] [stderr] Downloaded clap v4.5.41 [INFO] [stderr] Downloaded crossterm v0.27.0 [INFO] [stderr] Downloaded config v0.13.4 [INFO] [stderr] Downloaded cc v1.2.29 [INFO] [stderr] Downloaded quick-xml v0.38.0 [INFO] [stderr] Downloaded clap_builder v4.5.41 [INFO] [stderr] Downloaded comfy-table v7.1.4 [INFO] [stderr] Downloaded textwrap v0.16.2 [INFO] [stderr] Downloaded fuzzy-matcher v0.3.7 [INFO] [stderr] Downloaded deadpool v0.9.5 [INFO] [stderr] Downloaded is_terminal_polyfill v1.70.1 [INFO] [stderr] Downloaded idna v0.3.0 [INFO] [stderr] Downloaded ratatui v0.24.0 [INFO] [stderr] Downloaded colored v2.2.0 [INFO] [stderr] Downloaded encode_unicode v1.0.0 [INFO] [stderr] Downloaded tinyvec v1.9.0 [INFO] [stderr] Downloaded cookie_store v0.20.0 [INFO] [stderr] Downloaded onig v6.5.1 [INFO] [stderr] Downloaded deadpool-runtime v0.1.4 [INFO] [stderr] Downloaded predicates v3.1.3 [INFO] [stderr] Downloaded anstyle-wincon v3.0.9 [INFO] [stderr] Downloaded term_size v0.3.2 [INFO] [stderr] Downloaded assert-json-diff v2.0.2 [INFO] [stderr] Downloaded dlv-list v0.3.0 [INFO] [stderr] Downloaded shell-words v1.1.0 [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded windows-targets v0.53.2 [INFO] [stderr] Downloaded strum_macros v0.25.3 [INFO] [stderr] Downloaded crc32fast v1.4.2 [INFO] [stderr] Downloaded wiremock v0.5.22 [INFO] [stderr] Downloaded onig_sys v69.9.1 [INFO] [stderr] Downloaded redox_syscall v0.5.13 [INFO] [stderr] Downloaded psl-types v2.0.11 [INFO] [stderr] Downloaded syntect v5.2.0 [INFO] [stderr] Downloaded smawk v0.3.2 [INFO] [stderr] Downloaded number_prefix v0.4.0 [INFO] [stderr] Downloaded async-stream-impl v0.3.6 [INFO] [stderr] Downloaded retain_mut v0.1.9 [INFO] [stderr] Downloaded http-types v2.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b402ba6aec3e1aff980eaa3815c724d09931445de5a8571d00ad842850027a9 [INFO] running `Command { std: "docker" "start" "-a" "2b402ba6aec3e1aff980eaa3815c724d09931445de5a8571d00ad842850027a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b402ba6aec3e1aff980eaa3815c724d09931445de5a8571d00ad842850027a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b402ba6aec3e1aff980eaa3815c724d09931445de5a8571d00ad842850027a9", kill_on_drop: false }` [INFO] [stdout] 2b402ba6aec3e1aff980eaa3815c724d09931445de5a8571d00ad842850027a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41201ec7017fdb31cb58276f883547d12b5e6f8c79ca90f5d17de50e34553254 [INFO] running `Command { std: "docker" "start" "-a" "41201ec7017fdb31cb58276f883547d12b5e6f8c79ca90f5d17de50e34553254", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quick-xml v0.38.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling comfy-table v7.1.4 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling ratatui v0.24.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling plist v1.7.4 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling terzi v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Request`, `Response as ReqwestResponse`, and `StatusCode` [INFO] [stdout] --> src/client.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::{Client, Method, Request, Response as ReqwestResponse, StatusCode}; [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: `MultiSelect` [INFO] [stdout] --> src/interactive.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use dialoguer::{Confirm, FuzzySelect, Input, MultiSelect, Select, theme::ColorfulTheme}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_name` [INFO] [stdout] --> src/interactive.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | let key_name: String = Input::with_theme(&ColorfulTheme::default()) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_value` [INFO] [stdout] --> src/interactive.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | let key_value: String = Input::with_theme(&ColorfulTheme::default()) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/interactive.rs:349:21 [INFO] [stdout] | [INFO] [stdout] 349 | let file_path: String = Input::with_theme(&ColorfulTheme::default()) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/request.rs:349:14 [INFO] [stdout] | [INFO] [stdout] 349 | for (key, value) in rendered_request.headers.iter_mut() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column_separator` [INFO] [stdout] --> src/utils.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | let column_separator = 3; // Space between columns [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_separator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `confirm_action` is never used [INFO] [stdout] --> src/cli.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn confirm_action(prompt: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_warning` is never used [INFO] [stdout] --> src/cli.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn print_warning(message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `test_connection` and `get_response_preview` are never used [INFO] [stdout] --> src/client.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl TerziClient { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub async fn test_connection(&self, url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub async fn get_response_preview(&self, url: &str, limit: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_success`, `is_client_error`, and `is_server_error` are never used [INFO] [stdout] --> src/client.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl Response { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 134 | pub fn is_success(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn is_client_error(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn is_server_error(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/config.rs:445:18 [INFO] [stdout] | [INFO] [stdout] 127 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 445 | pub async fn save_token(&mut self, name: &str, token: StoredToken) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | pub fn get_token(&self, name: &str) -> Option<&StoredToken> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | pub async fn delete_token(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | pub fn list_tokens(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn validate(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | pub fn get_color_scheme(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | pub fn should_use_colors(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/output.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ResponseFormatter { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pretty_format_json` is never used [INFO] [stdout] --> src/output.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl ResponseFormatter { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | fn pretty_format_json(&self, json_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_header`, `set_body`, `add_tag`, and `remove_tag` are never used [INFO] [stdout] --> src/request.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl SavedRequest { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn add_header(&mut self, key: String, value: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn set_body(&mut self, body: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn add_tag(&mut self, tag: String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn remove_tag(&mut self, tag: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `headers`, `description`, `tag`, and `tags` are never used [INFO] [stdout] --> src/request.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl RequestBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn name(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn headers(mut self, headers: HashMap) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn description(mut self, description: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn tag(mut self, tag: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn tags(mut self, tags: Vec) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_request`, `remove_request`, `find_request`, and `find_request_mut` are never used [INFO] [stdout] --> src/request.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl RequestCollection { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 226 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn add_request(&mut self, request: SavedRequest) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn remove_request(&mut self, request_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn find_request(&self, name: &str) -> Option<&SavedRequest> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn find_request_mut(&mut self, name: &str) -> Option<&mut SavedRequest> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestTemplate` is never constructed [INFO] [stdout] --> src/request.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 263 | pub struct RequestTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TemplateVariable` is never constructed [INFO] [stdout] --> src/request.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct TemplateVariable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VariableType` is never used [INFO] [stdout] --> src/request.rs:281:10 [INFO] [stdout] | [INFO] [stdout] 281 | pub enum VariableType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_variable`, `add_environment`, `render`, and `replace_variables` are never used [INFO] [stdout] --> src/request.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 290 | impl RequestTemplate { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 291 | pub fn new(name: String, base_request: SavedRequest) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn add_variable(&mut self, variable: TemplateVariable) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn add_environment(&mut self, name: String, variables: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | fn replace_variables(&self, text: &str, variables: &HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_request` is never used [INFO] [stdout] --> src/request.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 383 | pub fn validate_request(request: &SavedRequest) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_get_request` is never used [INFO] [stdout] --> src/request.rs:414:8 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn create_get_request(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_post_json_request` is never used [INFO] [stdout] --> src/request.rs:418:8 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn create_post_json_request(url: &str, json_body: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_authenticated_request` is never used [INFO] [stdout] --> src/request.rs:424:8 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn create_authenticated_request(url: &str, method: &str, token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/storage.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 51 | impl Storage { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 154 | pub async fn search_requests(&self, query: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub async fn create_collection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub async fn add_request_to_collection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub async fn list_collections(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub async fn get_collection(&self, name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub async fn delete_collection(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub async fn clear_history(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub async fn get_history_stats(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub async fn save_environment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub async fn get_environment(&self, name: &str) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub async fn list_environments(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | pub async fn delete_environment(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub async fn set_setting(&mut self, key: &str, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub async fn get_setting(&self, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub async fn list_settings(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub async fn import_data(&mut self, data: &str, merge: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | pub async fn create_backup(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | pub async fn restore_backup(&mut self, backup_path: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub async fn list_backups(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HistoryStats` is never constructed [INFO] [stdout] --> src/storage.rs:502:12 [INFO] [stdout] | [INFO] [stdout] 502 | pub struct HistoryStats { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_url` is never used [INFO] [stdout] --> src/utils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn normalize_url(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_domain` is never used [INFO] [stdout] --> src/utils.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn extract_domain(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_timestamp` is never used [INFO] [stdout] --> src/utils.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn format_timestamp(timestamp: SystemTime) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `time_ago` is never used [INFO] [stdout] --> src/utils.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn time_ago(timestamp: SystemTime) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_filename` is never used [INFO] [stdout] --> src/utils.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn sanitize_filename(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_content_type` is never used [INFO] [stdout] --> src/utils.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn parse_content_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `guess_content_type` is never used [INFO] [stdout] --> src/utils.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn guess_content_type(body: &str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_extension` is never used [INFO] [stdout] --> src/utils.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn get_file_extension(filename: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_to_string` is never used [INFO] [stdout] --> src/utils.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn read_file_to_string(path: &std::path::Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_env_or_default` is never used [INFO] [stdout] --> src/utils.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn get_env_or_default(key: &str, default: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_env_vars` is never used [INFO] [stdout] --> src/utils.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn expand_env_vars(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_tty` is never used [INFO] [stdout] --> src/utils.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn is_tty() -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_email` is never used [INFO] [stdout] --> src/utils.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn is_valid_email(email: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_request_id` is never used [INFO] [stdout] --> src/utils.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn generate_request_id() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_headers` is never used [INFO] [stdout] --> src/utils.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn merge_headers( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_headers` is never used [INFO] [stdout] --> src/utils.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn filter_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_template_variables` is never used [INFO] [stdout] --> src/utils.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn extract_template_variables(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Timer` is never constructed [INFO] [stdout] --> src/utils.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Timer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `elapsed`, `elapsed_ms`, and `restart` are never used [INFO] [stdout] --> src/utils.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 328 | impl Timer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 329 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn elapsed(&self) -> Duration { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn elapsed_ms(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub fn restart(&mut self) -> Duration { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diff_json` is never used [INFO] [stdout] --> src/utils.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn diff_json(old: &str, new: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RetryConfig` is never constructed [INFO] [stdout] --> src/utils.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | pub struct RetryConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retry_with_backoff` is never used [INFO] [stdout] --> src/utils.rs:386:14 [INFO] [stdout] | [INFO] [stdout] 386 | pub async fn retry_with_backoff(config: RetryConfig, mut operation: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorScheme` is never constructed [INFO] [stdout] --> src/utils.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 417 | pub struct ColorScheme { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `dark` and `light` are never used [INFO] [stdout] --> src/utils.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 426 | impl ColorScheme { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 427 | pub fn dark() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | pub fn light() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_progress_bar` is never used [INFO] [stdout] --> src/utils.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn create_progress_bar(len: u64) -> indicatif::ProgressBar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fuzzy_sort` is never used [INFO] [stdout] --> src/utils.rs:481:8 [INFO] [stdout] | [INFO] [stdout] 481 | pub fn fuzzy_sort(items: &mut [(f64, T)]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 09s [INFO] running `Command { std: "docker" "inspect" "41201ec7017fdb31cb58276f883547d12b5e6f8c79ca90f5d17de50e34553254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41201ec7017fdb31cb58276f883547d12b5e6f8c79ca90f5d17de50e34553254", kill_on_drop: false }` [INFO] [stdout] 41201ec7017fdb31cb58276f883547d12b5e6f8c79ca90f5d17de50e34553254 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e6e89293b915f9783a98a6d7e9ff2636d9b259539b6b96a008b085d6cad7fd5 [INFO] running `Command { std: "docker" "start" "-a" "0e6e89293b915f9783a98a6d7e9ff2636d9b259539b6b96a008b085d6cad7fd5", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling retain_mut v0.1.9 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling deadpool v0.9.5 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling wiremock v0.5.22 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling terzi v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Request`, `Response as ReqwestResponse`, and `StatusCode` [INFO] [stdout] --> src/client.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::{Client, Method, Request, Response as ReqwestResponse, StatusCode}; [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: `MultiSelect` [INFO] [stdout] --> src/interactive.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use dialoguer::{Confirm, FuzzySelect, Input, MultiSelect, Select, theme::ColorfulTheme}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request`, `Response as ReqwestResponse`, and `StatusCode` [INFO] [stdout] --> src/client.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::{Client, Method, Request, Response as ReqwestResponse, StatusCode}; [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: `MultiSelect` [INFO] [stdout] --> src/interactive.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use dialoguer::{Confirm, FuzzySelect, Input, MultiSelect, Select, theme::ColorfulTheme}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_name` [INFO] [stdout] --> src/interactive.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | let key_name: String = Input::with_theme(&ColorfulTheme::default()) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_value` [INFO] [stdout] --> src/interactive.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | let key_value: String = Input::with_theme(&ColorfulTheme::default()) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/interactive.rs:349:21 [INFO] [stdout] | [INFO] [stdout] 349 | let file_path: String = Input::with_theme(&ColorfulTheme::default()) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_name` [INFO] [stdout] --> src/interactive.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | let key_name: String = Input::with_theme(&ColorfulTheme::default()) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_value` [INFO] [stdout] --> src/interactive.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | let key_value: String = Input::with_theme(&ColorfulTheme::default()) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/interactive.rs:349:21 [INFO] [stdout] | [INFO] [stdout] 349 | let file_path: String = Input::with_theme(&ColorfulTheme::default()) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/request.rs:349:14 [INFO] [stdout] | [INFO] [stdout] 349 | for (key, value) in rendered_request.headers.iter_mut() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column_separator` [INFO] [stdout] --> src/utils.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | let column_separator = 3; // Space between columns [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_separator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `confirm_action` is never used [INFO] [stdout] --> src/cli.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn confirm_action(prompt: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_warning` is never used [INFO] [stdout] --> src/cli.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn print_warning(message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `test_connection` and `get_response_preview` are never used [INFO] [stdout] --> src/client.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl TerziClient { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub async fn test_connection(&self, url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub async fn get_response_preview(&self, url: &str, limit: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_success`, `is_client_error`, and `is_server_error` are never used [INFO] [stdout] --> src/client.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl Response { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 134 | pub fn is_success(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn is_client_error(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn is_server_error(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/config.rs:445:18 [INFO] [stdout] | [INFO] [stdout] 127 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 445 | pub async fn save_token(&mut self, name: &str, token: StoredToken) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | pub fn get_token(&self, name: &str) -> Option<&StoredToken> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | pub async fn delete_token(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | pub fn list_tokens(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn validate(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | pub fn get_color_scheme(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | pub fn should_use_colors(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/output.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ResponseFormatter { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pretty_format_json` is never used [INFO] [stdout] --> src/output.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl ResponseFormatter { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | fn pretty_format_json(&self, json_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_header`, `set_body`, `add_tag`, and `remove_tag` are never used [INFO] [stdout] --> src/request.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl SavedRequest { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn add_header(&mut self, key: String, value: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn set_body(&mut self, body: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn add_tag(&mut self, tag: String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn remove_tag(&mut self, tag: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `headers`, `description`, `tag`, and `tags` are never used [INFO] [stdout] --> src/request.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl RequestBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn name(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn headers(mut self, headers: HashMap) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn description(mut self, description: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn tag(mut self, tag: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn tags(mut self, tags: Vec) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_request`, `remove_request`, `find_request`, and `find_request_mut` are never used [INFO] [stdout] --> src/request.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl RequestCollection { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 226 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn add_request(&mut self, request: SavedRequest) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn remove_request(&mut self, request_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn find_request(&self, name: &str) -> Option<&SavedRequest> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn find_request_mut(&mut self, name: &str) -> Option<&mut SavedRequest> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestTemplate` is never constructed [INFO] [stdout] --> src/request.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 263 | pub struct RequestTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TemplateVariable` is never constructed [INFO] [stdout] --> src/request.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct TemplateVariable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VariableType` is never used [INFO] [stdout] --> src/request.rs:281:10 [INFO] [stdout] | [INFO] [stdout] 281 | pub enum VariableType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_variable`, `add_environment`, `render`, and `replace_variables` are never used [INFO] [stdout] --> src/request.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 290 | impl RequestTemplate { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 291 | pub fn new(name: String, base_request: SavedRequest) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn add_variable(&mut self, variable: TemplateVariable) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn add_environment(&mut self, name: String, variables: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | fn replace_variables(&self, text: &str, variables: &HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_request` is never used [INFO] [stdout] --> src/request.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 383 | pub fn validate_request(request: &SavedRequest) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_get_request` is never used [INFO] [stdout] --> src/request.rs:414:8 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn create_get_request(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_post_json_request` is never used [INFO] [stdout] --> src/request.rs:418:8 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn create_post_json_request(url: &str, json_body: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_authenticated_request` is never used [INFO] [stdout] --> src/request.rs:424:8 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn create_authenticated_request(url: &str, method: &str, token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/storage.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 51 | impl Storage { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 154 | pub async fn search_requests(&self, query: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub async fn create_collection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub async fn add_request_to_collection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub async fn list_collections(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub async fn get_collection(&self, name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub async fn delete_collection(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub async fn clear_history(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub async fn get_history_stats(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub async fn save_environment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub async fn get_environment(&self, name: &str) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub async fn list_environments(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | pub async fn delete_environment(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub async fn set_setting(&mut self, key: &str, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub async fn get_setting(&self, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub async fn list_settings(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub async fn import_data(&mut self, data: &str, merge: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | pub async fn create_backup(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | pub async fn restore_backup(&mut self, backup_path: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub async fn list_backups(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HistoryStats` is never constructed [INFO] [stdout] --> src/storage.rs:502:12 [INFO] [stdout] | [INFO] [stdout] 502 | pub struct HistoryStats { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_url` is never used [INFO] [stdout] --> src/utils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn normalize_url(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_domain` is never used [INFO] [stdout] --> src/utils.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn extract_domain(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_timestamp` is never used [INFO] [stdout] --> src/utils.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn format_timestamp(timestamp: SystemTime) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `time_ago` is never used [INFO] [stdout] --> src/utils.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn time_ago(timestamp: SystemTime) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_filename` is never used [INFO] [stdout] --> src/utils.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn sanitize_filename(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_content_type` is never used [INFO] [stdout] --> src/utils.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn parse_content_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `guess_content_type` is never used [INFO] [stdout] --> src/utils.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn guess_content_type(body: &str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_extension` is never used [INFO] [stdout] --> src/utils.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn get_file_extension(filename: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_to_string` is never used [INFO] [stdout] --> src/utils.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn read_file_to_string(path: &std::path::Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_env_or_default` is never used [INFO] [stdout] --> src/utils.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn get_env_or_default(key: &str, default: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_env_vars` is never used [INFO] [stdout] --> src/utils.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn expand_env_vars(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_tty` is never used [INFO] [stdout] --> src/utils.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn is_tty() -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_email` is never used [INFO] [stdout] --> src/utils.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn is_valid_email(email: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_request_id` is never used [INFO] [stdout] --> src/utils.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn generate_request_id() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_headers` is never used [INFO] [stdout] --> src/utils.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn merge_headers( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_headers` is never used [INFO] [stdout] --> src/utils.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn filter_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_template_variables` is never used [INFO] [stdout] --> src/utils.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn extract_template_variables(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Timer` is never constructed [INFO] [stdout] --> src/utils.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Timer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `elapsed`, `elapsed_ms`, and `restart` are never used [INFO] [stdout] --> src/utils.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 328 | impl Timer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 329 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn elapsed(&self) -> Duration { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn elapsed_ms(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub fn restart(&mut self) -> Duration { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diff_json` is never used [INFO] [stdout] --> src/utils.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn diff_json(old: &str, new: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RetryConfig` is never constructed [INFO] [stdout] --> src/utils.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | pub struct RetryConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retry_with_backoff` is never used [INFO] [stdout] --> src/utils.rs:386:14 [INFO] [stdout] | [INFO] [stdout] 386 | pub async fn retry_with_backoff(config: RetryConfig, mut operation: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorScheme` is never constructed [INFO] [stdout] --> src/utils.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 417 | pub struct ColorScheme { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `dark` and `light` are never used [INFO] [stdout] --> src/utils.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 426 | impl ColorScheme { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 427 | pub fn dark() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | pub fn light() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_progress_bar` is never used [INFO] [stdout] --> src/utils.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn create_progress_bar(len: u64) -> indicatif::ProgressBar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fuzzy_sort` is never used [INFO] [stdout] --> src/utils.rs:481:8 [INFO] [stdout] | [INFO] [stdout] 481 | pub fn fuzzy_sort(items: &mut [(f64, T)]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/request.rs:349:14 [INFO] [stdout] | [INFO] [stdout] 349 | for (key, value) in rendered_request.headers.iter_mut() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column_separator` [INFO] [stdout] --> src/utils.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | let column_separator = 3; // Space between columns [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_separator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `confirm_action` is never used [INFO] [stdout] --> src/cli.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn confirm_action(prompt: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_warning` is never used [INFO] [stdout] --> src/cli.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn print_warning(message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `test_connection` and `get_response_preview` are never used [INFO] [stdout] --> src/client.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl TerziClient { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub async fn test_connection(&self, url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub async fn get_response_preview(&self, url: &str, limit: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_success`, `is_client_error`, and `is_server_error` are never used [INFO] [stdout] --> src/client.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl Response { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 134 | pub fn is_success(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn is_client_error(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn is_server_error(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/config.rs:445:18 [INFO] [stdout] | [INFO] [stdout] 127 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 445 | pub async fn save_token(&mut self, name: &str, token: StoredToken) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | pub fn get_token(&self, name: &str) -> Option<&StoredToken> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | pub async fn delete_token(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | pub fn list_tokens(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn validate(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | pub fn get_color_scheme(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | pub fn should_use_colors(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/output.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ResponseFormatter { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pretty_format_json` is never used [INFO] [stdout] --> src/output.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl ResponseFormatter { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | fn pretty_format_json(&self, json_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_header`, `set_body`, `add_tag`, and `remove_tag` are never used [INFO] [stdout] --> src/request.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl SavedRequest { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn add_header(&mut self, key: String, value: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn set_body(&mut self, body: Option) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn add_tag(&mut self, tag: String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn remove_tag(&mut self, tag: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `headers`, `description`, `tag`, and `tags` are never used [INFO] [stdout] --> src/request.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl RequestBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn name(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn headers(mut self, headers: HashMap) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn description(mut self, description: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn tag(mut self, tag: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn tags(mut self, tags: Vec) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_request`, `remove_request`, `find_request`, and `find_request_mut` are never used [INFO] [stdout] --> src/request.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl RequestCollection { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 226 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn add_request(&mut self, request: SavedRequest) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn remove_request(&mut self, request_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn find_request(&self, name: &str) -> Option<&SavedRequest> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn find_request_mut(&mut self, name: &str) -> Option<&mut SavedRequest> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestTemplate` is never constructed [INFO] [stdout] --> src/request.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 263 | pub struct RequestTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TemplateVariable` is never constructed [INFO] [stdout] --> src/request.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct TemplateVariable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VariableType` is never used [INFO] [stdout] --> src/request.rs:281:10 [INFO] [stdout] | [INFO] [stdout] 281 | pub enum VariableType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_variable`, `add_environment`, `render`, and `replace_variables` are never used [INFO] [stdout] --> src/request.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 290 | impl RequestTemplate { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 291 | pub fn new(name: String, base_request: SavedRequest) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn add_variable(&mut self, variable: TemplateVariable) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn add_environment(&mut self, name: String, variables: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | fn replace_variables(&self, text: &str, variables: &HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_request` is never used [INFO] [stdout] --> src/request.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 383 | pub fn validate_request(request: &SavedRequest) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_get_request` is never used [INFO] [stdout] --> src/request.rs:414:8 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn create_get_request(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_post_json_request` is never used [INFO] [stdout] --> src/request.rs:418:8 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn create_post_json_request(url: &str, json_body: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_authenticated_request` is never used [INFO] [stdout] --> src/request.rs:424:8 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn create_authenticated_request(url: &str, method: &str, token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/storage.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 51 | impl Storage { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 154 | pub async fn search_requests(&self, query: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub async fn create_collection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub async fn add_request_to_collection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub async fn list_collections(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub async fn get_collection(&self, name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub async fn delete_collection(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub async fn clear_history(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub async fn get_history_stats(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub async fn save_environment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub async fn get_environment(&self, name: &str) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub async fn list_environments(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | pub async fn delete_environment(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub async fn set_setting(&mut self, key: &str, value: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub async fn get_setting(&self, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub async fn list_settings(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub async fn import_data(&mut self, data: &str, merge: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | pub async fn create_backup(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | pub async fn restore_backup(&mut self, backup_path: &PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub async fn list_backups(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HistoryStats` is never constructed [INFO] [stdout] --> src/storage.rs:502:12 [INFO] [stdout] | [INFO] [stdout] 502 | pub struct HistoryStats { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_domain` is never used [INFO] [stdout] --> src/utils.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn extract_domain(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_timestamp` is never used [INFO] [stdout] --> src/utils.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn format_timestamp(timestamp: SystemTime) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `time_ago` is never used [INFO] [stdout] --> src/utils.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn time_ago(timestamp: SystemTime) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_filename` is never used [INFO] [stdout] --> src/utils.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn sanitize_filename(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_content_type` is never used [INFO] [stdout] --> src/utils.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn parse_content_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_extension` is never used [INFO] [stdout] --> src/utils.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn get_file_extension(filename: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_to_string` is never used [INFO] [stdout] --> src/utils.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn read_file_to_string(path: &std::path::Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_env_or_default` is never used [INFO] [stdout] --> src/utils.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn get_env_or_default(key: &str, default: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_env_vars` is never used [INFO] [stdout] --> src/utils.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn expand_env_vars(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_tty` is never used [INFO] [stdout] --> src/utils.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn is_tty() -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_email` is never used [INFO] [stdout] --> src/utils.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn is_valid_email(email: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_request_id` is never used [INFO] [stdout] --> src/utils.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn generate_request_id() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_headers` is never used [INFO] [stdout] --> src/utils.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn merge_headers( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_headers` is never used [INFO] [stdout] --> src/utils.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn filter_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Timer` is never constructed [INFO] [stdout] --> src/utils.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Timer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `elapsed`, `elapsed_ms`, and `restart` are never used [INFO] [stdout] --> src/utils.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 328 | impl Timer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 329 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn elapsed(&self) -> Duration { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn elapsed_ms(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub fn restart(&mut self) -> Duration { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diff_json` is never used [INFO] [stdout] --> src/utils.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn diff_json(old: &str, new: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RetryConfig` is never constructed [INFO] [stdout] --> src/utils.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | pub struct RetryConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retry_with_backoff` is never used [INFO] [stdout] --> src/utils.rs:386:14 [INFO] [stdout] | [INFO] [stdout] 386 | pub async fn retry_with_backoff(config: RetryConfig, mut operation: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorScheme` is never constructed [INFO] [stdout] --> src/utils.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 417 | pub struct ColorScheme { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `dark` and `light` are never used [INFO] [stdout] --> src/utils.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 426 | impl ColorScheme { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 427 | pub fn dark() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | pub fn light() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_progress_bar` is never used [INFO] [stdout] --> src/utils.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn create_progress_bar(len: u64) -> indicatif::ProgressBar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fuzzy_sort` is never used [INFO] [stdout] --> src/utils.rs:481:8 [INFO] [stdout] | [INFO] [stdout] 481 | pub fn fuzzy_sort(items: &mut [(f64, T)]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_request` is never used [INFO] [stdout] --> src/utils.rs:653:12 [INFO] [stdout] | [INFO] [stdout] 653 | pub fn create_test_request() -> crate::request::SavedRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_response` is never used [INFO] [stdout] --> src/utils.rs:661:12 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn create_test_response() -> crate::client::Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 46.47s [INFO] running `Command { std: "docker" "inspect" "0e6e89293b915f9783a98a6d7e9ff2636d9b259539b6b96a008b085d6cad7fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e6e89293b915f9783a98a6d7e9ff2636d9b259539b6b96a008b085d6cad7fd5", kill_on_drop: false }` [INFO] [stdout] 0e6e89293b915f9783a98a6d7e9ff2636d9b259539b6b96a008b085d6cad7fd5