[INFO] fetching crate terzi 1.1.0... [INFO] testing terzi-1.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate terzi 1.1.0 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate terzi 1.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 298170402f44a31952e880d654a6f06a2206c9acb0e3e317b5631fc6b521de09 [INFO] running `Command { std: "docker" "start" "-a" "298170402f44a31952e880d654a6f06a2206c9acb0e3e317b5631fc6b521de09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "298170402f44a31952e880d654a6f06a2206c9acb0e3e317b5631fc6b521de09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "298170402f44a31952e880d654a6f06a2206c9acb0e3e317b5631fc6b521de09", kill_on_drop: false }` [INFO] [stdout] 298170402f44a31952e880d654a6f06a2206c9acb0e3e317b5631fc6b521de09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb28008bcfd65d18b62b74b9ede8d40171b24f46c0e2e3bd67845c02ff2123e8 [INFO] running `Command { std: "docker" "start" "-a" "fb28008bcfd65d18b62b74b9ede8d40171b24f46c0e2e3bd67845c02ff2123e8", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling quick-xml v0.38.0 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling comfy-table v7.1.4 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [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 clap_derive v4.5.41 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.12 [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 strum v0.25.0 [INFO] [stderr] Compiling ratatui v0.24.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling serde v1.0.219 [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 pest_generator v2.8.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [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 json5 v0.4.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling plist v1.7.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [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 publicsuffix v2.3.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling syntect v5.2.0 [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 1m 06s [INFO] running `Command { std: "docker" "inspect" "fb28008bcfd65d18b62b74b9ede8d40171b24f46c0e2e3bd67845c02ff2123e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb28008bcfd65d18b62b74b9ede8d40171b24f46c0e2e3bd67845c02ff2123e8", kill_on_drop: false }` [INFO] [stdout] fb28008bcfd65d18b62b74b9ede8d40171b24f46c0e2e3bd67845c02ff2123e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0620086fa54ba8d8c14d764ce7c4136a88a8036b1a958ce2573ec72fd6782e1a [INFO] running `Command { std: "docker" "start" "-a" "0620086fa54ba8d8c14d764ce7c4136a88a8036b1a958ce2573ec72fd6782e1a", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling http-types v2.12.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 infer v0.2.3 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling retain_mut v0.1.9 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling deadpool v0.9.5 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.3.26 [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: `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: 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: 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 34.01s [INFO] running `Command { std: "docker" "inspect" "0620086fa54ba8d8c14d764ce7c4136a88a8036b1a958ce2573ec72fd6782e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0620086fa54ba8d8c14d764ce7c4136a88a8036b1a958ce2573ec72fd6782e1a", kill_on_drop: false }` [INFO] [stdout] 0620086fa54ba8d8c14d764ce7c4136a88a8036b1a958ce2573ec72fd6782e1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c511a8602baa8a18e017de5ac49f0a02616f9fdfe0a640ae950259c128c3dbb3 [INFO] running `Command { std: "docker" "start" "-a" "c511a8602baa8a18e017de5ac49f0a02616f9fdfe0a640ae950259c128c3dbb3", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Request`, `Response as ReqwestResponse`, and `StatusCode` [INFO] [stderr] --> src/client.rs:2:31 [INFO] [stderr] | [INFO] [stderr] 2 | use reqwest::{Client, Method, Request, Response as ReqwestResponse, StatusCode}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `MultiSelect` [INFO] [stderr] --> src/interactive.rs:4:46 [INFO] [stderr] | [INFO] [stderr] 4 | use dialoguer::{Confirm, FuzzySelect, Input, MultiSelect, Select, theme::ColorfulTheme}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `utils::*` [INFO] [stderr] --> src/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use utils::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key_name` [INFO] [stderr] --> src/interactive.rs:256:21 [INFO] [stderr] | [INFO] [stderr] 256 | let key_name: String = Input::with_theme(&ColorfulTheme::default()) [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key_value` [INFO] [stderr] --> src/interactive.rs:260:21 [INFO] [stderr] | [INFO] [stderr] 260 | let key_value: String = Input::with_theme(&ColorfulTheme::default()) [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_path` [INFO] [stderr] --> src/interactive.rs:349:21 [INFO] [stderr] | [INFO] [stderr] 349 | let file_path: String = Input::with_theme(&ColorfulTheme::default()) [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/request.rs:349:14 [INFO] [stderr] | [INFO] [stderr] 349 | for (key, value) in rendered_request.headers.iter_mut() { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `column_separator` [INFO] [stderr] --> src/utils.rs:518:9 [INFO] [stderr] | [INFO] [stderr] 518 | let column_separator = 3; // Space between columns [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_separator` [INFO] [stderr] [INFO] [stderr] warning: function `confirm_action` is never used [INFO] [stderr] --> src/cli.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn confirm_action(prompt: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `print_warning` is never used [INFO] [stderr] --> src/cli.rs:102:8 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn print_warning(message: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `test_connection` and `get_response_preview` are never used [INFO] [stderr] --> src/client.rs:116:18 [INFO] [stderr] | [INFO] [stderr] 27 | impl TerziClient { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 116 | pub async fn test_connection(&self, url: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 121 | pub async fn get_response_preview(&self, url: &str, limit: usize) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `is_success`, `is_client_error`, and `is_server_error` are never used [INFO] [stderr] --> src/client.rs:134:12 [INFO] [stderr] | [INFO] [stderr] 133 | impl Response { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] 134 | pub fn is_success(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 138 | pub fn is_client_error(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 142 | pub fn is_server_error(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/config.rs:445:18 [INFO] [stderr] | [INFO] [stderr] 127 | impl Config { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 445 | pub async fn save_token(&mut self, name: &str, token: StoredToken) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 451 | pub fn get_token(&self, name: &str) -> Option<&StoredToken> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 455 | pub async fn delete_token(&mut self, name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 463 | pub fn list_tokens(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 468 | pub fn validate(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 509 | pub fn get_color_scheme(&self) -> &str { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 513 | pub fn should_use_colors(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/output.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct ResponseFormatter { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 17 | config: Config, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `pretty_format_json` is never used [INFO] [stderr] --> src/output.rs:120:8 [INFO] [stderr] | [INFO] [stderr] 20 | impl ResponseFormatter { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 120 | fn pretty_format_json(&self, json_str: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `add_header`, `set_body`, `add_tag`, and `remove_tag` are never used [INFO] [stderr] --> src/request.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl SavedRequest { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn add_header(&mut self, key: String, value: String) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn set_body(&mut self, body: Option) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn add_tag(&mut self, tag: String) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn remove_tag(&mut self, tag: &str) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `name`, `headers`, `description`, `tag`, and `tags` are never used [INFO] [stderr] --> src/request.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 71 | impl RequestBuilder { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 92 | pub fn name(mut self, name: &str) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 104 | pub fn headers(mut self, headers: HashMap) -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 196 | pub fn description(mut self, description: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 201 | pub fn tag(mut self, tag: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 206 | pub fn tags(mut self, tags: Vec) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `add_request`, `remove_request`, `find_request`, and `find_request_mut` are never used [INFO] [stderr] --> src/request.rs:226:12 [INFO] [stderr] | [INFO] [stderr] 225 | impl RequestCollection { [INFO] [stderr] | ---------------------- associated items in this implementation [INFO] [stderr] 226 | pub fn new(name: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 237 | pub fn add_request(&mut self, request: SavedRequest) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 242 | pub fn remove_request(&mut self, request_id: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 252 | pub fn find_request(&self, name: &str) -> Option<&SavedRequest> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 256 | pub fn find_request_mut(&mut self, name: &str) -> Option<&mut SavedRequest> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RequestTemplate` is never constructed [INFO] [stderr] --> src/request.rs:263:12 [INFO] [stderr] | [INFO] [stderr] 263 | pub struct RequestTemplate { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TemplateVariable` is never constructed [INFO] [stderr] --> src/request.rs:272:12 [INFO] [stderr] | [INFO] [stderr] 272 | pub struct TemplateVariable { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `VariableType` is never used [INFO] [stderr] --> src/request.rs:281:10 [INFO] [stderr] | [INFO] [stderr] 281 | pub enum VariableType { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `add_variable`, `add_environment`, `render`, and `replace_variables` are never used [INFO] [stderr] --> src/request.rs:291:12 [INFO] [stderr] | [INFO] [stderr] 290 | impl RequestTemplate { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 291 | pub fn new(name: String, base_request: SavedRequest) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 301 | pub fn add_variable(&mut self, variable: TemplateVariable) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 305 | pub fn add_environment(&mut self, name: String, variables: HashMap) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 309 | pub fn render( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 361 | fn replace_variables(&self, text: &str, variables: &HashMap) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `validate_request` is never used [INFO] [stderr] --> src/request.rs:383:8 [INFO] [stderr] | [INFO] [stderr] 383 | pub fn validate_request(request: &SavedRequest) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_get_request` is never used [INFO] [stderr] --> src/request.rs:414:8 [INFO] [stderr] | [INFO] [stderr] 414 | pub fn create_get_request(url: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_post_json_request` is never used [INFO] [stderr] --> src/request.rs:418:8 [INFO] [stderr] | [INFO] [stderr] 418 | pub fn create_post_json_request(url: &str, json_body: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_authenticated_request` is never used [INFO] [stderr] --> src/request.rs:424:8 [INFO] [stderr] | [INFO] [stderr] 424 | pub fn create_authenticated_request(url: &str, method: &str, token: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/storage.rs:154:18 [INFO] [stderr] | [INFO] [stderr] 51 | impl Storage { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 154 | pub async fn search_requests(&self, query: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 203 | pub async fn create_collection( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 217 | pub async fn add_request_to_collection( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 234 | pub async fn list_collections(&self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 241 | pub async fn get_collection(&self, name: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 245 | pub async fn delete_collection(&mut self, name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 320 | pub async fn clear_history(&mut self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 326 | pub async fn get_history_stats(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 362 | pub async fn save_environment( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 372 | pub async fn get_environment(&self, name: &str) -> Result>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 376 | pub async fn list_environments(&self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 382 | pub async fn delete_environment(&mut self, name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 391 | pub async fn set_setting(&mut self, key: &str, value: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 399 | pub async fn get_setting(&self, key: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 403 | pub async fn list_settings(&self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 418 | pub async fn import_data(&mut self, data: &str, merge: bool) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 443 | pub async fn create_backup(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 461 | pub async fn restore_backup(&mut self, backup_path: &PathBuf) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 470 | pub async fn list_backups(&self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `HistoryStats` is never constructed [INFO] [stderr] --> src/storage.rs:502:12 [INFO] [stderr] | [INFO] [stderr] 502 | pub struct HistoryStats { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `normalize_url` is never used [INFO] [stderr] --> src/utils.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn normalize_url(url: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_domain` is never used [INFO] [stderr] --> src/utils.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn extract_domain(url: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `format_timestamp` is never used [INFO] [stderr] --> src/utils.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn format_timestamp(timestamp: SystemTime) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `time_ago` is never used [INFO] [stderr] --> src/utils.rs:59:8 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn time_ago(timestamp: SystemTime) -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sanitize_filename` is never used [INFO] [stderr] --> src/utils.rs:87:8 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn sanitize_filename(name: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_content_type` is never used [INFO] [stderr] --> src/utils.rs:129:8 [INFO] [stderr] | [INFO] [stderr] 129 | pub fn parse_content_type( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `guess_content_type` is never used [INFO] [stderr] --> src/utils.rs:147:8 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn guess_content_type(body: &str) -> &'static str { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_file_extension` is never used [INFO] [stderr] --> src/utils.rs:168:8 [INFO] [stderr] | [INFO] [stderr] 168 | pub fn get_file_extension(filename: &str) -> Option<&str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_file_to_string` is never used [INFO] [stderr] --> src/utils.rs:174:8 [INFO] [stderr] | [INFO] [stderr] 174 | pub fn read_file_to_string(path: &std::path::Path) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_env_or_default` is never used [INFO] [stderr] --> src/utils.rs:179:8 [INFO] [stderr] | [INFO] [stderr] 179 | pub fn get_env_or_default(key: &str, default: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `expand_env_vars` is never used [INFO] [stderr] --> src/utils.rs:183:8 [INFO] [stderr] | [INFO] [stderr] 183 | pub fn expand_env_vars(text: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_tty` is never used [INFO] [stderr] --> src/utils.rs:209:8 [INFO] [stderr] | [INFO] [stderr] 209 | pub fn is_tty() -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_valid_email` is never used [INFO] [stderr] --> src/utils.rs:214:8 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn is_valid_email(email: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_request_id` is never used [INFO] [stderr] --> src/utils.rs:255:8 [INFO] [stderr] | [INFO] [stderr] 255 | pub fn generate_request_id() -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `merge_headers` is never used [INFO] [stderr] --> src/utils.rs:260:8 [INFO] [stderr] | [INFO] [stderr] 260 | pub fn merge_headers( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `filter_headers` is never used [INFO] [stderr] --> src/utils.rs:269:8 [INFO] [stderr] | [INFO] [stderr] 269 | pub fn filter_headers( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_template_variables` is never used [INFO] [stderr] --> src/utils.rs:286:8 [INFO] [stderr] | [INFO] [stderr] 286 | pub fn extract_template_variables(text: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Timer` is never constructed [INFO] [stderr] --> src/utils.rs:324:12 [INFO] [stderr] | [INFO] [stderr] 324 | pub struct Timer { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `elapsed`, `elapsed_ms`, and `restart` are never used [INFO] [stderr] --> src/utils.rs:329:12 [INFO] [stderr] | [INFO] [stderr] 328 | impl Timer { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 329 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 335 | pub fn elapsed(&self) -> Duration { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 339 | pub fn elapsed_ms(&self) -> u128 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 343 | pub fn restart(&mut self) -> Duration { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `diff_json` is never used [INFO] [stderr] --> src/utils.rs:351:8 [INFO] [stderr] | [INFO] [stderr] 351 | pub fn diff_json(old: &str, new: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RetryConfig` is never constructed [INFO] [stderr] --> src/utils.rs:368:12 [INFO] [stderr] | [INFO] [stderr] 368 | pub struct RetryConfig { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `retry_with_backoff` is never used [INFO] [stderr] --> src/utils.rs:386:14 [INFO] [stderr] | [INFO] [stderr] 386 | pub async fn retry_with_backoff(config: RetryConfig, mut operation: F) -> Result [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ColorScheme` is never constructed [INFO] [stderr] --> src/utils.rs:417:12 [INFO] [stderr] | [INFO] [stderr] 417 | pub struct ColorScheme { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `dark` and `light` are never used [INFO] [stderr] --> src/utils.rs:427:12 [INFO] [stderr] | [INFO] [stderr] 426 | impl ColorScheme { [INFO] [stderr] | ---------------- associated functions in this implementation [INFO] [stderr] 427 | pub fn dark() -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 438 | pub fn light() -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_progress_bar` is never used [INFO] [stderr] --> src/utils.rs:451:8 [INFO] [stderr] | [INFO] [stderr] 451 | pub fn create_progress_bar(len: u64) -> indicatif::ProgressBar { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `fuzzy_sort` is never used [INFO] [stderr] --> src/utils.rs:481:8 [INFO] [stderr] | [INFO] [stderr] 481 | pub fn fuzzy_sort(items: &mut [(f64, T)]) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `terzi` (bin "terzi") generated 54 warnings (run `cargo fix --bin "terzi"` to apply 3 suggestions) [INFO] [stderr] warning: function `create_test_request` is never used [INFO] [stderr] --> src/utils.rs:653:12 [INFO] [stderr] | [INFO] [stderr] 653 | pub fn create_test_request() -> crate::request::SavedRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_test_response` is never used [INFO] [stderr] --> src/utils.rs:661:12 [INFO] [stderr] | [INFO] [stderr] 661 | pub fn create_test_response() -> crate::client::Response { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `terzi` (bin "terzi" test) generated 53 warnings (51 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/terzi-ee0d0f03b9b7bbf1) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test utils::tests::test_format_bytes ... ok [INFO] [stdout] test utils::tests::test_is_valid_json ... ok [INFO] [stdout] test utils::tests::test_guess_content_type ... ok [INFO] [stdout] test utils::tests::test_extract_template_variables ... ok [INFO] [stdout] test utils::tests::test_normalize_url ... ok [INFO] [stdout] test utils::tests::test_format_duration ... ok [INFO] [stdout] test utils::tests::test_fuzzy_match ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/cli_integration.rs (/opt/rustwide/target/debug/deps/cli_integration-fa89eb879bf2a491) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test test_cli_help ... ok [INFO] [stdout] test test_cli_version ... ok [INFO] [stdout] test test_list_command ... ok [INFO] [stdout] test test_export_command ... ok [INFO] [stdout] test test_error_handling_network_failure ... ok [INFO] [stdout] test test_get_request_with_headers ... ok [INFO] [stdout] test test_post_request_with_form_data ... ok [INFO] [stdout] test test_invalid_url ... ok [INFO] [stdout] test test_multiple_headers ... FAILED [INFO] [stdout] test test_authentication_basic ... FAILED [INFO] [stdout] test test_authentication_bearer ... ok [INFO] [stdout] test test_version_command ... ok [INFO] [stdout] test test_config_commands ... ok [INFO] [stdout] test test_basic_get_request ... ok [INFO] [stdout] test test_include_headers ... ok [INFO] [stdout] test test_request_with_timeout ... ok [INFO] [stdout] test test_invalid_json ... ok [INFO] [stdout] test test_verbose_output ... ok [INFO] [stdout] test test_post_request_with_json ... ok [INFO] [stdout] test test_history_command ... ok [INFO] [stderr] error: test failed, to rerun pass `--test cli_integration` [INFO] [stdout] test test_config_set_and_get ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_multiple_headers stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_multiple_headers' (65) panicked at tests/cli_integration.rs:273:13: [INFO] [stdout] Command failed: ❌ Error: Request failed: error sending request for url (https://httpbin.org/headers): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution → error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution → dns error: failed to lookup address information: Temporary failure in name resolution → failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x587ec2e8dba2 - std::backtrace_rs::backtrace::libunwind::trace::h589a96ef7638b383 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x587ec2e8dba2 - std::backtrace_rs::backtrace::trace_unsynchronized::h23a30a7548c40de4 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x587ec2e8dba2 - std::sys::backtrace::_print_fmt::h87dabd6535c8c07a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x587ec2e8dba2 - ::fmt::hffd20ad4e5eca8ab [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x587ec2e9eebf - core::fmt::rt::Argument::fmt::h75c83e3fd5ce2419 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x587ec2e9eebf - core::fmt::write::h6d9d3a7cfd7b84f5 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x587ec2e59473 - std::io::default_write_fmt::he11a713685e2464d [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x587ec2e59473 - std::io::Write::write_fmt::h9d08f7e050bd2612 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x587ec2e65af2 - std::sys::backtrace::BacktraceLock::print::hb28797143397220e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x587ec2e6a8bf - std::panicking::default_hook::{{closure}}::h7555113b62983743 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x587ec2e6a751 - std::panicking::default_hook::h2714b564abe8d914 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x587ec2dec8ce - as core::ops::function::Fn>::call::h0e9de8cceb22406e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x587ec2dec8ce - test::test_main_with_exit_callback::{{closure}}::h8125bd66cf4739d0 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x587ec2e6af5e - as core::ops::function::Fn>::call::h1fd0a0802eaec16b [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x587ec2e6af5e - std::panicking::panic_with_hook::h190dc82263685ec5 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x587ec2e6ad2a - std::panicking::panic_handler::{{closure}}::h8b036a1b366643ac [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x587ec2e65c29 - std::sys::backtrace::__rust_end_short_backtrace::h45affcfc0c830da8 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x587ec2e4d1ad - __rustc[9b67c8562bba447b]::rust_begin_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x587ec2ea6e60 - core::panicking::panic_fmt::hc084f85b1e76c16d [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x587ec2dc454c - cli_integration::test_multiple_headers::h66bfed788c2a44fe [INFO] [stdout] at /opt/rustwide/workdir/tests/cli_integration.rs:273:13 [INFO] [stdout] 20: 0x587ec2dc4597 - cli_integration::test_multiple_headers::{{closure}}::h5c4bf5b12c95ce6f [INFO] [stdout] at /opt/rustwide/workdir/tests/cli_integration.rs:255:27 [INFO] [stdout] 21: 0x587ec2dc8906 - core::ops::function::FnOnce::call_once::hcf3977b0a0b026d2 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 22: 0x587ec2dec68b - core::ops::function::FnOnce::call_once::hdbf42be2a49fb464 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 23: 0x587ec2dec68b - test::__rust_begin_short_backtrace::h8ae08814d38cb356 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:663:18 [INFO] [stdout] 24: 0x587ec2e02175 - test::run_test_in_process::{{closure}}::h54574ee4f414d690 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:74 [INFO] [stdout] 25: 0x587ec2e02175 - as core::ops::function::FnOnce<()>>::call_once::h01a0b7e7aad1a501 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 26: 0x587ec2e02175 - std::panicking::catch_unwind::do_call::h23820e817c5612cd [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 27: 0x587ec2e02175 - std::panicking::catch_unwind::h89c73a1febce5587 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 28: 0x587ec2e02175 - std::panic::catch_unwind::h6f55caf410861914 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 29: 0x587ec2e02175 - test::run_test_in_process::h4db851878e5d3983 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:27 [INFO] [stdout] 30: 0x587ec2e02175 - test::run_test::{{closure}}::h57e8c5acaceacd24 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:607:43 [INFO] [stdout] 31: 0x587ec2dd8b64 - test::run_test::{{closure}}::he775ccc3a9d3b97e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:637:41 [INFO] [stdout] 32: 0x587ec2dd8b64 - std::sys::backtrace::__rust_begin_short_backtrace::hcd94d85d7765225a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 33: 0x587ec2ddc3aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha814de8393f07830 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 34: 0x587ec2ddc3aa - as core::ops::function::FnOnce<()>>::call_once::h8deb00af0abdeaf1 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 35: 0x587ec2ddc3aa - std::panicking::catch_unwind::do_call::h1917979b0c279ea2 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 36: 0x587ec2ddc3aa - std::panicking::catch_unwind::h791ad91fee6ce34e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 37: 0x587ec2ddc3aa - std::panic::catch_unwind::h982b8f40ed9c3cce [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 38: 0x587ec2ddc3aa - std::thread::Builder::spawn_unchecked_::{{closure}}::h545e54700c945db4 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 39: 0x587ec2ddc3aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb427481a5227d78a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 40: 0x587ec2e5fd1f - as core::ops::function::FnOnce>::call_once::h1d452951a81e9d0a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 41: 0x587ec2e5fd1f - std::sys::pal::unix::thread::Thread::new::thread_start::h29c84e109630689a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 42: 0x751c3ae43aa4 - [INFO] [stdout] 43: 0x751c3aed0a34 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_authentication_basic stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_authentication_basic' (34) panicked at tests/cli_integration.rs:148:5: [INFO] [stdout] assertion failed: output.status.success() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x587ec2e8dba2 - std::backtrace_rs::backtrace::libunwind::trace::h589a96ef7638b383 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x587ec2e8dba2 - std::backtrace_rs::backtrace::trace_unsynchronized::h23a30a7548c40de4 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x587ec2e8dba2 - std::sys::backtrace::_print_fmt::h87dabd6535c8c07a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x587ec2e8dba2 - ::fmt::hffd20ad4e5eca8ab [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x587ec2e9eebf - core::fmt::rt::Argument::fmt::h75c83e3fd5ce2419 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x587ec2e9eebf - core::fmt::write::h6d9d3a7cfd7b84f5 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x587ec2e59473 - std::io::default_write_fmt::he11a713685e2464d [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x587ec2e59473 - std::io::Write::write_fmt::h9d08f7e050bd2612 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x587ec2e65af2 - std::sys::backtrace::BacktraceLock::print::hb28797143397220e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x587ec2e6a8bf - std::panicking::default_hook::{{closure}}::h7555113b62983743 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x587ec2e6a751 - std::panicking::default_hook::h2714b564abe8d914 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x587ec2dec8ce - as core::ops::function::Fn>::call::h0e9de8cceb22406e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x587ec2dec8ce - test::test_main_with_exit_callback::{{closure}}::h8125bd66cf4739d0 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x587ec2e6af5e - as core::ops::function::Fn>::call::h1fd0a0802eaec16b [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x587ec2e6af5e - std::panicking::panic_with_hook::h190dc82263685ec5 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x587ec2e6acf6 - std::panicking::panic_handler::{{closure}}::h8b036a1b366643ac [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x587ec2e65c29 - std::sys::backtrace::__rust_end_short_backtrace::h45affcfc0c830da8 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x587ec2e4d1ad - __rustc[9b67c8562bba447b]::rust_begin_unwind [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x587ec2ea6e60 - core::panicking::panic_fmt::hc084f85b1e76c16d [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x587ec2ea6e3c - core::panicking::panic::h019d7f9cc862af37 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x587ec2dc53f3 - cli_integration::test_authentication_basic::h1471763f75dea586 [INFO] [stdout] at /opt/rustwide/workdir/tests/cli_integration.rs:148:5 [INFO] [stdout] 21: 0x587ec2dc5457 - cli_integration::test_authentication_basic::{{closure}}::hf3466744a3892bd9 [INFO] [stdout] at /opt/rustwide/workdir/tests/cli_integration.rs:138:31 [INFO] [stdout] 22: 0x587ec2dc8846 - core::ops::function::FnOnce::call_once::hb6828cb271382308 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 23: 0x587ec2dec68b - core::ops::function::FnOnce::call_once::hdbf42be2a49fb464 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x587ec2dec68b - test::__rust_begin_short_backtrace::h8ae08814d38cb356 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x587ec2e02175 - test::run_test_in_process::{{closure}}::h54574ee4f414d690 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x587ec2e02175 - as core::ops::function::FnOnce<()>>::call_once::h01a0b7e7aad1a501 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x587ec2e02175 - std::panicking::catch_unwind::do_call::h23820e817c5612cd [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x587ec2e02175 - std::panicking::catch_unwind::h89c73a1febce5587 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x587ec2e02175 - std::panic::catch_unwind::h6f55caf410861914 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x587ec2e02175 - test::run_test_in_process::h4db851878e5d3983 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x587ec2e02175 - test::run_test::{{closure}}::h57e8c5acaceacd24 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x587ec2dd8b64 - test::run_test::{{closure}}::he775ccc3a9d3b97e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x587ec2dd8b64 - std::sys::backtrace::__rust_begin_short_backtrace::hcd94d85d7765225a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x587ec2ddc3aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha814de8393f07830 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x587ec2ddc3aa - as core::ops::function::FnOnce<()>>::call_once::h8deb00af0abdeaf1 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x587ec2ddc3aa - std::panicking::catch_unwind::do_call::h1917979b0c279ea2 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x587ec2ddc3aa - std::panicking::catch_unwind::h791ad91fee6ce34e [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x587ec2ddc3aa - std::panic::catch_unwind::h982b8f40ed9c3cce [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x587ec2ddc3aa - std::thread::Builder::spawn_unchecked_::{{closure}}::h545e54700c945db4 [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x587ec2ddc3aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb427481a5227d78a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 41: 0x587ec2e5fd1f - as core::ops::function::FnOnce>::call_once::h1d452951a81e9d0a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 42: 0x587ec2e5fd1f - std::sys::pal::unix::thread::Thread::new::thread_start::h29c84e109630689a [INFO] [stdout] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 43: 0x751c3ae43aa4 - [INFO] [stdout] 44: 0x751c3aed0a34 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_authentication_basic [INFO] [stdout] test_multiple_headers [INFO] [stdout] [INFO] [stdout] test result: FAILED. 19 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.95s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c511a8602baa8a18e017de5ac49f0a02616f9fdfe0a640ae950259c128c3dbb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c511a8602baa8a18e017de5ac49f0a02616f9fdfe0a640ae950259c128c3dbb3", kill_on_drop: false }` [INFO] [stdout] c511a8602baa8a18e017de5ac49f0a02616f9fdfe0a640ae950259c128c3dbb3