[INFO] fetching crate polars 0.43.1... [INFO] checking polars-0.43.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate polars 0.43.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate polars 0.43.1 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 polars 0.43.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate polars 0.43.1 [INFO] tweaked toml for crates.io crate polars 0.43.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 349 packages to latest compatible versions [INFO] [stderr] Adding atoi_simd v0.15.6 (available: v0.16.0) [INFO] [stderr] Adding chrono-tz v0.8.6 (available: v0.10.0) [INFO] [stderr] Adding chrono-tz-build v0.2.1 (available: v0.4.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding crc v2.1.0 (available: v3.2.1) [INFO] [stderr] Adding crc-catalog v1.1.1 (available: v2.4.0) [INFO] [stderr] Adding crossterm v0.27.0 (available: v0.28.1) [INFO] [stderr] Adding float-cmp v0.9.0 (available: v0.10.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding libflate v1.4.0 (available: v2.1.0) [INFO] [stderr] Adding libflate_lz77 v1.2.0 (available: v2.1.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding memmap2 v0.7.1 (available: v0.9.5) [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.16.1) [INFO] [stderr] Adding object_store v0.10.2 (available: v0.11.0) [INFO] [stderr] Adding planus v0.3.1 (available: v0.4.0) [INFO] [stderr] Adding rustls-native-certs v0.7.3 (available: v0.8.0) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding simd-json v0.13.11 (available: v0.14.0) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding snafu v0.7.5 (available: v0.8.5) [INFO] [stderr] Adding snafu-derive v0.7.5 (available: v0.8.5) [INFO] [stderr] Adding sqlparser v0.49.0 (available: v0.51.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding typed-builder v0.19.1 (available: v0.20.0) [INFO] [stderr] Adding typed-builder-macro v0.19.1 (available: v0.20.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding value-trait v0.8.1 (available: v0.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows v0.57.0 (available: v0.58.0) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-core v0.57.0 (available: v0.58.0) [INFO] [stderr] Adding windows-implement v0.57.0 (available: v0.58.0) [INFO] [stderr] Adding windows-interface v0.57.0 (available: v0.58.0) [INFO] [stderr] Adding windows-registry v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding windows-result v0.1.2 (available: v0.2.0) [INFO] [stderr] Adding windows-strings v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c0b783d9bc297866a9d6f314e1373118cc702075fc8c6905cc645ed989ed054 [INFO] running `Command { std: "docker" "start" "-a" "9c0b783d9bc297866a9d6f314e1373118cc702075fc8c6905cc645ed989ed054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c0b783d9bc297866a9d6f314e1373118cc702075fc8c6905cc645ed989ed054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c0b783d9bc297866a9d6f314e1373118cc702075fc8c6905cc645ed989ed054", kill_on_drop: false }` [INFO] [stdout] 9c0b783d9bc297866a9d6f314e1373118cc702075fc8c6905cc645ed989ed054 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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] 3090c2b378fdfa022ccbbfb38ef7299afdcb326622823769b6205a597d1e6829 [INFO] running `Command { std: "docker" "start" "-a" "3090c2b378fdfa022ccbbfb38ef7299afdcb326622823769b6205a597d1e6829", 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] Fixed Cargo.toml (97 fixes) [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling target-features v0.1.6 [INFO] [stderr] Checking array-init-cursor v0.2.0 [INFO] [stderr] Checking planus v0.3.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling polars-utils v0.43.1 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking raw-cpuid v11.1.0 [INFO] [stderr] Checking memmap2 v0.7.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling polars-schema v0.43.1 [INFO] [stderr] Checking arrow-schema v53.0.0 [INFO] [stderr] Compiling polars-arrow v0.43.1 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking fast-float v0.2.0 [INFO] [stderr] Checking atoi_simd v0.15.6 [INFO] [stderr] Checking ethnum v1.5.0 [INFO] [stderr] Compiling polars-compute v0.43.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Compiling polars-core v0.43.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling polars-ops v0.43.1 [INFO] [stderr] Checking xxhash-rust v0.8.12 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking argminmax v0.6.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking polars-arrow-format v0.1.0 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking now v0.1.3 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling bigdecimal v0.4.5 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking libflate_lz77 v2.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking streaming-decompression v0.1.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling typed-builder-macro v0.19.1 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking comfy-table v7.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking arrow-buffer v53.0.0 [INFO] [stderr] Compiling polars v0.43.1 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking polars-error v0.43.1 [INFO] [stderr] Checking dary_heap v0.3.6 [INFO] [stderr] Checking parquet-format-safe v0.2.4 [INFO] [stderr] Checking arrow-data v53.0.0 [INFO] [stderr] Checking libflate v2.1.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking arrow-array v53.0.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking typed-builder v0.19.1 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking apache-avro v0.17.0 [INFO] [stderr] Compiling multiversion-macros v0.7.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking avro-schema v0.3.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking multiversion v0.7.4 [INFO] [stderr] Checking polars-row v0.43.1 [INFO] [stderr] Checking polars-parquet v0.43.1 [INFO] [stderr] Checking polars-time v0.43.1 [INFO] [stderr] Checking polars-io v0.43.1 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/it/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `it` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/it/arrow/array/dictionary/mutable.rs [INFO] [stderr] * tests/it/schema.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] --> tests/it/arrow/array/dictionary/mutable.rs:113:14 [INFO] [stderr] | [INFO] [stderr] 113 | ($v: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/it/schema.rs:310:10 [INFO] [stderr] | [INFO] [stderr] 310 | ($schema:expr_2021, $method:ident, name: $name: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/it/schema.rs:310:50 [INFO] [stderr] | [INFO] [stderr] 310 | ($schema:expr_2021, $method:ident, name: $name: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/it/schema.rs:310:67 [INFO] [stderr] | [INFO] [stderr] 310 | ($schema:expr_2021, $method:ident, name: $name: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/it/schema.rs:314:10 [INFO] [stderr] | [INFO] [stderr] 314 | ($schema:expr_2021, $method:ident, index: $index: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/it/schema.rs:314:51 [INFO] [stderr] | [INFO] [stderr] 314 | ($schema:expr_2021, $method:ident, index: $index: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/it/schema.rs:314:69 [INFO] [stderr] | [INFO] [stderr] 314 | ($schema:expr_2021, $method:ident, index: $index: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 7 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> tests/it/arrow/array/dictionary/mutable.rs:103:39 [INFO] [stdout] | [INFO] [stdout] 103 | fn test_push_ex(values: Vec, gen: impl Fn(usize) -> T) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> tests/it/arrow/array/dictionary/mutable.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | push!(Some(gen(i))).unwrap(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> tests/it/arrow/array/dictionary/mutable.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | assert!(push!(Some(gen(256))).is_err()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/it/schema.rs:310:18 [INFO] [stdout] | [INFO] [stdout] 310 | ($schema:expr, $method:ident, name: $name: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] 310 | ($schema:expr_2021, $method:ident, name: $name:expr, $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] --> tests/it/schema.rs:310:51 [INFO] [stdout] | [INFO] [stdout] 310 | ($schema:expr, $method:ident, name: $name: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] 310 | ($schema:expr, $method:ident, name: $name: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] --> tests/it/schema.rs:310:67 [INFO] [stdout] | [INFO] [stdout] 310 | ($schema:expr, $method:ident, name: $name: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] 310 | ($schema:expr, $method:ident, name: $name:expr, $expected:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/it/schema.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | ($schema:expr, $method:ident, index: $index: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] 314 | ($schema:expr_2021, $method:ident, index: $index:expr, $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] --> tests/it/schema.rs:314:53 [INFO] [stdout] | [INFO] [stdout] 314 | ($schema:expr, $method:ident, index: $index: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] 314 | ($schema:expr, $method:ident, index: $index: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] --> tests/it/schema.rs:314:69 [INFO] [stdout] | [INFO] [stdout] 314 | ($schema:expr, $method:ident, index: $index: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] 314 | ($schema:expr, $method:ident, index: $index:expr, $expected:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/it/arrow/array/dictionary/mutable.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | ($v: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] 113 | ($v: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] --> tests/it/core/joins.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | std::env::set_var("POLARS_MAX_THREADS", format!("{}", i)); [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] 59 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 60 ~ unsafe { std::env::set_var("POLARS_MAX_THREADS", format!("{}", i)) }; [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] --> tests/it/core/joins.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | std::env::set_var("POLARS_MAX_THREADS", format!("{}", i)); [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] 83 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 84 ~ unsafe { std::env::set_var("POLARS_MAX_THREADS", format!("{}", i)) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.96s [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/it/schema.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | if let Some((old_name, expected_fields)) = expected { [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] --> tests/it/schema.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | } else { [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] 18 ~ match expected { Some((old_name, expected_fields)) => { [INFO] [stdout] 19 | assert_eq!(res.unwrap(), old_name); [INFO] [stdout] 20 | assert_eq!(schema, Schema::from_iter(expected_fields)); [INFO] [stdout] 21 ~ } _ => { [INFO] [stdout] 22 | assert!(res.is_none()); [INFO] [stdout] 23 | assert_eq!(schema, make_schema()); [INFO] [stdout] 24 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/it/arrow/ffi/stream.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | while let Some(array) = unsafe { stream.next() } { [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] --> tests/it/arrow/ffi/stream.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling polars v0.43.1 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> tests/it/arrow/array/dictionary/mutable.rs:103:39 [INFO] [stdout] | [INFO] [stdout] 103 | fn test_push_ex(values: Vec, gen: impl Fn(usize) -> T) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 103 | fn test_push_ex(values: Vec, r#gen: impl Fn(usize) -> T) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/it/arrow/array/dictionary/mutable.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | push!(Some(gen(i))).unwrap(); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> tests/it/arrow/array/dictionary/mutable.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | assert!(push!(Some(gen(256))).is_err()); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/it/core/joins.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | std::env::set_var("POLARS_MAX_THREADS", format!("{}", i)); [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] --> tests/it/core/joins.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | std::env::set_var("POLARS_MAX_THREADS", format!("{}", i)); [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 5 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 `polars` (test "it") due to 6 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" "3090c2b378fdfa022ccbbfb38ef7299afdcb326622823769b6205a597d1e6829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3090c2b378fdfa022ccbbfb38ef7299afdcb326622823769b6205a597d1e6829", kill_on_drop: false }` [INFO] [stdout] 3090c2b378fdfa022ccbbfb38ef7299afdcb326622823769b6205a597d1e6829