[INFO] fetching crate polaris-rust 0.2.0-alpha.0... [INFO] checking polaris-rust-0.2.0-alpha.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate polaris-rust 0.2.0-alpha.0 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate polaris-rust 0.2.0-alpha.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9497eb98cc8866d62cdc5364f8e0f7eae11201fdf03afdaef01b0d2b66fdb168 [INFO] running `Command { std: "docker" "start" "-a" "9497eb98cc8866d62cdc5364f8e0f7eae11201fdf03afdaef01b0d2b66fdb168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9497eb98cc8866d62cdc5364f8e0f7eae11201fdf03afdaef01b0d2b66fdb168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9497eb98cc8866d62cdc5364f8e0f7eae11201fdf03afdaef01b0d2b66fdb168", kill_on_drop: false }` [INFO] [stdout] 9497eb98cc8866d62cdc5364f8e0f7eae11201fdf03afdaef01b0d2b66fdb168 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13afb841b4fd629d05575999ec455bd12bf12bd2067274afac3a335a15da4792 [INFO] running `Command { std: "docker" "start" "-a" "13afb841b4fd629d05575999ec455bd12bf12bd2067274afac3a335a15da4792", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling serde v1.0.213 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling anyhow v1.0.91 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking syn v2.0.85 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking rustls-pki-types v1.10.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking multimap v0.10.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking pkcs1 v0.7.5 [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] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.6 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking prost-types v0.12.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking prost-build v0.12.6 [INFO] [stderr] Checking num-bigint-dig v0.8.4 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking serde_json v1.0.132 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde-duration-ext v0.1.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.5.0 [INFO] [stderr] Checking hyper v0.14.31 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.8 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stderr] Checking 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: `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: `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: `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 { [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 { [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 { [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 { [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) { [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, [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 { [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 { [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 { [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 { [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 { [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: `filter` [INFO] [stdout] --> src/core/plugin/cache.rs:102:39 [INFO] [stdout] | [INFO] [stdout] 102 | async fn load_service_rule(&self, filter: Filter) -> Result { [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 { [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 { [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 { [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) { [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, [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 { [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 { [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 { [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 { [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 { [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, [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 { [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 Box>, [INFO] [stdout] 194 | routers: HashMap Box>, [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 { [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, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | config_grpc_client: PolarisConfigGrpcClient, [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, PolarisError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | fn encrypt_to_base64(&self, plaintext: &[u8]) -> Result { [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] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3505:42 [INFO] [stdout] | [INFO] [stdout] 3505 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3506 | | let inner = inner.0; [INFO] [stdout] 3507 | | let method = ReportClientSvc(inner); [INFO] [stdout] 3508 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 3519 | | Ok(res) [INFO] [stdout] 3520 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3519:25 [INFO] [stdout] | [INFO] [stdout] 3519 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3545:42 [INFO] [stdout] | [INFO] [stdout] 3545 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3546 | | let inner = inner.0; [INFO] [stdout] 3547 | | let method = RegisterInstanceSvc(inner); [INFO] [stdout] 3548 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 3559 | | Ok(res) [INFO] [stdout] 3560 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3559:25 [INFO] [stdout] | [INFO] [stdout] 3559 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3585:42 [INFO] [stdout] | [INFO] [stdout] 3585 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3586 | | let inner = inner.0; [INFO] [stdout] 3587 | | let method = DeregisterInstanceSvc(inner); [INFO] [stdout] 3588 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 3599 | | Ok(res) [INFO] [stdout] 3600 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3599:25 [INFO] [stdout] | [INFO] [stdout] 3599 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3626:42 [INFO] [stdout] | [INFO] [stdout] 3626 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3627 | | let inner = inner.0; [INFO] [stdout] 3628 | | let method = DiscoverSvc(inner); [INFO] [stdout] 3629 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 3640 | | Ok(res) [INFO] [stdout] 3641 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3640:25 [INFO] [stdout] | [INFO] [stdout] 3640 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3665:42 [INFO] [stdout] | [INFO] [stdout] 3665 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3666 | | let inner = inner.0; [INFO] [stdout] 3667 | | let method = HeartbeatSvc(inner); [INFO] [stdout] 3668 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 3679 | | Ok(res) [INFO] [stdout] 3680 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3679:25 [INFO] [stdout] | [INFO] [stdout] 3679 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3683:42 [INFO] [stdout] | [INFO] [stdout] 3683 | _ => Box::pin(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3684 | | Ok(http::Response::builder() [INFO] [stdout] 3685 | | .status(200) [INFO] [stdout] 3686 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 3689 | | .unwrap()) [INFO] [stdout] 3690 | | }), [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3684:21 [INFO] [stdout] | [INFO] [stdout] 3684 | / Ok(http::Response::builder() [INFO] [stdout] 3685 | | .status(200) [INFO] [stdout] 3686 | | .header("grpc-status", "12") [INFO] [stdout] 3687 | | .header("content-type", "application/grpc") [INFO] [stdout] 3688 | | .body(empty_body()) [INFO] [stdout] 3689 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3851:42 [INFO] [stdout] | [INFO] [stdout] 3851 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3852 | | let inner = inner.0; [INFO] [stdout] 3853 | | let method = BatchHeartbeatSvc(inner); [INFO] [stdout] 3854 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 3865 | | Ok(res) [INFO] [stdout] 3866 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3865:25 [INFO] [stdout] | [INFO] [stdout] 3865 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3895:42 [INFO] [stdout] | [INFO] [stdout] 3895 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3896 | | let inner = inner.0; [INFO] [stdout] 3897 | | let method = BatchGetHeartbeatSvc(inner); [INFO] [stdout] 3898 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 3909 | | Ok(res) [INFO] [stdout] 3910 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3909:25 [INFO] [stdout] | [INFO] [stdout] 3909 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3939:42 [INFO] [stdout] | [INFO] [stdout] 3939 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3940 | | let inner = inner.0; [INFO] [stdout] 3941 | | let method = BatchDelHeartbeatSvc(inner); [INFO] [stdout] 3942 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 3953 | | Ok(res) [INFO] [stdout] 3954 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3953:25 [INFO] [stdout] | [INFO] [stdout] 3953 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3957:42 [INFO] [stdout] | [INFO] [stdout] 3957 | _ => Box::pin(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3958 | | Ok(http::Response::builder() [INFO] [stdout] 3959 | | .status(200) [INFO] [stdout] 3960 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 3963 | | .unwrap()) [INFO] [stdout] 3964 | | }), [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3958:21 [INFO] [stdout] | [INFO] [stdout] 3958 | / Ok(http::Response::builder() [INFO] [stdout] 3959 | | .status(200) [INFO] [stdout] 3960 | | .header("grpc-status", "12") [INFO] [stdout] 3961 | | .header("content-type", "application/grpc") [INFO] [stdout] 3962 | | .body(empty_body()) [INFO] [stdout] 3963 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:4116:42 [INFO] [stdout] | [INFO] [stdout] 4116 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 4117 | | let inner = inner.0; [INFO] [stdout] 4118 | | let method = ReportServiceContractSvc(inner); [INFO] [stdout] 4119 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 4130 | | Ok(res) [INFO] [stdout] 4131 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:4130:25 [INFO] [stdout] | [INFO] [stdout] 4130 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:4162:42 [INFO] [stdout] | [INFO] [stdout] 4162 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 4163 | | let inner = inner.0; [INFO] [stdout] 4164 | | let method = GetServiceContractSvc(inner); [INFO] [stdout] 4165 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 4176 | | Ok(res) [INFO] [stdout] 4177 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:4176:25 [INFO] [stdout] | [INFO] [stdout] 4176 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:4180:42 [INFO] [stdout] | [INFO] [stdout] 4180 | _ => Box::pin(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 4181 | | Ok(http::Response::builder() [INFO] [stdout] 4182 | | .status(200) [INFO] [stdout] 4183 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 4186 | | .unwrap()) [INFO] [stdout] 4187 | | }), [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:4181:21 [INFO] [stdout] | [INFO] [stdout] 4181 | / Ok(http::Response::builder() [INFO] [stdout] 4182 | | .status(200) [INFO] [stdout] 4183 | | .header("grpc-status", "12") [INFO] [stdout] 4184 | | .header("content-type", "application/grpc") [INFO] [stdout] 4185 | | .body(empty_body()) [INFO] [stdout] 4186 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5139:42 [INFO] [stdout] | [INFO] [stdout] 5139 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5140 | | let inner = inner.0; [INFO] [stdout] 5141 | | let method = GetConfigFileSvc(inner); [INFO] [stdout] 5142 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 5153 | | Ok(res) [INFO] [stdout] 5154 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5153:25 [INFO] [stdout] | [INFO] [stdout] 5153 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5181:42 [INFO] [stdout] | [INFO] [stdout] 5181 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5182 | | let inner = inner.0; [INFO] [stdout] 5183 | | let method = CreateConfigFileSvc(inner); [INFO] [stdout] 5184 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 5195 | | Ok(res) [INFO] [stdout] 5196 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5195:25 [INFO] [stdout] | [INFO] [stdout] 5195 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5223:42 [INFO] [stdout] | [INFO] [stdout] 5223 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5224 | | let inner = inner.0; [INFO] [stdout] 5225 | | let method = UpdateConfigFileSvc(inner); [INFO] [stdout] 5226 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 5237 | | Ok(res) [INFO] [stdout] 5238 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5237:25 [INFO] [stdout] | [INFO] [stdout] 5237 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5265:42 [INFO] [stdout] | [INFO] [stdout] 5265 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5266 | | let inner = inner.0; [INFO] [stdout] 5267 | | let method = PublishConfigFileSvc(inner); [INFO] [stdout] 5268 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 5279 | | Ok(res) [INFO] [stdout] 5280 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5279:25 [INFO] [stdout] | [INFO] [stdout] 5279 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5311:42 [INFO] [stdout] | [INFO] [stdout] 5311 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5312 | | let inner = inner.0; [INFO] [stdout] 5313 | | let method = UpsertAndPublishConfigFileSvc(inner); [INFO] [stdout] 5314 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 5325 | | Ok(res) [INFO] [stdout] 5326 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5325:25 [INFO] [stdout] | [INFO] [stdout] 5325 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5354:42 [INFO] [stdout] | [INFO] [stdout] 5354 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5355 | | let inner = inner.0; [INFO] [stdout] 5356 | | let method = WatchConfigFilesSvc(inner); [INFO] [stdout] 5357 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 5368 | | Ok(res) [INFO] [stdout] 5369 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5368:25 [INFO] [stdout] | [INFO] [stdout] 5368 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5400:42 [INFO] [stdout] | [INFO] [stdout] 5400 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5401 | | let inner = inner.0; [INFO] [stdout] 5402 | | let method = GetConfigFileMetadataListSvc(inner); [INFO] [stdout] 5403 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 5414 | | Ok(res) [INFO] [stdout] 5415 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5414:25 [INFO] [stdout] | [INFO] [stdout] 5414 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5445:42 [INFO] [stdout] | [INFO] [stdout] 5445 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5446 | | let inner = inner.0; [INFO] [stdout] 5447 | | let method = DiscoverSvc(inner); [INFO] [stdout] 5448 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 5459 | | Ok(res) [INFO] [stdout] 5460 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5459:25 [INFO] [stdout] | [INFO] [stdout] 5459 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5463:42 [INFO] [stdout] | [INFO] [stdout] 5463 | _ => Box::pin(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5464 | | Ok(http::Response::builder() [INFO] [stdout] 5465 | | .status(200) [INFO] [stdout] 5466 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 5469 | | .unwrap()) [INFO] [stdout] 5470 | | }), [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5464:21 [INFO] [stdout] | [INFO] [stdout] 5464 | / Ok(http::Response::builder() [INFO] [stdout] 5465 | | .status(200) [INFO] [stdout] 5466 | | .header("grpc-status", "12") [INFO] [stdout] 5467 | | .header("content-type", "application/grpc") [INFO] [stdout] 5468 | | .body(empty_body()) [INFO] [stdout] 5469 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polaris-rust` (lib) due to 44 previous errors; 42 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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, [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 { [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 Box>, [INFO] [stdout] 194 | routers: HashMap Box>, [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 { [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, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | config_grpc_client: PolarisConfigGrpcClient, [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] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3505:42 [INFO] [stdout] | [INFO] [stdout] 3505 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3506 | | let inner = inner.0; [INFO] [stdout] 3507 | | let method = ReportClientSvc(inner); [INFO] [stdout] 3508 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 3519 | | Ok(res) [INFO] [stdout] 3520 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3519:25 [INFO] [stdout] | [INFO] [stdout] 3519 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3545:42 [INFO] [stdout] | [INFO] [stdout] 3545 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3546 | | let inner = inner.0; [INFO] [stdout] 3547 | | let method = RegisterInstanceSvc(inner); [INFO] [stdout] 3548 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 3559 | | Ok(res) [INFO] [stdout] 3560 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3559:25 [INFO] [stdout] | [INFO] [stdout] 3559 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3585:42 [INFO] [stdout] | [INFO] [stdout] 3585 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3586 | | let inner = inner.0; [INFO] [stdout] 3587 | | let method = DeregisterInstanceSvc(inner); [INFO] [stdout] 3588 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 3599 | | Ok(res) [INFO] [stdout] 3600 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3599:25 [INFO] [stdout] | [INFO] [stdout] 3599 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3626:42 [INFO] [stdout] | [INFO] [stdout] 3626 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3627 | | let inner = inner.0; [INFO] [stdout] 3628 | | let method = DiscoverSvc(inner); [INFO] [stdout] 3629 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 3640 | | Ok(res) [INFO] [stdout] 3641 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3640:25 [INFO] [stdout] | [INFO] [stdout] 3640 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3665:42 [INFO] [stdout] | [INFO] [stdout] 3665 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3666 | | let inner = inner.0; [INFO] [stdout] 3667 | | let method = HeartbeatSvc(inner); [INFO] [stdout] 3668 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 3679 | | Ok(res) [INFO] [stdout] 3680 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3679:25 [INFO] [stdout] | [INFO] [stdout] 3679 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3683:42 [INFO] [stdout] | [INFO] [stdout] 3683 | _ => Box::pin(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3684 | | Ok(http::Response::builder() [INFO] [stdout] 3685 | | .status(200) [INFO] [stdout] 3686 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 3689 | | .unwrap()) [INFO] [stdout] 3690 | | }), [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3684:21 [INFO] [stdout] | [INFO] [stdout] 3684 | / Ok(http::Response::builder() [INFO] [stdout] 3685 | | .status(200) [INFO] [stdout] 3686 | | .header("grpc-status", "12") [INFO] [stdout] 3687 | | .header("content-type", "application/grpc") [INFO] [stdout] 3688 | | .body(empty_body()) [INFO] [stdout] 3689 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3851:42 [INFO] [stdout] | [INFO] [stdout] 3851 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3852 | | let inner = inner.0; [INFO] [stdout] 3853 | | let method = BatchHeartbeatSvc(inner); [INFO] [stdout] 3854 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 3865 | | Ok(res) [INFO] [stdout] 3866 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3865:25 [INFO] [stdout] | [INFO] [stdout] 3865 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3895:42 [INFO] [stdout] | [INFO] [stdout] 3895 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3896 | | let inner = inner.0; [INFO] [stdout] 3897 | | let method = BatchGetHeartbeatSvc(inner); [INFO] [stdout] 3898 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 3909 | | Ok(res) [INFO] [stdout] 3910 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3909:25 [INFO] [stdout] | [INFO] [stdout] 3909 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3939:42 [INFO] [stdout] | [INFO] [stdout] 3939 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3940 | | let inner = inner.0; [INFO] [stdout] 3941 | | let method = BatchDelHeartbeatSvc(inner); [INFO] [stdout] 3942 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 3953 | | Ok(res) [INFO] [stdout] 3954 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3953:25 [INFO] [stdout] | [INFO] [stdout] 3953 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3957:42 [INFO] [stdout] | [INFO] [stdout] 3957 | _ => Box::pin(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 3958 | | Ok(http::Response::builder() [INFO] [stdout] 3959 | | .status(200) [INFO] [stdout] 3960 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 3963 | | .unwrap()) [INFO] [stdout] 3964 | | }), [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:3958:21 [INFO] [stdout] | [INFO] [stdout] 3958 | / Ok(http::Response::builder() [INFO] [stdout] 3959 | | .status(200) [INFO] [stdout] 3960 | | .header("grpc-status", "12") [INFO] [stdout] 3961 | | .header("content-type", "application/grpc") [INFO] [stdout] 3962 | | .body(empty_body()) [INFO] [stdout] 3963 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:4116:42 [INFO] [stdout] | [INFO] [stdout] 4116 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 4117 | | let inner = inner.0; [INFO] [stdout] 4118 | | let method = ReportServiceContractSvc(inner); [INFO] [stdout] 4119 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 4130 | | Ok(res) [INFO] [stdout] 4131 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:4130:25 [INFO] [stdout] | [INFO] [stdout] 4130 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:4162:42 [INFO] [stdout] | [INFO] [stdout] 4162 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 4163 | | let inner = inner.0; [INFO] [stdout] 4164 | | let method = GetServiceContractSvc(inner); [INFO] [stdout] 4165 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 4176 | | Ok(res) [INFO] [stdout] 4177 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:4176:25 [INFO] [stdout] | [INFO] [stdout] 4176 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:4180:42 [INFO] [stdout] | [INFO] [stdout] 4180 | _ => Box::pin(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 4181 | | Ok(http::Response::builder() [INFO] [stdout] 4182 | | .status(200) [INFO] [stdout] 4183 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 4186 | | .unwrap()) [INFO] [stdout] 4187 | | }), [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:4181:21 [INFO] [stdout] | [INFO] [stdout] 4181 | / Ok(http::Response::builder() [INFO] [stdout] 4182 | | .status(200) [INFO] [stdout] 4183 | | .header("grpc-status", "12") [INFO] [stdout] 4184 | | .header("content-type", "application/grpc") [INFO] [stdout] 4185 | | .body(empty_body()) [INFO] [stdout] 4186 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5139:42 [INFO] [stdout] | [INFO] [stdout] 5139 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5140 | | let inner = inner.0; [INFO] [stdout] 5141 | | let method = GetConfigFileSvc(inner); [INFO] [stdout] 5142 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 5153 | | Ok(res) [INFO] [stdout] 5154 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5153:25 [INFO] [stdout] | [INFO] [stdout] 5153 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5181:42 [INFO] [stdout] | [INFO] [stdout] 5181 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5182 | | let inner = inner.0; [INFO] [stdout] 5183 | | let method = CreateConfigFileSvc(inner); [INFO] [stdout] 5184 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 5195 | | Ok(res) [INFO] [stdout] 5196 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5195:25 [INFO] [stdout] | [INFO] [stdout] 5195 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5223:42 [INFO] [stdout] | [INFO] [stdout] 5223 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5224 | | let inner = inner.0; [INFO] [stdout] 5225 | | let method = UpdateConfigFileSvc(inner); [INFO] [stdout] 5226 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 5237 | | Ok(res) [INFO] [stdout] 5238 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5237:25 [INFO] [stdout] | [INFO] [stdout] 5237 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5265:42 [INFO] [stdout] | [INFO] [stdout] 5265 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5266 | | let inner = inner.0; [INFO] [stdout] 5267 | | let method = PublishConfigFileSvc(inner); [INFO] [stdout] 5268 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 5279 | | Ok(res) [INFO] [stdout] 5280 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5279:25 [INFO] [stdout] | [INFO] [stdout] 5279 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5311:42 [INFO] [stdout] | [INFO] [stdout] 5311 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5312 | | let inner = inner.0; [INFO] [stdout] 5313 | | let method = UpsertAndPublishConfigFileSvc(inner); [INFO] [stdout] 5314 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 5325 | | Ok(res) [INFO] [stdout] 5326 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5325:25 [INFO] [stdout] | [INFO] [stdout] 5325 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5354:42 [INFO] [stdout] | [INFO] [stdout] 5354 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5355 | | let inner = inner.0; [INFO] [stdout] 5356 | | let method = WatchConfigFilesSvc(inner); [INFO] [stdout] 5357 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 5368 | | Ok(res) [INFO] [stdout] 5369 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5368:25 [INFO] [stdout] | [INFO] [stdout] 5368 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5400:42 [INFO] [stdout] | [INFO] [stdout] 5400 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5401 | | let inner = inner.0; [INFO] [stdout] 5402 | | let method = GetConfigFileMetadataListSvc(inner); [INFO] [stdout] 5403 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 5414 | | Ok(res) [INFO] [stdout] 5415 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5414:25 [INFO] [stdout] | [INFO] [stdout] 5414 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5445:42 [INFO] [stdout] | [INFO] [stdout] 5445 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5446 | | let inner = inner.0; [INFO] [stdout] 5447 | | let method = DiscoverSvc(inner); [INFO] [stdout] 5448 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 5459 | | Ok(res) [INFO] [stdout] 5460 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5459:25 [INFO] [stdout] | [INFO] [stdout] 5459 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5463:42 [INFO] [stdout] | [INFO] [stdout] 5463 | _ => Box::pin(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 5464 | | Ok(http::Response::builder() [INFO] [stdout] 5465 | | .status(200) [INFO] [stdout] 5466 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 5469 | | .unwrap()) [INFO] [stdout] 5470 | | }), [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/core/model/pb/lib.rs:5464:21 [INFO] [stdout] | [INFO] [stdout] 5464 | / Ok(http::Response::builder() [INFO] [stdout] 5465 | | .status(200) [INFO] [stdout] 5466 | | .header("grpc-status", "12") [INFO] [stdout] 5467 | | .header("content-type", "application/grpc") [INFO] [stdout] 5468 | | .body(empty_body()) [INFO] [stdout] 5469 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polaris-rust` (lib test) due to 44 previous errors; 41 warnings emitted [INFO] running `Command { std: "docker" "inspect" "13afb841b4fd629d05575999ec455bd12bf12bd2067274afac3a335a15da4792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13afb841b4fd629d05575999ec455bd12bf12bd2067274afac3a335a15da4792", kill_on_drop: false }` [INFO] [stdout] 13afb841b4fd629d05575999ec455bd12bf12bd2067274afac3a335a15da4792