[INFO] fetching crate nacos-sdk 0.4.2... [INFO] checking nacos-sdk-0.4.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate nacos-sdk 0.4.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate nacos-sdk 0.4.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-2-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13e8f077fe09ffa8747005fe0f2d7f727499a866dd572d4988060d718a51a78c [INFO] running `Command { std: "docker" "start" "-a" "13e8f077fe09ffa8747005fe0f2d7f727499a866dd572d4988060d718a51a78c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13e8f077fe09ffa8747005fe0f2d7f727499a866dd572d4988060d718a51a78c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13e8f077fe09ffa8747005fe0f2d7f727499a866dd572d4988060d718a51a78c", kill_on_drop: false }` [INFO] [stdout] 13e8f077fe09ffa8747005fe0f2d7f727499a866dd572d4988060d718a51a78c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 499459e9c4fc54d8517975c77993f4da2f003c1a6af456f82a23d58368e1c6c6 [INFO] running `Command { std: "docker" "start" "-a" "499459e9c4fc54d8517975c77993f4da2f003c1a6af456f82a23d58368e1c6c6", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling anyhow v1.0.88 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking multimap v0.10.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking predicates-tree v1.0.11 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking local_ipaddress v0.1.3 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling darling_macro 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 darling v0.14.4 [INFO] [stderr] Compiling nacos-macro v0.1.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking mockall v0.11.4 [INFO] [stderr] Checking prost v0.13.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking prost-types v0.13.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking prost-build v0.13.2 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking tonic-build v0.12.2 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.8 [INFO] [stderr] Checking hyper-timeout v0.5.1 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking tonic v0.12.2 [INFO] [stderr] Checking nacos-sdk v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::result::Result>, PoisonError>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/cache.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn add_listener(&mut self, listener: Arc) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | if let Ok(mut mutex) = self.listeners.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result>, PoisonError>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/cache.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn remove_listener(&mut self, listener: Arc) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | if let Ok(mut mutex) = self.listeners.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [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] error: aborting due to 2 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nacos-sdk` (lib) due to 3 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::result::Result>, PoisonError>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/cache.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn add_listener(&mut self, listener: Arc) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | if let Ok(mut mutex) = self.listeners.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result>, PoisonError>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/cache.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn remove_listener(&mut self, listener: Arc) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | if let Ok(mut mutex) = self.listeners.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::sync::MutexGuard<'_, Vec>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/cache.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 200 | let mut cache_data = CacheData::new(Arc::new(Vec::new()), d, g, n); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 223 | let listen_mutex = cache_data.listeners.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::sync::MutexGuard<'_, std::collections::HashMap>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/worker.rs:617:17 [INFO] [stdout] | [INFO] [stdout] 597 | let client_worker = ConfigWorker::new( [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 607 | let _listen = client_worker.add_listener(d.clone(), g.clone(), lis1_arc); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 611 | let _listen = client_worker.add_listener(d.clone(), g.clone(), lis2_arc.clone()); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 612 | // test add a listener2 again [INFO] [stdout] 613 | let _listen = client_worker.add_listener(d.clone(), g.clone(), lis2_arc); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 617 | let cache_data_map_mutex = client_worker.cache_data_map.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::sync::MutexGuard<'_, std::collections::HashMap>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config/worker.rs:654:17 [INFO] [stdout] | [INFO] [stdout] 629 | let client_worker = ConfigWorker::new( [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 640 | let _listen = client_worker.add_listener(d.clone(), g.clone(), lis1_arc); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 654 | let cache_data_map_mutex = client_worker.cache_data_map.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] [stdout] error: aborting due to 5 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nacos-sdk` (lib test) due to 6 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "499459e9c4fc54d8517975c77993f4da2f003c1a6af456f82a23d58368e1c6c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "499459e9c4fc54d8517975c77993f4da2f003c1a6af456f82a23d58368e1c6c6", kill_on_drop: false }` [INFO] [stdout] 499459e9c4fc54d8517975c77993f4da2f003c1a6af456f82a23d58368e1c6c6