[INFO] cloning repository https://github.com/babak-kh/restopher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/babak-kh/restopher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabak-kh%2Frestopher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabak-kh%2Frestopher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d8a623e2867b8f4b601aed3902f96273f80f709 [INFO] testing babak-kh/restopher against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbabak-kh%2Frestopher" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/babak-kh/restopher on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/babak-kh/restopher [INFO] finished tweaking git repo https://github.com/babak-kh/restopher [INFO] tweaked toml for git repo https://github.com/babak-kh/restopher written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/babak-kh/restopher 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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ddfe845bef01b64467f992a39830d5b4f53e77ca7cb7224757e51f412f15cbf [INFO] running `Command { std: "docker" "start" "-a" "2ddfe845bef01b64467f992a39830d5b4f53e77ca7cb7224757e51f412f15cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ddfe845bef01b64467f992a39830d5b4f53e77ca7cb7224757e51f412f15cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ddfe845bef01b64467f992a39830d5b4f53e77ca7cb7224757e51f412f15cbf", kill_on_drop: false }` [INFO] [stdout] 2ddfe845bef01b64467f992a39830d5b4f53e77ca7cb7224757e51f412f15cbf [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96bc98fac3293843c1d453b6bdd210f4064ba427c6307d48193dcce02050bf8b [INFO] running `Command { std: "docker" "start" "-a" "96bc98fac3293843c1d453b6bdd210f4064ba427c6307d48193dcce02050bf8b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling wayland-client v0.31.8 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling quick-xml v0.37.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling wayland-backend v0.3.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling wayland-protocols v0.32.6 [INFO] [stderr] Compiling wayland-cursor v0.31.8 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling ratatui v0.23.0 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling ratatui v0.28.1 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tui-textarea v0.2.4 [INFO] [stderr] Compiling x11-clipboard v0.9.3 [INFO] [stderr] Compiling tui-tree-widget v0.22.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.6 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde-xml-rs v0.6.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling copypasta v0.10.1 [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 restopher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `os` [INFO] [stdout] --> src/collection.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs, os}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_string_pretty` [INFO] [stdout] --> src/components/request_tab/mod.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | use serde_json::{from_str, to_string_pretty}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `focus` should have an upper camel case name [INFO] [stdout] --> src/components/requests/mod.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum focus { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Focus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Wrap` [INFO] [stdout] --> src/components/response_tab/mod.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | widgets::{Block, Borders, Cell, Paragraph, Row, Table, Wrap}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/components/text_area.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace_dbg` [INFO] [stdout] --> src/components/text_area.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | trace_dbg, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Line`, `Margin`, `Rect`, `ScrollbarOrientation`, `ScrollbarState`, `Scrollbar`, `Span`, `Style`, and `Wrap` [INFO] [stdout] --> src/components/yes_no_popup.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | layout::{Alignment, Constraint, Layout, Margin, Rect}, [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] 3 | style::{Color, Style}, [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] 4 | text::{Line, Span}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 5 | widgets::{ [INFO] [stdout] 6 | Block, Borders, Clear, Paragraph, Scrollbar, ScrollbarOrientation, ScrollbarState, Wrap, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `addr` is never read [INFO] [stdout] --> src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | let mut addr = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `params` is never read [INFO] [stdout] --> src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | let mut params = HashMap::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `body` is never read [INFO] [stdout] --> src/app.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | let mut body = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name [INFO] [stdout] --> src/components/requests/mod.rs:184:45 [INFO] [stdout] | [INFO] [stdout] 184 | let r = centered_rect(60, 20, f.size()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/app.rs:430:33 [INFO] [stdout] | [INFO] [stdout] 430 | ... Err(e) => match fs::File::open(format!("{}/{}.env", path, env.name)) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/app.rs:598:26 [INFO] [stdout] | [INFO] [stdout] 598 | fn replace_env(self, pattern: &Regex, replace_kvs: &HashMap) -> Self [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `replace_kvs` [INFO] [stdout] --> src/app.rs:598:43 [INFO] [stdout] | [INFO] [stdout] 598 | fn replace_env(self, pattern: &Regex, replace_kvs: &HashMap) -> Self [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replace_kvs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/app.rs:608:14 [INFO] [stdout] | [INFO] [stdout] 608 | for (idx, matched) in pattern.captures_iter(&self).enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/app.rs:633:18 [INFO] [stdout] | [INFO] [stdout] 633 | for (idx, matched) in pattern.captures_iter(&key).enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/app.rs:647:18 [INFO] [stdout] | [INFO] [stdout] 647 | for (idx, matched) in pattern.captures_iter(&value).enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tt` [INFO] [stdout] --> src/components/blocks.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let tt: Vec> = Vec::new(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/components/pop_up.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | Key::Char(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/components/request_tab/view.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | Focus::Header(idx) => Focus::Body, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/components/request_tab/view.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | Focus::Param(idx) => Focus::Header(0), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/components/request_tab/mod.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | fn handle_header_update(&mut self, req: &mut Request, event: Event) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/components/request_tab/mod.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | fn handle_param_update(&mut self, req: &mut Request, event: Event) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `selected` [INFO] [stdout] --> src/components/request_tab/mod.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | selected: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/components/requests/mod.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(names: Vec, idx: usize) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/components/requests/mod.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(names: Vec, idx: usize) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/components/response_tab/view.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | Focus::Header(idx) => Focus::Body, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/components/response_tab/mod.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn update(&mut self, req: &mut Request, event: &Event) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cursor_pos_y` is assigned to, but never used [INFO] [stdout] --> src/components/text_area.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | let mut cursor_pos_y: usize = self.cursor_pos.1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cursor_pos_y` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/components/text_box.rs:91:51 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn draw(&self, f: &mut Frame, rect: Rect, name: &str, is_focused: bool) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/environments.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn add_env(&mut self, name: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/app.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | NoRequestErr(usize), [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 40 - NoRequestErr(usize), [INFO] [stdout] 40 + NoRequestErr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/app.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | ReqwestErr(reqwest::Error), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 - ReqwestErr(reqwest::Error), [INFO] [stdout] 41 + ReqwestErr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/app.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | JsonErr(serde_json::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 - JsonErr(serde_json::Error), [INFO] [stdout] 42 + JsonErr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/app.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | FileOperationsErr(std::io::Error), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 - FileOperationsErr(std::io::Error), [INFO] [stdout] 44 + FileOperationsErr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParamIsNotString` is never constructed [INFO] [stdout] --> src/app.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | ParamIsNotString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_reqwest`, `from_serde`, and `to_string` are never used [INFO] [stdout] --> src/app.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl Error { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 48 | fn from_reqwest(e: reqwest::Error) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn from_serde(e: serde_json::Error) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_collections` is never used [INFO] [stdout] --> src/app.rs:473:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl<'a> App<'a> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 473 | pub fn set_collections(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string`, `pop`, and `add` are never used [INFO] [stdout] --> src/components/address_bar/address.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Address { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 9 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn pop(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn add(&mut self, c: char) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_key_active` is never used [INFO] [stdout] --> src/components/kv/mod.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl KV { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn is_key_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content`, `cancel`, and `action` are never read [INFO] [stdout] --> src/components/pop_up.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PopUpComponent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 13 | title: String, [INFO] [stdout] 14 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | input: TextBox, [INFO] [stdout] 16 | cancel: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | action: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PopUpComponent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `show` and `hide` are never used [INFO] [stdout] --> src/components/pop_up.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl PopUpComponent { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn show(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn hide(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/components/request_tab/request_tab.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | Headers(usize, &'a str), [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RequestTabOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 - Headers(usize, &'a str), [INFO] [stdout] 3 + Headers((), &'a str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/components/request_tab/request_tab.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | Params(usize, &'a str), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RequestTabOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - Params(usize, &'a str), [INFO] [stdout] 4 + Params((), &'a str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/components/request_tab/request_tab.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | Body(usize, &'a str), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RequestTabOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - Body(usize, &'a str), [INFO] [stdout] 5 + Body((), &'a str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReqBody` is never constructed [INFO] [stdout] --> src/components/request_tab/request_tab.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct ReqBody { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReqBody` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `split_at` is never used [INFO] [stdout] --> src/components/request_tab/request_tab.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> RequestTabOptions<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 14 | pub fn split_at(&self) -> (&str, &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `increment` and `decrement` are never used [INFO] [stdout] --> src/components/request_tab/request_tab.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> ReqTabs<'a> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn increment(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn decrement(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/components/request_tab/view.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Focus { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 2 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `focus` and `blur` are never used [INFO] [stdout] --> src/components/requests/mod.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl RequestsComponent { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn blur(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset_state` and `set_body` are never used [INFO] [stdout] --> src/components/response_tab/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl ResponseTabComponent { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn reset_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn set_body(&mut self, body: &String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/components/response_tab/response_tab.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | Body(usize, &'a str), [INFO] [stdout] | ---- ^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 3 - Body(usize, &'a str), [INFO] [stdout] 3 + Body((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/components/response_tab/response_tab.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | Headers(usize, &'a str), [INFO] [stdout] | ------- ^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 4 - Headers(usize, &'a str), [INFO] [stdout] 4 + Headers((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `split_at` is never used [INFO] [stdout] --> src/components/response_tab/response_tab.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl<'a> ResponseOptions<'a> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 7 | pub fn split_at(&self) -> (&str, &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prev` is never used [INFO] [stdout] --> src/components/response_tab/view.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Focus { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn prev(&mut self) -> Focus { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from` and `cursor_position` are never used [INFO] [stdout] --> src/components/text_area.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl TextArea { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn from(s: &String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn cursor_position(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cursor_position` and `get_index` are never used [INFO] [stdout] --> src/components/text_box.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl TextBox { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn cursor_position(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action` is never read [INFO] [stdout] --> src/components/yes_no_popup.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct YesNoPopupComponent<'a> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub action: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `default` and `into_kvs` are never used [INFO] [stdout] --> src/environments.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Environment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn into_kvs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `initial_idx` is never read [INFO] [stdout] --> src/environments.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct TempEnv { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | initial_idx: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TempEnv` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_env` is never used [INFO] [stdout] --> src/environments.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl TempEnv { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn add_env(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLOSE_ENVIRONMENTS` is never used [INFO] [stdout] --> src/keys/keys.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const CLOSE_ENVIRONMENTS: &Event = &Event { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NEW_ENVIRONMENT` is never used [INFO] [stdout] --> src/keys/keys.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const NEW_ENVIRONMENT: &Event = &Event { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string` and `change` are never used [INFO] [stdout] --> src/request/body/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl BodyKind { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 8 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn change(&self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `default`, `add`, `pop`, and `to_string` are never used [INFO] [stdout] --> src/request/body/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Body { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 27 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn add(&mut self, c: char) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn pop(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `headers` and `new` are never used [INFO] [stdout] --> src/request/request.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Response { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 54 | pub fn headers(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/request/request.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Request { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn add_to_address(&mut self, c: char, idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn remove_from_address(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn add_to_body(&mut self, c: char) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn remove_from_body(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn body(&self) -> Body { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn status_code(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn headers_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn params_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn set_response( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "96bc98fac3293843c1d453b6bdd210f4064ba427c6307d48193dcce02050bf8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96bc98fac3293843c1d453b6bdd210f4064ba427c6307d48193dcce02050bf8b", kill_on_drop: false }` [INFO] [stdout] 96bc98fac3293843c1d453b6bdd210f4064ba427c6307d48193dcce02050bf8b [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8dad17938be72eb98e84173f43a340630c9bab2f628013dd2a609e2f463b157 [INFO] running `Command { std: "docker" "start" "-a" "f8dad17938be72eb98e84173f43a340630c9bab2f628013dd2a609e2f463b157", kill_on_drop: false }` [INFO] [stderr] Compiling restopher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `os` [INFO] [stdout] --> src/collection.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs, os}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_string_pretty` [INFO] [stdout] --> src/components/request_tab/mod.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | use serde_json::{from_str, to_string_pretty}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `focus` should have an upper camel case name [INFO] [stdout] --> src/components/requests/mod.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum focus { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Focus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Wrap` [INFO] [stdout] --> src/components/response_tab/mod.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | widgets::{Block, Borders, Cell, Paragraph, Row, Table, Wrap}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/components/text_area.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace_dbg` [INFO] [stdout] --> src/components/text_area.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | trace_dbg, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `Line`, `Margin`, `Rect`, `ScrollbarOrientation`, `ScrollbarState`, `Scrollbar`, `Span`, `Style`, and `Wrap` [INFO] [stdout] --> src/components/yes_no_popup.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | layout::{Alignment, Constraint, Layout, Margin, Rect}, [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] 3 | style::{Color, Style}, [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] 4 | text::{Line, Span}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 5 | widgets::{ [INFO] [stdout] 6 | Block, Borders, Clear, Paragraph, Scrollbar, ScrollbarOrientation, ScrollbarState, Wrap, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `addr` is never read [INFO] [stdout] --> src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | let mut addr = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `params` is never read [INFO] [stdout] --> src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | let mut params = HashMap::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `body` is never read [INFO] [stdout] --> src/app.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | let mut body = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name [INFO] [stdout] --> src/components/requests/mod.rs:184:45 [INFO] [stdout] | [INFO] [stdout] 184 | let r = centered_rect(60, 20, f.size()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/app.rs:430:33 [INFO] [stdout] | [INFO] [stdout] 430 | ... Err(e) => match fs::File::open(format!("{}/{}.env", path, env.name)) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/app.rs:598:26 [INFO] [stdout] | [INFO] [stdout] 598 | fn replace_env(self, pattern: &Regex, replace_kvs: &HashMap) -> Self [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `replace_kvs` [INFO] [stdout] --> src/app.rs:598:43 [INFO] [stdout] | [INFO] [stdout] 598 | fn replace_env(self, pattern: &Regex, replace_kvs: &HashMap) -> Self [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replace_kvs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/app.rs:608:14 [INFO] [stdout] | [INFO] [stdout] 608 | for (idx, matched) in pattern.captures_iter(&self).enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/app.rs:633:18 [INFO] [stdout] | [INFO] [stdout] 633 | for (idx, matched) in pattern.captures_iter(&key).enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/app.rs:647:18 [INFO] [stdout] | [INFO] [stdout] 647 | for (idx, matched) in pattern.captures_iter(&value).enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tt` [INFO] [stdout] --> src/components/blocks.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let tt: Vec> = Vec::new(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/components/pop_up.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | Key::Char(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/components/request_tab/view.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | Focus::Header(idx) => Focus::Body, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/components/request_tab/view.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | Focus::Param(idx) => Focus::Header(0), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/components/request_tab/mod.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | fn handle_header_update(&mut self, req: &mut Request, event: Event) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/components/request_tab/mod.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | fn handle_param_update(&mut self, req: &mut Request, event: Event) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `selected` [INFO] [stdout] --> src/components/request_tab/mod.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | selected: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/components/requests/mod.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(names: Vec, idx: usize) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/components/requests/mod.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(names: Vec, idx: usize) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/components/response_tab/view.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | Focus::Header(idx) => Focus::Body, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/components/response_tab/mod.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn update(&mut self, req: &mut Request, event: &Event) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cursor_pos_y` is assigned to, but never used [INFO] [stdout] --> src/components/text_area.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | let mut cursor_pos_y: usize = self.cursor_pos.1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cursor_pos_y` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/components/text_box.rs:91:51 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn draw(&self, f: &mut Frame, rect: Rect, name: &str, is_focused: bool) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/environments.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn add_env(&mut self, name: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/app.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | NoRequestErr(usize), [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 40 - NoRequestErr(usize), [INFO] [stdout] 40 + NoRequestErr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/app.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | ReqwestErr(reqwest::Error), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 - ReqwestErr(reqwest::Error), [INFO] [stdout] 41 + ReqwestErr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/app.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | JsonErr(serde_json::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 - JsonErr(serde_json::Error), [INFO] [stdout] 42 + JsonErr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/app.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | FileOperationsErr(std::io::Error), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 - FileOperationsErr(std::io::Error), [INFO] [stdout] 44 + FileOperationsErr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParamIsNotString` is never constructed [INFO] [stdout] --> src/app.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | ParamIsNotString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_reqwest`, `from_serde`, and `to_string` are never used [INFO] [stdout] --> src/app.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl Error { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 48 | fn from_reqwest(e: reqwest::Error) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn from_serde(e: serde_json::Error) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_collections` is never used [INFO] [stdout] --> src/app.rs:473:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl<'a> App<'a> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 473 | pub fn set_collections(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string`, `pop`, and `add` are never used [INFO] [stdout] --> src/components/address_bar/address.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Address { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 9 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn pop(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn add(&mut self, c: char) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_key_active` is never used [INFO] [stdout] --> src/components/kv/mod.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl KV { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn is_key_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content`, `cancel`, and `action` are never read [INFO] [stdout] --> src/components/pop_up.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PopUpComponent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 13 | title: String, [INFO] [stdout] 14 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | input: TextBox, [INFO] [stdout] 16 | cancel: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | action: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PopUpComponent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `show` and `hide` are never used [INFO] [stdout] --> src/components/pop_up.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl PopUpComponent { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn show(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn hide(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/components/request_tab/request_tab.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | Headers(usize, &'a str), [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RequestTabOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 - Headers(usize, &'a str), [INFO] [stdout] 3 + Headers((), &'a str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/components/request_tab/request_tab.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | Params(usize, &'a str), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RequestTabOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - Params(usize, &'a str), [INFO] [stdout] 4 + Params((), &'a str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/components/request_tab/request_tab.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | Body(usize, &'a str), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RequestTabOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - Body(usize, &'a str), [INFO] [stdout] 5 + Body((), &'a str), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReqBody` is never constructed [INFO] [stdout] --> src/components/request_tab/request_tab.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct ReqBody { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReqBody` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `split_at` is never used [INFO] [stdout] --> src/components/request_tab/request_tab.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> RequestTabOptions<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 14 | pub fn split_at(&self) -> (&str, &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `increment` and `decrement` are never used [INFO] [stdout] --> src/components/request_tab/request_tab.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> ReqTabs<'a> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn increment(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn decrement(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/components/request_tab/view.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Focus { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 2 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `focus` and `blur` are never used [INFO] [stdout] --> src/components/requests/mod.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl RequestsComponent { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn focus(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn blur(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset_state` and `set_body` are never used [INFO] [stdout] --> src/components/response_tab/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl ResponseTabComponent { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn reset_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn set_body(&mut self, body: &String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/components/response_tab/response_tab.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | Body(usize, &'a str), [INFO] [stdout] | ---- ^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 3 - Body(usize, &'a str), [INFO] [stdout] 3 + Body((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/components/response_tab/response_tab.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | Headers(usize, &'a str), [INFO] [stdout] | ------- ^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ResponseOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 4 - Headers(usize, &'a str), [INFO] [stdout] 4 + Headers((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `split_at` is never used [INFO] [stdout] --> src/components/response_tab/response_tab.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl<'a> ResponseOptions<'a> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 7 | pub fn split_at(&self) -> (&str, &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prev` is never used [INFO] [stdout] --> src/components/response_tab/view.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Focus { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn prev(&mut self) -> Focus { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from` and `cursor_position` are never used [INFO] [stdout] --> src/components/text_area.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl TextArea { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn from(s: &String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn cursor_position(&self) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cursor_position` and `get_index` are never used [INFO] [stdout] --> src/components/text_box.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl TextBox { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn cursor_position(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action` is never read [INFO] [stdout] --> src/components/yes_no_popup.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct YesNoPopupComponent<'a> { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub action: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `default` and `into_kvs` are never used [INFO] [stdout] --> src/environments.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Environment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn into_kvs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `initial_idx` is never read [INFO] [stdout] --> src/environments.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct TempEnv { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | initial_idx: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TempEnv` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_env` is never used [INFO] [stdout] --> src/environments.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl TempEnv { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn add_env(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLOSE_ENVIRONMENTS` is never used [INFO] [stdout] --> src/keys/keys.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const CLOSE_ENVIRONMENTS: &Event = &Event { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NEW_ENVIRONMENT` is never used [INFO] [stdout] --> src/keys/keys.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const NEW_ENVIRONMENT: &Event = &Event { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string` and `change` are never used [INFO] [stdout] --> src/request/body/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl BodyKind { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 8 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn change(&self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `default`, `add`, `pop`, and `to_string` are never used [INFO] [stdout] --> src/request/body/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Body { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 27 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn add(&mut self, c: char) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn pop(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `headers` and `new` are never used [INFO] [stdout] --> src/request/request.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Response { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 54 | pub fn headers(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/request/request.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Request { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn add_to_address(&mut self, c: char, idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn remove_from_address(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn add_to_body(&mut self, c: char) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn remove_from_body(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn body(&self) -> Body { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn status_code(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn headers_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn params_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn set_response( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `Command { std: "docker" "inspect" "f8dad17938be72eb98e84173f43a340630c9bab2f628013dd2a609e2f463b157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8dad17938be72eb98e84173f43a340630c9bab2f628013dd2a609e2f463b157", kill_on_drop: false }` [INFO] [stdout] f8dad17938be72eb98e84173f43a340630c9bab2f628013dd2a609e2f463b157 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8a975433891b1ba1466915dc82178374672ea1b0eb1b7dad840c70af30efb79a [INFO] running `Command { std: "docker" "start" "-a" "8a975433891b1ba1466915dc82178374672ea1b0eb1b7dad840c70af30efb79a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `os` [INFO] [stderr] --> src/collection.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{fs, os}; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `to_string_pretty` [INFO] [stderr] --> src/components/request_tab/mod.rs:16:28 [INFO] [stderr] | [INFO] [stderr] 16 | use serde_json::{from_str, to_string_pretty}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `focus` should have an upper camel case name [INFO] [stderr] --> src/components/requests/mod.rs:16:6 [INFO] [stderr] | [INFO] [stderr] 16 | enum focus { [INFO] [stderr] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Focus` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Wrap` [INFO] [stderr] --> src/components/response_tab/mod.rs:15:60 [INFO] [stderr] | [INFO] [stderr] 15 | widgets::{Block, Borders, Cell, Paragraph, Row, Table, Wrap}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value` [INFO] [stderr] --> src/components/text_area.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `trace_dbg` [INFO] [stderr] --> src/components/text_area.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | trace_dbg, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Color`, `Line`, `Margin`, `Rect`, `ScrollbarOrientation`, `ScrollbarState`, `Scrollbar`, `Span`, `Style`, and `Wrap` [INFO] [stderr] --> src/components/yes_no_popup.rs:2:45 [INFO] [stderr] | [INFO] [stderr] 2 | layout::{Alignment, Constraint, Layout, Margin, Rect}, [INFO] [stderr] | ^^^^^^ ^^^^ [INFO] [stderr] 3 | style::{Color, Style}, [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] 4 | text::{Line, Span}, [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] 5 | widgets::{ [INFO] [stderr] 6 | Block, Borders, Clear, Paragraph, Scrollbar, ScrollbarOrientation, ScrollbarState, Wrap, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `addr` is never read [INFO] [stderr] --> src/app.rs:356:17 [INFO] [stderr] | [INFO] [stderr] 356 | let mut addr = String::new(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `params` is never read [INFO] [stderr] --> src/app.rs:357:17 [INFO] [stderr] | [INFO] [stderr] 357 | let mut params = HashMap::new(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `body` is never read [INFO] [stderr] --> src/app.rs:360:17 [INFO] [stderr] | [INFO] [stderr] 360 | let mut body = None; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name [INFO] [stderr] --> src/components/requests/mod.rs:184:45 [INFO] [stderr] | [INFO] [stderr] 184 | let r = centered_rect(60, 20, f.size()); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/app.rs:430:33 [INFO] [stderr] | [INFO] [stderr] 430 | ... Err(e) => match fs::File::open(format!("{}/{}.env", path, env.name)) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pattern` [INFO] [stderr] --> src/app.rs:598:26 [INFO] [stderr] | [INFO] [stderr] 598 | fn replace_env(self, pattern: &Regex, replace_kvs: &HashMap) -> Self [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `replace_kvs` [INFO] [stderr] --> src/app.rs:598:43 [INFO] [stderr] | [INFO] [stderr] 598 | fn replace_env(self, pattern: &Regex, replace_kvs: &HashMap) -> Self [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replace_kvs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> src/app.rs:608:14 [INFO] [stderr] | [INFO] [stderr] 608 | for (idx, matched) in pattern.captures_iter(&self).enumerate() { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> src/app.rs:633:18 [INFO] [stderr] | [INFO] [stderr] 633 | for (idx, matched) in pattern.captures_iter(&key).enumerate() { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> src/app.rs:647:18 [INFO] [stderr] | [INFO] [stderr] 647 | for (idx, matched) in pattern.captures_iter(&value).enumerate() { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tt` [INFO] [stderr] --> src/components/blocks.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | let tt: Vec> = Vec::new(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_tt` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/components/pop_up.rs:43:23 [INFO] [stderr] | [INFO] [stderr] 43 | Key::Char(x) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> src/components/request_tab/view.rs:13:27 [INFO] [stderr] | [INFO] [stderr] 13 | Focus::Header(idx) => Focus::Body, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> src/components/request_tab/view.rs:14:26 [INFO] [stderr] | [INFO] [stderr] 14 | Focus::Param(idx) => Focus::Header(0), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/components/request_tab/mod.rs:104:40 [INFO] [stderr] | [INFO] [stderr] 104 | fn handle_header_update(&mut self, req: &mut Request, event: Event) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/components/request_tab/mod.rs:118:39 [INFO] [stderr] | [INFO] [stderr] 118 | fn handle_param_update(&mut self, req: &mut Request, event: Event) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `selected` [INFO] [stderr] --> src/components/request_tab/mod.rs:310:5 [INFO] [stderr] | [INFO] [stderr] 310 | selected: Option, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `names` [INFO] [stderr] --> src/components/requests/mod.rs:36:16 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn new(names: Vec, idx: usize) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> src/components/requests/mod.rs:36:36 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn new(names: Vec, idx: usize) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> src/components/response_tab/view.rs:10:27 [INFO] [stderr] | [INFO] [stderr] 10 | Focus::Header(idx) => Focus::Body, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/components/response_tab/mod.rs:49:30 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn update(&mut self, req: &mut Request, event: &Event) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: variable `cursor_pos_y` is assigned to, but never used [INFO] [stderr] --> src/components/text_area.rs:259:17 [INFO] [stderr] | [INFO] [stderr] 259 | let mut cursor_pos_y: usize = self.cursor_pos.1; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_cursor_pos_y` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/components/text_box.rs:91:51 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn draw(&self, f: &mut Frame, rect: Rect, name: &str, is_focused: bool) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/environments.rs:88:31 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn add_env(&mut self, name: String) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/app.rs:40:18 [INFO] [stderr] | [INFO] [stderr] 40 | NoRequestErr(usize), [INFO] [stderr] | ------------ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 40 - NoRequestErr(usize), [INFO] [stderr] 40 + NoRequestErr(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/app.rs:41:16 [INFO] [stderr] | [INFO] [stderr] 41 | ReqwestErr(reqwest::Error), [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 41 - ReqwestErr(reqwest::Error), [INFO] [stderr] 41 + ReqwestErr(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/app.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | JsonErr(serde_json::Error), [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 42 - JsonErr(serde_json::Error), [INFO] [stderr] 42 + JsonErr(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/app.rs:44:23 [INFO] [stderr] | [INFO] [stderr] 44 | FileOperationsErr(std::io::Error), [INFO] [stderr] | ----------------- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 44 - FileOperationsErr(std::io::Error), [INFO] [stderr] 44 + FileOperationsErr(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variant `ParamIsNotString` is never constructed [INFO] [stderr] --> src/app.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 39 | pub enum Error { [INFO] [stderr] | ----- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 45 | ParamIsNotString, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `from_reqwest`, `from_serde`, and `to_string` are never used [INFO] [stderr] --> src/app.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 47 | impl Error { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 48 | fn from_reqwest(e: reqwest::Error) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | fn from_serde(e: serde_json::Error) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | fn to_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `set_collections` is never used [INFO] [stderr] --> src/app.rs:473:12 [INFO] [stderr] | [INFO] [stderr] 97 | impl<'a> App<'a> { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 473 | pub fn set_collections(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `to_string`, `pop`, and `add` are never used [INFO] [stderr] --> src/components/address_bar/address.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl Address { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] 9 | pub fn to_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 12 | pub fn pop(&mut self) { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | pub fn add(&mut self, c: char) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_key_active` is never used [INFO] [stderr] --> src/components/kv/mod.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl KV { [INFO] [stderr] | ------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 67 | pub fn is_key_active(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `content`, `cancel`, and `action` are never read [INFO] [stderr] --> src/components/pop_up.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct PopUpComponent { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 13 | title: String, [INFO] [stderr] 14 | content: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 15 | input: TextBox, [INFO] [stderr] 16 | cancel: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 17 | action: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PopUpComponent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `show` and `hide` are never used [INFO] [stderr] --> src/components/pop_up.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl PopUpComponent { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn show(&self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn hide(&self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/components/request_tab/request_tab.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | Headers(usize, &'a str), [INFO] [stderr] | ------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `RequestTabOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 3 - Headers(usize, &'a str), [INFO] [stderr] 3 + Headers((), &'a str), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/components/request_tab/request_tab.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | Params(usize, &'a str), [INFO] [stderr] | ------ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `RequestTabOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 4 - Params(usize, &'a str), [INFO] [stderr] 4 + Params((), &'a str), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/components/request_tab/request_tab.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | Body(usize, &'a str), [INFO] [stderr] | ---- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `RequestTabOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 5 - Body(usize, &'a str), [INFO] [stderr] 5 + Body((), &'a str), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: struct `ReqBody` is never constructed [INFO] [stderr] --> src/components/request_tab/request_tab.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | struct ReqBody { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ReqBody` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `split_at` is never used [INFO] [stderr] --> src/components/request_tab/request_tab.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl<'a> RequestTabOptions<'a> { [INFO] [stderr] | ------------------------------ method in this implementation [INFO] [stderr] 14 | pub fn split_at(&self) -> (&str, &str) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `increment` and `decrement` are never used [INFO] [stderr] --> src/components/request_tab/request_tab.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 34 | impl<'a> ReqTabs<'a> { [INFO] [stderr] | -------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn increment(&mut self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | pub fn decrement(&mut self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `None` is never constructed [INFO] [stderr] --> src/components/request_tab/view.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 1 | pub enum Focus { [INFO] [stderr] | ----- variant in this enum [INFO] [stderr] 2 | None, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `focus` and `blur` are never used [INFO] [stderr] --> src/components/requests/mod.rs:144:12 [INFO] [stderr] | [INFO] [stderr] 35 | impl RequestsComponent { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 144 | pub fn focus(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 153 | pub fn blur(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `reset_state` and `set_body` are never used [INFO] [stderr] --> src/components/response_tab/mod.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl ResponseTabComponent { [INFO] [stderr] | ------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn reset_state(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn set_body(&mut self, body: &String) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/components/response_tab/response_tab.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | Body(usize, &'a str), [INFO] [stderr] | ---- ^^^^^ ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ResponseOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 3 - Body(usize, &'a str), [INFO] [stderr] 3 + Body((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/components/response_tab/response_tab.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | Headers(usize, &'a str), [INFO] [stderr] | ------- ^^^^^ ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ResponseOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 4 - Headers(usize, &'a str), [INFO] [stderr] 4 + Headers((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: method `split_at` is never used [INFO] [stderr] --> src/components/response_tab/response_tab.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 6 | impl<'a> ResponseOptions<'a> { [INFO] [stderr] | ---------------------------- method in this implementation [INFO] [stderr] 7 | pub fn split_at(&self) -> (&str, &str) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `prev` is never used [INFO] [stderr] --> src/components/response_tab/view.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 7 | impl Focus { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 14 | pub fn prev(&mut self) -> Focus { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `from` and `cursor_position` are never used [INFO] [stderr] --> src/components/text_area.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 26 | impl TextArea { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn from(s: &String) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 148 | pub fn cursor_position(&self) -> (usize, usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `cursor_position` and `get_index` are never used [INFO] [stderr] --> src/components/text_box.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl TextBox { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn cursor_position(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn get_index(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `action` is never read [INFO] [stderr] --> src/components/yes_no_popup.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct YesNoPopupComponent<'a> { [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 25 | pub action: &'a str, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `default` and `into_kvs` are never used [INFO] [stderr] --> src/environments.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl Environment { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn default() -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | fn into_kvs(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `initial_idx` is never read [INFO] [stderr] --> src/environments.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 49 | pub struct TempEnv { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 54 | initial_idx: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TempEnv` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `add_env` is never used [INFO] [stderr] --> src/environments.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 75 | impl TempEnv { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 88 | pub fn add_env(&mut self, name: String) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CLOSE_ENVIRONMENTS` is never used [INFO] [stderr] --> src/keys/keys.rs:42:11 [INFO] [stderr] | [INFO] [stderr] 42 | pub const CLOSE_ENVIRONMENTS: &Event = &Event { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `NEW_ENVIRONMENT` is never used [INFO] [stderr] --> src/keys/keys.rs:46:11 [INFO] [stderr] | [INFO] [stderr] 46 | pub const NEW_ENVIRONMENT: &Event = &Event { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `to_string` and `change` are never used [INFO] [stderr] --> src/request/body/mod.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 7 | impl BodyKind { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] 8 | pub fn to_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 14 | pub fn change(&self) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `default`, `add`, `pop`, and `to_string` are never used [INFO] [stderr] --> src/request/body/mod.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 26 | impl Body { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 27 | pub fn default() -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn add(&mut self, c: char) { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn pop(&mut self) { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn to_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `headers` and `new` are never used [INFO] [stderr] --> src/request/request.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 53 | impl Response { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 54 | pub fn headers(&self) -> Option> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/request/request.rs:141:12 [INFO] [stderr] | [INFO] [stderr] 93 | impl Request { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 141 | pub fn add_to_address(&mut self, c: char, idx: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 147 | pub fn remove_from_address(&mut self, idx: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 159 | pub fn add_to_body(&mut self, c: char) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 162 | pub fn remove_from_body(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 165 | pub fn body(&self) -> Body { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 205 | pub fn status_code(&self) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 214 | pub fn headers_len(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 248 | pub fn params_len(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 289 | pub fn set_response( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `restopher` (bin "restopher" test) generated 67 warnings (run `cargo fix --bin "restopher" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/restopher-53d4608c2cc115bd) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8a975433891b1ba1466915dc82178374672ea1b0eb1b7dad840c70af30efb79a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a975433891b1ba1466915dc82178374672ea1b0eb1b7dad840c70af30efb79a", kill_on_drop: false }` [INFO] [stdout] 8a975433891b1ba1466915dc82178374672ea1b0eb1b7dad840c70af30efb79a