[INFO] fetching crate htrs 2.0.0... [INFO] testing htrs-2.0.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate htrs 2.0.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate htrs 2.0.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 009546ea085fba8e4bd3d20e85c544a4073fe5ec243efab23fb750287a8ecb83 [INFO] running `Command { std: "docker" "start" "-a" "009546ea085fba8e4bd3d20e85c544a4073fe5ec243efab23fb750287a8ecb83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "009546ea085fba8e4bd3d20e85c544a4073fe5ec243efab23fb750287a8ecb83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "009546ea085fba8e4bd3d20e85c544a4073fe5ec243efab23fb750287a8ecb83", kill_on_drop: false }` [INFO] [stdout] 009546ea085fba8e4bd3d20e85c544a4073fe5ec243efab23fb750287a8ecb83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8be2696e2a903c459f37f685d02f348cb6c4ba2ac9ecf931b93ccd60d6d39066 [INFO] running `Command { std: "docker" "start" "-a" "8be2696e2a903c459f37f685d02f348cb6c4ba2ac9ecf931b93ccd60d6d39066", kill_on_drop: false }` [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling clap_builder v4.5.49 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling clap v4.5.49 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling htrs v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.67s [INFO] running `Command { std: "docker" "inspect" "8be2696e2a903c459f37f685d02f348cb6c4ba2ac9ecf931b93ccd60d6d39066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8be2696e2a903c459f37f685d02f348cb6c4ba2ac9ecf931b93ccd60d6d39066", kill_on_drop: false }` [INFO] [stdout] 8be2696e2a903c459f37f685d02f348cb6c4ba2ac9ecf931b93ccd60d6d39066 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d1dc40acf33f2c6c4637ce15a360a1f2ae85c99ebfb430e3a0023e0e08dcd94 [INFO] running `Command { std: "docker" "start" "-a" "6d1dc40acf33f2c6c4637ce15a360a1f2ae85c99ebfb430e3a0023e0e08dcd94", kill_on_drop: false }` [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling rstest v0.26.1 [INFO] [stderr] Compiling 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: 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: 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: 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: 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] [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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 22.84s [INFO] running `Command { std: "docker" "inspect" "6d1dc40acf33f2c6c4637ce15a360a1f2ae85c99ebfb430e3a0023e0e08dcd94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d1dc40acf33f2c6c4637ce15a360a1f2ae85c99ebfb430e3a0023e0e08dcd94", kill_on_drop: false }` [INFO] [stdout] 6d1dc40acf33f2c6c4637ce15a360a1f2ae85c99ebfb430e3a0023e0e08dcd94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3001be9a2ecf99998a16b384549f38d0731f1fdf753b57d15f0d355c0c18cc68 [INFO] running `Command { std: "docker" "start" "-a" "3001be9a2ecf99998a16b384549f38d0731f1fdf753b57d15f0d355c0c18cc68", kill_on_drop: false }` [INFO] [stderr] warning: field `headers` is never read [INFO] [stderr] --> src/test_helpers.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct HtrsConfigBuilder { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] 5 | pub services: Vec, [INFO] [stderr] 6 | pub headers: HashMap, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `with_header` is never used [INFO] [stderr] --> src/test_helpers.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl HtrsConfigBuilder { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn with_header(mut self, header_name: &str, header_value: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `with_alias` is never used [INFO] [stderr] --> src/test_helpers.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 42 | impl HtrsServiceBuilder { [INFO] [stderr] | ----------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn with_alias(mut self, alias: &str) -> HtrsServiceBuilder { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `config_path`, `load`, and `save` are never used [INFO] [stderr] --> tests/common/../../src/config.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 6 | impl HtrsConfig { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 9 | fn config_path() -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn load() -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn save(self) -> Result<(), String> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `remove_service`, `get_service`, and `get_service_mut` are never used [INFO] [stderr] --> tests/common/../../src/config.rs:91:12 [INFO] [stderr] | [INFO] [stderr] 90 | impl HtrsConfig { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 91 | pub fn new() -> HtrsConfig { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 95 | pub fn remove_service(&mut self, name: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 101 | pub fn get_service(&self, name: &str) -> Option<&Service> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 105 | pub fn get_service_mut(&mut self, name: &str) -> Option<&mut Service> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> tests/common/../../src/config.rs:111:12 [INFO] [stderr] | [INFO] [stderr] 110 | impl Service { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 111 | pub fn new(name: String, alias: Option) -> Service { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 121 | pub fn get_environment(&self, name: &str) -> Option<&Environment> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 125 | pub fn get_environment_mut(&mut self, name: &str) -> Option<&mut Environment> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 129 | pub fn get_default_environment(&self) -> Option<&Environment> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 138 | pub fn get_default_environment_mut(&mut self) -> Option<&mut Environment> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 147 | pub fn remove_environment(&mut self, name: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 153 | pub fn get_endpoint(&self, name: &str) -> Option<&Endpoint> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 157 | pub fn get_endpoint_mut(&mut self, name: &str) -> Option<&mut Endpoint> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 161 | pub fn remove_endpoint(&mut self, name: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 167 | pub fn display_name(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `display_name` are never used [INFO] [stderr] --> tests/common/../../src/config.rs:176:12 [INFO] [stderr] | [INFO] [stderr] 175 | impl Environment { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 176 | pub fn new(name: String, alias: Option, host: String, default: bool) -> Environment { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 186 | pub fn display_name(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `HeaderItem` is never used [INFO] [stderr] --> tests/common/../../src/config.rs:194:11 [INFO] [stderr] | [INFO] [stderr] 194 | pub trait HeaderItem { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_config` is never used [INFO] [stderr] --> tests/common/mod.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn get_config() -> HtrsConfig { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `EndpointBuilder` is never constructed [INFO] [stderr] --> tests/common/mod.rs:55:16 [INFO] [stderr] | [INFO] [stderr] 55 | pub struct EndpointBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `EnvironmentBuilder` is never constructed [INFO] [stderr] --> tests/common/mod.rs:61:16 [INFO] [stderr] | [INFO] [stderr] 61 | pub struct EnvironmentBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `with_header` is never used [INFO] [stderr] --> tests/common/mod.rs:82:16 [INFO] [stderr] | [INFO] [stderr] 69 | impl HtrsConfigBuilder { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 82 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `with_endpoint`, `with_environment`, and `with_header` are never used [INFO] [stderr] --> tests/common/mod.rs:116:16 [INFO] [stderr] | [INFO] [stderr] 95 | impl ServiceBuilder { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 116 | pub fn with_endpoint(mut self, builder: EndpointBuilder) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 121 | pub fn with_environment(mut self, builder: EnvironmentBuilder) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 126 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `with_name`, `with_path`, `with_query_param`, and `build` are never used [INFO] [stderr] --> tests/common/mod.rs:143:16 [INFO] [stderr] | [INFO] [stderr] 142 | impl EndpointBuilder { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 143 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 151 | pub fn with_name(mut self, name: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 156 | pub fn with_path(mut self, path: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 161 | pub fn with_query_param(mut self, name: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 166 | pub fn build(self) -> Endpoint { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> tests/common/mod.rs:176:16 [INFO] [stderr] | [INFO] [stderr] 175 | impl EnvironmentBuilder { [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] 176 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 186 | pub fn with_name(mut self, name: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 191 | pub fn with_alias(mut self, alias: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 196 | pub fn with_host(mut self, host: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 201 | pub fn with_default(mut self) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 206 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 211 | pub fn build(self) -> Environment { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `with_alias` and `with_endpoint` are never used [INFO] [stderr] --> tests/common/mod.rs:111:16 [INFO] [stderr] | [INFO] [stderr] 95 | impl ServiceBuilder { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 111 | pub fn with_alias(mut self, alias: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 116 | pub fn with_endpoint(mut self, builder: EndpointBuilder) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `with_alias` and `with_default` are never used [INFO] [stderr] --> tests/common/mod.rs:191:16 [INFO] [stderr] | [INFO] [stderr] 175 | impl EnvironmentBuilder { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 191 | pub fn with_alias(mut self, alias: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 201 | pub fn with_default(mut self) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `with_alias` and `with_header` are never used [INFO] [stderr] --> tests/common/mod.rs:111:16 [INFO] [stderr] | [INFO] [stderr] 95 | impl ServiceBuilder { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 111 | pub fn with_alias(mut self, alias: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 126 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `with_header` is never used [INFO] [stderr] --> tests/common/mod.rs:206:16 [INFO] [stderr] | [INFO] [stderr] 175 | impl EnvironmentBuilder { [INFO] [stderr] | ----------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 206 | pub fn with_header(mut self, name: &str, value: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `htrs` (bin "htrs" test) generated 3 warnings [INFO] [stderr] warning: `htrs` (test "list_services_tests") generated 12 warnings [INFO] [stderr] warning: `htrs` (test "create_new_service_tests") generated 11 warnings (11 duplicates) [INFO] [stderr] warning: `htrs` (test "delete_header_tests") generated 9 warnings (7 duplicates) [INFO] [stderr] warning: `htrs` (test "main") generated 8 warnings (6 duplicates) [INFO] [stderr] warning: `htrs` (test "set_header_tests") generated 9 warnings (9 duplicates) [INFO] [stderr] warning: `htrs` (test "edit_service_tests") generated 11 warnings (11 duplicates) [INFO] [stderr] warning: `htrs` (test "delete_service_tests") generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/htrs-ec0af63e1df458a9) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test commands::call_command::call_command_execution_tests::given_service_with_known_endpoint_when_invalid_query_params_provided_then_error::case_3 ... ok [INFO] [stdout] test commands::call_command::call_command_execution_tests::given_known_service_and_endpoint_when_pass_hyphen_prefixed_query_parameter_then_should_parse_and_map ... ok [INFO] [stdout] test commands::call_command::call_command_execution_tests::given_service_with_known_endpoint_when_invalid_query_params_provided_then_error::case_1 ... ok [INFO] [stdout] test commands::call_command::call_command_execution_tests::given_service_with_known_endpoint_when_invalid_query_params_provided_then_error::case_2 ... ok [INFO] [stdout] test commands::call_command::call_command_execution_tests::given_known_service_and_endpoint_when_pass_hypen_prefixed_path_parameter_then_should_parse_and_map ... ok [INFO] [stdout] test commands::call_command::call_command_execution_tests::given_service_with_known_endpoint_when_required_path_params_not_provided_then_should_error ... ok [INFO] [stdout] test commands::call_command::call_command_execution_tests::given_service_with_known_endpoint_when_required_query_params_not_provided_then_parse_and_map ... ok [INFO] [stdout] test commands::call_command::call_command_execution_tests::given_service_with_known_endpoint_when_no_parameters_then_parse_and_map::case_2 ... ok [INFO] [stdout] test commands::call_command::call_command_execution_tests::given_service_with_known_environment_when_call_environment_then_should_parse_and_map ... ok [INFO] [stdout] test commands::call_command::call_command_execution_tests::given_service_with_known_endpoint_when_required_query_params_provided_then_parse_and_map ... ok [INFO] [stdout] test commands::call_command::call_command_execution_tests::given_service_with_known_endpoint_when_required_path_template_parameters_provided_then_parse_and_map ... ok [INFO] [stdout] test commands::call_command::call_command_execution_tests::given_service_with_known_endpoint_when_query_params_provided_then_parse_and_map ... ok [INFO] [stdout] test commands::call_command::call_command_execution_tests::given_service_with_known_endpoint_when_no_parameters_then_parse_and_map::case_1 ... ok [INFO] [stdout] test commands::call_command::call_command_execution_tests::given_service_with_known_endpoint_when_invalid_query_params_provided_then_error::case_4 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/create_new_service_tests.rs (/opt/rustwide/target/debug/deps/create_new_service_tests-bfc6228bc1c97e56) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test create_new_service_tests::given_create_service_command_without_name_then_should_fail ... ok [INFO] [stdout] test create_new_service_tests::given_create_service_command_when_existing_service_with_name_or_alias_then_should_fail::case_1 ... FAILED [INFO] [stdout] test create_new_service_tests::given_create_service_command_with_name_then_should_succeed ... FAILED [INFO] [stdout] test create_new_service_tests::given_create_service_command_when_existing_service_with_name_or_alias_then_should_fail::case_2 ... FAILED [INFO] [stdout] test create_new_service_tests::given_create_service_command_with_name_and_alias_then_should_succeed ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- create_new_service_tests::given_create_service_command_when_existing_service_with_name_or_alias_then_should_fail::case_1 stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'create_new_service_tests::given_create_service_command_when_existing_service_with_name_or_alias_then_should_fail::case_1' (40) panicked at tests/create_new_service_tests.rs:89:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 2 [INFO] [stdout] right: 1 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d37845e1952 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d37845e1952 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d37845e1952 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d37845e1952 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d37845f28ff - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d37845f28ff - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5d37845ad743 - std::io::default_write_fmt::h4e8d11c5c4b9cafe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d37845ad743 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d37845b96d2 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d37845be58f - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d37845be421 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d378455247e - as core::ops::function::Fn>::call::h202f496763929329 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5d378455247e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d37845beb9f - as core::ops::function::Fn>::call::h2883c9d2dbd4e81c [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5d37845beb9f - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d37845be9fa - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d37845b9809 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d37845a1ddd - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d37845fa8b0 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5d37845fa6b3 - core::panicking::assert_failed_inner::ha59fbb70905830e9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:444:17 [INFO] [stdout] 20: 0x5d37845fa4f7 - core::panicking::assert_failed::h7f69869b372dcbfe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:399:5 [INFO] [stdout] 21: 0x5d3784522697 - create_new_service_tests::create_new_service_tests::given_create_service_command_when_existing_service_with_name_or_alias_then_should_fail::hdc0bc56811e9419b [INFO] [stdout] at /opt/rustwide/workdir/tests/create_new_service_tests.rs:89:9 [INFO] [stdout] 22: 0x5d378451d4b4 - create_new_service_tests::create_new_service_tests::given_create_service_command_when_existing_service_with_name_or_alias_then_should_fail::case_1::h0d05b447a01a5c88 [INFO] [stdout] at /opt/rustwide/workdir/tests/create_new_service_tests.rs:63:5 [INFO] [stdout] 23: 0x5d378451d517 - create_new_service_tests::create_new_service_tests::given_create_service_command_when_existing_service_with_name_or_alias_then_should_fail::case_1::{{closure}}::h2a1ec49b1f3ca50e [INFO] [stdout] at /opt/rustwide/workdir/tests/create_new_service_tests.rs:69:10 [INFO] [stdout] 24: 0x5d378451da56 - core::ops::function::FnOnce::call_once::h4c19a4da3ab24008 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d37845522eb - core::ops::function::FnOnce::call_once::h3a2d82edd1a9b770 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d37845522eb - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d37845662dd - test::run_test_in_process::{{closure}}::h67b48a81b9c9d7b6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d37845662dd - as core::ops::function::FnOnce<()>>::call_once::h7680585480377cb5 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d37845662dd - std::panicking::catch_unwind::do_call::hf71351b2657d4002 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d37845662dd - std::panicking::catch_unwind::h7fcb5c0312d9e172 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d37845662dd - std::panic::catch_unwind::h5cf3c9bdee894ebe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d37845662dd - test::run_test_in_process::h1469cb85193a3a25 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d37845662dd - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d378453f824 - test::run_test::{{closure}}::h9baa0c3d443f28c9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d378453f824 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d378454307a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5d7539d5f78cee61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 37: 0x5d378454307a - as core::ops::function::FnOnce<()>>::call_once::he4c551e23c5e9b22 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d378454307a - std::panicking::catch_unwind::do_call::h522b41a6c157aaba [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d378454307a - std::panicking::catch_unwind::h0efbf72006b8e365 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d378454307a - std::panic::catch_unwind::h3b081041e6c97066 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d378454307a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha751309815d5d8cf [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 42: 0x5d378454307a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d37845b4b2f - as core::ops::function::FnOnce>::call_once::h3adbd6ccf5f737af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 44: 0x5d37845b4b2f - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 45: 0x797c8ab7aaa4 - [INFO] [stdout] 46: 0x797c8ac07a64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- create_new_service_tests::given_create_service_command_with_name_then_should_succeed stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'create_new_service_tests::given_create_service_command_with_name_then_should_succeed' (43) panicked at tests/create_new_service_tests.rs:35:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 2 [INFO] [stdout] right: 1 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d37845e1952 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stderr] error: test failed, to rerun pass `--test create_new_service_tests` [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d37845e1952 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d37845e1952 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d37845e1952 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d37845f28ff - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d37845f28ff - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5d37845ad743 - std::io::default_write_fmt::h4e8d11c5c4b9cafe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d37845ad743 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d37845b96d2 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d37845be58f - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d37845be421 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d378455247e - as core::ops::function::Fn>::call::h202f496763929329 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5d378455247e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d37845beb9f - as core::ops::function::Fn>::call::h2883c9d2dbd4e81c [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5d37845beb9f - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d37845be9fa - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d37845b9809 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d37845a1ddd - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d37845fa8b0 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5d37845fa6b3 - core::panicking::assert_failed_inner::ha59fbb70905830e9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:444:17 [INFO] [stdout] 20: 0x5d37845fa4f7 - core::panicking::assert_failed::h7f69869b372dcbfe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:399:5 [INFO] [stdout] 21: 0x5d378452196f - create_new_service_tests::create_new_service_tests::given_create_service_command_with_name_then_should_succeed::h2dce586f71be768e [INFO] [stdout] at /opt/rustwide/workdir/tests/create_new_service_tests.rs:35:9 [INFO] [stdout] 22: 0x5d3784521ad7 - create_new_service_tests::create_new_service_tests::given_create_service_command_with_name_then_should_succeed::{{closure}}::h3afcd91e90709eb0 [INFO] [stdout] at /opt/rustwide/workdir/tests/create_new_service_tests.rs:24:72 [INFO] [stdout] 23: 0x5d378451da16 - core::ops::function::FnOnce::call_once::h43ecf9855fc78563 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d37845522eb - core::ops::function::FnOnce::call_once::h3a2d82edd1a9b770 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d37845522eb - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d37845662dd - test::run_test_in_process::{{closure}}::h67b48a81b9c9d7b6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d37845662dd - as core::ops::function::FnOnce<()>>::call_once::h7680585480377cb5 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d37845662dd - std::panicking::catch_unwind::do_call::hf71351b2657d4002 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d37845662dd - std::panicking::catch_unwind::h7fcb5c0312d9e172 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d37845662dd - std::panic::catch_unwind::h5cf3c9bdee894ebe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d37845662dd - test::run_test_in_process::h1469cb85193a3a25 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d37845662dd - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d378453f824 - test::run_test::{{closure}}::h9baa0c3d443f28c9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d378453f824 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d378454307a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5d7539d5f78cee61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x5d378454307a - as core::ops::function::FnOnce<()>>::call_once::he4c551e23c5e9b22 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d378454307a - std::panicking::catch_unwind::do_call::h522b41a6c157aaba [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d378454307a - std::panicking::catch_unwind::h0efbf72006b8e365 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d378454307a - std::panic::catch_unwind::h3b081041e6c97066 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d378454307a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha751309815d5d8cf [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x5d378454307a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d37845b4b2f - as core::ops::function::FnOnce>::call_once::h3adbd6ccf5f737af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 43: 0x5d37845b4b2f - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 44: 0x797c8ab7aaa4 - [INFO] [stdout] 45: 0x797c8ac07a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- create_new_service_tests::given_create_service_command_when_existing_service_with_name_or_alias_then_should_fail::case_2 stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'create_new_service_tests::given_create_service_command_when_existing_service_with_name_or_alias_then_should_fail::case_2' (41) panicked at tests/create_new_service_tests.rs:89:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 2 [INFO] [stdout] right: 1 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d37845e1952 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d37845e1952 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d37845e1952 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d37845e1952 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d37845f28ff - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d37845f28ff - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5d37845ad743 - std::io::default_write_fmt::h4e8d11c5c4b9cafe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d37845ad743 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d37845b96d2 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d37845be58f - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d37845be421 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d378455247e - as core::ops::function::Fn>::call::h202f496763929329 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5d378455247e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d37845beb9f - as core::ops::function::Fn>::call::h2883c9d2dbd4e81c [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5d37845beb9f - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d37845be9fa - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d37845b9809 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d37845a1ddd - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d37845fa8b0 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5d37845fa6b3 - core::panicking::assert_failed_inner::ha59fbb70905830e9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:444:17 [INFO] [stdout] 20: 0x5d37845fa4f7 - core::panicking::assert_failed::h7f69869b372dcbfe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:399:5 [INFO] [stdout] 21: 0x5d3784522697 - create_new_service_tests::create_new_service_tests::given_create_service_command_when_existing_service_with_name_or_alias_then_should_fail::hdc0bc56811e9419b [INFO] [stdout] at /opt/rustwide/workdir/tests/create_new_service_tests.rs:89:9 [INFO] [stdout] 22: 0x5d378451d5c4 - create_new_service_tests::create_new_service_tests::given_create_service_command_when_existing_service_with_name_or_alias_then_should_fail::case_2::he419add5833c6507 [INFO] [stdout] at /opt/rustwide/workdir/tests/create_new_service_tests.rs:63:5 [INFO] [stdout] 23: 0x5d378451d627 - create_new_service_tests::create_new_service_tests::given_create_service_command_when_existing_service_with_name_or_alias_then_should_fail::case_2::{{closure}}::he1006e6cd644d50a [INFO] [stdout] at /opt/rustwide/workdir/tests/create_new_service_tests.rs:69:10 [INFO] [stdout] 24: 0x5d378451dca6 - core::ops::function::FnOnce::call_once::heaee7fb6f7e97649 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d37845522eb - core::ops::function::FnOnce::call_once::h3a2d82edd1a9b770 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d37845522eb - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d37845662dd - test::run_test_in_process::{{closure}}::h67b48a81b9c9d7b6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d37845662dd - as core::ops::function::FnOnce<()>>::call_once::h7680585480377cb5 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d37845662dd - std::panicking::catch_unwind::do_call::hf71351b2657d4002 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d37845662dd - std::panicking::catch_unwind::h7fcb5c0312d9e172 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d37845662dd - std::panic::catch_unwind::h5cf3c9bdee894ebe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d37845662dd - test::run_test_in_process::h1469cb85193a3a25 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d37845662dd - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d378453f824 - test::run_test::{{closure}}::h9baa0c3d443f28c9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d378453f824 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d378454307a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5d7539d5f78cee61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 37: 0x5d378454307a - as core::ops::function::FnOnce<()>>::call_once::he4c551e23c5e9b22 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d378454307a - std::panicking::catch_unwind::do_call::h522b41a6c157aaba [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d378454307a - std::panicking::catch_unwind::h0efbf72006b8e365 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d378454307a - std::panic::catch_unwind::h3b081041e6c97066 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d378454307a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha751309815d5d8cf [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 42: 0x5d378454307a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d37845b4b2f - as core::ops::function::FnOnce>::call_once::h3adbd6ccf5f737af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 44: 0x5d37845b4b2f - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 45: 0x797c8ab7aaa4 - [INFO] [stdout] 46: 0x797c8ac07a64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] create_new_service_tests::given_create_service_command_when_existing_service_with_name_or_alias_then_should_fail::case_1 [INFO] [stdout] create_new_service_tests::given_create_service_command_when_existing_service_with_name_or_alias_then_should_fail::case_2 [INFO] [stdout] create_new_service_tests::given_create_service_command_with_name_then_should_succeed [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3001be9a2ecf99998a16b384549f38d0731f1fdf753b57d15f0d355c0c18cc68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3001be9a2ecf99998a16b384549f38d0731f1fdf753b57d15f0d355c0c18cc68", kill_on_drop: false }` [INFO] [stdout] 3001be9a2ecf99998a16b384549f38d0731f1fdf753b57d15f0d355c0c18cc68