[INFO] fetching crate polars 0.43.1... [INFO] checking polars-0.43.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate polars 0.43.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate polars 0.43.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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.79) [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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c9cd93f1edf45d9808f4455a43f679a8a1bea4f87ed2ba23d65ab5be5c42f45 [INFO] running `Command { std: "docker" "start" "-a" "7c9cd93f1edf45d9808f4455a43f679a8a1bea4f87ed2ba23d65ab5be5c42f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c9cd93f1edf45d9808f4455a43f679a8a1bea4f87ed2ba23d65ab5be5c42f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c9cd93f1edf45d9808f4455a43f679a8a1bea4f87ed2ba23d65ab5be5c42f45", kill_on_drop: false }` [INFO] [stdout] 7c9cd93f1edf45d9808f4455a43f679a8a1bea4f87ed2ba23d65ab5be5c42f45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c04e57c729c64cf6b40cfee170a35b21b6ea71a498e67012b2bf5ce2331e0110 [INFO] running `Command { std: "docker" "start" "-a" "c04e57c729c64cf6b40cfee170a35b21b6ea71a498e67012b2bf5ce2331e0110", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling psm v0.1.23 [INFO] [stderr] Checking array-init-cursor v0.2.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling target-features v0.1.6 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling polars-utils v0.43.1 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking memmap2 v0.7.1 [INFO] [stderr] Checking planus v0.3.1 [INFO] [stderr] Checking raw-cpuid v11.1.0 [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 parking_lot v0.12.3 [INFO] [stderr] Checking ethnum v1.5.0 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking atoi_simd v0.15.6 [INFO] [stderr] Checking fast-float v0.2.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling polars-compute v0.43.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Compiling polars-core v0.43.1 [INFO] [stderr] Compiling generic-array v0.14.7 [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] Compiling serde_json v1.0.128 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling bigdecimal v0.4.5 [INFO] [stderr] Compiling snap v1.1.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 chrono v0.4.38 [INFO] [stderr] Checking argminmax v0.6.2 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking streaming-decompression v0.1.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling polars v0.43.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking dary_heap v0.3.6 [INFO] [stderr] Checking parquet-format-safe v0.2.4 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking regex-lite v0.1.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking now v0.1.3 [INFO] [stderr] Compiling multiversion-macros v0.7.4 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling typed-builder-macro v0.19.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking multiversion v0.7.4 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking typed-builder v0.19.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking comfy-table v7.1.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [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] Checking uuid v1.10.0 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking libflate_lz77 v2.1.0 [INFO] [stderr] Checking avro-schema v0.3.0 [INFO] [stderr] Checking libflate v2.1.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking arrow-buffer v53.0.0 [INFO] [stderr] Checking apache-avro v0.17.0 [INFO] [stderr] Checking polars-error v0.43.1 [INFO] [stderr] Checking arrow-data v53.0.0 [INFO] [stderr] Checking arrow-array v53.0.0 [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] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/it/schema.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 8 | fn test_case(old: &str, new: &str, expected: Option<(&str, Vec)>) { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | let mut schema = make_schema(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let res = schema.rename(old, new.into()); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | if let Some((old_name, expected_fields)) = expected { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `polars_schema::schema::Schema` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/it/schema.rs:480:17 [INFO] [stdout] | [INFO] [stdout] 467 | expected: (Option, Vec), [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 480 | let mut schema = schema.clone(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `hashbrown::set::HashSet` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/it/arrow/array/dictionary/mutable.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 103 | fn test_push_ex(values: Vec, gen: impl Fn(usize) -> T) [INFO] [stdout] | ------ --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let mut set = PlHashSet::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Either, polars_arrow::array::MutablePrimitiveArray>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/it/arrow/array/primitive/to_mutable.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 27 | let arr = PrimitiveArray::new(ArrowDataType::Int32, data.into(), None); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | match arr2.into_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option<(usize, Option>>)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/it/arrow/array/struct_/iterator.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 7 | let boolean = BooleanArray::from_slice([false, false, true, true]).boxed(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | let int = Int32Array::from_slice([42, 28, 19, 31]).boxed(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 15 | let array = StructArray::new( [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | for (i, item) in array.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polars` (test "it") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "c04e57c729c64cf6b40cfee170a35b21b6ea71a498e67012b2bf5ce2331e0110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c04e57c729c64cf6b40cfee170a35b21b6ea71a498e67012b2bf5ce2331e0110", kill_on_drop: false }` [INFO] [stdout] c04e57c729c64cf6b40cfee170a35b21b6ea71a498e67012b2bf5ce2331e0110