[INFO] fetching crate near-jsonrpc-client 0.12.0... [INFO] checking near-jsonrpc-client-0.12.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate near-jsonrpc-client 0.12.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate near-jsonrpc-client 0.12.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate near-jsonrpc-client 0.12.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate near-jsonrpc-client 0.12.0 [INFO] tweaked toml for crates.io crate near-jsonrpc-client 0.12.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate near-jsonrpc-client 0.12.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e96ae3c3df5ca15bf7ad08d3deecb8614827989e485c79bc9e305e16041b48b2 [INFO] running `Command { std: "docker" "start" "-a" "e96ae3c3df5ca15bf7ad08d3deecb8614827989e485c79bc9e305e16041b48b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e96ae3c3df5ca15bf7ad08d3deecb8614827989e485c79bc9e305e16041b48b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e96ae3c3df5ca15bf7ad08d3deecb8614827989e485c79bc9e305e16041b48b2", kill_on_drop: false }` [INFO] [stdout] e96ae3c3df5ca15bf7ad08d3deecb8614827989e485c79bc9e305e16041b48b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 097944b5617f6009f3670ac60a590ea098af77265d047ac6d9cbe96116e1beb8 [INFO] running `Command { std: "docker" "start" "-a" "097944b5617f6009f3670ac60a590ea098af77265d047ac6d9cbe96116e1beb8", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking near-structs-checker-core v0.25.0 [INFO] [stderr] Compiling near-structs-checker-macro v0.25.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking json_comments v0.2.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking near-structs-checker-lib v0.25.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking near-stdx v0.25.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling easy-ext v0.2.9 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling syn_derive v0.1.8 [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 thiserror-impl v1.0.63 [INFO] [stderr] Compiling derive_arbitrary v1.3.2 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking near-config-utils v0.25.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking near-account-id v1.0.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking bytesize v1.3.0 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking ordered-float v4.2.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking primitive-types v0.10.1 [INFO] [stderr] Checking near-primitives-core v0.25.0 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking near-fmt v0.25.0 [INFO] [stderr] Compiling near-rpc-error-core v0.25.0 [INFO] [stderr] Compiling near-rpc-error-macro v0.25.0 [INFO] [stderr] Checking near-crypto v0.25.0 [INFO] [stderr] Checking near-parameters v0.25.0 [INFO] [stderr] Checking near-time v0.25.0 [INFO] [stderr] Checking near-primitives v0.25.0 [INFO] [stderr] Checking near-chain-configs v0.25.0 [INFO] [stderr] Checking near-jsonrpc-primitives v0.25.0 [INFO] [stderr] Checking near-jsonrpc-client v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn connect(&self, server_addr: U) -> JsonRpcClient { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | inner: Arc::new(JsonRpcInnerClient { [INFO] [stdout] | ____________________^ [INFO] [stdout] 94 | | server_addr: server_addr.to_string(), [INFO] [stdout] 95 | | client: self.client.clone(), [INFO] [stdout] 96 | | }), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn connect(&self, server_addr: U) -> JsonRpcClient { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | headers: reqwest::header::HeaderMap::new(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:198:42 [INFO] [stdout] | [INFO] [stdout] 197 | let request_payload = methods::to_json(&method).map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | JsonRpcError::TransportError(RpcTransportError::SendError( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 199 | | JsonRpcTransportSendError::PayloadSerializeError(err), [INFO] [stdout] 200 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:207:42 [INFO] [stdout] | [INFO] [stdout] 206 | let request_payload = serde_json::to_vec(&request_payload).map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | JsonRpcError::TransportError(RpcTransportError::SendError( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 208 | | JsonRpcTransportSendError::PayloadSerializeError(err.into()), [INFO] [stdout] 209 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:220:42 [INFO] [stdout] | [INFO] [stdout] 219 | let response = request.send().await.map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | JsonRpcError::TransportError(RpcTransportError::SendError( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 221 | | JsonRpcTransportSendError::PayloadSendError(err), [INFO] [stdout] 222 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:244:42 [INFO] [stdout] | [INFO] [stdout] 243 | let response_payload = response.bytes().await.map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | JsonRpcError::TransportError(RpcTransportError::RecvError( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 245 | | JsonRpcTransportRecvError::PayloadRecvError(err), [INFO] [stdout] 246 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:266:50 [INFO] [stdout] | [INFO] [stdout] 265 | .map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 266 | JsonRpcError::TransportError(RpcTransportError::RecvError( [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 267 | | JsonRpcTransportRecvError::ResponseParseError( [INFO] [stdout] 268 | | JsonRpcTransportHandlerResponseError::ResultParseError(err), [INFO] [stdout] 269 | | ), [INFO] [stdout] 270 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:272:58 [INFO] [stdout] | [INFO] [stdout] 272 | .map_err(|err| JsonRpcError::ServerError(JsonRpcServerError::HandlerError(err))); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 338 | let mut headers = reqwest::header::HeaderMap::with_capacity(2); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 346 | client: reqwest::Client::builder() [INFO] [stdout] | _____________________^ [INFO] [stdout] 347 | | .default_headers(headers) [INFO] [stdout] 348 | | .build() [INFO] [stdout] 349 | | .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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/auth.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new>(api_key: K) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | HeaderValue::from_bytes(api_key.as_ref()).map(|mut api_key| { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/auth.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 73 | HeaderValue::from_bytes(api_key.as_ref()).map(|mut api_key| { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | ApiKey({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 75 | | api_key.set_sensitive(true); [INFO] [stdout] 76 | | api_key [INFO] [stdout] 77 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/auth.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn bearer>(token: T) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | HeaderValue::from_bytes(&[b"Bearer ", token.as_ref().as_bytes()].concat()).map( [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/auth.rs:127:60 [INFO] [stdout] | [INFO] [stdout] 126 | |mut token| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | Authorization(AuthorizationScheme::Bearer, { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 128 | | token.set_sensitive(true); [INFO] [stdout] 129 | | token [INFO] [stdout] 130 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/errors.rs:161:35 [INFO] [stdout] | [INFO] [stdout] 115 | let mut handler_parse_error = None; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | JsonRpcError::ServerError(JsonRpcServerError::NonContextualError(err)) [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: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `near-jsonrpc-client` (lib test) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn connect(&self, server_addr: U) -> JsonRpcClient { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | inner: Arc::new(JsonRpcInnerClient { [INFO] [stdout] | ____________________^ [INFO] [stdout] 94 | | server_addr: server_addr.to_string(), [INFO] [stdout] 95 | | client: self.client.clone(), [INFO] [stdout] 96 | | }), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn connect(&self, server_addr: U) -> JsonRpcClient { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | headers: reqwest::header::HeaderMap::new(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:198:42 [INFO] [stdout] | [INFO] [stdout] 197 | let request_payload = methods::to_json(&method).map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | JsonRpcError::TransportError(RpcTransportError::SendError( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 199 | | JsonRpcTransportSendError::PayloadSerializeError(err), [INFO] [stdout] 200 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:207:42 [INFO] [stdout] | [INFO] [stdout] 206 | let request_payload = serde_json::to_vec(&request_payload).map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | JsonRpcError::TransportError(RpcTransportError::SendError( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 208 | | JsonRpcTransportSendError::PayloadSerializeError(err.into()), [INFO] [stdout] 209 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:220:42 [INFO] [stdout] | [INFO] [stdout] 219 | let response = request.send().await.map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | JsonRpcError::TransportError(RpcTransportError::SendError( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 221 | | JsonRpcTransportSendError::PayloadSendError(err), [INFO] [stdout] 222 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:244:42 [INFO] [stdout] | [INFO] [stdout] 243 | let response_payload = response.bytes().await.map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | JsonRpcError::TransportError(RpcTransportError::RecvError( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 245 | | JsonRpcTransportRecvError::PayloadRecvError(err), [INFO] [stdout] 246 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:266:50 [INFO] [stdout] | [INFO] [stdout] 265 | .map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 266 | JsonRpcError::TransportError(RpcTransportError::RecvError( [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 267 | | JsonRpcTransportRecvError::ResponseParseError( [INFO] [stdout] 268 | | JsonRpcTransportHandlerResponseError::ResultParseError(err), [INFO] [stdout] 269 | | ), [INFO] [stdout] 270 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:272:58 [INFO] [stdout] | [INFO] [stdout] 272 | .map_err(|err| JsonRpcError::ServerError(JsonRpcServerError::HandlerError(err))); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:346:21 [INFO] [stdout] | [INFO] [stdout] 338 | let mut headers = reqwest::header::HeaderMap::with_capacity(2); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 346 | client: reqwest::Client::builder() [INFO] [stdout] | _____________________^ [INFO] [stdout] 347 | | .default_headers(headers) [INFO] [stdout] 348 | | .build() [INFO] [stdout] 349 | | .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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/auth.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new>(api_key: K) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | HeaderValue::from_bytes(api_key.as_ref()).map(|mut api_key| { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/auth.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 73 | HeaderValue::from_bytes(api_key.as_ref()).map(|mut api_key| { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | ApiKey({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 75 | | api_key.set_sensitive(true); [INFO] [stdout] 76 | | api_key [INFO] [stdout] 77 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/auth.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn bearer>(token: T) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | HeaderValue::from_bytes(&[b"Bearer ", token.as_ref().as_bytes()].concat()).map( [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/auth.rs:127:60 [INFO] [stdout] | [INFO] [stdout] 126 | |mut token| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | Authorization(AuthorizationScheme::Bearer, { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 128 | | token.set_sensitive(true); [INFO] [stdout] 129 | | token [INFO] [stdout] 130 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/errors.rs:161:35 [INFO] [stdout] | [INFO] [stdout] 115 | let mut handler_parse_error = None; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | JsonRpcError::ServerError(JsonRpcServerError::NonContextualError(err)) [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: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `near-jsonrpc-client` (lib) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "097944b5617f6009f3670ac60a590ea098af77265d047ac6d9cbe96116e1beb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "097944b5617f6009f3670ac60a590ea098af77265d047ac6d9cbe96116e1beb8", kill_on_drop: false }` [INFO] [stdout] 097944b5617f6009f3670ac60a590ea098af77265d047ac6d9cbe96116e1beb8