[INFO] fetching crate arrow-udf-macros 0.3.0... [INFO] checking arrow-udf-macros-0.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate arrow-udf-macros 0.3.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate arrow-udf-macros 0.3.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] started tweaking crates.io crate arrow-udf-macros 0.3.0 [INFO] finished tweaking crates.io crate arrow-udf-macros 0.3.0 [INFO] tweaked toml for crates.io crate arrow-udf-macros 0.3.0 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [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] [stderr] Blocking waiting for file lock on package cache [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] 594ab9c457a425befc5e4a1e14dec03c277e5677d09762d95e40bc2c4f5ed559 [INFO] running `Command { std: "docker" "start" "-a" "594ab9c457a425befc5e4a1e14dec03c277e5677d09762d95e40bc2c4f5ed559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "594ab9c457a425befc5e4a1e14dec03c277e5677d09762d95e40bc2c4f5ed559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "594ab9c457a425befc5e4a1e14dec03c277e5677d09762d95e40bc2c4f5ed559", kill_on_drop: false }` [INFO] [stdout] 594ab9c457a425befc5e4a1e14dec03c277e5677d09762d95e40bc2c4f5ed559 [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] 10bb5f7c3d30105b7e27bde9c3973c979a5bb9e1c3b187932aaa4d545651edf9 [INFO] running `Command { std: "docker" "start" "-a" "10bb5f7c3d30105b7e27bde9c3973c979a5bb9e1c3b187932aaa4d545651edf9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking dissimilar v1.0.9 [INFO] [stderr] Checking expect-test v1.5.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking arrow-udf-macros v0.3.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:48:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn struct_type(tokens: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | match struct_type::gen(tokens.into()) { [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:291:11 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn function(attr: TokenStream, item: 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] ... [INFO] [stdout] 291 | match inner(attr, item) { [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:48:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn struct_type(tokens: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | match struct_type::gen(tokens.into()) { [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:291:11 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn function(attr: TokenStream, item: 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] ... [INFO] [stdout] 291 | match inner(attr, item) { [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/gen.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 113 | let user_fn_name = format_ident!("{}", user_fn.name); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | let inputs = idents("i", &children_indices); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | let arrays = idents("a", &children_indices); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | let ret_array_type = format_ident!("{}", types::array_type(&self.ret)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | let ret_data_type = field(&self.name, &self.ret); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | [INFO] [stdout] 132 | let variadic_args = variadic.then(|| quote! { variadic_row, }); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | let context = user_fn.context.then(|| quote! { &self.context, }); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | let writer = user_fn.write.then(|| quote! { builder, }); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | let await_ = user_fn.async_.then(|| quote! { .await }); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | let mut output = quote! { #user_fn_name( [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] 144 | | #(#transformed_inputs,)* [INFO] [stdout] | | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | | #variadic_args [INFO] [stdout] 146 | | #context [INFO] [stdout] 147 | | #writer [INFO] [stdout] 148 | | ) #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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | | let eval = if self.is_table_function { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | | let builder = builder(&self.ret); [INFO] [stdout] | | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 226 | | let append_output = gen_append(&self.ret); [INFO] [stdout] | | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 227 | | let error_append_null = user_fn [INFO] [stdout] | | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 230 | | let element = match user_fn.iterator_item_kind.clone().unwrap() { [INFO] [stdout] | | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 231 | | ReturnTypeKind::T => quote! {{ #error_append_null; Some(v) }}, [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] 232 | | ReturnTypeKind::Option => quote! {{ #error_append_null; v }}, [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] 233 | | ReturnTypeKind::Result => { [INFO] [stdout] 234 | / quote! { match v { [INFO] [stdout] 235 | | Ok(x) => { error_builder.append_null(); Some(x) }, [INFO] [stdout] 236 | | Err(e) => { error_builder.append_value(e.to_string()); None } [INFO] [stdout] 237 | | } } [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] 240 | / quote! { match v { [INFO] [stdout] 241 | | Ok(x) => { error_builder.append_null(); x }, [INFO] [stdout] 242 | | Err(e) => { error_builder.append_value(e.to_string()); None } [INFO] [stdout] 243 | | } } [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] 247 | | let error_field = user_fn.has_error().then(|| { [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 250 | | let let_error_builder = user_fn.has_error().then(|| { [INFO] [stdout] | | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 253 | | let error_array = user_fn.has_error().then(|| { [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 256 | let yield_batch = quote! { [INFO] [stdout] | _________________-----------___- [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] 257 | | let index_array = Arc::new(index_builder.finish()); [INFO] [stdout] 258 | | let value_array = Arc::new(builder.finish()); [INFO] [stdout] 259 | | yield_!(RecordBatch::try_new(SCHEMA.clone(), vec![index_array, value_array, #error_array]).unwrap()); [INFO] [stdout] 260 | | }; [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] 261 | / quote! {{ [INFO] [stdout] 262 | | lazy_static! { [INFO] [stdout] 263 | | static ref SCHEMA: SchemaRef = Arc::new(Schema::new(vec![ [INFO] [stdout] 264 | | Field::new("row", DataType::Int32, true), [INFO] [stdout] ... | [INFO] [stdout] 289 | | } [INFO] [stdout] 290 | | }} [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] | |______________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] | |______________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] 299 | | let fn_name = format_ident!("{}", batch_fn); [INFO] [stdout] | | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | / quote! { [INFO] [stdout] 301 | | let c = #fn_name(#(#arrays),*); [INFO] [stdout] 302 | | let array = Arc::new(c); [INFO] [stdout] 303 | | } [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] ... [INFO] [stdout] 312 | 0 => quote! { [INFO] [stdout] | ______________________- [INFO] [stdout] | |______________________| [INFO] [stdout] | |______________________| [INFO] [stdout] | |______________________| [INFO] [stdout] | |______________________| [INFO] [stdout] 313 | | let c = #ret_array_type::from_iter_values( [INFO] [stdout] 314 | | std::iter::repeat_with(|| #user_fn_name()).take(input.num_rows()) [INFO] [stdout] 315 | | ); [INFO] [stdout] 316 | | let array = Arc::new(c); [INFO] [stdout] 317 | | }, [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] 318 | 1 => quote! { [INFO] [stdout] | ______________________- [INFO] [stdout] | |______________________| [INFO] [stdout] | |______________________| [INFO] [stdout] 319 | | let c: #ret_array_type = arrow_arith::arity::unary(a0, #user_fn_name); [INFO] [stdout] 320 | | let array = Arc::new(c); [INFO] [stdout] 321 | | }, [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] 322 | 2 => quote! { [INFO] [stdout] | ______________________- [INFO] [stdout] | |______________________| [INFO] [stdout] | |______________________| [INFO] [stdout] 323 | | let c: #ret_array_type = arrow_arith::arity::binary(a0, a1, #user_fn_name)?; [INFO] [stdout] 324 | | let array = Arc::new(c); [INFO] [stdout] 325 | | }, [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] ... [INFO] [stdout] 330 | | let builder = builder(&self.ret); [INFO] [stdout] | | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | | // append the `output` to the `builder` [INFO] [stdout] 332 | | let append_output = if user_fn.write { [INFO] [stdout] | | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 339 | / quote! {{ [INFO] [stdout] 340 | | if #output.is_some() { [INFO] [stdout] 341 | | builder.append_value(""); [INFO] [stdout] 342 | | } else { [INFO] [stdout] 343 | | builder.append_null(); [INFO] [stdout] 344 | | } [INFO] [stdout] 345 | | }} [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] 346 | } else { [INFO] [stdout] 347 | | let append = gen_append(&self.ret); [INFO] [stdout] | | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | / quote! {{ [INFO] [stdout] 349 | | let v = #output; [INFO] [stdout] 350 | | #append [INFO] [stdout] 351 | | }} [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] 352 | }; [INFO] [stdout] 353 | / quote! { [INFO] [stdout] 354 | | let mut builder = #builder; [INFO] [stdout] 355 | | let builder = &mut builder; [INFO] [stdout] 356 | | for i in 0..input.num_rows() { [INFO] [stdout] ... | [INFO] [stdout] 360 | | let array = Arc::new(builder.finish()); [INFO] [stdout] 361 | | } [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] 364 | | let eval_and_return = if self.is_table_function { [INFO] [stdout] | | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 365 | / quote! { [INFO] [stdout] 366 | #eval [INFO] [stdout] 367 | | } [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 368 | } else { [INFO] [stdout] 369 | | let error_field = user_fn.has_error().then(|| { [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 372 | | let let_error_builder = user_fn.has_error().then(|| { [INFO] [stdout] | | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 375 | | let error_array = user_fn.has_error().then(|| { [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 378 | / quote! { [INFO] [stdout] 379 | | #let_error_builder [INFO] [stdout] 380 | | #eval [INFO] [stdout] ... | [INFO] [stdout] 385 | | Ok(RecordBatch::try_new(SCHEMA.clone(), vec![array, #error_array]).unwrap()) [INFO] [stdout] 386 | | } [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] 390 | let downcast_arrays = quote! { [INFO] [stdout] | _____________---------------___- [INFO] [stdout] | |_____________|_________________| [INFO] [stdout] | |_____________|_________________| [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] 391 | | #( [INFO] [stdout] 392 | | let #arrays: &#arg_arrays = input.column(#children_indices).as_any().downcast_ref() [INFO] [stdout] | | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 393 | | .ok_or_else(|| ::arrow_udf::codegen::arrow_schema::ArrowError::CastError( [INFO] [stdout] 394 | | format!("expect {} for the {}-th argument", stringify!(#arg_arrays), #children_indices) [INFO] [stdout] | | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 395 | | ))?; [INFO] [stdout] 396 | | )* [INFO] [stdout] 397 | | }; [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] 400 | let body = quote! { [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] 401 | | use ::std::sync::Arc; [INFO] [stdout] 402 | | use ::arrow_udf::{Result, Error}; [INFO] [stdout] 403 | | use ::arrow_udf::codegen::arrow_array; [INFO] [stdout] ... | [INFO] [stdout] 415 | | #eval_and_return [INFO] [stdout] 416 | | }; [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] 417 | [INFO] [stdout] 418 | Ok(if self.is_table_function { [INFO] [stdout] | ____________^ [INFO] [stdout] 419 | quote! { [INFO] [stdout] 420 | fn #eval_fn_name<'a>(input: &'a ::arrow_udf::codegen::arrow_array::RecordBatch) [INFO] [stdout] 421 | -> ::arrow_udf::Result + 'a>> [INFO] [stdout] ... [INFO] [stdout] 438 | } [INFO] [stdout] 439 | | }) [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] [stderr] error: could not compile `arrow-udf-macros` (lib test) due to 5 previous errors [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/struct_type.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 120 | let ident = field [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 145 | | ident, [INFO] [stdout] 146 | | name, [INFO] [stdout] 147 | | type_, [INFO] [stdout] 148 | | option, [INFO] [stdout] 149 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [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/gen.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 113 | let user_fn_name = format_ident!("{}", user_fn.name); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | let inputs = idents("i", &children_indices); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | let arrays = idents("a", &children_indices); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | let ret_array_type = format_ident!("{}", types::array_type(&self.ret)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | let ret_data_type = field(&self.name, &self.ret); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | [INFO] [stdout] 132 | let variadic_args = variadic.then(|| quote! { variadic_row, }); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | let context = user_fn.context.then(|| quote! { &self.context, }); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | let writer = user_fn.write.then(|| quote! { builder, }); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | let await_ = user_fn.async_.then(|| quote! { .await }); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | let mut output = quote! { #user_fn_name( [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] 144 | | #(#transformed_inputs,)* [INFO] [stdout] | | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | | #variadic_args [INFO] [stdout] 146 | | #context [INFO] [stdout] 147 | | #writer [INFO] [stdout] 148 | | ) #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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | | let eval = if self.is_table_function { [INFO] [stdout] | | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | | let builder = builder(&self.ret); [INFO] [stdout] | | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 226 | | let append_output = gen_append(&self.ret); [INFO] [stdout] | | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 227 | | let error_append_null = user_fn [INFO] [stdout] | | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 230 | | let element = match user_fn.iterator_item_kind.clone().unwrap() { [INFO] [stdout] | | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 231 | | ReturnTypeKind::T => quote! {{ #error_append_null; Some(v) }}, [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] 232 | | ReturnTypeKind::Option => quote! {{ #error_append_null; v }}, [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] 233 | | ReturnTypeKind::Result => { [INFO] [stdout] 234 | / quote! { match v { [INFO] [stdout] 235 | | Ok(x) => { error_builder.append_null(); Some(x) }, [INFO] [stdout] 236 | | Err(e) => { error_builder.append_value(e.to_string()); None } [INFO] [stdout] 237 | | } } [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] 240 | / quote! { match v { [INFO] [stdout] 241 | | Ok(x) => { error_builder.append_null(); x }, [INFO] [stdout] 242 | | Err(e) => { error_builder.append_value(e.to_string()); None } [INFO] [stdout] 243 | | } } [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] 247 | | let error_field = user_fn.has_error().then(|| { [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 250 | | let let_error_builder = user_fn.has_error().then(|| { [INFO] [stdout] | | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 253 | | let error_array = user_fn.has_error().then(|| { [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 256 | let yield_batch = quote! { [INFO] [stdout] | _________________-----------___- [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] 257 | | let index_array = Arc::new(index_builder.finish()); [INFO] [stdout] 258 | | let value_array = Arc::new(builder.finish()); [INFO] [stdout] 259 | | yield_!(RecordBatch::try_new(SCHEMA.clone(), vec![index_array, value_array, #error_array]).unwrap()); [INFO] [stdout] 260 | | }; [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] 261 | / quote! {{ [INFO] [stdout] 262 | | lazy_static! { [INFO] [stdout] 263 | | static ref SCHEMA: SchemaRef = Arc::new(Schema::new(vec![ [INFO] [stdout] 264 | | Field::new("row", DataType::Int32, true), [INFO] [stdout] ... | [INFO] [stdout] 289 | | } [INFO] [stdout] 290 | | }} [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] | |______________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] | |______________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] 299 | | let fn_name = format_ident!("{}", batch_fn); [INFO] [stdout] | | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | / quote! { [INFO] [stdout] 301 | | let c = #fn_name(#(#arrays),*); [INFO] [stdout] 302 | | let array = Arc::new(c); [INFO] [stdout] 303 | | } [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] ... [INFO] [stdout] 312 | 0 => quote! { [INFO] [stdout] | ______________________- [INFO] [stdout] | |______________________| [INFO] [stdout] | |______________________| [INFO] [stdout] | |______________________| [INFO] [stdout] | |______________________| [INFO] [stdout] 313 | | let c = #ret_array_type::from_iter_values( [INFO] [stdout] 314 | | std::iter::repeat_with(|| #user_fn_name()).take(input.num_rows()) [INFO] [stdout] 315 | | ); [INFO] [stdout] 316 | | let array = Arc::new(c); [INFO] [stdout] 317 | | }, [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] 318 | 1 => quote! { [INFO] [stdout] | ______________________- [INFO] [stdout] | |______________________| [INFO] [stdout] | |______________________| [INFO] [stdout] 319 | | let c: #ret_array_type = arrow_arith::arity::unary(a0, #user_fn_name); [INFO] [stdout] 320 | | let array = Arc::new(c); [INFO] [stdout] 321 | | }, [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] 322 | 2 => quote! { [INFO] [stdout] | ______________________- [INFO] [stdout] | |______________________| [INFO] [stdout] | |______________________| [INFO] [stdout] 323 | | let c: #ret_array_type = arrow_arith::arity::binary(a0, a1, #user_fn_name)?; [INFO] [stdout] 324 | | let array = Arc::new(c); [INFO] [stdout] 325 | | }, [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] ... [INFO] [stdout] 330 | | let builder = builder(&self.ret); [INFO] [stdout] | | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | | // append the `output` to the `builder` [INFO] [stdout] 332 | | let append_output = if user_fn.write { [INFO] [stdout] | | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 339 | / quote! {{ [INFO] [stdout] 340 | | if #output.is_some() { [INFO] [stdout] 341 | | builder.append_value(""); [INFO] [stdout] 342 | | } else { [INFO] [stdout] 343 | | builder.append_null(); [INFO] [stdout] 344 | | } [INFO] [stdout] 345 | | }} [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] 346 | } else { [INFO] [stdout] 347 | | let append = gen_append(&self.ret); [INFO] [stdout] | | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | / quote! {{ [INFO] [stdout] 349 | | let v = #output; [INFO] [stdout] 350 | | #append [INFO] [stdout] 351 | | }} [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] 352 | }; [INFO] [stdout] 353 | / quote! { [INFO] [stdout] 354 | | let mut builder = #builder; [INFO] [stdout] 355 | | let builder = &mut builder; [INFO] [stdout] 356 | | for i in 0..input.num_rows() { [INFO] [stdout] ... | [INFO] [stdout] 360 | | let array = Arc::new(builder.finish()); [INFO] [stdout] 361 | | } [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] 364 | | let eval_and_return = if self.is_table_function { [INFO] [stdout] | | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 365 | / quote! { [INFO] [stdout] 366 | #eval [INFO] [stdout] 367 | | } [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 368 | } else { [INFO] [stdout] 369 | | let error_field = user_fn.has_error().then(|| { [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 372 | | let let_error_builder = user_fn.has_error().then(|| { [INFO] [stdout] | | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 375 | | let error_array = user_fn.has_error().then(|| { [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 378 | / quote! { [INFO] [stdout] 379 | | #let_error_builder [INFO] [stdout] 380 | | #eval [INFO] [stdout] ... | [INFO] [stdout] 385 | | Ok(RecordBatch::try_new(SCHEMA.clone(), vec![array, #error_array]).unwrap()) [INFO] [stdout] 386 | | } [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] 390 | let downcast_arrays = quote! { [INFO] [stdout] | _____________---------------___- [INFO] [stdout] | |_____________|_________________| [INFO] [stdout] | |_____________|_________________| [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] 391 | | #( [INFO] [stdout] 392 | | let #arrays: &#arg_arrays = input.column(#children_indices).as_any().downcast_ref() [INFO] [stdout] | | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 393 | | .ok_or_else(|| ::arrow_udf::codegen::arrow_schema::ArrowError::CastError( [INFO] [stdout] 394 | | format!("expect {} for the {}-th argument", stringify!(#arg_arrays), #children_indices) [INFO] [stdout] | | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 395 | | ))?; [INFO] [stdout] 396 | | )* [INFO] [stdout] 397 | | }; [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] 400 | let body = quote! { [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] 401 | | use ::std::sync::Arc; [INFO] [stdout] 402 | | use ::arrow_udf::{Result, Error}; [INFO] [stdout] 403 | | use ::arrow_udf::codegen::arrow_array; [INFO] [stdout] ... | [INFO] [stdout] 415 | | #eval_and_return [INFO] [stdout] 416 | | }; [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] 417 | [INFO] [stdout] 418 | Ok(if self.is_table_function { [INFO] [stdout] | ____________^ [INFO] [stdout] 419 | quote! { [INFO] [stdout] 420 | fn #eval_fn_name<'a>(input: &'a ::arrow_udf::codegen::arrow_array::RecordBatch) [INFO] [stdout] 421 | -> ::arrow_udf::Result + 'a>> [INFO] [stdout] ... [INFO] [stdout] 438 | } [INFO] [stdout] 439 | | }) [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/struct_type.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 120 | let ident = field [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 145 | | ident, [INFO] [stdout] 146 | | name, [INFO] [stdout] 147 | | type_, [INFO] [stdout] 148 | | option, [INFO] [stdout] 149 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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] [stderr] error: could not compile `arrow-udf-macros` (lib) due to 5 previous errors [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "10bb5f7c3d30105b7e27bde9c3973c979a5bb9e1c3b187932aaa4d545651edf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10bb5f7c3d30105b7e27bde9c3973c979a5bb9e1c3b187932aaa4d545651edf9", kill_on_drop: false }` [INFO] [stdout] 10bb5f7c3d30105b7e27bde9c3973c979a5bb9e1c3b187932aaa4d545651edf9