[INFO] fetching crate polaris-rust 0.2.0-alpha.0...
[INFO] testing polaris-rust-0.2.0-alpha.0 against beta-2025-10-28 for beta-1.92-2
[INFO] extracting crate polaris-rust 0.2.0-alpha.0 into /workspace/builds/worker-0-tc2/source
[INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain
[INFO] started tweaking crates.io crate polaris-rust 0.2.0-alpha.0
[INFO] finished tweaking crates.io crate polaris-rust 0.2.0-alpha.0
[INFO] tweaked toml for crates.io crate polaris-rust 0.2.0-alpha.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate polaris-rust 0.2.0-alpha.0 on toolchain beta-2025-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate polaris-rust 0.2.0-alpha.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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9938707e0b8919273ca8682aef715331526ff932f43c26f6031a5c345b350e8e
[INFO] running `Command { std: "docker" "start" "-a" "9938707e0b8919273ca8682aef715331526ff932f43c26f6031a5c345b350e8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9938707e0b8919273ca8682aef715331526ff932f43c26f6031a5c345b350e8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9938707e0b8919273ca8682aef715331526ff932f43c26f6031a5c345b350e8e", kill_on_drop: false }`
[INFO] [stdout] 9938707e0b8919273ca8682aef715331526ff932f43c26f6031a5c345b350e8e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 53f80f32256ae58b4c196a1fd192c703a940df4799e780bff39d72489d2410cd
[INFO] running `Command { std: "docker" "start" "-a" "53f80f32256ae58b4c196a1fd192c703a940df4799e780bff39d72489d2410cd", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling serde v1.0.213
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling anyhow v1.0.91
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling der v0.7.9
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling rustix v0.38.37
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling prettyplease v0.2.25
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling rustls-pki-types v1.10.0
[INFO] [stderr]    Compiling schemars v0.8.21
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling multimap v0.10.0
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling block-padding v0.2.1
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling block-modes v0.8.1
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling tempfile v3.13.0
[INFO] [stderr]    Compiling regex v1.11.0
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling serde_derive v1.0.213
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.6
[INFO] [stderr]    Compiling prost-derive v0.12.6
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling uuid-macro-internal v1.11.0
[INFO] [stderr]    Compiling schemars_derive v0.8.21
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling prost v0.12.6
[INFO] [stderr]    Compiling pin-project v1.1.6
[INFO] [stderr]    Compiling prost-types v0.12.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling prost-build v0.12.6
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling rsa v0.9.6
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-io-timeout v1.2.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling serde-duration-ext v0.1.0
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper v1.5.0
[INFO] [stderr]    Compiling hyper v0.14.31
[INFO] [stderr]    Compiling hyper-util v0.1.9
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.8
[INFO] [stderr]    Compiling hyper-timeout v0.4.1
[INFO] [stderr]    Compiling tonic v0.11.0
[INFO] [stderr]    Compiling polaris-rust v0.2.0-alpha.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `action`
[INFO] [stdout]   --> src/config/default.rs:58:30
[INFO] [stdout]    |
[INFO] [stdout] 58 |     async fn on_event(&self, action: Action, val: ServerEvent) {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/config/default.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 |         req: GetConfigGroupRequest,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/config/default.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         req: WatchConfigGroupRequest,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/core/model/config.rs:123:30
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn convert_from_spec(f: crate::core::model::pb::lib::ClientConfigFileInfo) -> ConfigFile {
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filter`
[INFO] [stdout]    --> src/core/plugin/cache.rs:102:39
[INFO] [stdout]     |
[INFO] [stdout] 102 |     async fn load_service_rule(&self, filter: Filter) -> Result<ServiceRule, PolarisError> {
[INFO] [stdout]     |                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filter`
[INFO] [stdout]    --> src/core/plugin/cache.rs:106:35
[INFO] [stdout]     |
[INFO] [stdout] 106 |     async fn load_services(&self, filter: Filter) -> Result<Services, PolarisError> {
[INFO] [stdout]     |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filter`
[INFO] [stdout]    --> src/core/plugin/cache.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         filter: Filter,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filter`
[INFO] [stdout]    --> src/core/plugin/cache.rs:117:38
[INFO] [stdout]     |
[INFO] [stdout] 117 |     async fn load_config_file(&self, filter: Filter) -> Result<ConfigFile, PolarisError> {
[INFO] [stdout]     |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filter`
[INFO] [stdout]    --> src/core/plugin/cache.rs:121:45
[INFO] [stdout]     |
[INFO] [stdout] 121 |     async fn load_config_group_files(&self, filter: Filter) -> Result<ConfigGroup, PolarisError> {
[INFO] [stdout]     |                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `listener`
[INFO] [stdout]    --> src/core/plugin/cache.rs:125:48
[INFO] [stdout]     |
[INFO] [stdout] 125 |     async fn register_resource_listener(&self, listener: Arc<dyn ResourceListener>) {
[INFO] [stdout]     |                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handler`
[INFO] [stdout]    --> src/core/plugin/connector.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         handler: Box<dyn ResourceHandler>,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |         req: InstanceRequest,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:124:41
[INFO] [stdout]     |
[INFO] [stdout] 124 |     async fn deregister_instance(&self, req: InstanceRequest) -> Result<bool, PolarisError> {
[INFO] [stdout]     |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:128:40
[INFO] [stdout]     |
[INFO] [stdout] 128 |     async fn heartbeat_instance(&self, req: InstanceRequest) -> Result<bool, PolarisError> {
[INFO] [stdout]     |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:144:40
[INFO] [stdout]     |
[INFO] [stdout] 144 |     async fn create_config_file(&self, req: ConfigFileRequest) -> Result<bool, PolarisError> {
[INFO] [stdout]     |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:148:40
[INFO] [stdout]     |
[INFO] [stdout] 148 |     async fn update_config_file(&self, req: ConfigFileRequest) -> Result<bool, PolarisError> {
[INFO] [stdout]     |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:152:41
[INFO] [stdout]     |
[INFO] [stdout] 152 |     async fn release_config_file(&self, req: ConfigReleaseRequest) -> Result<bool, PolarisError> {
[INFO] [stdout]     |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |         req: ConfigPublishRequest,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/discovery/default.rs:329:9
[INFO] [stdout]     |
[INFO] [stdout] 329 |         req: ReportServiceContractRequest,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `model::circuitbreaker::Status` is more private than the item `CircuitBreakerStatus::status`
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub status: Status,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ field `CircuitBreakerStatus::status` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `model::circuitbreaker::Status` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum Status {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `RetStatus` is more private than the item `ResourceStat::status`
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub status: RetStatus,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ field `ResourceStat::status` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `RetStatus` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | enum RetStatus {
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `TrafficLabel` is more private than the item `Argument::traffic_label`
[INFO] [stdout]   --> src/core/model/router.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub traffic_label: TrafficLabel,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Argument::traffic_label` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `TrafficLabel` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/core/model/router.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | enum TrafficLabel {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `MetadataFailoverType` is more private than the item `CallerInfo::metadata_failover`
[INFO] [stdout]   --> src/core/model/router.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub metadata_failover: MetadataFailoverType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `CallerInfo::metadata_failover` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `MetadataFailoverType` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/core/model/router.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | enum MetadataFailoverType {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CircuitBreakerAPI` is never used
[INFO] [stdout]   --> src/circuitbreaker/api.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait CircuitBreakerAPI {}
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `manage_sdk` is never read
[INFO] [stdout]   --> src/config/default.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct DefaultConfigFileAPI {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] 94 |     context: Arc<SDKContext>,
[INFO] [stdout] 95 |     manage_sdk: bool,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DefaultConfigGroupAPI` is never constructed
[INFO] [stdout]    --> src/config/default.rs:173:12
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub struct DefaultConfigGroupAPI {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_location_providers` is never used
[INFO] [stdout]    --> src/core/config/global.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn default_location_providers() -> Vec<LocationProviderConfig> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Close`, `HalfOpen`, `Open`, and `Destroy` are never constructed
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum Status {
[INFO] [stdout]    |      ------ variants in this enum
[INFO] [stdout] 19 |     Close,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 20 |     HalfOpen,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 21 |     Open,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 22 |     Destroy,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `RetUnknown`, `RetSuccess`, `RetFail`, `RetTimeout`, `RetReject`, and `RetFlowControl` are never constructed
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | enum RetStatus {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 34 |     RetUnknown,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 35 |     RetSuccess,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 36 |     RetFail,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 37 |     RetTimeout,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 38 |     RetReject,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 39 |     RetFlowControl,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONFIG_FILE_TAG_KEY_USE_ENCRYPTED` is never used
[INFO] [stdout]   --> src/core/model/config.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const CONFIG_FILE_TAG_KEY_USE_ENCRYPTED: &str = "internal-encrypted";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `MetadataFailoverNone`, `MetadataFailoverAll`, and `MetadataFailoverNoKey` are never constructed
[INFO] [stdout]   --> src/core/model/router.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | enum MetadataFailoverType {
[INFO] [stdout]    |      -------------------- variants in this enum
[INFO] [stdout] 22 |     MetadataFailoverNone,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     MetadataFailoverAll,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     MetadataFailoverNoKey,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MetadataFailoverType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Header`, `Cookie`, `Query`, `Method`, `Path`, and `CallerIp` are never constructed
[INFO] [stdout]   --> src/core/model/router.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | enum TrafficLabel {
[INFO] [stdout]    |      ------------ variants in this enum
[INFO] [stdout] 28 |     Header,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 29 |     Cookie,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 30 |     Query,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 31 |     Method,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 32 |     Path,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 33 |     CallerIp,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `routers` is never read
[INFO] [stdout]    --> src/core/plugin/plugins.rs:194:5
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub struct PluginContainer {
[INFO] [stdout]     |            --------------- field in this struct
[INFO] [stdout] 193 |     connectors: HashMap<String, fn(InitConnectorOption) -> Box<dyn Connector>>,
[INFO] [stdout] 194 |     routers: HashMap<String, fn(&Configuration) -> Box<dyn ServiceRouter>>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_lossless_api` is never used
[INFO] [stdout]    --> src/discovery/api.rs:128:15
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub(crate) fn new_lossless_api() -> Result<impl LosslessAPI, PolarisError> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_lossless_api_by_context` is never used
[INFO] [stdout]    --> src/discovery/api.rs:137:15
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub(crate) fn new_lossless_api_by_context(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LosslessAPI` is never used
[INFO] [stdout]    --> src/discovery/api.rs:143:18
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub(crate) trait LosslessAPI {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DefaultLosslessAPI` is never constructed
[INFO] [stdout]    --> src/discovery/default.rs:337:12
[INFO] [stdout]     |
[INFO] [stdout] 337 | pub struct DefaultLosslessAPI {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/discovery/default.rs:342:12
[INFO] [stdout]     |
[INFO] [stdout] 341 | impl DefaultLosslessAPI {
[INFO] [stdout]     | ----------------------- associated function in this implementation
[INFO] [stdout] 342 |     pub fn new(context: SDKContext) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `discover_grpc_client` and `config_grpc_client` are never read
[INFO] [stdout]   --> src/plugins/connector/grpc/connector.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct GrpcConnector {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     discover_grpc_client: PolarisGrpcClient<Channel>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 59 |     config_grpc_client: PolarisConfigGrpcClient<Channel>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GrpcConnector` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `encrypt` and `encrypt_to_base64` are never used
[INFO] [stdout]    --> src/plugins/filter/configcrypto/crypto.rs:247:8
[INFO] [stdout]     |
[INFO] [stdout] 214 | impl RSACryptor {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 247 |     fn encrypt(&self, plaintext: &[u8]) -> Result<Vec<u8>, PolarisError> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 272 |     fn encrypt_to_base64(&self, plaintext: &[u8]) -> Result<String, PolarisError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `opt` is never read
[INFO] [stdout]   --> src/plugins/location/remotehttp/remotehttp.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct RemoteHttpLocationSupplier {
[INFO] [stdout]    |            -------------------------- field in this struct
[INFO] [stdout] 25 |     opt: LocationProviderConfig,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `RateLimitAPI` is never used
[INFO] [stdout]   --> src/ratelimit/api.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait RateLimitAPI {}
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "53f80f32256ae58b4c196a1fd192c703a940df4799e780bff39d72489d2410cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53f80f32256ae58b4c196a1fd192c703a940df4799e780bff39d72489d2410cd", kill_on_drop: false }`
[INFO] [stdout] 53f80f32256ae58b4c196a1fd192c703a940df4799e780bff39d72489d2410cd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb7862818ff4de1d74f67e9d14cb5cf77a12eb5ec94125663fa87b91a694e31f
[INFO] running `Command { std: "docker" "start" "-a" "cb7862818ff4de1d74f67e9d14cb5cf77a12eb5ec94125663fa87b91a694e31f", kill_on_drop: false }`
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling prost-build v0.12.6
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling hyper v1.5.0
[INFO] [stderr]    Compiling hyper v0.14.31
[INFO] [stderr]    Compiling hyper-util v0.1.9
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.8
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]    Compiling hyper-timeout v0.4.1
[INFO] [stderr]    Compiling tonic v0.11.0
[INFO] [stderr]    Compiling polaris-rust v0.2.0-alpha.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `action`
[INFO] [stdout]   --> src/config/default.rs:58:30
[INFO] [stdout]    |
[INFO] [stdout] 58 |     async fn on_event(&self, action: Action, val: ServerEvent) {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/config/default.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 |         req: GetConfigGroupRequest,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/config/default.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         req: WatchConfigGroupRequest,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/core/model/config.rs:123:30
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn convert_from_spec(f: crate::core::model::pb::lib::ClientConfigFileInfo) -> ConfigFile {
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filter`
[INFO] [stdout]    --> src/core/plugin/cache.rs:102:39
[INFO] [stdout]     |
[INFO] [stdout] 102 |     async fn load_service_rule(&self, filter: Filter) -> Result<ServiceRule, PolarisError> {
[INFO] [stdout]     |                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filter`
[INFO] [stdout]    --> src/core/plugin/cache.rs:106:35
[INFO] [stdout]     |
[INFO] [stdout] 106 |     async fn load_services(&self, filter: Filter) -> Result<Services, PolarisError> {
[INFO] [stdout]     |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filter`
[INFO] [stdout]    --> src/core/plugin/cache.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         filter: Filter,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filter`
[INFO] [stdout]    --> src/core/plugin/cache.rs:117:38
[INFO] [stdout]     |
[INFO] [stdout] 117 |     async fn load_config_file(&self, filter: Filter) -> Result<ConfigFile, PolarisError> {
[INFO] [stdout]     |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filter`
[INFO] [stdout]    --> src/core/plugin/cache.rs:121:45
[INFO] [stdout]     |
[INFO] [stdout] 121 |     async fn load_config_group_files(&self, filter: Filter) -> Result<ConfigGroup, PolarisError> {
[INFO] [stdout]     |                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `listener`
[INFO] [stdout]    --> src/core/plugin/cache.rs:125:48
[INFO] [stdout]     |
[INFO] [stdout] 125 |     async fn register_resource_listener(&self, listener: Arc<dyn ResourceListener>) {
[INFO] [stdout]     |                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handler`
[INFO] [stdout]    --> src/core/plugin/connector.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         handler: Box<dyn ResourceHandler>,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |         req: InstanceRequest,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:124:41
[INFO] [stdout]     |
[INFO] [stdout] 124 |     async fn deregister_instance(&self, req: InstanceRequest) -> Result<bool, PolarisError> {
[INFO] [stdout]     |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:128:40
[INFO] [stdout]     |
[INFO] [stdout] 128 |     async fn heartbeat_instance(&self, req: InstanceRequest) -> Result<bool, PolarisError> {
[INFO] [stdout]     |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:144:40
[INFO] [stdout]     |
[INFO] [stdout] 144 |     async fn create_config_file(&self, req: ConfigFileRequest) -> Result<bool, PolarisError> {
[INFO] [stdout]     |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:148:40
[INFO] [stdout]     |
[INFO] [stdout] 148 |     async fn update_config_file(&self, req: ConfigFileRequest) -> Result<bool, PolarisError> {
[INFO] [stdout]     |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:152:41
[INFO] [stdout]     |
[INFO] [stdout] 152 |     async fn release_config_file(&self, req: ConfigReleaseRequest) -> Result<bool, PolarisError> {
[INFO] [stdout]     |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |         req: ConfigPublishRequest,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/discovery/default.rs:329:9
[INFO] [stdout]     |
[INFO] [stdout] 329 |         req: ReportServiceContractRequest,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `action`
[INFO] [stdout]   --> src/config/default.rs:58:30
[INFO] [stdout]    |
[INFO] [stdout] 58 |     async fn on_event(&self, action: Action, val: ServerEvent) {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/config/default.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 |         req: GetConfigGroupRequest,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/config/default.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         req: WatchConfigGroupRequest,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `model::circuitbreaker::Status` is more private than the item `CircuitBreakerStatus::status`
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub status: Status,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ field `CircuitBreakerStatus::status` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `model::circuitbreaker::Status` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum Status {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `RetStatus` is more private than the item `ResourceStat::status`
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub status: RetStatus,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ field `ResourceStat::status` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `RetStatus` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | enum RetStatus {
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `TrafficLabel` is more private than the item `Argument::traffic_label`
[INFO] [stdout]   --> src/core/model/router.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub traffic_label: TrafficLabel,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Argument::traffic_label` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `TrafficLabel` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/core/model/router.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | enum TrafficLabel {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `MetadataFailoverType` is more private than the item `CallerInfo::metadata_failover`
[INFO] [stdout]   --> src/core/model/router.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub metadata_failover: MetadataFailoverType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `CallerInfo::metadata_failover` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `MetadataFailoverType` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/core/model/router.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | enum MetadataFailoverType {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CircuitBreakerAPI` is never used
[INFO] [stdout]   --> src/circuitbreaker/api.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait CircuitBreakerAPI {}
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `manage_sdk` is never read
[INFO] [stdout]   --> src/config/default.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct DefaultConfigFileAPI {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] 94 |     context: Arc<SDKContext>,
[INFO] [stdout] 95 |     manage_sdk: bool,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DefaultConfigGroupAPI` is never constructed
[INFO] [stdout]    --> src/config/default.rs:173:12
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub struct DefaultConfigGroupAPI {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_location_providers` is never used
[INFO] [stdout]    --> src/core/config/global.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn default_location_providers() -> Vec<LocationProviderConfig> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Close`, `HalfOpen`, `Open`, and `Destroy` are never constructed
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum Status {
[INFO] [stdout]    |      ------ variants in this enum
[INFO] [stdout] 19 |     Close,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 20 |     HalfOpen,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 21 |     Open,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 22 |     Destroy,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `RetUnknown`, `RetSuccess`, `RetFail`, `RetTimeout`, `RetReject`, and `RetFlowControl` are never constructed
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | enum RetStatus {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 34 |     RetUnknown,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 35 |     RetSuccess,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 36 |     RetFail,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 37 |     RetTimeout,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 38 |     RetReject,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 39 |     RetFlowControl,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONFIG_FILE_TAG_KEY_USE_ENCRYPTED` is never used
[INFO] [stdout]   --> src/core/model/config.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const CONFIG_FILE_TAG_KEY_USE_ENCRYPTED: &str = "internal-encrypted";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `MetadataFailoverNone`, `MetadataFailoverAll`, and `MetadataFailoverNoKey` are never constructed
[INFO] [stdout]   --> src/core/model/router.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | enum MetadataFailoverType {
[INFO] [stdout]    |      -------------------- variants in this enum
[INFO] [stdout] 22 |     MetadataFailoverNone,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     MetadataFailoverAll,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     MetadataFailoverNoKey,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MetadataFailoverType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Header`, `Cookie`, `Query`, `Method`, `Path`, and `CallerIp` are never constructed
[INFO] [stdout]   --> src/core/model/router.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | enum TrafficLabel {
[INFO] [stdout]    |      ------------ variants in this enum
[INFO] [stdout] 28 |     Header,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 29 |     Cookie,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 30 |     Query,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 31 |     Method,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 32 |     Path,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 33 |     CallerIp,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `routers` is never read
[INFO] [stdout]    --> src/core/plugin/plugins.rs:194:5
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub struct PluginContainer {
[INFO] [stdout]     |            --------------- field in this struct
[INFO] [stdout] 193 |     connectors: HashMap<String, fn(InitConnectorOption) -> Box<dyn Connector>>,
[INFO] [stdout] 194 |     routers: HashMap<String, fn(&Configuration) -> Box<dyn ServiceRouter>>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_lossless_api` is never used
[INFO] [stdout]    --> src/discovery/api.rs:128:15
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub(crate) fn new_lossless_api() -> Result<impl LosslessAPI, PolarisError> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_lossless_api_by_context` is never used
[INFO] [stdout]    --> src/discovery/api.rs:137:15
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub(crate) fn new_lossless_api_by_context(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LosslessAPI` is never used
[INFO] [stdout]    --> src/discovery/api.rs:143:18
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub(crate) trait LosslessAPI {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DefaultLosslessAPI` is never constructed
[INFO] [stdout]    --> src/discovery/default.rs:337:12
[INFO] [stdout]     |
[INFO] [stdout] 337 | pub struct DefaultLosslessAPI {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/discovery/default.rs:342:12
[INFO] [stdout]     |
[INFO] [stdout] 341 | impl DefaultLosslessAPI {
[INFO] [stdout]     | ----------------------- associated function in this implementation
[INFO] [stdout] 342 |     pub fn new(context: SDKContext) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `discover_grpc_client` and `config_grpc_client` are never read
[INFO] [stdout]   --> src/plugins/connector/grpc/connector.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct GrpcConnector {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     discover_grpc_client: PolarisGrpcClient<Channel>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 59 |     config_grpc_client: PolarisConfigGrpcClient<Channel>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GrpcConnector` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `encrypt` and `encrypt_to_base64` are never used
[INFO] [stdout]    --> src/plugins/filter/configcrypto/crypto.rs:247:8
[INFO] [stdout]     |
[INFO] [stdout] 214 | impl RSACryptor {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 247 |     fn encrypt(&self, plaintext: &[u8]) -> Result<Vec<u8>, PolarisError> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 272 |     fn encrypt_to_base64(&self, plaintext: &[u8]) -> Result<String, PolarisError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `opt` is never read
[INFO] [stdout]   --> src/plugins/location/remotehttp/remotehttp.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct RemoteHttpLocationSupplier {
[INFO] [stdout]    |            -------------------------- field in this struct
[INFO] [stdout] 25 |     opt: LocationProviderConfig,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `RateLimitAPI` is never used
[INFO] [stdout]   --> src/ratelimit/api.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait RateLimitAPI {}
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/core/model/config.rs:123:30
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn convert_from_spec(f: crate::core::model::pb::lib::ClientConfigFileInfo) -> ConfigFile {
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filter`
[INFO] [stdout]    --> src/core/plugin/cache.rs:102:39
[INFO] [stdout]     |
[INFO] [stdout] 102 |     async fn load_service_rule(&self, filter: Filter) -> Result<ServiceRule, PolarisError> {
[INFO] [stdout]     |                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filter`
[INFO] [stdout]    --> src/core/plugin/cache.rs:106:35
[INFO] [stdout]     |
[INFO] [stdout] 106 |     async fn load_services(&self, filter: Filter) -> Result<Services, PolarisError> {
[INFO] [stdout]     |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filter`
[INFO] [stdout]    --> src/core/plugin/cache.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         filter: Filter,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filter`
[INFO] [stdout]    --> src/core/plugin/cache.rs:117:38
[INFO] [stdout]     |
[INFO] [stdout] 117 |     async fn load_config_file(&self, filter: Filter) -> Result<ConfigFile, PolarisError> {
[INFO] [stdout]     |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filter`
[INFO] [stdout]    --> src/core/plugin/cache.rs:121:45
[INFO] [stdout]     |
[INFO] [stdout] 121 |     async fn load_config_group_files(&self, filter: Filter) -> Result<ConfigGroup, PolarisError> {
[INFO] [stdout]     |                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `listener`
[INFO] [stdout]    --> src/core/plugin/cache.rs:125:48
[INFO] [stdout]     |
[INFO] [stdout] 125 |     async fn register_resource_listener(&self, listener: Arc<dyn ResourceListener>) {
[INFO] [stdout]     |                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handler`
[INFO] [stdout]    --> src/core/plugin/connector.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         handler: Box<dyn ResourceHandler>,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |         req: InstanceRequest,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:124:41
[INFO] [stdout]     |
[INFO] [stdout] 124 |     async fn deregister_instance(&self, req: InstanceRequest) -> Result<bool, PolarisError> {
[INFO] [stdout]     |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:128:40
[INFO] [stdout]     |
[INFO] [stdout] 128 |     async fn heartbeat_instance(&self, req: InstanceRequest) -> Result<bool, PolarisError> {
[INFO] [stdout]     |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:144:40
[INFO] [stdout]     |
[INFO] [stdout] 144 |     async fn create_config_file(&self, req: ConfigFileRequest) -> Result<bool, PolarisError> {
[INFO] [stdout]     |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:148:40
[INFO] [stdout]     |
[INFO] [stdout] 148 |     async fn update_config_file(&self, req: ConfigFileRequest) -> Result<bool, PolarisError> {
[INFO] [stdout]     |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:152:41
[INFO] [stdout]     |
[INFO] [stdout] 152 |     async fn release_config_file(&self, req: ConfigReleaseRequest) -> Result<bool, PolarisError> {
[INFO] [stdout]     |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/core/plugin/connector.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |         req: ConfigPublishRequest,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/discovery/default.rs:329:9
[INFO] [stdout]     |
[INFO] [stdout] 329 |         req: ReportServiceContractRequest,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `model::circuitbreaker::Status` is more private than the item `CircuitBreakerStatus::status`
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub status: Status,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ field `CircuitBreakerStatus::status` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `model::circuitbreaker::Status` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum Status {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `RetStatus` is more private than the item `ResourceStat::status`
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub status: RetStatus,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ field `ResourceStat::status` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `RetStatus` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | enum RetStatus {
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `TrafficLabel` is more private than the item `Argument::traffic_label`
[INFO] [stdout]   --> src/core/model/router.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub traffic_label: TrafficLabel,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Argument::traffic_label` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `TrafficLabel` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/core/model/router.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | enum TrafficLabel {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `MetadataFailoverType` is more private than the item `CallerInfo::metadata_failover`
[INFO] [stdout]   --> src/core/model/router.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub metadata_failover: MetadataFailoverType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `CallerInfo::metadata_failover` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `MetadataFailoverType` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/core/model/router.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | enum MetadataFailoverType {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CircuitBreakerAPI` is never used
[INFO] [stdout]   --> src/circuitbreaker/api.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait CircuitBreakerAPI {}
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `manage_sdk` is never read
[INFO] [stdout]   --> src/config/default.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct DefaultConfigFileAPI {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] 94 |     context: Arc<SDKContext>,
[INFO] [stdout] 95 |     manage_sdk: bool,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DefaultConfigGroupAPI` is never constructed
[INFO] [stdout]    --> src/config/default.rs:173:12
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub struct DefaultConfigGroupAPI {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_location_providers` is never used
[INFO] [stdout]    --> src/core/config/global.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn default_location_providers() -> Vec<LocationProviderConfig> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Close`, `HalfOpen`, `Open`, and `Destroy` are never constructed
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | enum Status {
[INFO] [stdout]    |      ------ variants in this enum
[INFO] [stdout] 19 |     Close,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 20 |     HalfOpen,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 21 |     Open,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 22 |     Destroy,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `RetUnknown`, `RetSuccess`, `RetFail`, `RetTimeout`, `RetReject`, and `RetFlowControl` are never constructed
[INFO] [stdout]   --> src/core/model/circuitbreaker.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | enum RetStatus {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 34 |     RetUnknown,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 35 |     RetSuccess,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 36 |     RetFail,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 37 |     RetTimeout,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 38 |     RetReject,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 39 |     RetFlowControl,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONFIG_FILE_TAG_KEY_USE_ENCRYPTED` is never used
[INFO] [stdout]   --> src/core/model/config.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const CONFIG_FILE_TAG_KEY_USE_ENCRYPTED: &str = "internal-encrypted";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `MetadataFailoverNone`, `MetadataFailoverAll`, and `MetadataFailoverNoKey` are never constructed
[INFO] [stdout]   --> src/core/model/router.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | enum MetadataFailoverType {
[INFO] [stdout]    |      -------------------- variants in this enum
[INFO] [stdout] 22 |     MetadataFailoverNone,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     MetadataFailoverAll,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     MetadataFailoverNoKey,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MetadataFailoverType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Header`, `Cookie`, `Query`, `Method`, `Path`, and `CallerIp` are never constructed
[INFO] [stdout]   --> src/core/model/router.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | enum TrafficLabel {
[INFO] [stdout]    |      ------------ variants in this enum
[INFO] [stdout] 28 |     Header,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 29 |     Cookie,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 30 |     Query,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 31 |     Method,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 32 |     Path,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 33 |     CallerIp,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `routers` is never read
[INFO] [stdout]    --> src/core/plugin/plugins.rs:194:5
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub struct PluginContainer {
[INFO] [stdout]     |            --------------- field in this struct
[INFO] [stdout] 193 |     connectors: HashMap<String, fn(InitConnectorOption) -> Box<dyn Connector>>,
[INFO] [stdout] 194 |     routers: HashMap<String, fn(&Configuration) -> Box<dyn ServiceRouter>>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_lossless_api` is never used
[INFO] [stdout]    --> src/discovery/api.rs:128:15
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub(crate) fn new_lossless_api() -> Result<impl LosslessAPI, PolarisError> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_lossless_api_by_context` is never used
[INFO] [stdout]    --> src/discovery/api.rs:137:15
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub(crate) fn new_lossless_api_by_context(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LosslessAPI` is never used
[INFO] [stdout]    --> src/discovery/api.rs:143:18
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub(crate) trait LosslessAPI {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DefaultLosslessAPI` is never constructed
[INFO] [stdout]    --> src/discovery/default.rs:337:12
[INFO] [stdout]     |
[INFO] [stdout] 337 | pub struct DefaultLosslessAPI {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/discovery/default.rs:342:12
[INFO] [stdout]     |
[INFO] [stdout] 341 | impl DefaultLosslessAPI {
[INFO] [stdout]     | ----------------------- associated function in this implementation
[INFO] [stdout] 342 |     pub fn new(context: SDKContext) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `discover_grpc_client` and `config_grpc_client` are never read
[INFO] [stdout]   --> src/plugins/connector/grpc/connector.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct GrpcConnector {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     discover_grpc_client: PolarisGrpcClient<Channel>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 59 |     config_grpc_client: PolarisConfigGrpcClient<Channel>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GrpcConnector` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `opt` is never read
[INFO] [stdout]   --> src/plugins/location/remotehttp/remotehttp.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct RemoteHttpLocationSupplier {
[INFO] [stdout]    |            -------------------------- field in this struct
[INFO] [stdout] 25 |     opt: LocationProviderConfig,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `RateLimitAPI` is never used
[INFO] [stdout]   --> src/ratelimit/api.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait RateLimitAPI {}
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 33.82s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "cb7862818ff4de1d74f67e9d14cb5cf77a12eb5ec94125663fa87b91a694e31f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb7862818ff4de1d74f67e9d14cb5cf77a12eb5ec94125663fa87b91a694e31f", kill_on_drop: false }`
[INFO] [stdout] cb7862818ff4de1d74f67e9d14cb5cf77a12eb5ec94125663fa87b91a694e31f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4787145299e9b8bef6428d9585bcfeed93efab20a59be95dc81eca8dd25d04e8
[INFO] running `Command { std: "docker" "start" "-a" "4787145299e9b8bef6428d9585bcfeed93efab20a59be95dc81eca8dd25d04e8", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `action`
[INFO] [stderr]   --> src/config/default.rs:58:30
[INFO] [stderr]    |
[INFO] [stderr] 58 |     async fn on_event(&self, action: Action, val: ServerEvent) {
[INFO] [stderr]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `req`
[INFO] [stderr]    --> src/config/default.rs:179:9
[INFO] [stderr]     |
[INFO] [stderr] 179 |         req: GetConfigGroupRequest,
[INFO] [stderr]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `req`
[INFO] [stderr]    --> src/config/default.rs:186:9
[INFO] [stderr]     |
[INFO] [stderr] 186 |         req: WatchConfigGroupRequest,
[INFO] [stderr]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `f`
[INFO] [stderr]    --> src/core/model/config.rs:123:30
[INFO] [stderr]     |
[INFO] [stderr] 123 |     pub fn convert_from_spec(f: crate::core::model::pb::lib::ClientConfigFileInfo) -> ConfigFile {
[INFO] [stderr]     |                              ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `filter`
[INFO] [stderr]    --> src/core/plugin/cache.rs:102:39
[INFO] [stderr]     |
[INFO] [stderr] 102 |     async fn load_service_rule(&self, filter: Filter) -> Result<ServiceRule, PolarisError> {
[INFO] [stderr]     |                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `filter`
[INFO] [stderr]    --> src/core/plugin/cache.rs:106:35
[INFO] [stderr]     |
[INFO] [stderr] 106 |     async fn load_services(&self, filter: Filter) -> Result<Services, PolarisError> {
[INFO] [stderr]     |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `filter`
[INFO] [stderr]    --> src/core/plugin/cache.rs:112:9
[INFO] [stderr]     |
[INFO] [stderr] 112 |         filter: Filter,
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `filter`
[INFO] [stderr]    --> src/core/plugin/cache.rs:117:38
[INFO] [stderr]     |
[INFO] [stderr] 117 |     async fn load_config_file(&self, filter: Filter) -> Result<ConfigFile, PolarisError> {
[INFO] [stderr]     |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `filter`
[INFO] [stderr]    --> src/core/plugin/cache.rs:121:45
[INFO] [stderr]     |
[INFO] [stderr] 121 |     async fn load_config_group_files(&self, filter: Filter) -> Result<ConfigGroup, PolarisError> {
[INFO] [stderr]     |                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `listener`
[INFO] [stderr]    --> src/core/plugin/cache.rs:125:48
[INFO] [stderr]     |
[INFO] [stderr] 125 |     async fn register_resource_listener(&self, listener: Arc<dyn ResourceListener>) {
[INFO] [stderr]     |                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `handler`
[INFO] [stderr]    --> src/core/plugin/connector.rs:112:9
[INFO] [stderr]     |
[INFO] [stderr] 112 |         handler: Box<dyn ResourceHandler>,
[INFO] [stderr]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `req`
[INFO] [stderr]    --> src/core/plugin/connector.rs:119:9
[INFO] [stderr]     |
[INFO] [stderr] 119 |         req: InstanceRequest,
[INFO] [stderr]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `req`
[INFO] [stderr]    --> src/core/plugin/connector.rs:124:41
[INFO] [stderr]     |
[INFO] [stderr] 124 |     async fn deregister_instance(&self, req: InstanceRequest) -> Result<bool, PolarisError> {
[INFO] [stderr]     |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `req`
[INFO] [stderr]    --> src/core/plugin/connector.rs:128:40
[INFO] [stderr]     |
[INFO] [stderr] 128 |     async fn heartbeat_instance(&self, req: InstanceRequest) -> Result<bool, PolarisError> {
[INFO] [stderr]     |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `req`
[INFO] [stderr]    --> src/core/plugin/connector.rs:144:40
[INFO] [stderr]     |
[INFO] [stderr] 144 |     async fn create_config_file(&self, req: ConfigFileRequest) -> Result<bool, PolarisError> {
[INFO] [stderr]     |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `req`
[INFO] [stderr]    --> src/core/plugin/connector.rs:148:40
[INFO] [stderr]     |
[INFO] [stderr] 148 |     async fn update_config_file(&self, req: ConfigFileRequest) -> Result<bool, PolarisError> {
[INFO] [stderr]     |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `req`
[INFO] [stderr]    --> src/core/plugin/connector.rs:152:41
[INFO] [stderr]     |
[INFO] [stderr] 152 |     async fn release_config_file(&self, req: ConfigReleaseRequest) -> Result<bool, PolarisError> {
[INFO] [stderr]     |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `req`
[INFO] [stderr]    --> src/core/plugin/connector.rs:158:9
[INFO] [stderr]     |
[INFO] [stderr] 158 |         req: ConfigPublishRequest,
[INFO] [stderr]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `req`
[INFO] [stderr]    --> src/discovery/default.rs:329:9
[INFO] [stderr]     |
[INFO] [stderr] 329 |         req: ReportServiceContractRequest,
[INFO] [stderr]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stderr] 
[INFO] [stderr] warning: type `model::circuitbreaker::Status` is more private than the item `CircuitBreakerStatus::status`
[INFO] [stderr]   --> src/core/model/circuitbreaker.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 27 |     pub status: Status,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^ field `CircuitBreakerStatus::status` is reachable at visibility `pub`
[INFO] [stderr]    |
[INFO] [stderr] note: but type `model::circuitbreaker::Status` is only usable at visibility `pub(self)`
[INFO] [stderr]   --> src/core/model/circuitbreaker.rs:18:1
[INFO] [stderr]    |
[INFO] [stderr] 18 | enum Status {
[INFO] [stderr]    | ^^^^^^^^^^^
[INFO] [stderr]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type `RetStatus` is more private than the item `ResourceStat::status`
[INFO] [stderr]   --> src/core/model/circuitbreaker.rs:46:5
[INFO] [stderr]    |
[INFO] [stderr] 46 |     pub status: RetStatus,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^ field `ResourceStat::status` is reachable at visibility `pub`
[INFO] [stderr]    |
[INFO] [stderr] note: but type `RetStatus` is only usable at visibility `pub(self)`
[INFO] [stderr]   --> src/core/model/circuitbreaker.rs:33:1
[INFO] [stderr]    |
[INFO] [stderr] 33 | enum RetStatus {
[INFO] [stderr]    | ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type `TrafficLabel` is more private than the item `Argument::traffic_label`
[INFO] [stderr]   --> src/core/model/router.rs:37:5
[INFO] [stderr]    |
[INFO] [stderr] 37 |     pub traffic_label: TrafficLabel,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Argument::traffic_label` is reachable at visibility `pub`
[INFO] [stderr]    |
[INFO] [stderr] note: but type `TrafficLabel` is only usable at visibility `pub(self)`
[INFO] [stderr]   --> src/core/model/router.rs:27:1
[INFO] [stderr]    |
[INFO] [stderr] 27 | enum TrafficLabel {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type `MetadataFailoverType` is more private than the item `CallerInfo::metadata_failover`
[INFO] [stderr]   --> src/core/model/router.rs:47:5
[INFO] [stderr]    |
[INFO] [stderr] 47 |     pub metadata_failover: MetadataFailoverType,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `CallerInfo::metadata_failover` is reachable at visibility `pub`
[INFO] [stderr]    |
[INFO] [stderr] note: but type `MetadataFailoverType` is only usable at visibility `pub(self)`
[INFO] [stderr]   --> src/core/model/router.rs:21:1
[INFO] [stderr]    |
[INFO] [stderr] 21 | enum MetadataFailoverType {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `CircuitBreakerAPI` is never used
[INFO] [stderr]   --> src/circuitbreaker/api.rs:16:11
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub trait CircuitBreakerAPI {}
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `manage_sdk` is never read
[INFO] [stderr]   --> src/config/default.rs:95:5
[INFO] [stderr]    |
[INFO] [stderr] 93 | pub struct DefaultConfigFileAPI {
[INFO] [stderr]    |            -------------------- field in this struct
[INFO] [stderr] 94 |     context: Arc<SDKContext>,
[INFO] [stderr] 95 |     manage_sdk: bool,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DefaultConfigGroupAPI` is never constructed
[INFO] [stderr]    --> src/config/default.rs:173:12
[INFO] [stderr]     |
[INFO] [stderr] 173 | pub struct DefaultConfigGroupAPI {}
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_location_providers` is never used
[INFO] [stderr]    --> src/core/config/global.rs:122:4
[INFO] [stderr]     |
[INFO] [stderr] 122 | fn default_location_providers() -> Vec<LocationProviderConfig> {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Close`, `HalfOpen`, `Open`, and `Destroy` are never constructed
[INFO] [stderr]   --> src/core/model/circuitbreaker.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | enum Status {
[INFO] [stderr]    |      ------ variants in this enum
[INFO] [stderr] 19 |     Close,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 20 |     HalfOpen,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 21 |     Open,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 22 |     Destroy,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `RetUnknown`, `RetSuccess`, `RetFail`, `RetTimeout`, `RetReject`, and `RetFlowControl` are never constructed
[INFO] [stderr]   --> src/core/model/circuitbreaker.rs:34:5
[INFO] [stderr]    |
[INFO] [stderr] 33 | enum RetStatus {
[INFO] [stderr]    |      --------- variants in this enum
[INFO] [stderr] 34 |     RetUnknown,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 35 |     RetSuccess,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 36 |     RetFail,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 37 |     RetTimeout,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 38 |     RetReject,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 39 |     RetFlowControl,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CONFIG_FILE_TAG_KEY_USE_ENCRYPTED` is never used
[INFO] [stderr]   --> src/core/model/config.rs:19:7
[INFO] [stderr]    |
[INFO] [stderr] 19 | const CONFIG_FILE_TAG_KEY_USE_ENCRYPTED: &str = "internal-encrypted";
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `MetadataFailoverNone`, `MetadataFailoverAll`, and `MetadataFailoverNoKey` are never constructed
[INFO] [stderr]   --> src/core/model/router.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | enum MetadataFailoverType {
[INFO] [stderr]    |      -------------------- variants in this enum
[INFO] [stderr] 22 |     MetadataFailoverNone,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 23 |     MetadataFailoverAll,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 24 |     MetadataFailoverNoKey,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `MetadataFailoverType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Header`, `Cookie`, `Query`, `Method`, `Path`, and `CallerIp` are never constructed
[INFO] [stderr]   --> src/core/model/router.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 27 | enum TrafficLabel {
[INFO] [stderr]    |      ------------ variants in this enum
[INFO] [stderr] 28 |     Header,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 29 |     Cookie,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 30 |     Query,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 31 |     Method,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 32 |     Path,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 33 |     CallerIp,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `routers` is never read
[INFO] [stderr]    --> src/core/plugin/plugins.rs:194:5
[INFO] [stderr]     |
[INFO] [stderr] 192 | pub struct PluginContainer {
[INFO] [stderr]     |            --------------- field in this struct
[INFO] [stderr] 193 |     connectors: HashMap<String, fn(InitConnectorOption) -> Box<dyn Connector>>,
[INFO] [stderr] 194 |     routers: HashMap<String, fn(&Configuration) -> Box<dyn ServiceRouter>>,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `new_lossless_api` is never used
[INFO] [stderr]    --> src/discovery/api.rs:128:15
[INFO] [stderr]     |
[INFO] [stderr] 128 | pub(crate) fn new_lossless_api() -> Result<impl LosslessAPI, PolarisError> {
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `new_lossless_api_by_context` is never used
[INFO] [stderr]    --> src/discovery/api.rs:137:15
[INFO] [stderr]     |
[INFO] [stderr] 137 | pub(crate) fn new_lossless_api_by_context(
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `LosslessAPI` is never used
[INFO] [stderr]    --> src/discovery/api.rs:143:18
[INFO] [stderr]     |
[INFO] [stderr] 143 | pub(crate) trait LosslessAPI {
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DefaultLosslessAPI` is never constructed
[INFO] [stderr]    --> src/discovery/default.rs:337:12
[INFO] [stderr]     |
[INFO] [stderr] 337 | pub struct DefaultLosslessAPI {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/discovery/default.rs:342:12
[INFO] [stderr]     |
[INFO] [stderr] 341 | impl DefaultLosslessAPI {
[INFO] [stderr]     | ----------------------- associated function in this implementation
[INFO] [stderr] 342 |     pub fn new(context: SDKContext) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `discover_grpc_client` and `config_grpc_client` are never read
[INFO] [stderr]   --> src/plugins/connector/grpc/connector.rs:58:5
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub struct GrpcConnector {
[INFO] [stderr]    |            ------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 58 |     discover_grpc_client: PolarisGrpcClient<Channel>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 59 |     config_grpc_client: PolarisConfigGrpcClient<Channel>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `GrpcConnector` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `encrypt` and `encrypt_to_base64` are never used
[INFO] [stderr]    --> src/plugins/filter/configcrypto/crypto.rs:247:8
[INFO] [stderr]     |
[INFO] [stderr] 214 | impl RSACryptor {
[INFO] [stderr]     | --------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 247 |     fn encrypt(&self, plaintext: &[u8]) -> Result<Vec<u8>, PolarisError> {
[INFO] [stderr]     |        ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 272 |     fn encrypt_to_base64(&self, plaintext: &[u8]) -> Result<String, PolarisError> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `opt` is never read
[INFO] [stderr]   --> src/plugins/location/remotehttp/remotehttp.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub struct RemoteHttpLocationSupplier {
[INFO] [stderr]    |            -------------------------- field in this struct
[INFO] [stderr] 25 |     opt: LocationProviderConfig,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `RateLimitAPI` is never used
[INFO] [stderr]   --> src/ratelimit/api.rs:16:11
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub trait RateLimitAPI {}
[INFO] [stderr]    |           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `polaris-rust` (lib) generated 42 warnings (run `cargo fix --lib -p polaris-rust` to apply 19 suggestions)
[INFO] [stderr] warning: `polaris-rust` (lib test) generated 41 warnings (41 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/polaris_rust-3f5fa44b8d781995)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test core::context::tests::it_works ... ok
[INFO] [stdout] test discovery::api::tests::it_works ... ok
[INFO] [stdout] test plugins::filter::configcrypto::crypto::tests::test_aes_encrypt_decrypt ... ok
[INFO] [stdout] [2m2025-11-05T04:26:24.923084Z[0m [32m INFO[0m tests::test_create_provider ThreadId(07) [2mpolaris_rust::discovery::api[0m[2m:[0m [2msrc/discovery/api.rs[0m[2m:[0m[2m27:[0m create sdk context cost: 80.29µs
[INFO] [stdout] [2m2025-11-05T04:26:24.924908Z[0m [32m INFO[0m tests::test_create_provider ThreadId(07) [2mpolaris_rust::tests[0m[2m:[0m [2msrc/lib.rs[0m[2m:[0m[2m60:[0m create provider cost: 1.92775ms
[INFO] [stdout] [2m2025-11-05T04:26:24.925017Z[0m [31mERROR[0m tests::test_create_provider ThreadId(07) [2mpolaris_rust::tests[0m[2m:[0m [2msrc/lib.rs[0m[2m:[0m[2m63:[0m create provider fail: err_code=InternalError err_msg=No such file or directory (os error 2)
[INFO] [stdout] test tests::test_create_provider ... ok
[INFO] [stdout] test core::config::config::tests::test_load ... ok
[INFO] [stdout] test plugins::filter::configcrypto::crypto::tests::test_rsa_encrypt_decrypt ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.83s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests polaris_rust
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4787145299e9b8bef6428d9585bcfeed93efab20a59be95dc81eca8dd25d04e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4787145299e9b8bef6428d9585bcfeed93efab20a59be95dc81eca8dd25d04e8", kill_on_drop: false }`
[INFO] [stdout] 4787145299e9b8bef6428d9585bcfeed93efab20a59be95dc81eca8dd25d04e8
