[INFO] fetching crate dply 0.3.2... [INFO] checking dply-0.3.2 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate dply 0.3.2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate dply 0.3.2 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dply 0.3.2 [INFO] finished tweaking crates.io crate dply 0.3.2 [INFO] tweaked toml for crates.io crate dply 0.3.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate dply 0.3.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a2f3f807bb89c7c0ef6c62660a873fa7b7f5aaadd3541011198d70c76e76ce6 [INFO] running `Command { std: "docker" "start" "-a" "1a2f3f807bb89c7c0ef6c62660a873fa7b7f5aaadd3541011198d70c76e76ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a2f3f807bb89c7c0ef6c62660a873fa7b7f5aaadd3541011198d70c76e76ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a2f3f807bb89c7c0ef6c62660a873fa7b7f5aaadd3541011198d70c76e76ce6", kill_on_drop: false }` [INFO] [stdout] 1a2f3f807bb89c7c0ef6c62660a873fa7b7f5aaadd3541011198d70c76e76ce6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b57259530d475b46e28ae6ff8a83321288c7a5a8867be3f8506f488332f50713 [INFO] running `Command { std: "docker" "start" "-a" "b57259530d475b46e28ae6ff8a83321288c7a5a8867be3f8506f488332f50713", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling target-features v0.1.6 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking array-init-cursor v0.2.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Checking planus v0.3.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling polars-utils v0.40.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling polars-arrow v0.40.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking sysinfo v0.30.12 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking foreign_vec v0.1.0 [INFO] [stderr] Checking itoap v1.0.1 [INFO] [stderr] Checking ethnum v1.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking atoi_simd v0.15.6 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking fast-float v0.2.0 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling polars-compute v0.40.0 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Compiling polars-core v0.40.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Compiling polars-ops v0.40.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking xxhash-rust v0.8.10 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking brotli-decompressor v4.0.0 [INFO] [stderr] Checking argminmax v0.6.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking streaming-decompression v0.1.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Checking memmap2 v0.7.1 [INFO] [stderr] Compiling polars-plan v0.40.0 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling polars-pipe v0.40.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling polars-lazy v0.40.0 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking brotli v5.0.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling lz4-sys v1.9.4 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling jemalloc-sys v0.5.4+5.3.0-patched [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling polars v0.40.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking nu-ansi-term v0.50.0 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling bytemuck_derive v1.6.1 [INFO] [stderr] Compiling multiversion-macros v0.7.4 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking recursive v0.1.1 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Checking multiversion v0.7.4 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking parquet-format-safe v0.2.4 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking polars-arrow-format v0.1.0 [INFO] [stderr] Checking raw-cpuid v11.0.2 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking halfbrown v0.2.5 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking value-trait v0.8.1 [INFO] [stderr] Checking now v0.1.3 [INFO] [stderr] Checking comfy-table v7.1.1 [INFO] [stderr] Checking simd-json v0.13.10 [INFO] [stderr] Checking polars-error v0.40.0 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking reedline v0.32.0 [INFO] [stderr] Checking lz4 v1.24.0 [INFO] [stderr] Checking polars-row v0.40.0 [INFO] [stderr] Checking polars-json v0.40.0 [INFO] [stderr] Checking polars-parquet v0.40.0 [INFO] [stderr] Checking polars-time v0.40.0 [INFO] [stderr] Checking polars-io v0.40.0 [INFO] [stderr] Checking polars-expr v0.40.0 [INFO] [stderr] Checking jemallocator v0.5.4 [INFO] [stderr] Checking dply v0.3.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `dply` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/parser.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:140:10 [INFO] [stderr] | [INFO] [stderr] 140 | ($dst:expr_2021, $($arg:tt)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 140 | ($dst:expr, $($arg:tt)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 140 | ($dst:expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine/fmt.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | env::set_var("POLARS_FMT_TABLE_CELL_LIST_LEN", "6"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ unsafe { env::set_var("POLARS_FMT_TABLE_CELL_LIST_LEN", "6") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | std::env::set_var("POLARS_TABLE_WIDTH", w.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 159 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 160 ~ unsafe { std::env::set_var("POLARS_TABLE_WIDTH", w.to_string()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | / std::env::set_var( [INFO] [stdout] 163 | | "POLARS_FMT_MAX_COLS", [INFO] [stdout] 164 | | self.format_config.max_columns.to_string(), [INFO] [stdout] 165 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 162 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 163 ~ unsafe { std::env::set_var( [INFO] [stdout] 164 | "POLARS_FMT_MAX_COLS", [INFO] [stdout] 165 | self.format_config.max_columns.to_string(), [INFO] [stdout] 166 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | / std::env::set_var( [INFO] [stdout] 168 | | "POLARS_FMT_STR_LEN", [INFO] [stdout] 169 | | self.format_config.max_column_width.to_string(), [INFO] [stdout] 170 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 167 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 168 ~ unsafe { std::env::set_var( [INFO] [stdout] 169 | "POLARS_FMT_STR_LEN", [INFO] [stdout] 170 | self.format_config.max_column_width.to_string(), [INFO] [stdout] 171 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repl.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | if let Err(e) = evaluator.eval(&input) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repl.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 65 ~ match evaluator.eval(&input) { Err(e) => { [INFO] [stdout] 66 | println!("Error: {e}"); [INFO] [stdout] 67 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | if let Some(plan) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 243 | } else if let Some(plan) = ctx.vars.get(name) { [INFO] [stdout] | -------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | } else if let Some(plan) = ctx.vars.get(name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 240 ~ match ctx.take_df() { Some(plan) => { [INFO] [stdout] 241 | ctx.vars.insert(name.to_owned(), plan.clone()); [INFO] [stdout] 242 | ctx.set_df(plan)?; [INFO] [stdout] 243 ~ } _ => { match ctx.vars.get(name) { Some(plan) => { [INFO] [stdout] 244 | ctx.set_df(plan.clone())?; [INFO] [stdout] 245 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 246 | bail!("Cannot assign a group to variable '{name}'"); [INFO] [stdout] 247 | } else { [INFO] [stdout] 248 | bail!("Undefined variable '{name}'"); [INFO] [stdout] 249 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/arrange.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/arrange.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 14 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 15 | let schema_cols = ctx.columns(); [INFO] [stdout] ... [INFO] [stdout] 50 | ctx.set_df(df.sort_by_exprs(columns, sort_opts))?; [INFO] [stdout] 51 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 52 | bail!("arrange error: must call summarize after a group_by"); [INFO] [stdout] 53 | } else { [INFO] [stdout] 54 | bail!("arrange error: missing input dataframe"); [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/count.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/count.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 14 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 15 | let schema_cols = ctx.columns(); [INFO] [stdout] ... [INFO] [stdout] 56 | ctx.set_df(df)?; [INFO] [stdout] 57 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 58 | bail!("count error: must call summarize after a group_by"); [INFO] [stdout] 59 | } else { [INFO] [stdout] 60 | bail!("count error: missing input dataframe"); [INFO] [stdout] 61 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/csv.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/csv.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 21 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 22 | if !overwrite && path.exists() { [INFO] [stdout] ... [INFO] [stdout] 32 | CsvWriter::new(file).finish(&mut out_df)?; [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | let reader = LazyCsvReader::new(&path).with_infer_schema_length(Some(1000)); [INFO] [stdout] ... [INFO] [stdout] 38 | ctx.set_df(df)?; [INFO] [stdout] 39 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/distinct.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/distinct.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 14 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 15 | let schema_cols = ctx.columns(); [INFO] [stdout] ... [INFO] [stdout] 37 | ctx.set_df(df)?; [INFO] [stdout] 38 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 39 | bail!("distinct error: must call summarize after a group_by"); [INFO] [stdout] 40 | } else { [INFO] [stdout] 41 | bail!("distinct error: missing input dataframe"); [INFO] [stdout] 42 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/filter.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(mut df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/filter.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 28 ~ match ctx.take_df() { Some(mut df) => { [INFO] [stdout] 29 | for arg in args { [INFO] [stdout] ... [INFO] [stdout] 38 | ctx.set_df(df)?; [INFO] [stdout] 39 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 40 | bail!("filter error: must call summarize after a group_by"); [INFO] [stdout] 41 | } else { [INFO] [stdout] 42 | bail!("filter error: missing input dataframe"); [INFO] [stdout] 43 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/filter.rs:128:36 [INFO] [stdout] | [INFO] [stdout] 128 | let found = if let Some(s) = arr { [INFO] [stdout] | ^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/filter.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 128 ~ let found = match arr { Some(s) => { [INFO] [stdout] 129 | s.str() [INFO] [stdout] ... [INFO] [stdout] 134 | .unwrap_or_default() [INFO] [stdout] 135 ~ } _ => { [INFO] [stdout] 136 | false [INFO] [stdout] 137 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/glimpse.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/glimpse.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 13 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 14 | ctx.glimpse(df)?; [INFO] [stdout] 15 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 16 | bail!("glimpse error: must call summarize after a group_by"); [INFO] [stdout] 17 | } else { [INFO] [stdout] 18 | bail!("glimpse error: missing input dataframe"); [INFO] [stdout] 19 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/group_by.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/group_by.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 14 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 15 | let schema_cols = ctx.columns(); [INFO] [stdout] ... [INFO] [stdout] 31 | ctx.set_group(df.group_by_stable(&columns))?; [INFO] [stdout] 32 ~ } _ => { [INFO] [stdout] 33 | bail!("group_by error: missing input dataframe"); [INFO] [stdout] 34 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/head.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/head.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 13 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 14 | let limit = if !args.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 21 | ctx.print(df)?; [INFO] [stdout] 22 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 23 | bail!("head error: must call summarize after a group_by"); [INFO] [stdout] 24 | } else { [INFO] [stdout] 25 | bail!("head error: missing input dataframe"); [INFO] [stdout] 26 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/joins.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | if let Some(lhs_df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/joins.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 15 ~ match ctx.take_df() { Some(lhs_df) => { [INFO] [stdout] 16 | let rhs_df_name = args::identifier(&args[0]); [INFO] [stdout] ... [INFO] [stdout] 80 | } [INFO] [stdout] 81 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 82 | bail!("join error: must call summarize after a group_by"); [INFO] [stdout] 83 | } else { [INFO] [stdout] 84 | bail!("join error: missing input dataframe"); [INFO] [stdout] 85 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/json.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/json.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 19 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 20 | if !overwrite && path.exists() { [INFO] [stdout] ... [INFO] [stdout] 32 | .finish(&mut out_df)?; [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | // Read the data frame and set it as input for the next task. [INFO] [stdout] ... [INFO] [stdout] 39 | ctx.set_df(df)?; [INFO] [stdout] 40 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/mutate.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(mut df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/mutate.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 28 ~ match ctx.take_df() { Some(mut df) => { [INFO] [stdout] 29 | let mut used_aliases = HashSet::new(); [INFO] [stdout] ... [INFO] [stdout] 52 | ctx.set_df(df)?; [INFO] [stdout] 53 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 54 | bail!("mutate error: must call summarize after a group_by"); [INFO] [stdout] 55 | } else { [INFO] [stdout] 56 | bail!("mutate error: missing input dataframe"); [INFO] [stdout] 57 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/parquet.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/parquet.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 21 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 22 | if !overwrite && path.exists() { [INFO] [stdout] ... [INFO] [stdout] 32 | ParquetWriter::new(file).finish(&mut out_df)?; [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | // Read the data frame and set it as input for the next task. [INFO] [stdout] ... [INFO] [stdout] 37 | ctx.set_df(df)?; [INFO] [stdout] 38 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/relocate.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/relocate.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 24 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 25 | let schema_cols = ctx.columns(); [INFO] [stdout] ... [INFO] [stdout] 81 | ctx.set_df(df.select(&columns))?; [INFO] [stdout] 82 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 83 | bail!("relocate error: must call summarize after a group_by"); [INFO] [stdout] 84 | } else { [INFO] [stdout] 85 | bail!("relocate error: missing input dataframe"); [INFO] [stdout] 86 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/rename.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/rename.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 14 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 15 | let mut schema_cols = ctx.columns().iter().map(|c| col(c)).collect::>(); [INFO] [stdout] ... [INFO] [stdout] 30 | ctx.set_df(df.select(&schema_cols))?; [INFO] [stdout] 31 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 32 | bail!("rename error: must call summarize after a group_by"); [INFO] [stdout] 33 | } else { [INFO] [stdout] 34 | bail!("rename error: missing input dataframe"); [INFO] [stdout] 35 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/rename.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | if let Some(idx) = schema_cols.iter().position(|c| c == &col(&column)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/rename.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 22 ~ match schema_cols.iter().position(|c| c == &col(&column)) { Some(idx) => { [INFO] [stdout] 23 | schema_cols[idx] = schema_cols[idx].clone().alias(&alias); [INFO] [stdout] 24 ~ } _ => { [INFO] [stdout] 25 | bail!("rename error: Unknown column {column}"); [INFO] [stdout] 26 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/select.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/select.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 15 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 16 | let schema_cols = ctx.columns(); [INFO] [stdout] ... [INFO] [stdout] 56 | ctx.set_df(df.select(&select_columns))?; [INFO] [stdout] 57 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 58 | bail!("select error: must call summarize after a group_by"); [INFO] [stdout] 59 | } else { [INFO] [stdout] 60 | bail!("select error: missing input dataframe"); [INFO] [stdout] 61 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/show.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/show.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 13 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 14 | let df = df.collect()?; [INFO] [stdout] 15 | ctx.print(df)?; [INFO] [stdout] 16 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 17 | bail!("show error: must call summarize after a group_by"); [INFO] [stdout] 18 | } else { [INFO] [stdout] 19 | bail!("show error: missing input dataframe"); [INFO] [stdout] 20 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/summarize.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(group) = ctx.take_group() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 36 | } else if let Some(df) = ctx.take_df() { [INFO] [stdout] | ------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/summarize.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | } else if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/summarize.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 28 ~ match ctx.take_group() { Some(group) => { [INFO] [stdout] 29 | let columns = group [INFO] [stdout] ... [INFO] [stdout] 35 | ctx.set_df(group.agg(&columns))?; [INFO] [stdout] 36 ~ } _ => { match ctx.take_df() { Some(df) => { [INFO] [stdout] 37 | let columns = df [INFO] [stdout] ... [INFO] [stdout] 42 | ctx.set_df(df.select(&columns))?; [INFO] [stdout] 43 ~ } _ => { [INFO] [stdout] 44 | bail!("summarize error: missing input group or dataframe"); [INFO] [stdout] 45 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/unnest.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | if let Some(mut df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/unnest.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 26 ~ match ctx.take_df() { Some(mut df) => { [INFO] [stdout] 27 | for arg in args { [INFO] [stdout] ... [INFO] [stdout] 43 | ctx.set_df(df)?; [INFO] [stdout] 44 ~ } _ => { [INFO] [stdout] 45 | bail!("unnest error: missing input dataframe"); [INFO] [stdout] 46 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `dply` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/parser.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:140:10 [INFO] [stderr] | [INFO] [stderr] 140 | ($dst:expr_2021, $($arg:tt)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:413:10 [INFO] [stderr] | [INFO] [stderr] 413 | ($text:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:413:27 [INFO] [stderr] | [INFO] [stderr] 413 | ($text:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 140 | ($dst:expr, $($arg:tt)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 140 | ($dst:expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:413:16 [INFO] [stdout] | [INFO] [stdout] 413 | ($text:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 413 | ($text:expr_2021, $expected:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:413:32 [INFO] [stdout] | [INFO] [stdout] 413 | ($text:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 413 | ($text:expr, $expected:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine/fmt.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | env::set_var("POLARS_FMT_TABLE_CELL_LIST_LEN", "6"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ unsafe { env::set_var("POLARS_FMT_TABLE_CELL_LIST_LEN", "6") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | std::env::set_var("POLARS_TABLE_WIDTH", w.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 159 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 160 ~ unsafe { std::env::set_var("POLARS_TABLE_WIDTH", w.to_string()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | / std::env::set_var( [INFO] [stdout] 163 | | "POLARS_FMT_MAX_COLS", [INFO] [stdout] 164 | | self.format_config.max_columns.to_string(), [INFO] [stdout] 165 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 162 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 163 ~ unsafe { std::env::set_var( [INFO] [stdout] 164 | "POLARS_FMT_MAX_COLS", [INFO] [stdout] 165 | self.format_config.max_columns.to_string(), [INFO] [stdout] 166 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | / std::env::set_var( [INFO] [stdout] 168 | | "POLARS_FMT_STR_LEN", [INFO] [stdout] 169 | | self.format_config.max_column_width.to_string(), [INFO] [stdout] 170 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 167 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 168 ~ unsafe { std::env::set_var( [INFO] [stdout] 169 | "POLARS_FMT_STR_LEN", [INFO] [stdout] 170 | self.format_config.max_column_width.to_string(), [INFO] [stdout] 171 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/repl.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | if let Err(e) = evaluator.eval(&input) { [INFO] [stdout] | ^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/repl.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 65 ~ match evaluator.eval(&input) { Err(e) => { [INFO] [stdout] 66 | println!("Error: {e}"); [INFO] [stdout] 67 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | if let Some(plan) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 243 | } else if let Some(plan) = ctx.vars.get(name) { [INFO] [stdout] | -------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | } else if let Some(plan) = ctx.vars.get(name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 240 ~ match ctx.take_df() { Some(plan) => { [INFO] [stdout] 241 | ctx.vars.insert(name.to_owned(), plan.clone()); [INFO] [stdout] 242 | ctx.set_df(plan)?; [INFO] [stdout] 243 ~ } _ => { match ctx.vars.get(name) { Some(plan) => { [INFO] [stdout] 244 | ctx.set_df(plan.clone())?; [INFO] [stdout] 245 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 246 | bail!("Cannot assign a group to variable '{name}'"); [INFO] [stdout] 247 | } else { [INFO] [stdout] 248 | bail!("Undefined variable '{name}'"); [INFO] [stdout] 249 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/arrange.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/arrange.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 14 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 15 | let schema_cols = ctx.columns(); [INFO] [stdout] ... [INFO] [stdout] 50 | ctx.set_df(df.sort_by_exprs(columns, sort_opts))?; [INFO] [stdout] 51 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 52 | bail!("arrange error: must call summarize after a group_by"); [INFO] [stdout] 53 | } else { [INFO] [stdout] 54 | bail!("arrange error: missing input dataframe"); [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/count.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/count.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 14 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 15 | let schema_cols = ctx.columns(); [INFO] [stdout] ... [INFO] [stdout] 56 | ctx.set_df(df)?; [INFO] [stdout] 57 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 58 | bail!("count error: must call summarize after a group_by"); [INFO] [stdout] 59 | } else { [INFO] [stdout] 60 | bail!("count error: missing input dataframe"); [INFO] [stdout] 61 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/csv.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/csv.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 21 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 22 | if !overwrite && path.exists() { [INFO] [stdout] ... [INFO] [stdout] 32 | CsvWriter::new(file).finish(&mut out_df)?; [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | let reader = LazyCsvReader::new(&path).with_infer_schema_length(Some(1000)); [INFO] [stdout] ... [INFO] [stdout] 38 | ctx.set_df(df)?; [INFO] [stdout] 39 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/distinct.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/distinct.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 14 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 15 | let schema_cols = ctx.columns(); [INFO] [stdout] ... [INFO] [stdout] 37 | ctx.set_df(df)?; [INFO] [stdout] 38 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 39 | bail!("distinct error: must call summarize after a group_by"); [INFO] [stdout] 40 | } else { [INFO] [stdout] 41 | bail!("distinct error: missing input dataframe"); [INFO] [stdout] 42 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/filter.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(mut df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/filter.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 28 ~ match ctx.take_df() { Some(mut df) => { [INFO] [stdout] 29 | for arg in args { [INFO] [stdout] ... [INFO] [stdout] 38 | ctx.set_df(df)?; [INFO] [stdout] 39 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 40 | bail!("filter error: must call summarize after a group_by"); [INFO] [stdout] 41 | } else { [INFO] [stdout] 42 | bail!("filter error: missing input dataframe"); [INFO] [stdout] 43 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/filter.rs:128:36 [INFO] [stdout] | [INFO] [stdout] 128 | let found = if let Some(s) = arr { [INFO] [stdout] | ^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/filter.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 128 ~ let found = match arr { Some(s) => { [INFO] [stdout] 129 | s.str() [INFO] [stdout] ... [INFO] [stdout] 134 | .unwrap_or_default() [INFO] [stdout] 135 ~ } _ => { [INFO] [stdout] 136 | false [INFO] [stdout] 137 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/glimpse.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/glimpse.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 13 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 14 | ctx.glimpse(df)?; [INFO] [stdout] 15 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 16 | bail!("glimpse error: must call summarize after a group_by"); [INFO] [stdout] 17 | } else { [INFO] [stdout] 18 | bail!("glimpse error: missing input dataframe"); [INFO] [stdout] 19 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/group_by.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/group_by.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 14 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 15 | let schema_cols = ctx.columns(); [INFO] [stdout] ... [INFO] [stdout] 31 | ctx.set_group(df.group_by_stable(&columns))?; [INFO] [stdout] 32 ~ } _ => { [INFO] [stdout] 33 | bail!("group_by error: missing input dataframe"); [INFO] [stdout] 34 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/head.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/head.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 13 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 14 | let limit = if !args.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 21 | ctx.print(df)?; [INFO] [stdout] 22 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 23 | bail!("head error: must call summarize after a group_by"); [INFO] [stdout] 24 | } else { [INFO] [stdout] 25 | bail!("head error: missing input dataframe"); [INFO] [stdout] 26 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/joins.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | if let Some(lhs_df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/joins.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 15 ~ match ctx.take_df() { Some(lhs_df) => { [INFO] [stdout] 16 | let rhs_df_name = args::identifier(&args[0]); [INFO] [stdout] ... [INFO] [stdout] 80 | } [INFO] [stdout] 81 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 82 | bail!("join error: must call summarize after a group_by"); [INFO] [stdout] 83 | } else { [INFO] [stdout] 84 | bail!("join error: missing input dataframe"); [INFO] [stdout] 85 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/json.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/json.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 19 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 20 | if !overwrite && path.exists() { [INFO] [stdout] ... [INFO] [stdout] 32 | .finish(&mut out_df)?; [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | // Read the data frame and set it as input for the next task. [INFO] [stdout] ... [INFO] [stdout] 39 | ctx.set_df(df)?; [INFO] [stdout] 40 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/mutate.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(mut df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/mutate.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 28 ~ match ctx.take_df() { Some(mut df) => { [INFO] [stdout] 29 | let mut used_aliases = HashSet::new(); [INFO] [stdout] ... [INFO] [stdout] 52 | ctx.set_df(df)?; [INFO] [stdout] 53 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 54 | bail!("mutate error: must call summarize after a group_by"); [INFO] [stdout] 55 | } else { [INFO] [stdout] 56 | bail!("mutate error: missing input dataframe"); [INFO] [stdout] 57 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/parquet.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/parquet.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 21 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 22 | if !overwrite && path.exists() { [INFO] [stdout] ... [INFO] [stdout] 32 | ParquetWriter::new(file).finish(&mut out_df)?; [INFO] [stdout] 33 ~ } _ => { [INFO] [stdout] 34 | // Read the data frame and set it as input for the next task. [INFO] [stdout] ... [INFO] [stdout] 37 | ctx.set_df(df)?; [INFO] [stdout] 38 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/relocate.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/relocate.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 24 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 25 | let schema_cols = ctx.columns(); [INFO] [stdout] ... [INFO] [stdout] 81 | ctx.set_df(df.select(&columns))?; [INFO] [stdout] 82 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 83 | bail!("relocate error: must call summarize after a group_by"); [INFO] [stdout] 84 | } else { [INFO] [stdout] 85 | bail!("relocate error: missing input dataframe"); [INFO] [stdout] 86 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/rename.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/rename.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 14 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 15 | let mut schema_cols = ctx.columns().iter().map(|c| col(c)).collect::>(); [INFO] [stdout] ... [INFO] [stdout] 30 | ctx.set_df(df.select(&schema_cols))?; [INFO] [stdout] 31 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 32 | bail!("rename error: must call summarize after a group_by"); [INFO] [stdout] 33 | } else { [INFO] [stdout] 34 | bail!("rename error: missing input dataframe"); [INFO] [stdout] 35 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/rename.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | if let Some(idx) = schema_cols.iter().position(|c| c == &col(&column)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/rename.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 22 ~ match schema_cols.iter().position(|c| c == &col(&column)) { Some(idx) => { [INFO] [stdout] 23 | schema_cols[idx] = schema_cols[idx].clone().alias(&alias); [INFO] [stdout] 24 ~ } _ => { [INFO] [stdout] 25 | bail!("rename error: Unknown column {column}"); [INFO] [stdout] 26 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/select.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/select.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 15 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 16 | let schema_cols = ctx.columns(); [INFO] [stdout] ... [INFO] [stdout] 56 | ctx.set_df(df.select(&select_columns))?; [INFO] [stdout] 57 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 58 | bail!("select error: must call summarize after a group_by"); [INFO] [stdout] 59 | } else { [INFO] [stdout] 60 | bail!("select error: missing input dataframe"); [INFO] [stdout] 61 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/show.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/show.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | } else if ctx.is_grouping() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 13 ~ match ctx.take_df() { Some(df) => { [INFO] [stdout] 14 | let df = df.collect()?; [INFO] [stdout] 15 | ctx.print(df)?; [INFO] [stdout] 16 ~ } _ => if ctx.is_grouping() { [INFO] [stdout] 17 | bail!("show error: must call summarize after a group_by"); [INFO] [stdout] 18 | } else { [INFO] [stdout] 19 | bail!("show error: missing input dataframe"); [INFO] [stdout] 20 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/summarize.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(group) = ctx.take_group() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 36 | } else if let Some(df) = ctx.take_df() { [INFO] [stdout] | ------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/summarize.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | } else if let Some(df) = ctx.take_df() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/summarize.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 28 ~ match ctx.take_group() { Some(group) => { [INFO] [stdout] 29 | let columns = group [INFO] [stdout] ... [INFO] [stdout] 35 | ctx.set_df(group.agg(&columns))?; [INFO] [stdout] 36 ~ } _ => { match ctx.take_df() { Some(df) => { [INFO] [stdout] 37 | let columns = df [INFO] [stdout] ... [INFO] [stdout] 42 | ctx.set_df(df.select(&columns))?; [INFO] [stdout] 43 ~ } _ => { [INFO] [stdout] 44 | bail!("summarize error: missing input group or dataframe"); [INFO] [stdout] 45 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/engine/unnest.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | if let Some(mut df) = ctx.take_df() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/engine/unnest.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 26 ~ match ctx.take_df() { Some(mut df) => { [INFO] [stdout] 27 | for arg in args { [INFO] [stdout] ... [INFO] [stdout] 43 | ctx.set_df(df)?; [INFO] [stdout] 44 ~ } _ => { [INFO] [stdout] 45 | bail!("unnest error: missing input dataframe"); [INFO] [stdout] 46 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/functions/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `functions` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/functions/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | ($input:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 23 | ($input:expr_2021, $expected:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/functions/main.rs [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/functions/main.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | ($input:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 23 | ($input:expr, $expected:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/functions/main.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | ($input:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/functions/main.rs:23:24 [INFO] [stderr] | [INFO] [stderr] 23 | ($input:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.30s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking dply v0.3.2 (/tmp/fixit) [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine/fmt.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | env::set_var("POLARS_FMT_TABLE_CELL_LIST_LEN", "6"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine/fmt.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | env::set_var("POLARS_FMT_TABLE_CELL_LIST_LEN", "6"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | std::env::set_var("POLARS_TABLE_WIDTH", w.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | / std::env::set_var( [INFO] [stdout] 163 | | "POLARS_FMT_MAX_COLS", [INFO] [stdout] 164 | | self.format_config.max_columns.to_string(), [INFO] [stdout] 165 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | / std::env::set_var( [INFO] [stdout] 168 | | "POLARS_FMT_STR_LEN", [INFO] [stdout] 169 | | self.format_config.max_column_width.to_string(), [INFO] [stdout] 170 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | std::env::set_var("POLARS_TABLE_WIDTH", w.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | / std::env::set_var( [INFO] [stdout] 163 | | "POLARS_FMT_MAX_COLS", [INFO] [stdout] 164 | | self.format_config.max_columns.to_string(), [INFO] [stdout] 165 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/engine.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | / std::env::set_var( [INFO] [stdout] 168 | | "POLARS_FMT_STR_LEN", [INFO] [stdout] 169 | | self.format_config.max_column_width.to_string(), [INFO] [stdout] 170 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dply` (lib) due to 5 previous errors [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] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dply` (lib test) due to 5 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b57259530d475b46e28ae6ff8a83321288c7a5a8867be3f8506f488332f50713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b57259530d475b46e28ae6ff8a83321288c7a5a8867be3f8506f488332f50713", kill_on_drop: false }` [INFO] [stdout] b57259530d475b46e28ae6ff8a83321288c7a5a8867be3f8506f488332f50713