[INFO] fetching crate eureka-client 0.0.4... [INFO] building eureka-client-0.0.4 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate eureka-client 0.0.4 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate eureka-client 0.0.4 [INFO] finished tweaking crates.io crate eureka-client 0.0.4 [INFO] tweaked toml for crates.io crate eureka-client 0.0.4 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate eureka-client 0.0.4 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 191 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.7.11 (available: v0.14.0) [INFO] [stderr] Adding percent-encoding v1.0.1 (available: v2.3.2) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.12.23) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc59385df051daa8887d6f669c6db4bc604bf52bfe1033d6371ce8e500159b1c [INFO] running `Command { std: "docker" "start" "-a" "cc59385df051daa8887d6f669c6db4bc604bf52bfe1033d6371ce8e500159b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc59385df051daa8887d6f669c6db4bc604bf52bfe1033d6371ce8e500159b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc59385df051daa8887d6f669c6db4bc604bf52bfe1033d6371ce8e500159b1c", kill_on_drop: false }` [INFO] [stdout] cc59385df051daa8887d6f669c6db4bc604bf52bfe1033d6371ce8e500159b1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8e5a3f94442a1808e48ea5b7858e5f7a6a25ebf667b4457252f93cf974252e2 [INFO] running `Command { std: "docker" "start" "-a" "b8e5a3f94442a1808e48ea5b7858e5f7a6a25ebf667b4457252f93cf974252e2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling eureka-client v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | path.trim_left_matches('/') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 169 - path.trim_left_matches('/') [INFO] [stdout] 169 + path.trim_start_matches('/') [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/resolver.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(config: &HashMap) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `retry_attempts` [INFO] [stdout] --> src/resolver.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | fn resolve_eureka_url(&self, retry_attempts: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_retry_attempts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/resolver.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(config: &HashMap) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `retry_attempts` [INFO] [stdout] --> src/resolver.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | fn resolve_eureka_url(&self, retry_attempts: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_retry_attempts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base_url` is never read [INFO] [stdout] --> src/lib.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct EurekaClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 98 | base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EurekaClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_encode` is never used [INFO] [stdout] --> src/lib.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn query_encode(value: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AwsMetadata` is never constructed [INFO] [stdout] --> src/aws.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AwsMetadata { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fetch_metadata`, `lookup_metadata_key`, and `lookup_instance_identity` are never used [INFO] [stdout] --> src/aws.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl AwsMetadata { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(config: &HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn fetch_metadata(&self) -> HashMap<&'static str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn lookup_metadata_key(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn lookup_instance_identity(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ClusterResolver` is never used [INFO] [stdout] --> src/resolver.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ClusterResolver: Debug + Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfigClusterResolver` is never constructed [INFO] [stdout] --> src/resolver.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ConfigClusterResolver {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `build_service_urls` are never used [INFO] [stdout] --> src/resolver.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ConfigClusterResolver { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(config: &HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn build_service_urls(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DnsClusterResolver` is never constructed [INFO] [stdout] --> src/resolver.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct DnsClusterResolver {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_current_cluster`, `start_cluster_refresh`, `resolve_cluster_hosts`, `resolve_zone_hosts`, and `get_availability_zones` are never used [INFO] [stdout] --> src/resolver.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl DnsClusterResolver { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 33 | pub fn new(config: &HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn get_current_cluster(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn start_cluster_refresh(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn resolve_cluster_hosts(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn resolve_zone_hosts(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn get_availability_zones(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_instances_by_app`, `get_instance_by_app_and_instance`, `update_metadata`, `get_instances_by_vip_address`, and `get_instances_by_svip_address` are never used [INFO] [stdout] --> src/rest/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl EurekaRestClient { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn get_instances_by_app(&self, app_id: &str) -> Result, EurekaError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn get_instance_by_app_and_instance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn update_metadata( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn get_instances_by_vip_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn get_instances_by_svip_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApplicationWrapper` is never constructed [INFO] [stdout] --> src/rest/structures.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct ApplicationWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstanceWrapper` is never constructed [INFO] [stdout] --> src/rest/structures.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct InstanceWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.70s [INFO] running `Command { std: "docker" "inspect" "b8e5a3f94442a1808e48ea5b7858e5f7a6a25ebf667b4457252f93cf974252e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8e5a3f94442a1808e48ea5b7858e5f7a6a25ebf667b4457252f93cf974252e2", kill_on_drop: false }` [INFO] [stdout] b8e5a3f94442a1808e48ea5b7858e5f7a6a25ebf667b4457252f93cf974252e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17ccb3c3a4fbb2700bf889dad474c22714bcb56858dc381c7bffb803a75b0244 [INFO] running `Command { std: "docker" "start" "-a" "17ccb3c3a4fbb2700bf889dad474c22714bcb56858dc381c7bffb803a75b0244", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | path.trim_left_matches('/') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 169 - path.trim_left_matches('/') [INFO] [stdout] 169 + path.trim_start_matches('/') [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/resolver.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(config: &HashMap) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `retry_attempts` [INFO] [stdout] --> src/resolver.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | fn resolve_eureka_url(&self, retry_attempts: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_retry_attempts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/resolver.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(config: &HashMap) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `retry_attempts` [INFO] [stdout] --> src/resolver.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | fn resolve_eureka_url(&self, retry_attempts: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_retry_attempts` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling eureka-client v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `base_url` is never read [INFO] [stdout] --> src/lib.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct EurekaClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 98 | base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EurekaClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_encode` is never used [INFO] [stdout] --> src/lib.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn query_encode(value: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AwsMetadata` is never constructed [INFO] [stdout] --> src/aws.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AwsMetadata { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fetch_metadata`, `lookup_metadata_key`, and `lookup_instance_identity` are never used [INFO] [stdout] --> src/aws.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl AwsMetadata { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(config: &HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn fetch_metadata(&self) -> HashMap<&'static str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn lookup_metadata_key(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn lookup_instance_identity(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ClusterResolver` is never used [INFO] [stdout] --> src/resolver.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ClusterResolver: Debug + Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfigClusterResolver` is never constructed [INFO] [stdout] --> src/resolver.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ConfigClusterResolver {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `build_service_urls` are never used [INFO] [stdout] --> src/resolver.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ConfigClusterResolver { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(config: &HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn build_service_urls(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DnsClusterResolver` is never constructed [INFO] [stdout] --> src/resolver.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct DnsClusterResolver {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_current_cluster`, `start_cluster_refresh`, `resolve_cluster_hosts`, `resolve_zone_hosts`, and `get_availability_zones` are never used [INFO] [stdout] --> src/resolver.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl DnsClusterResolver { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 33 | pub fn new(config: &HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn get_current_cluster(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn start_cluster_refresh(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn resolve_cluster_hosts(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn resolve_zone_hosts(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn get_availability_zones(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_instances_by_app`, `get_instance_by_app_and_instance`, `update_metadata`, `get_instances_by_vip_address`, and `get_instances_by_svip_address` are never used [INFO] [stdout] --> src/rest/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl EurekaRestClient { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn get_instances_by_app(&self, app_id: &str) -> Result, EurekaError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn get_instance_by_app_and_instance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn update_metadata( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn get_instances_by_vip_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn get_instances_by_svip_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApplicationWrapper` is never constructed [INFO] [stdout] --> src/rest/structures.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct ApplicationWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstanceWrapper` is never constructed [INFO] [stdout] --> src/rest/structures.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct InstanceWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/lib.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | path.trim_left_matches('/') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 169 - path.trim_left_matches('/') [INFO] [stdout] 169 + path.trim_start_matches('/') [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/resolver.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(config: &HashMap) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `retry_attempts` [INFO] [stdout] --> src/resolver.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | fn resolve_eureka_url(&self, retry_attempts: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_retry_attempts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/resolver.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(config: &HashMap) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `retry_attempts` [INFO] [stdout] --> src/resolver.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | fn resolve_eureka_url(&self, retry_attempts: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_retry_attempts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base_url` is never read [INFO] [stdout] --> src/lib.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct EurekaClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 98 | base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EurekaClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_encode` is never used [INFO] [stdout] --> src/lib.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn query_encode(value: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AwsMetadata` is never constructed [INFO] [stdout] --> src/aws.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AwsMetadata { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fetch_metadata`, `lookup_metadata_key`, and `lookup_instance_identity` are never used [INFO] [stdout] --> src/aws.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl AwsMetadata { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(config: &HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn fetch_metadata(&self) -> HashMap<&'static str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn lookup_metadata_key(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn lookup_instance_identity(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ClusterResolver` is never used [INFO] [stdout] --> src/resolver.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ClusterResolver: Debug + Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfigClusterResolver` is never constructed [INFO] [stdout] --> src/resolver.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ConfigClusterResolver {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `build_service_urls` are never used [INFO] [stdout] --> src/resolver.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ConfigClusterResolver { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(config: &HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn build_service_urls(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DnsClusterResolver` is never constructed [INFO] [stdout] --> src/resolver.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct DnsClusterResolver {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_current_cluster`, `start_cluster_refresh`, `resolve_cluster_hosts`, `resolve_zone_hosts`, and `get_availability_zones` are never used [INFO] [stdout] --> src/resolver.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl DnsClusterResolver { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 33 | pub fn new(config: &HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn get_current_cluster(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn start_cluster_refresh(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn resolve_cluster_hosts(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn resolve_zone_hosts(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn get_availability_zones(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_instances_by_app`, `get_instance_by_app_and_instance`, `update_metadata`, `get_instances_by_vip_address`, and `get_instances_by_svip_address` are never used [INFO] [stdout] --> src/rest/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl EurekaRestClient { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn get_instances_by_app(&self, app_id: &str) -> Result, EurekaError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn get_instance_by_app_and_instance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn update_metadata( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn get_instances_by_vip_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn get_instances_by_svip_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApplicationWrapper` is never constructed [INFO] [stdout] --> src/rest/structures.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct ApplicationWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstanceWrapper` is never constructed [INFO] [stdout] --> src/rest/structures.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct InstanceWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.81s [INFO] running `Command { std: "docker" "inspect" "17ccb3c3a4fbb2700bf889dad474c22714bcb56858dc381c7bffb803a75b0244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ccb3c3a4fbb2700bf889dad474c22714bcb56858dc381c7bffb803a75b0244", kill_on_drop: false }` [INFO] [stdout] 17ccb3c3a4fbb2700bf889dad474c22714bcb56858dc381c7bffb803a75b0244