[INFO] fetching crate nacos-sdk 0.4.2... [INFO] testing nacos-sdk-0.4.2 against beta-2024-10-19 for beta-1.83-1 [INFO] extracting crate nacos-sdk 0.4.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate nacos-sdk 0.4.2 on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nacos-sdk 0.4.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate nacos-sdk 0.4.2 [INFO] tweaked toml for crates.io crate nacos-sdk 0.4.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate nacos-sdk 0.4.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" "+beta-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 411ff033787f2415a50384170b20a4e66189a81b8e20f62f566c95f1a701bff5 [INFO] running `Command { std: "docker" "start" "-a" "411ff033787f2415a50384170b20a4e66189a81b8e20f62f566c95f1a701bff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "411ff033787f2415a50384170b20a4e66189a81b8e20f62f566c95f1a701bff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "411ff033787f2415a50384170b20a4e66189a81b8e20f62f566c95f1a701bff5", kill_on_drop: false }` [INFO] [stdout] 411ff033787f2415a50384170b20a4e66189a81b8e20f62f566c95f1a701bff5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9befc00e0c82f54aa576e41048f01c12e152b14d4726be70787206e88e54ed0 [INFO] running `Command { std: "docker" "start" "-a" "f9befc00e0c82f54aa576e41048f01c12e152b14d4726be70787206e88e54ed0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling anyhow v1.0.88 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling local_ipaddress v0.1.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling prost-derive v0.13.2 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling prost v0.13.2 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling nacos-macro v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling prost-types v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.8 [INFO] [stderr] Compiling hyper-timeout v0.5.1 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling tonic v0.12.2 [INFO] [stderr] Compiling nacos-sdk v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/api/plugin/auth/mod.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 129 | impl RequestResource { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 130 | fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] [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:34:19 [INFO] [stdout] | [INFO] [stdout] 30 | / impl GrpcMessage [INFO] [stdout] 31 | | where [INFO] [stdout] 32 | | T: GrpcMessageData, [INFO] [stdout] | |_______________________- method in this implementation [INFO] [stdout] 33 | { [INFO] [stdout] 34 | 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:197:8 [INFO] [stdout] | [INFO] [stdout] 196 | pub(crate) trait GrpcRequestMessage: GrpcMessageData { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 197 | fn header(&self, key: &str) -> Option<&String>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 198 | [INFO] [stdout] 199 | fn headers(&self) -> &HashMap; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | fn add_headers(&mut self, map: HashMap); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 204 | [INFO] [stdout] 205 | fn request_id(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 206 | [INFO] [stdout] 207 | 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:213:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub(crate) trait GrpcResponseMessage: GrpcMessageData { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] 213 | fn request_id(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 214 | [INFO] [stdout] 215 | fn result_code(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 216 | [INFO] [stdout] 217 | fn error_code(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 218 | [INFO] [stdout] 219 | 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:686:5 [INFO] [stdout] | [INFO] [stdout] 679 | pub(crate) struct FailoverConnection [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 686 | svc_health: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.01s [INFO] running `Command { std: "docker" "inspect" "f9befc00e0c82f54aa576e41048f01c12e152b14d4726be70787206e88e54ed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9befc00e0c82f54aa576e41048f01c12e152b14d4726be70787206e88e54ed0", kill_on_drop: false }` [INFO] [stdout] f9befc00e0c82f54aa576e41048f01c12e152b14d4726be70787206e88e54ed0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d0e0a4fa65f57a33395d7919e47d5aaaab4a4a3075ca28a08fefe2bef6f5c1e [INFO] running `Command { std: "docker" "start" "-a" "0d0e0a4fa65f57a33395d7919e47d5aaaab4a4a3075ca28a08fefe2bef6f5c1e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling predicates-core v1.0.8 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling predicates-tree v1.0.11 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling prost-derive v0.13.2 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling prost v0.13.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling nacos-macro v0.1.1 [INFO] [stderr] Compiling prost-types v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling prost-build v0.13.2 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tonic-build v0.12.2 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.8 [INFO] [stderr] Compiling hyper-timeout v0.5.1 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling tonic v0.12.2 [INFO] [stderr] Compiling nacos-sdk v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/api/plugin/auth/mod.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 129 | impl RequestResource { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 130 | fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] [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:34:19 [INFO] [stdout] | [INFO] [stdout] 30 | / impl GrpcMessage [INFO] [stdout] 31 | | where [INFO] [stdout] 32 | | T: GrpcMessageData, [INFO] [stdout] | |_______________________- method in this implementation [INFO] [stdout] 33 | { [INFO] [stdout] 34 | 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:197:8 [INFO] [stdout] | [INFO] [stdout] 196 | pub(crate) trait GrpcRequestMessage: GrpcMessageData { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 197 | fn header(&self, key: &str) -> Option<&String>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 198 | [INFO] [stdout] 199 | fn headers(&self) -> &HashMap; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | fn add_headers(&mut self, map: HashMap); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 204 | [INFO] [stdout] 205 | fn request_id(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 206 | [INFO] [stdout] 207 | 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:213:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub(crate) trait GrpcResponseMessage: GrpcMessageData { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] 213 | fn request_id(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 214 | [INFO] [stdout] 215 | fn result_code(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 216 | [INFO] [stdout] 217 | fn error_code(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 218 | [INFO] [stdout] 219 | 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:686:5 [INFO] [stdout] | [INFO] [stdout] 679 | pub(crate) struct FailoverConnection [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 686 | svc_health: Arc, [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)]` 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:34:19 [INFO] [stdout] | [INFO] [stdout] 30 | / impl GrpcMessage [INFO] [stdout] 31 | | where [INFO] [stdout] 32 | | T: GrpcMessageData, [INFO] [stdout] | |_______________________- method in this implementation [INFO] [stdout] 33 | { [INFO] [stdout] 34 | 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:197:8 [INFO] [stdout] | [INFO] [stdout] 196 | pub(crate) trait GrpcRequestMessage: GrpcMessageData { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 197 | fn header(&self, key: &str) -> Option<&String>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 198 | [INFO] [stdout] 199 | fn headers(&self) -> &HashMap; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | fn add_headers(&mut self, map: HashMap); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 204 | [INFO] [stdout] 205 | fn request_id(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 206 | [INFO] [stdout] 207 | 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:213:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub(crate) trait GrpcResponseMessage: GrpcMessageData { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] 213 | fn request_id(&self) -> Option<&String>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 214 | [INFO] [stdout] 215 | fn result_code(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 216 | [INFO] [stdout] 217 | fn error_code(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 218 | [INFO] [stdout] 219 | 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:686:5 [INFO] [stdout] | [INFO] [stdout] 679 | pub(crate) struct FailoverConnection [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 686 | svc_health: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nacos-sdk` (lib test); 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2024-10-19-x86_64-unknown-linux-gnu/bin/rustc --crate-name nacos_sdk --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="auth-by-http"' --cfg 'feature="config"' --cfg 'feature="default"' --cfg 'feature="naming"' --cfg 'feature="reqwest"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("auth-by-aliyun", "auth-by-http", "base64", "chrono", "config", "default", "naming", "reqwest", "ring", "tls"))' -C metadata=c44b1c93f8373f07 -C extra-filename=-c44b1c93f8373f07 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern arc_swap=/opt/rustwide/target/debug/deps/libarc_swap-23aae006ef8421c5.rlib --extern async_stream=/opt/rustwide/target/debug/deps/libasync_stream-673e259868fd3d43.rlib --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-f12f16d59c5679b1.so --extern dashmap=/opt/rustwide/target/debug/deps/libdashmap-7e06dff9b9a7a397.rlib --extern dotenvy=/opt/rustwide/target/debug/deps/libdotenvy-aa9a05e0f0d240e4.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-3f8bb655222aff93.rlib --extern futures_util=/opt/rustwide/target/debug/deps/libfutures_util-84f294cae5bb75e7.rlib --extern home=/opt/rustwide/target/debug/deps/libhome-0a728e5702c583a1.rlib --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-34736fcc74b41a53.rlib --extern local_ipaddress=/opt/rustwide/target/debug/deps/liblocal_ipaddress-26a730757256c302.rlib --extern mockall=/opt/rustwide/target/debug/deps/libmockall-6e314199a85af722.rlib --extern nacos_macro=/opt/rustwide/target/debug/deps/libnacos_macro-812720556bbe6f06.so --extern prost=/opt/rustwide/target/debug/deps/libprost-0819077d7b881b20.rlib --extern prost_types=/opt/rustwide/target/debug/deps/libprost_types-814c15c3a289a994.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-0bb4799a272f28ee.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-182fad9319817e71.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-dd122d258ac3137b.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-139541b3f326b273.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-66e9c77ac9798120.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-38de8cb17ed212e2.rlib --extern tonic=/opt/rustwide/target/debug/deps/libtonic-6ad87f27a69183a4.rlib --extern tonic_build=/opt/rustwide/target/debug/deps/libtonic_build-540b370357faf012.rlib --extern tower=/opt/rustwide/target/debug/deps/libtower-29dad88faf9ebf0e.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-3207991fce19571c.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-acdf7d2302fa836d.rlib --extern want=/opt/rustwide/target/debug/deps/libwant-254baf7a3ce1b24f.rlib --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0d0e0a4fa65f57a33395d7919e47d5aaaab4a4a3075ca28a08fefe2bef6f5c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d0e0a4fa65f57a33395d7919e47d5aaaab4a4a3075ca28a08fefe2bef6f5c1e", kill_on_drop: false }` [INFO] [stdout] 0d0e0a4fa65f57a33395d7919e47d5aaaab4a4a3075ca28a08fefe2bef6f5c1e