[INFO] fetching crate flare-rpc-core 0.1.1... [INFO] building flare-rpc-core-0.1.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate flare-rpc-core 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate flare-rpc-core 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate flare-rpc-core 0.1.1 [INFO] tweaked toml for crates.io crate flare-rpc-core 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate flare-rpc-core 0.1.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate flare-rpc-core 0.1.1 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flare-core v0.1.1 [INFO] [stderr] Downloaded uuid v1.15.1 [INFO] [stderr] Downloaded multimap v0.10.0 [INFO] [stderr] Downloaded tonic-build v0.12.3 [INFO] [stderr] Downloaded etcd-client v0.14.1 [INFO] [stderr] Downloaded axum v0.7.9 [INFO] [stderr] Downloaded prettyplease v0.2.30 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 507986e097c720f87b7354aba31836a594b8bdaeac5bd9cba0eb9e50a6c7cd39 [INFO] running `Command { std: "docker" "start" "-a" "507986e097c720f87b7354aba31836a594b8bdaeac5bd9cba0eb9e50a6c7cd39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "507986e097c720f87b7354aba31836a594b8bdaeac5bd9cba0eb9e50a6c7cd39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "507986e097c720f87b7354aba31836a594b8bdaeac5bd9cba0eb9e50a6c7cd39", kill_on_drop: false }` [INFO] [stdout] 507986e097c720f87b7354aba31836a594b8bdaeac5bd9cba0eb9e50a6c7cd39 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c4b164399e5292507287388e0fad07b96bf76504a0558cc299342b6847ad6c7 [INFO] running `Command { std: "docker" "start" "-a" "4c4b164399e5292507287388e0fad07b96bf76504a0558cc299342b6847ad6c7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rustix v1.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling prettyplease v0.2.30 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling linux-raw-sys v0.9.2 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tempfile v3.18.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling flare-core v0.1.1 [INFO] [stderr] Compiling flare-rpc-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stdout] warning: unused import: `crate::interceptor::ctxinterceprot::AppContextConfig` [INFO] [stdout] --> src/client/call.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::interceptor::ctxinterceprot::AppContextConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flare_core::context::AppContextBuilder` [INFO] [stdout] --> src/client/call.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use flare_core::context::AppContextBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/client/call.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::Layer` [INFO] [stdout] --> src/client/call.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tower::Layer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::Service` [INFO] [stdout] --> src/client/call.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tower::Service; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/client/call.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/client/call.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enable_tag_override`, `create_index`, and `modify_index` are never read [INFO] [stdout] --> src/discover/consul/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct ConsulService { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | enable_tag_override: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | #[serde(rename = "CreateIndex", skip_serializing)] [INFO] [stdout] 62 | create_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 63 | #[serde(rename = "ModifyIndex", skip_serializing)] [INFO] [stdout] 64 | modify_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConsulService` has derived impls for the traits `Clone` and `Debug`, but these are 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: method `check_service_health` is never used [INFO] [stdout] --> src/discover/consul/registry.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 15 | impl ConsulRegistry { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | async fn check_service_health(&self, service_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `service_name`, `all`, `added`, `updated`, and `removed` are never read [INFO] [stdout] --> src/discover/discover.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct Change { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 110 | pub service_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 111 | pub all: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 112 | pub added: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 113 | pub updated: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 114 | pub removed: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Change` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "4c4b164399e5292507287388e0fad07b96bf76504a0558cc299342b6847ad6c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c4b164399e5292507287388e0fad07b96bf76504a0558cc299342b6847ad6c7", kill_on_drop: false }` [INFO] [stdout] 4c4b164399e5292507287388e0fad07b96bf76504a0558cc299342b6847ad6c7 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 716ef0ef33b563d012207d74447518ea25c2779a0b343f6c5c25c7e0162282d2 [INFO] running `Command { std: "docker" "start" "-a" "716ef0ef33b563d012207d74447518ea25c2779a0b343f6c5c25c7e0162282d2", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::interceptor::ctxinterceprot::AppContextConfig` [INFO] [stdout] --> src/client/call.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::interceptor::ctxinterceprot::AppContextConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flare_core::context::AppContextBuilder` [INFO] [stdout] --> src/client/call.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use flare_core::context::AppContextBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/client/call.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::Layer` [INFO] [stdout] --> src/client/call.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tower::Layer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::Service` [INFO] [stdout] --> src/client/call.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tower::Service; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/client/call.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/client/call.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enable_tag_override`, `create_index`, and `modify_index` are never read [INFO] [stdout] --> src/discover/consul/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct ConsulService { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | enable_tag_override: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | #[serde(rename = "CreateIndex", skip_serializing)] [INFO] [stdout] 62 | create_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 63 | #[serde(rename = "ModifyIndex", skip_serializing)] [INFO] [stdout] 64 | modify_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConsulService` has derived impls for the traits `Clone` and `Debug`, but these are 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: method `check_service_health` is never used [INFO] [stdout] --> src/discover/consul/registry.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 15 | impl ConsulRegistry { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | async fn check_service_health(&self, service_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `service_name`, `all`, `added`, `updated`, and `removed` are never read [INFO] [stdout] --> src/discover/discover.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct Change { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 110 | pub service_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 111 | pub all: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 112 | pub added: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 113 | pub updated: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 114 | pub removed: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Change` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling flare-rpc-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ConsulRegistry` [INFO] [stdout] --> examples/echo_client.rs:2:62 [INFO] [stdout] | [INFO] [stdout] 2 | use flare_rpc_core::discover::{ConsulConfig, ConsulDiscover, ConsulRegistry, LoadBalanceStrategy, RpcDiscovery}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `App` [INFO] [stdout] --> examples/echo_server.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use flare_rpc_core::app::{App, AppBuilder}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interceptor::ctxinterceprot::AppContextConfig` [INFO] [stdout] --> src/client/call.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::interceptor::ctxinterceprot::AppContextConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/client/call.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::Layer` [INFO] [stdout] --> src/client/call.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tower::Layer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::Service` [INFO] [stdout] --> src/client/call.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tower::Service; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/discover/consul/tests.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::transport::Channel` [INFO] [stdout] --> src/discover/consul/tests.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use tonic::transport::Channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enable_tag_override`, `create_index`, and `modify_index` are never read [INFO] [stdout] --> src/discover/consul/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct ConsulService { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | enable_tag_override: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | #[serde(rename = "CreateIndex", skip_serializing)] [INFO] [stdout] 62 | create_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 63 | #[serde(rename = "ModifyIndex", skip_serializing)] [INFO] [stdout] 64 | modify_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConsulService` has derived impls for the traits `Clone` and `Debug`, but these are 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: method `check_service_health` is never used [INFO] [stdout] --> src/discover/consul/registry.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 15 | impl ConsulRegistry { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | async fn check_service_health(&self, service_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `service_name`, `all`, `added`, `updated`, and `removed` are never read [INFO] [stdout] --> src/discover/discover.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct Change { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 110 | pub service_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 111 | pub all: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 112 | pub added: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 113 | pub updated: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 114 | pub removed: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Change` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.89s [INFO] running `Command { std: "docker" "inspect" "716ef0ef33b563d012207d74447518ea25c2779a0b343f6c5c25c7e0162282d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "716ef0ef33b563d012207d74447518ea25c2779a0b343f6c5c25c7e0162282d2", kill_on_drop: false }` [INFO] [stdout] 716ef0ef33b563d012207d74447518ea25c2779a0b343f6c5c25c7e0162282d2