[INFO] fetching crate nacos-sdk 0.5.2... [INFO] building nacos-sdk-0.5.2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate nacos-sdk 0.5.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate nacos-sdk 0.5.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate nacos-sdk 0.5.2 [INFO] tweaked toml for crates.io crate nacos-sdk 0.5.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nacos-sdk 0.5.2 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nacos-sdk 0.5.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded local_ipaddress v0.1.3 [INFO] [stderr] Downloaded tonic-build v0.12.3 [INFO] [stderr] Downloaded mockall v0.11.4 [INFO] [stderr] Downloaded predicates v2.1.5 [INFO] [stderr] Downloaded mockall_derive v0.11.4 [INFO] [stderr] Downloaded nacos-macro v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 949cdbde6eb70b4b60440411f7cb315be8de5919048bee2e5b6cee2e409918b8 [INFO] running `Command { std: "docker" "start" "-a" "949cdbde6eb70b4b60440411f7cb315be8de5919048bee2e5b6cee2e409918b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "949cdbde6eb70b4b60440411f7cb315be8de5919048bee2e5b6cee2e409918b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "949cdbde6eb70b4b60440411f7cb315be8de5919048bee2e5b6cee2e409918b8", kill_on_drop: false }` [INFO] [stdout] 949cdbde6eb70b4b60440411f7cb315be8de5919048bee2e5b6cee2e409918b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a9eddfd008bda024756721ed4bfec34c340152759a268e1a2c07e06648932bf [INFO] running `Command { std: "docker" "start" "-a" "9a9eddfd008bda024756721ed4bfec34c340152759a268e1a2c07e06648932bf", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling local_ipaddress v0.1.3 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling nacos-macro v0.2.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling nacos-sdk v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `get_mut`, `remove`, and `contains_key` are never used [INFO] [stdout] --> src/common/cache/mod.rs:118: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] 118 | pub(crate) fn get_mut(&self, key: &String) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub(crate) fn remove(&self, key: &String) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub(crate) fn contains_key(&self, key: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheRefMut` is never constructed [INFO] [stdout] --> src/common/cache/mod.rs:273:19 [INFO] [stdout] | [INFO] [stdout] 273 | 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:315:7 [INFO] [stdout] | [INFO] [stdout] 315 | 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:322:19 [INFO] [stdout] | [INFO] [stdout] 318 | / impl CacheBuilder [INFO] [stdout] 319 | | where [INFO] [stdout] 320 | | V: serde::Serialize + serde::de::DeserializeOwned + Send + Sync + 'static, [INFO] [stdout] | |______________________________________________________________________________- associated function in this implementation [INFO] [stdout] 321 | { [INFO] [stdout] 322 | 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:376:5 [INFO] [stdout] | [INFO] [stdout] 374 | enum ChangeEvent { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 375 | Insert(usize, VersionKeyWrapper), [INFO] [stdout] 376 | Remove(usize, VersionKeyWrapper), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 377 | 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:204:8 [INFO] [stdout] | [INFO] [stdout] 203 | pub(crate) trait GrpcRequestMessage: GrpcMessageData { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 204 | fn header(&self, key: &str) -> Option<&String>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 205 | [INFO] [stdout] 206 | fn headers(&self) -> &HashMap; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn add_headers(&mut self, map: HashMap); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 211 | [INFO] [stdout] 212 | fn request_id(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 213 | [INFO] [stdout] 214 | 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:220:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub(crate) trait GrpcResponseMessage: GrpcMessageData { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] 220 | fn request_id(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 221 | [INFO] [stdout] 222 | fn result_code(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 223 | [INFO] [stdout] 224 | fn error_code(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 225 | [INFO] [stdout] 226 | 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:157:19 [INFO] [stdout] | [INFO] [stdout] 86 | impl NacosGrpcClientBuilder { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub(crate) fn host(self, host: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub(crate) fn origin(self, uri: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub(crate) fn user_agent(self, ua: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub(crate) fn timeout(self, timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub(crate) fn concurrency_limit(self, concurrency_limit: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub(crate) fn rate_limit(self, rate_limit: (u64, Duration)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub(crate) fn init_stream_window_size(self, init_stream_window_size: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub(crate) fn init_connection_window_size(self, init_connection_window_size: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub(crate) fn tcp_keepalive(self, tcp_keepalive: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub(crate) fn tcp_nodelay(self, tcp_nodelay: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub(crate) fn http2_keep_alive_interval(self, http2_keep_alive_interval: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub(crate) fn http2_keep_alive_timeout(self, http2_keep_alive_timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub(crate) fn http2_keep_alive_while_idle(self, http2_keep_alive_while_idle: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub(crate) fn connect_timeout(self, connect_timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub(crate) fn http2_adaptive_window(self, http2_adaptive_window: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub(crate) fn unary_call_layer(self, layer: DynamicUnaryCallLayer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | pub(crate) fn bi_call_layer(self, layer: DynamicBiStreamingCallLayer) -> 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:704:5 [INFO] [stdout] | [INFO] [stdout] 697 | pub(crate) struct FailoverConnection [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 704 | svc_health: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `failover` is never used [INFO] [stdout] --> src/common/remote/grpc/nacos_grpc_connection.rs:738:19 [INFO] [stdout] | [INFO] [stdout] 708 | / impl FailoverConnection [INFO] [stdout] 709 | | where [INFO] [stdout] 710 | | S: Service + Send + 'static, [INFO] [stdout] 711 | | S::Future: Send + 'static, [INFO] [stdout] | |______________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 738 | pub(crate) fn failover(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "9a9eddfd008bda024756721ed4bfec34c340152759a268e1a2c07e06648932bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a9eddfd008bda024756721ed4bfec34c340152759a268e1a2c07e06648932bf", kill_on_drop: false }` [INFO] [stdout] 9a9eddfd008bda024756721ed4bfec34c340152759a268e1a2c07e06648932bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec87ae2f1639af748cb747fa53231a44c1ec74e912bcaa1c3d65d8c74c81d1ae [INFO] running `Command { std: "docker" "start" "-a" "ec87ae2f1639af748cb747fa53231a44c1ec74e912bcaa1c3d65d8c74c81d1ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling nacos-macro v0.2.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling nacos-sdk v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ConfigService` [INFO] [stdout] --> src/api/config.rs:336:68 [INFO] [stdout] | [INFO] [stdout] 336 | use crate::api::config::{ConfigChangeListener, ConfigResponse, ConfigService}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) 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:118: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] 118 | pub(crate) fn get_mut(&self, key: &String) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub(crate) fn remove(&self, key: &String) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub(crate) fn contains_key(&self, key: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheRefMut` is never constructed [INFO] [stdout] --> src/common/cache/mod.rs:273:19 [INFO] [stdout] | [INFO] [stdout] 273 | 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:315:7 [INFO] [stdout] | [INFO] [stdout] 315 | 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:322:19 [INFO] [stdout] | [INFO] [stdout] 318 | / impl CacheBuilder [INFO] [stdout] 319 | | where [INFO] [stdout] 320 | | V: serde::Serialize + serde::de::DeserializeOwned + Send + Sync + 'static, [INFO] [stdout] | |______________________________________________________________________________- associated function in this implementation [INFO] [stdout] 321 | { [INFO] [stdout] 322 | 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:376:5 [INFO] [stdout] | [INFO] [stdout] 374 | enum ChangeEvent { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 375 | Insert(usize, VersionKeyWrapper), [INFO] [stdout] 376 | Remove(usize, VersionKeyWrapper), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 377 | 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:204:8 [INFO] [stdout] | [INFO] [stdout] 203 | pub(crate) trait GrpcRequestMessage: GrpcMessageData { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 204 | fn header(&self, key: &str) -> Option<&String>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 205 | [INFO] [stdout] 206 | fn headers(&self) -> &HashMap; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn add_headers(&mut self, map: HashMap); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 211 | [INFO] [stdout] 212 | fn request_id(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 213 | [INFO] [stdout] 214 | 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:220:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub(crate) trait GrpcResponseMessage: GrpcMessageData { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] 220 | fn request_id(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 221 | [INFO] [stdout] 222 | fn result_code(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 223 | [INFO] [stdout] 224 | fn error_code(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 225 | [INFO] [stdout] 226 | 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:157:19 [INFO] [stdout] | [INFO] [stdout] 86 | impl NacosGrpcClientBuilder { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub(crate) fn host(self, host: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub(crate) fn origin(self, uri: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub(crate) fn user_agent(self, ua: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub(crate) fn timeout(self, timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub(crate) fn concurrency_limit(self, concurrency_limit: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub(crate) fn rate_limit(self, rate_limit: (u64, Duration)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub(crate) fn init_stream_window_size(self, init_stream_window_size: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub(crate) fn init_connection_window_size(self, init_connection_window_size: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub(crate) fn tcp_keepalive(self, tcp_keepalive: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub(crate) fn tcp_nodelay(self, tcp_nodelay: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub(crate) fn http2_keep_alive_interval(self, http2_keep_alive_interval: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub(crate) fn http2_keep_alive_timeout(self, http2_keep_alive_timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub(crate) fn http2_keep_alive_while_idle(self, http2_keep_alive_while_idle: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub(crate) fn connect_timeout(self, connect_timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub(crate) fn http2_adaptive_window(self, http2_adaptive_window: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub(crate) fn unary_call_layer(self, layer: DynamicUnaryCallLayer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | pub(crate) fn bi_call_layer(self, layer: DynamicBiStreamingCallLayer) -> 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:704:5 [INFO] [stdout] | [INFO] [stdout] 697 | pub(crate) struct FailoverConnection [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 704 | svc_health: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `failover` is never used [INFO] [stdout] --> src/common/remote/grpc/nacos_grpc_connection.rs:738:19 [INFO] [stdout] | [INFO] [stdout] 708 | / impl FailoverConnection [INFO] [stdout] 709 | | where [INFO] [stdout] 710 | | S: Service + Send + 'static, [INFO] [stdout] 711 | | S::Future: Send + 'static, [INFO] [stdout] | |______________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 738 | pub(crate) fn failover(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains_key` is never used [INFO] [stdout] --> src/common/cache/mod.rs:155: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] 155 | pub(crate) fn contains_key(&self, key: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG_MODULE` is never used [INFO] [stdout] --> src/common/cache/mod.rs:315:7 [INFO] [stdout] | [INFO] [stdout] 315 | 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:322:19 [INFO] [stdout] | [INFO] [stdout] 318 | / impl CacheBuilder [INFO] [stdout] 319 | | where [INFO] [stdout] 320 | | V: serde::Serialize + serde::de::DeserializeOwned + Send + Sync + 'static, [INFO] [stdout] | |______________________________________________________________________________- associated function in this implementation [INFO] [stdout] 321 | { [INFO] [stdout] 322 | 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:204:8 [INFO] [stdout] | [INFO] [stdout] 203 | pub(crate) trait GrpcRequestMessage: GrpcMessageData { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 204 | fn header(&self, key: &str) -> Option<&String>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 205 | [INFO] [stdout] 206 | fn headers(&self) -> &HashMap; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn add_headers(&mut self, map: HashMap); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 211 | [INFO] [stdout] 212 | fn request_id(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 213 | [INFO] [stdout] 214 | 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:220:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub(crate) trait GrpcResponseMessage: GrpcMessageData { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] 220 | fn request_id(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 221 | [INFO] [stdout] 222 | fn result_code(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 223 | [INFO] [stdout] 224 | fn error_code(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 225 | [INFO] [stdout] 226 | 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:157:19 [INFO] [stdout] | [INFO] [stdout] 86 | impl NacosGrpcClientBuilder { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub(crate) fn host(self, host: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub(crate) fn origin(self, uri: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub(crate) fn user_agent(self, ua: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub(crate) fn timeout(self, timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub(crate) fn concurrency_limit(self, concurrency_limit: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub(crate) fn rate_limit(self, rate_limit: (u64, Duration)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub(crate) fn init_stream_window_size(self, init_stream_window_size: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub(crate) fn init_connection_window_size(self, init_connection_window_size: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub(crate) fn tcp_keepalive(self, tcp_keepalive: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub(crate) fn tcp_nodelay(self, tcp_nodelay: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub(crate) fn http2_keep_alive_interval(self, http2_keep_alive_interval: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub(crate) fn http2_keep_alive_timeout(self, http2_keep_alive_timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub(crate) fn http2_keep_alive_while_idle(self, http2_keep_alive_while_idle: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub(crate) fn connect_timeout(self, connect_timeout: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub(crate) fn http2_adaptive_window(self, http2_adaptive_window: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub(crate) fn unary_call_layer(self, layer: DynamicUnaryCallLayer) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | pub(crate) fn bi_call_layer(self, layer: DynamicBiStreamingCallLayer) -> 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:704:5 [INFO] [stdout] | [INFO] [stdout] 697 | pub(crate) struct FailoverConnection [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 704 | svc_health: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `failover` is never used [INFO] [stdout] --> src/common/remote/grpc/nacos_grpc_connection.rs:738:19 [INFO] [stdout] | [INFO] [stdout] 708 | / impl FailoverConnection [INFO] [stdout] 709 | | where [INFO] [stdout] 710 | | S: Service + Send + 'static, [INFO] [stdout] 711 | | S::Future: Send + 'static, [INFO] [stdout] | |______________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 738 | pub(crate) fn failover(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nacos_sdk::api::config::ConfigServiceBuilder` [INFO] [stdout] --> examples/aliyun_ram_app.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nacos_sdk::api::config::ConfigServiceBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NamingServiceBuilder` and `ServiceInstance` [INFO] [stdout] --> examples/aliyun_ram_app.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use nacos_sdk::api::naming::{NamingServiceBuilder, ServiceInstance}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nacos_sdk::api::props::ClientProps` [INFO] [stdout] --> examples/aliyun_ram_app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nacos_sdk::api::props::ClientProps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/aliyun_ram_app.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> examples/aliyun_ram_app.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "ec87ae2f1639af748cb747fa53231a44c1ec74e912bcaa1c3d65d8c74c81d1ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec87ae2f1639af748cb747fa53231a44c1ec74e912bcaa1c3d65d8c74c81d1ae", kill_on_drop: false }` [INFO] [stdout] ec87ae2f1639af748cb747fa53231a44c1ec74e912bcaa1c3d65d8c74c81d1ae