[INFO] fetching crate htrs 2.0.0... [INFO] checking htrs-2.0.0 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] extracting crate htrs 2.0.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate htrs 2.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate htrs 2.0.0 [INFO] tweaked toml for crates.io crate htrs 2.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate htrs 2.0.0 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate htrs 2.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.49 [INFO] [stderr] Downloaded clap_builder v4.5.49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15ffb8872cfd33393532af2b9ad6b7f9fcc0470997cd95aedd58ecdfe12e54c5 [INFO] running `Command { std: "docker" "start" "-a" "15ffb8872cfd33393532af2b9ad6b7f9fcc0470997cd95aedd58ecdfe12e54c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15ffb8872cfd33393532af2b9ad6b7f9fcc0470997cd95aedd58ecdfe12e54c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15ffb8872cfd33393532af2b9ad6b7f9fcc0470997cd95aedd58ecdfe12e54c5", kill_on_drop: false }` [INFO] [stdout] 15ffb8872cfd33393532af2b9ad6b7f9fcc0470997cd95aedd58ecdfe12e54c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a77881c4b510476af209526a561ebfa44be7e3b665709409cd91df4d0ac673ee [INFO] running `Command { std: "docker" "start" "-a" "a77881c4b510476af209526a561ebfa44be7e3b665709409cd91df4d0ac673ee", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking clap_builder v4.5.49 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking clap v4.5.49 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking assert_cmd v2.0.17 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking openssl v0.10.73 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking native-tls v0.2.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking rstest v0.26.1 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking reqwest v0.12.24 [INFO] [stderr] Checking htrs v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `config_path`, `load`, and `save` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl HtrsConfig { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | fn config_path() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn save(self) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `remove_service`, `get_service`, and `get_service_mut` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl HtrsConfig { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 91 | pub fn new() -> HtrsConfig { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn remove_service(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get_service(&self, name: &str) -> Option<&Service> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_service_mut(&mut self, name: &str) -> Option<&mut Service> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/../../src/config.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Service { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 111 | pub fn new(name: String, alias: Option) -> Service { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_environment(&self, name: &str) -> Option<&Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_environment_mut(&mut self, name: &str) -> Option<&mut Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_default_environment(&self) -> Option<&Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn get_default_environment_mut(&mut self) -> Option<&mut Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn remove_environment(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_endpoint(&self, name: &str) -> Option<&Endpoint> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn get_endpoint_mut(&mut self, name: &str) -> Option<&mut Endpoint> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn remove_endpoint(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `display_name` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 175 | impl Environment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 176 | pub fn new(name: String, alias: Option, host: String, default: bool) -> Environment { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HeaderItem` is never used [INFO] [stdout] --> tests/common/../../src/config.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait HeaderItem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EndpointBuilder` is never constructed [INFO] [stdout] --> tests/common/mod.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct EndpointBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvironmentBuilder` is never constructed [INFO] [stdout] --> tests/common/mod.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct EnvironmentBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_header` is never used [INFO] [stdout] --> tests/common/mod.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 69 | impl HtrsConfigBuilder { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_endpoint`, `with_environment`, and `with_header` are never used [INFO] [stdout] --> tests/common/mod.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 95 | impl ServiceBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn with_endpoint(mut self, builder: EndpointBuilder) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn with_environment(mut self, builder: EnvironmentBuilder) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_name`, `with_path`, `with_query_param`, and `build` are never used [INFO] [stdout] --> tests/common/mod.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 142 | impl EndpointBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 143 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn with_name(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn with_path(mut self, path: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn with_query_param(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn build(self) -> Endpoint { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/mod.rs:176:16 [INFO] [stdout] | [INFO] [stdout] 175 | impl EnvironmentBuilder { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 176 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn with_name(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn with_alias(mut self, alias: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn with_host(mut self, host: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn with_default(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn build(self) -> Environment { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `config_path`, `load`, and `save` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl HtrsConfig { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | fn config_path() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn save(self) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `remove_service`, `get_service`, and `get_service_mut` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl HtrsConfig { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 91 | pub fn new() -> HtrsConfig { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn remove_service(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get_service(&self, name: &str) -> Option<&Service> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_service_mut(&mut self, name: &str) -> Option<&mut Service> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/../../src/config.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Service { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 111 | pub fn new(name: String, alias: Option) -> Service { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_environment(&self, name: &str) -> Option<&Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_environment_mut(&mut self, name: &str) -> Option<&mut Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_default_environment(&self) -> Option<&Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn get_default_environment_mut(&mut self) -> Option<&mut Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn remove_environment(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_endpoint(&self, name: &str) -> Option<&Endpoint> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn get_endpoint_mut(&mut self, name: &str) -> Option<&mut Endpoint> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn remove_endpoint(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `display_name` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 175 | impl Environment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 176 | pub fn new(name: String, alias: Option, host: String, default: bool) -> Environment { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HeaderItem` is never used [INFO] [stdout] --> tests/common/../../src/config.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait HeaderItem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EndpointBuilder` is never constructed [INFO] [stdout] --> tests/common/mod.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct EndpointBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_alias` and `with_endpoint` are never used [INFO] [stdout] --> tests/common/mod.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 95 | impl ServiceBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn with_alias(mut self, alias: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn with_endpoint(mut self, builder: EndpointBuilder) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_name`, `with_path`, `with_query_param`, and `build` are never used [INFO] [stdout] --> tests/common/mod.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 142 | impl EndpointBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 143 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn with_name(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn with_path(mut self, path: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn with_query_param(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn build(self) -> Endpoint { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_alias` and `with_default` are never used [INFO] [stdout] --> tests/common/mod.rs:191:16 [INFO] [stdout] | [INFO] [stdout] 175 | impl EnvironmentBuilder { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn with_alias(mut self, alias: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn with_default(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `config_path`, `load`, and `save` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl HtrsConfig { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | fn config_path() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn save(self) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `config_path`, `load`, and `save` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl HtrsConfig { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | fn config_path() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn save(self) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `remove_service`, `get_service`, and `get_service_mut` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl HtrsConfig { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 91 | pub fn new() -> HtrsConfig { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn remove_service(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get_service(&self, name: &str) -> Option<&Service> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_service_mut(&mut self, name: &str) -> Option<&mut Service> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `remove_service`, `get_service`, and `get_service_mut` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl HtrsConfig { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 91 | pub fn new() -> HtrsConfig { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn remove_service(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get_service(&self, name: &str) -> Option<&Service> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_service_mut(&mut self, name: &str) -> Option<&mut Service> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/../../src/config.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Service { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 111 | pub fn new(name: String, alias: Option) -> Service { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_environment(&self, name: &str) -> Option<&Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_environment_mut(&mut self, name: &str) -> Option<&mut Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_default_environment(&self) -> Option<&Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn get_default_environment_mut(&mut self) -> Option<&mut Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn remove_environment(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_endpoint(&self, name: &str) -> Option<&Endpoint> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn get_endpoint_mut(&mut self, name: &str) -> Option<&mut Endpoint> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn remove_endpoint(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `display_name` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 175 | impl Environment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 176 | pub fn new(name: String, alias: Option, host: String, default: bool) -> Environment { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HeaderItem` is never used [INFO] [stdout] --> tests/common/../../src/config.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait HeaderItem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_config` is never used [INFO] [stdout] --> tests/common/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_config() -> HtrsConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EndpointBuilder` is never constructed [INFO] [stdout] --> tests/common/mod.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct EndpointBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvironmentBuilder` is never constructed [INFO] [stdout] --> tests/common/mod.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct EnvironmentBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_header` is never used [INFO] [stdout] --> tests/common/mod.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 69 | impl HtrsConfigBuilder { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_endpoint`, `with_environment`, and `with_header` are never used [INFO] [stdout] --> tests/common/mod.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 95 | impl ServiceBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn with_endpoint(mut self, builder: EndpointBuilder) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn with_environment(mut self, builder: EnvironmentBuilder) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_name`, `with_path`, `with_query_param`, and `build` are never used [INFO] [stdout] --> tests/common/mod.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 142 | impl EndpointBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 143 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn with_name(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn with_path(mut self, path: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn with_query_param(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn build(self) -> Endpoint { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/mod.rs:176:16 [INFO] [stdout] | [INFO] [stdout] 175 | impl EnvironmentBuilder { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 176 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn with_name(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn with_alias(mut self, alias: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn with_host(mut self, host: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn with_default(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn build(self) -> Environment { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/../../src/config.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Service { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 111 | pub fn new(name: String, alias: Option) -> Service { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_environment(&self, name: &str) -> Option<&Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_environment_mut(&mut self, name: &str) -> Option<&mut Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_default_environment(&self) -> Option<&Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn get_default_environment_mut(&mut self) -> Option<&mut Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn remove_environment(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_endpoint(&self, name: &str) -> Option<&Endpoint> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn get_endpoint_mut(&mut self, name: &str) -> Option<&mut Endpoint> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn remove_endpoint(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `display_name` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 175 | impl Environment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 176 | pub fn new(name: String, alias: Option, host: String, default: bool) -> Environment { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HeaderItem` is never used [INFO] [stdout] --> tests/common/../../src/config.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait HeaderItem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_header` is never used [INFO] [stdout] --> tests/common/mod.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 69 | impl HtrsConfigBuilder { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_alias` and `with_header` are never used [INFO] [stdout] --> tests/common/mod.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 95 | impl ServiceBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn with_alias(mut self, alias: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_header` is never used [INFO] [stdout] --> tests/common/mod.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 175 | impl EnvironmentBuilder { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `config_path`, `load`, and `save` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl HtrsConfig { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | fn config_path() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn save(self) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `remove_service`, `get_service`, and `get_service_mut` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl HtrsConfig { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 91 | pub fn new() -> HtrsConfig { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn remove_service(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get_service(&self, name: &str) -> Option<&Service> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_service_mut(&mut self, name: &str) -> Option<&mut Service> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/../../src/config.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Service { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 111 | pub fn new(name: String, alias: Option) -> Service { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_environment(&self, name: &str) -> Option<&Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_environment_mut(&mut self, name: &str) -> Option<&mut Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_default_environment(&self) -> Option<&Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn get_default_environment_mut(&mut self) -> Option<&mut Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn remove_environment(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_endpoint(&self, name: &str) -> Option<&Endpoint> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn get_endpoint_mut(&mut self, name: &str) -> Option<&mut Endpoint> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn remove_endpoint(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `display_name` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 175 | impl Environment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 176 | pub fn new(name: String, alias: Option, host: String, default: bool) -> Environment { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HeaderItem` is never used [INFO] [stdout] --> tests/common/../../src/config.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait HeaderItem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EndpointBuilder` is never constructed [INFO] [stdout] --> tests/common/mod.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct EndpointBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_alias` and `with_endpoint` are never used [INFO] [stdout] --> tests/common/mod.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 95 | impl ServiceBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn with_alias(mut self, alias: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn with_endpoint(mut self, builder: EndpointBuilder) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_name`, `with_path`, `with_query_param`, and `build` are never used [INFO] [stdout] --> tests/common/mod.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 142 | impl EndpointBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 143 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn with_name(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn with_path(mut self, path: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn with_query_param(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn build(self) -> Endpoint { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_alias` and `with_default` are never used [INFO] [stdout] --> tests/common/mod.rs:191:16 [INFO] [stdout] | [INFO] [stdout] 175 | impl EnvironmentBuilder { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn with_alias(mut self, alias: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn with_default(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `config_path`, `load`, and `save` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl HtrsConfig { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | fn config_path() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn save(self) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `remove_service`, `get_service`, and `get_service_mut` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl HtrsConfig { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 91 | pub fn new() -> HtrsConfig { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn remove_service(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get_service(&self, name: &str) -> Option<&Service> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_service_mut(&mut self, name: &str) -> Option<&mut Service> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/../../src/config.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Service { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 111 | pub fn new(name: String, alias: Option) -> Service { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_environment(&self, name: &str) -> Option<&Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_environment_mut(&mut self, name: &str) -> Option<&mut Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_default_environment(&self) -> Option<&Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn get_default_environment_mut(&mut self) -> Option<&mut Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn remove_environment(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_endpoint(&self, name: &str) -> Option<&Endpoint> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn get_endpoint_mut(&mut self, name: &str) -> Option<&mut Endpoint> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn remove_endpoint(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `display_name` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 175 | impl Environment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 176 | pub fn new(name: String, alias: Option, host: String, default: bool) -> Environment { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HeaderItem` is never used [INFO] [stdout] --> tests/common/../../src/config.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait HeaderItem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EndpointBuilder` is never constructed [INFO] [stdout] --> tests/common/mod.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct EndpointBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `config_path`, `load`, and `save` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl HtrsConfig { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | fn config_path() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn save(self) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `remove_service`, `get_service`, and `get_service_mut` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl HtrsConfig { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 91 | pub fn new() -> HtrsConfig { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn remove_service(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get_service(&self, name: &str) -> Option<&Service> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_service_mut(&mut self, name: &str) -> Option<&mut Service> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvironmentBuilder` is never constructed [INFO] [stdout] --> tests/common/mod.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct EnvironmentBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_header` is never used [INFO] [stdout] --> tests/common/mod.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 69 | impl HtrsConfigBuilder { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_endpoint`, `with_environment`, and `with_header` are never used [INFO] [stdout] --> tests/common/mod.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 95 | impl ServiceBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn with_endpoint(mut self, builder: EndpointBuilder) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn with_environment(mut self, builder: EnvironmentBuilder) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_name`, `with_path`, `with_query_param`, and `build` are never used [INFO] [stdout] --> tests/common/mod.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 142 | impl EndpointBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 143 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn with_name(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn with_path(mut self, path: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn with_query_param(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn build(self) -> Endpoint { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/mod.rs:176:16 [INFO] [stdout] | [INFO] [stdout] 175 | impl EnvironmentBuilder { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 176 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn with_name(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn with_alias(mut self, alias: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn with_host(mut self, host: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn with_default(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn build(self) -> Environment { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/../../src/config.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Service { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 111 | pub fn new(name: String, alias: Option) -> Service { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_environment(&self, name: &str) -> Option<&Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_environment_mut(&mut self, name: &str) -> Option<&mut Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_default_environment(&self) -> Option<&Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn get_default_environment_mut(&mut self) -> Option<&mut Environment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn remove_environment(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_endpoint(&self, name: &str) -> Option<&Endpoint> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn get_endpoint_mut(&mut self, name: &str) -> Option<&mut Endpoint> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn remove_endpoint(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `display_name` are never used [INFO] [stdout] --> tests/common/../../src/config.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 175 | impl Environment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 176 | pub fn new(name: String, alias: Option, host: String, default: bool) -> Environment { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HeaderItem` is never used [INFO] [stdout] --> tests/common/../../src/config.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 194 | pub trait HeaderItem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EndpointBuilder` is never constructed [INFO] [stdout] --> tests/common/mod.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct EndpointBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvironmentBuilder` is never constructed [INFO] [stdout] --> tests/common/mod.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct EnvironmentBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_header` is never used [INFO] [stdout] --> tests/common/mod.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 69 | impl HtrsConfigBuilder { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_endpoint`, `with_environment`, and `with_header` are never used [INFO] [stdout] --> tests/common/mod.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 95 | impl ServiceBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn with_endpoint(mut self, builder: EndpointBuilder) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn with_environment(mut self, builder: EnvironmentBuilder) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_name`, `with_path`, `with_query_param`, and `build` are never used [INFO] [stdout] --> tests/common/mod.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 142 | impl EndpointBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 143 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn with_name(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn with_path(mut self, path: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn with_query_param(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn build(self) -> Endpoint { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> tests/common/mod.rs:176:16 [INFO] [stdout] | [INFO] [stdout] 175 | impl EnvironmentBuilder { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 176 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn with_name(mut self, name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn with_alias(mut self, alias: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn with_host(mut self, host: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn with_default(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn build(self) -> Environment { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `headers` is never read [INFO] [stdout] --> src/test_helpers.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct HtrsConfigBuilder { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 5 | pub services: Vec, [INFO] [stdout] 6 | pub headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_header` is never used [INFO] [stdout] --> src/test_helpers.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl HtrsConfigBuilder { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn with_header(mut self, header_name: &str, header_value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_alias` is never used [INFO] [stdout] --> src/test_helpers.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl HtrsServiceBuilder { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn with_alias(mut self, alias: &str) -> HtrsServiceBuilder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.52s [INFO] running `Command { std: "docker" "inspect" "a77881c4b510476af209526a561ebfa44be7e3b665709409cd91df4d0ac673ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a77881c4b510476af209526a561ebfa44be7e3b665709409cd91df4d0ac673ee", kill_on_drop: false }` [INFO] [stdout] a77881c4b510476af209526a561ebfa44be7e3b665709409cd91df4d0ac673ee