[INFO] fetching crate jsonrpc-utils-macros 0.2.4... [INFO] checking jsonrpc-utils-macros-0.2.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate jsonrpc-utils-macros 0.2.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate jsonrpc-utils-macros 0.2.4 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] started tweaking crates.io crate jsonrpc-utils-macros 0.2.4 [INFO] finished tweaking crates.io crate jsonrpc-utils-macros 0.2.4 [INFO] tweaked toml for crates.io crate jsonrpc-utils-macros 0.2.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] bc69da2f5f2f649c2b6f22c07833be29475045fb06f18ddc4d11a37f20c12786 [INFO] running `Command { std: "docker" "start" "-a" "bc69da2f5f2f649c2b6f22c07833be29475045fb06f18ddc4d11a37f20c12786", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc69da2f5f2f649c2b6f22c07833be29475045fb06f18ddc4d11a37f20c12786", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc69da2f5f2f649c2b6f22c07833be29475045fb06f18ddc4d11a37f20c12786", kill_on_drop: false }` [INFO] [stdout] bc69da2f5f2f649c2b6f22c07833be29475045fb06f18ddc4d11a37f20c12786 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b874afd969c2896889dc0d232496fa70f768f4bf299366159788548360e98cd1 [INFO] running `Command { std: "docker" "start" "-a" "b874afd969c2896889dc0d232496fa70f768f4bf299366159788548360e98cd1", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking jsonrpc-utils-macros v0.2.4 (/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:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn rpc_client(_attr: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | / rpc_client_impl(input.into()) [INFO] [stdout] 100 | | .unwrap_or_else(|e| e.into_compile_error()) [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:131:12 [INFO] [stdout] | [INFO] [stdout] 112 | let attributes = input.call(Attribute::parse_outer)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | input.parse::()?; [INFO] [stdout] 114 | let ident: Ident = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | let mut items: Vec = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 132 | | attributes, [INFO] [stdout] 133 | | ident, [INFO] [stdout] 134 | | items, [INFO] [stdout] 135 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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:369:8 [INFO] [stdout] | [INFO] [stdout] 280 | let (rpc_attributes, other_attributes) = m [INFO] [stdout] | -------------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | let mut params_names = Vec::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 325 | let params_names1 = quote!(#(#params_names ,)*); [INFO] [stdout] | ------------- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 326 | let params_tys1 = quote!(#(#params_tys ,)*); [INFO] [stdout] | ----------- ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 327 | let parse_params = if optional_params > 0 { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 328 | let required_params = params_names.len() - optional_params; [INFO] [stdout] 329 | let mut parse_params = quote! { [INFO] [stdout] | _________________------------___- [INFO] [stdout] | |_________________|______________| [INFO] [stdout] | |_________________|______________| [INFO] [stdout] | |_________________|______________| [INFO] [stdout] | |_________________|______________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 330 | | let mut arr = match params { [INFO] [stdout] 331 | | jsonrpc_utils::jsonrpc_core::Params::Array(arr) => arr.into_iter(), [INFO] [stdout] 332 | | jsonrpc_utils::jsonrpc_core::Params::None => Vec::new().into_iter(), [INFO] [stdout] 333 | | _ => return Err(jsonrpc_utils::jsonrpc_core::Error::invalid_params("Invalid params: invalid type map, expect an array or ... [INFO] [stdout] 334 | | }; [INFO] [stdout] 335 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 338 | | let p_str = LitStr::new(&p.to_string(), p.span()); [INFO] [stdout] | | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 339 | | let ty = params_tys[i]; [INFO] [stdout] 340 | parse_params.extend(quote! { [INFO] [stdout] | _________________________________- [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] 341 | | let #p: #ty = jsonrpc_utils::serde_json::from_value(arr.next().ok_or_else(|| jsonrpc_utils::jsonrpc_core::Error::invalid_... [INFO] [stdout] 342 | | jsonrpc_utils::jsonrpc_core::Error::invalid_params(format!("Invalid parameter for `{}`: {}", #p_str, e)) [INFO] [stdout] 343 | | )?; [INFO] [stdout] 344 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 348 | | let p_str = LitStr::new(&p.to_string(), p.span()); [INFO] [stdout] | | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | | let ty = params_tys[i]; [INFO] [stdout] 350 | parse_params.extend(quote! { [INFO] [stdout] | _________________________________- [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] 351 | | let #p: #ty = match arr.next() { [INFO] [stdout] 352 | | Some(v) => jsonrpc_utils::serde_json::from_value(v).map_err(|e| jsonrpc_utils::jsonrpc_core::Error::invalid_params(fo... [INFO] [stdout] 353 | | None => None, [INFO] [stdout] 354 | | }; [INFO] [stdout] 355 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 359 | | quote!(params.expect_no_params()?;) [INFO] [stdout] | | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | | } else { [INFO] [stdout] 361 | | quote!(let (#params_names1): (#params_tys1) = params.parse()?;) [INFO] [stdout] | | --------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 362 | | }; [INFO] [stdout] 363 | | let result = if m.sig.asyncness.is_some() { [INFO] [stdout] | | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 364 | | quote!(rpc_impl.#method_name(#params_names1).await) [INFO] [stdout] | | --------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 365 | | } else { [INFO] [stdout] 366 | | quote!(rpc_impl.#method_name(#params_names1)) [INFO] [stdout] | | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 369 | Ok(if let Some(pub_sub) = args.pub_sub { [INFO] [stdout] | ________^ [INFO] [stdout] 370 | let notify_method_lit = &*pub_sub.notify; [INFO] [stdout] 371 | let unsubscribe_method_lit = &*pub_sub.unsubscribe; [INFO] [stdout] 372 | quote! { [INFO] [stdout] ... [INFO] [stdout] 393 | } [INFO] [stdout] 394 | | }) [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:566:9 [INFO] [stdout] | [INFO] [stdout] 563 | fn test_method(m: proc_macro2::TokenStream) -> Stmt { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 564 | let output = add_method(&mut parse2(m).unwrap()).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 565 | println!("output: {}", output); [INFO] [stdout] 566 | parse2(output).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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpc-utils-macros` (lib test) due to 5 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:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn rpc_client(_attr: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | / rpc_client_impl(input.into()) [INFO] [stdout] 100 | | .unwrap_or_else(|e| e.into_compile_error()) [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:131:12 [INFO] [stdout] | [INFO] [stdout] 112 | let attributes = input.call(Attribute::parse_outer)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | input.parse::()?; [INFO] [stdout] 114 | let ident: Ident = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | let mut items: Vec = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 132 | | attributes, [INFO] [stdout] 133 | | ident, [INFO] [stdout] 134 | | items, [INFO] [stdout] 135 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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:369:8 [INFO] [stdout] | [INFO] [stdout] 280 | let (rpc_attributes, other_attributes) = m [INFO] [stdout] | -------------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | let mut params_names = Vec::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 325 | let params_names1 = quote!(#(#params_names ,)*); [INFO] [stdout] | ------------- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 326 | let params_tys1 = quote!(#(#params_tys ,)*); [INFO] [stdout] | ----------- ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 327 | let parse_params = if optional_params > 0 { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 328 | let required_params = params_names.len() - optional_params; [INFO] [stdout] 329 | let mut parse_params = quote! { [INFO] [stdout] | _________________------------___- [INFO] [stdout] | |_________________|______________| [INFO] [stdout] | |_________________|______________| [INFO] [stdout] | |_________________|______________| [INFO] [stdout] | |_________________|______________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 330 | | let mut arr = match params { [INFO] [stdout] 331 | | jsonrpc_utils::jsonrpc_core::Params::Array(arr) => arr.into_iter(), [INFO] [stdout] 332 | | jsonrpc_utils::jsonrpc_core::Params::None => Vec::new().into_iter(), [INFO] [stdout] 333 | | _ => return Err(jsonrpc_utils::jsonrpc_core::Error::invalid_params("Invalid params: invalid type map, expect an array or ... [INFO] [stdout] 334 | | }; [INFO] [stdout] 335 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 338 | | let p_str = LitStr::new(&p.to_string(), p.span()); [INFO] [stdout] | | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 339 | | let ty = params_tys[i]; [INFO] [stdout] 340 | parse_params.extend(quote! { [INFO] [stdout] | _________________________________- [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] 341 | | let #p: #ty = jsonrpc_utils::serde_json::from_value(arr.next().ok_or_else(|| jsonrpc_utils::jsonrpc_core::Error::invalid_... [INFO] [stdout] 342 | | jsonrpc_utils::jsonrpc_core::Error::invalid_params(format!("Invalid parameter for `{}`: {}", #p_str, e)) [INFO] [stdout] 343 | | )?; [INFO] [stdout] 344 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 348 | | let p_str = LitStr::new(&p.to_string(), p.span()); [INFO] [stdout] | | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | | let ty = params_tys[i]; [INFO] [stdout] 350 | parse_params.extend(quote! { [INFO] [stdout] | _________________________________- [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] | |_________________________________| [INFO] [stdout] 351 | | let #p: #ty = match arr.next() { [INFO] [stdout] 352 | | Some(v) => jsonrpc_utils::serde_json::from_value(v).map_err(|e| jsonrpc_utils::jsonrpc_core::Error::invalid_params(fo... [INFO] [stdout] 353 | | None => None, [INFO] [stdout] 354 | | }; [INFO] [stdout] 355 | | }); [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 359 | | quote!(params.expect_no_params()?;) [INFO] [stdout] | | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | | } else { [INFO] [stdout] 361 | | quote!(let (#params_names1): (#params_tys1) = params.parse()?;) [INFO] [stdout] | | --------------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 362 | | }; [INFO] [stdout] 363 | | let result = if m.sig.asyncness.is_some() { [INFO] [stdout] | | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 364 | | quote!(rpc_impl.#method_name(#params_names1).await) [INFO] [stdout] | | --------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 365 | | } else { [INFO] [stdout] 366 | | quote!(rpc_impl.#method_name(#params_names1)) [INFO] [stdout] | | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 369 | Ok(if let Some(pub_sub) = args.pub_sub { [INFO] [stdout] | ________^ [INFO] [stdout] 370 | let notify_method_lit = &*pub_sub.notify; [INFO] [stdout] 371 | let unsubscribe_method_lit = &*pub_sub.unsubscribe; [INFO] [stdout] 372 | quote! { [INFO] [stdout] ... [INFO] [stdout] 393 | } [INFO] [stdout] 394 | | }) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpc-utils-macros` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "b874afd969c2896889dc0d232496fa70f768f4bf299366159788548360e98cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b874afd969c2896889dc0d232496fa70f768f4bf299366159788548360e98cd1", kill_on_drop: false }` [INFO] [stdout] b874afd969c2896889dc0d232496fa70f768f4bf299366159788548360e98cd1