[INFO] fetching crate nacos-sdk 0.3.3... [INFO] checking nacos-sdk-0.3.3 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate nacos-sdk 0.3.3 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate nacos-sdk 0.3.3 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nacos-sdk 0.3.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate nacos-sdk 0.3.3 [INFO] tweaked toml for crates.io crate nacos-sdk 0.3.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate nacos-sdk 0.3.3 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getrandom v0.2.9 [INFO] [stderr] Downloaded tempfile v3.5.0 [INFO] [stderr] Downloaded local_ipaddress v0.1.3 [INFO] [stderr] Downloaded downcast v0.11.0 [INFO] [stderr] Downloaded nacos-macro v0.1.0 [INFO] [stderr] Downloaded which v4.4.0 [INFO] [stderr] Downloaded matchit v0.7.0 [INFO] [stderr] Downloaded dashmap v5.4.0 [INFO] [stderr] Downloaded ipnet v2.7.2 [INFO] [stderr] Downloaded mockall_derive v0.11.4 [INFO] [stderr] Downloaded regex v1.8.3 [INFO] [stderr] Downloaded rustix v0.37.19 [INFO] [stderr] Downloaded libc v0.2.145 [INFO] [stderr] Downloaded web-sys v0.3.63 [INFO] [stderr] Downloaded openssl v0.10.54 [INFO] [stderr] Downloaded openssl-sys v0.9.88 [INFO] [stderr] Downloaded url v2.3.1 [INFO] [stderr] Downloaded js-sys v0.3.63 [INFO] [stderr] Downloaded axum v0.6.18 [INFO] [stderr] Downloaded h2 v0.3.19 [INFO] [stderr] Downloaded prost-types v0.12.2 [INFO] [stderr] Downloaded prost v0.12.2 [INFO] [stderr] Downloaded fragile v2.0.0 [INFO] [stderr] Downloaded predicates v2.1.5 [INFO] [stderr] Downloaded mockall v0.11.4 [INFO] [stderr] Downloaded form_urlencoded v1.1.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.36 [INFO] [stderr] Downloaded prost-derive v0.12.2 [INFO] [stderr] Downloaded prost-build v0.12.2 [INFO] [stderr] Downloaded tracing-attributes v0.1.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46ad4421096c2e1a24580c7627cea56677dbdc6b7cfc990daaea63d46a47273b [INFO] running `Command { std: "docker" "start" "-a" "46ad4421096c2e1a24580c7627cea56677dbdc6b7cfc990daaea63d46a47273b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46ad4421096c2e1a24580c7627cea56677dbdc6b7cfc990daaea63d46a47273b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46ad4421096c2e1a24580c7627cea56677dbdc6b7cfc990daaea63d46a47273b", kill_on_drop: false }` [INFO] [stdout] 46ad4421096c2e1a24580c7627cea56677dbdc6b7cfc990daaea63d46a47273b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89b95bb150f9c7841d8cdfc819d3bc7cc93f881c502e797f6bc4d8b5256bad57 [INFO] running `Command { std: "docker" "start" "-a" "89b95bb150f9c7841d8cdfc819d3bc7cc93f881c502e797f6bc4d8b5256bad57", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.145 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking unicode-ident v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking regex v1.8.3 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking matchit v0.7.0 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Checking petgraph v0.6.3 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking multimap v0.8.3 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling axum v0.6.18 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking which v4.4.0 [INFO] [stderr] Checking ipnet v2.7.2 [INFO] [stderr] Checking dashmap v5.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking local_ipaddress v0.1.3 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking tempfile v3.5.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tracing-attributes v0.1.24 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling prost-derive v0.12.2 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking thiserror v1.0.40 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking pin-project v1.1.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling nacos-macro v0.1.0 [INFO] [stderr] Checking prost v0.12.2 [INFO] [stderr] Checking prost-types v0.12.2 [INFO] [stderr] Checking prost-build v0.12.2 [INFO] [stderr] Checking mockall v0.11.4 [INFO] [stderr] Checking tonic-build v0.10.2 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.19 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking tonic v0.10.2 [INFO] [stderr] Checking nacos-sdk v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Payload` is imported redundantly [INFO] [stdout] --> src/common/remote/grpc/handlers/client_detection_request_handler.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | use super::*; [INFO] [stdout] | -------- the item `Payload` is already imported here [INFO] [stdout] 47 | use crate::nacos_proto::v2::Payload; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut`, `remove`, and `contains_key` are never used [INFO] [stdout] --> src/common/cache/mod.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 31 | / impl Cache [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | V: serde::Serialize + serde::de::DeserializeOwned + Send + Sync + 'static, [INFO] [stdout] | |______________________________________________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub(crate) fn get_mut(&self, key: &String) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub(crate) fn remove(&self, key: &String) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub(crate) fn contains_key(&self, key: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheRefMut` is never constructed [INFO] [stdout] --> src/common/cache/mod.rs:268:19 [INFO] [stdout] | [INFO] [stdout] 268 | pub(crate) struct CacheRefMut<'a, V> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG_MODULE` is never used [INFO] [stdout] --> src/common/cache/mod.rs:309:7 [INFO] [stdout] | [INFO] [stdout] 309 | const CONFIG_MODULE: &str = "config"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `config` is never used [INFO] [stdout] --> src/common/cache/mod.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 312 | / impl CacheBuilder [INFO] [stdout] 313 | | where [INFO] [stdout] 314 | | V: serde::Serialize + serde::de::DeserializeOwned + Send + Sync + 'static, [INFO] [stdout] | |______________________________________________________________________________- associated function in this implementation [INFO] [stdout] 315 | { [INFO] [stdout] 316 | pub(crate) fn config(namespace: String) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Remove` and `Modify` are never constructed [INFO] [stdout] --> src/common/cache/mod.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 359 | enum ChangeEvent { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 360 | Insert(usize, VersionKeyWrapper), [INFO] [stdout] 361 | Remove(usize, VersionKeyWrapper), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 362 | Modify(usize, VersionKeyWrapper), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/common/remote/grpc/config.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl GrpcConfiguration { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 27 | pub(crate) fn with_host(mut self, host: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn with_origin(mut self, uri: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn with_user_agent(mut self, ua: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn with_timeout(mut self, timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub(crate) fn with_concurrency_limit(mut self, concurrency_limit: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub(crate) fn with_rate_limit(mut self, rate_limit: (u64, Duration)) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub(crate) fn with_init_stream_window_size(mut self, init_stream_window_size: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn with_init_connection_window_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub(crate) fn with_tcp_keepalive(mut self, tcp_keepalive: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub(crate) fn with_tcp_nodelay(mut self, tcp_nodelay: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub(crate) fn with_http2_keep_alive_interval( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub(crate) fn with_http2_keep_alive_timeout( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub(crate) fn with_http2_keep_alive_while_idle( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub(crate) fn with_connect_timeout(mut self, connect_timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) fn with_http2_adaptive_window(mut self, http2_adaptive_window: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `body` is never used [INFO] [stdout] --> src/common/remote/grpc/message/mod.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 29 | / impl GrpcMessage [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: GrpcMessageData, [INFO] [stdout] | |_______________________- method in this implementation [INFO] [stdout] 32 | { [INFO] [stdout] 33 | pub(crate) fn body(&self) -> &T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `header`, `headers`, `add_headers`, `request_id`, and `module` are never used [INFO] [stdout] --> src/common/remote/grpc/message/mod.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub(crate) trait GrpcRequestMessage: GrpcMessageData { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 196 | fn header(&self, key: &str) -> Option<&String>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 197 | [INFO] [stdout] 198 | fn headers(&self) -> &HashMap; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | fn add_headers(&mut self, map: HashMap); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 203 | [INFO] [stdout] 204 | fn request_id(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 205 | [INFO] [stdout] 206 | fn module(&self) -> &str; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `request_id`, `result_code`, `error_code`, and `message` are never used [INFO] [stdout] --> src/common/remote/grpc/message/mod.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub(crate) trait GrpcResponseMessage: GrpcMessageData { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] 210 | fn request_id(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 211 | [INFO] [stdout] 212 | fn result_code(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 213 | [INFO] [stdout] 214 | fn error_code(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 215 | [INFO] [stdout] 216 | fn message(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/remote/grpc/message/request/set_up_request.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl NacosClientAbilities { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 30 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/remote/grpc/message/request/set_up_request.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 61 | impl NacosClientRemoteAbility { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 62 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/remote/grpc/message/request/set_up_request.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl NacosClientConfigAbility { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 80 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/remote/grpc/message/request/set_up_request.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 100 | impl NacosClientNamingAbility { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 101 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/common/remote/grpc/nacos_grpc_client.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 77 | impl NacosGrpcClientBuilder { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub(crate) fn host(self, host: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub(crate) fn origin(self, uri: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub(crate) fn user_agent(self, ua: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub(crate) fn timeout(self, timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub(crate) fn concurrency_limit(self, concurrency_limit: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub(crate) fn rate_limit(self, rate_limit: (u64, Duration)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub(crate) fn init_stream_window_size(self, init_stream_window_size: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub(crate) fn init_connection_window_size(self, init_connection_window_size: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub(crate) fn tcp_keepalive(self, tcp_keepalive: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub(crate) fn tcp_nodelay(self, tcp_nodelay: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub(crate) fn http2_keep_alive_interval(self, http2_keep_alive_interval: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub(crate) fn http2_keep_alive_timeout(self, http2_keep_alive_timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub(crate) fn http2_keep_alive_while_idle(self, http2_keep_alive_while_idle: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub(crate) fn connect_timeout(self, connect_timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub(crate) fn http2_adaptive_window(self, http2_adaptive_window: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `svc_health` is never read [INFO] [stdout] --> src/common/remote/grpc/nacos_grpc_connection.rs:676:5 [INFO] [stdout] | [INFO] [stdout] 669 | pub(crate) struct FailoverConnection [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 676 | svc_health: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/api/plugin/auth/auth_by_http.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | let mut_self = &mut *(self as *const Self as *mut Self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/api/plugin/auth/auth_by_http.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | #[warn(invalid_reference_casting)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains_key` is never used [INFO] [stdout] --> src/common/cache/mod.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 31 | / impl Cache [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | V: serde::Serialize + serde::de::DeserializeOwned + Send + Sync + 'static, [INFO] [stdout] | |______________________________________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub(crate) fn contains_key(&self, key: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG_MODULE` is never used [INFO] [stdout] --> src/common/cache/mod.rs:309:7 [INFO] [stdout] | [INFO] [stdout] 309 | const CONFIG_MODULE: &str = "config"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `config` is never used [INFO] [stdout] --> src/common/cache/mod.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 312 | / impl CacheBuilder [INFO] [stdout] 313 | | where [INFO] [stdout] 314 | | V: serde::Serialize + serde::de::DeserializeOwned + Send + Sync + 'static, [INFO] [stdout] | |______________________________________________________________________________- associated function in this implementation [INFO] [stdout] 315 | { [INFO] [stdout] 316 | pub(crate) fn config(namespace: String) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/common/remote/grpc/config.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl GrpcConfiguration { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 27 | pub(crate) fn with_host(mut self, host: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn with_origin(mut self, uri: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn with_user_agent(mut self, ua: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn with_timeout(mut self, timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub(crate) fn with_concurrency_limit(mut self, concurrency_limit: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub(crate) fn with_rate_limit(mut self, rate_limit: (u64, Duration)) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub(crate) fn with_init_stream_window_size(mut self, init_stream_window_size: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn with_init_connection_window_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub(crate) fn with_tcp_keepalive(mut self, tcp_keepalive: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub(crate) fn with_tcp_nodelay(mut self, tcp_nodelay: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub(crate) fn with_http2_keep_alive_interval( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub(crate) fn with_http2_keep_alive_timeout( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub(crate) fn with_http2_keep_alive_while_idle( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub(crate) fn with_connect_timeout(mut self, connect_timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) fn with_http2_adaptive_window(mut self, http2_adaptive_window: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `body` is never used [INFO] [stdout] --> src/common/remote/grpc/message/mod.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 29 | / impl GrpcMessage [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: GrpcMessageData, [INFO] [stdout] | |_______________________- method in this implementation [INFO] [stdout] 32 | { [INFO] [stdout] 33 | pub(crate) fn body(&self) -> &T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `header`, `headers`, `add_headers`, `request_id`, and `module` are never used [INFO] [stdout] --> src/common/remote/grpc/message/mod.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub(crate) trait GrpcRequestMessage: GrpcMessageData { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 196 | fn header(&self, key: &str) -> Option<&String>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 197 | [INFO] [stdout] 198 | fn headers(&self) -> &HashMap; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | fn add_headers(&mut self, map: HashMap); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 203 | [INFO] [stdout] 204 | fn request_id(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 205 | [INFO] [stdout] 206 | fn module(&self) -> &str; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `request_id`, `result_code`, `error_code`, and `message` are never used [INFO] [stdout] --> src/common/remote/grpc/message/mod.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub(crate) trait GrpcResponseMessage: GrpcMessageData { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] 210 | fn request_id(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 211 | [INFO] [stdout] 212 | fn result_code(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 213 | [INFO] [stdout] 214 | fn error_code(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 215 | [INFO] [stdout] 216 | fn message(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/remote/grpc/message/request/set_up_request.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl NacosClientAbilities { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 30 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/remote/grpc/message/request/set_up_request.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 61 | impl NacosClientRemoteAbility { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 62 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/remote/grpc/message/request/set_up_request.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl NacosClientConfigAbility { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 80 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/remote/grpc/message/request/set_up_request.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 100 | impl NacosClientNamingAbility { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 101 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/common/remote/grpc/nacos_grpc_client.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 77 | impl NacosGrpcClientBuilder { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub(crate) fn host(self, host: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub(crate) fn origin(self, uri: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub(crate) fn user_agent(self, ua: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub(crate) fn timeout(self, timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub(crate) fn concurrency_limit(self, concurrency_limit: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub(crate) fn rate_limit(self, rate_limit: (u64, Duration)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub(crate) fn init_stream_window_size(self, init_stream_window_size: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub(crate) fn init_connection_window_size(self, init_connection_window_size: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub(crate) fn tcp_keepalive(self, tcp_keepalive: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub(crate) fn tcp_nodelay(self, tcp_nodelay: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub(crate) fn http2_keep_alive_interval(self, http2_keep_alive_interval: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub(crate) fn http2_keep_alive_timeout(self, http2_keep_alive_timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub(crate) fn http2_keep_alive_while_idle(self, http2_keep_alive_while_idle: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub(crate) fn connect_timeout(self, connect_timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub(crate) fn http2_adaptive_window(self, http2_adaptive_window: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `svc_health` is never read [INFO] [stdout] --> src/common/remote/grpc/nacos_grpc_connection.rs:676:5 [INFO] [stdout] | [INFO] [stdout] 669 | pub(crate) struct FailoverConnection [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 676 | svc_health: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/api/plugin/auth/auth_by_http.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | let mut_self = &mut *(self as *const Self as *mut Self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/api/plugin/auth/auth_by_http.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | #[warn(invalid_reference_casting)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "89b95bb150f9c7841d8cdfc819d3bc7cc93f881c502e797f6bc4d8b5256bad57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89b95bb150f9c7841d8cdfc819d3bc7cc93f881c502e797f6bc4d8b5256bad57", kill_on_drop: false }` [INFO] [stdout] 89b95bb150f9c7841d8cdfc819d3bc7cc93f881c502e797f6bc4d8b5256bad57