[INFO] fetching crate finalfusion 0.18.0... [INFO] checking finalfusion-0.18.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate finalfusion 0.18.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate finalfusion 0.18.0 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 finalfusion 0.18.0 [INFO] finished tweaking crates.io crate finalfusion 0.18.0 [INFO] tweaked toml for crates.io crate finalfusion 0.18.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 112 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding approx v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding itertools v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.16.1) [INFO] [stderr] Adding ordered-float v2.10.1 (available: v4.3.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42fb66ffdea226a7d4e63952400e61d0af2865e275aa0c249b2a96e474f9c24e [INFO] running `Command { std: "docker" "start" "-a" "42fb66ffdea226a7d4e63952400e61d0af2865e275aa0c249b2a96e474f9c24e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42fb66ffdea226a7d4e63952400e61d0af2865e275aa0c249b2a96e474f9c24e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42fb66ffdea226a7d4e63952400e61d0af2865e275aa0c249b2a96e474f9c24e", kill_on_drop: false }` [INFO] [stdout] 42fb66ffdea226a7d4e63952400e61d0af2865e275aa0c249b2a96e474f9c24e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fb516cb7b2db0ab7d6461a039a49e5bbccf6f329aaa8367cace9860f70cec54 [INFO] running `Command { std: "docker" "start" "-a" "8fb516cb7b2db0ab7d6461a039a49e5bbccf6f329aaa8367cace9860f70cec54", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking ordered-float v4.3.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking murmur3 v0.5.2 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking reductive v0.9.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking finalfusion v0.18.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `ArrayBase, Dim<[usize; 1]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/chunks/storage/array.rs:408:35 [INFO] [stdout] | [INFO] [stdout] 403 | let check_arr = test_ndarray(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 404 | [INFO] [stdout] 405 | let embeddings = check_arr.embeddings(CHECK_INDICES); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 408 | assert_eq!(embedding, check_arr.embedding(idx)); [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 `BufReader` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/chunks/storage/array.rs:442:40 [INFO] [stdout] | [INFO] [stdout] 438 | let array = test_ndarray(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 442 | MmapArray::mmap_chunk(&mut BufReader::new(tmp)).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArrayBase, Dim<[usize; 1]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/chunks/storage/array.rs:454:39 [INFO] [stdout] | [INFO] [stdout] 449 | let check_arr = test_mmap_array(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 450 | [INFO] [stdout] 451 | let embeddings = check_arr.embeddings(CHECK_INDICES); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 454 | assert_eq!(embedding, check_arr.embedding(idx)); [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 `ArrayBase, Dim<[usize; 1]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/chunks/storage/quantized.rs:770:35 [INFO] [stdout] | [INFO] [stdout] 765 | let check_arr = test_quantized_array(true); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 766 | [INFO] [stdout] 767 | let embeddings = check_arr.embeddings(CHECK_INDICES); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 770 | assert_eq!(embedding, check_arr.embedding(idx)); [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 `BufReader` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/chunks/storage/quantized.rs:820:49 [INFO] [stdout] | [INFO] [stdout] 814 | let quantized = test_quantized_array(norms); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 820 | MmapQuantizedArray::mmap_chunk(&mut BufReader::new(tmp)).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ArrayBase, Dim<[usize; 1]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/chunks/storage/quantized.rs:832:39 [INFO] [stdout] | [INFO] [stdout] 827 | let check_arr = test_mmap_quantized_array(true); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 828 | [INFO] [stdout] 829 | let embeddings = check_arr.embeddings(CHECK_INDICES); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 832 | assert_eq!(embedding, check_arr.embedding(idx)); [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 `std::option::Option<(&str, ArrayBase, Dim<[usize; 1]>>)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compat/floret/io.rs:223:40 [INFO] [stdout] | [INFO] [stdout] 217 | let check_embeds = Embeddings::read_text_dims(&mut Cursor::new(check_embeds_text)).unwrap(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | let floret_embeds = [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 223 | for (word, check_embedding) in check_embeds.iter() { [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 `std::option::Option<(&str, ArrayBase, Dim<[usize; 1]>>)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compat/floret/io.rs:239:40 [INFO] [stdout] | [INFO] [stdout] 233 | let check_embeds = Embeddings::read_text_dims(&mut Cursor::new(check_embeds_text)).unwrap(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 236 | let floret_embeds = [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 239 | for (word, check_embedding) in check_embeds.iter() { [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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `finalfusion` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "8fb516cb7b2db0ab7d6461a039a49e5bbccf6f329aaa8367cace9860f70cec54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fb516cb7b2db0ab7d6461a039a49e5bbccf6f329aaa8367cace9860f70cec54", kill_on_drop: false }` [INFO] [stdout] 8fb516cb7b2db0ab7d6461a039a49e5bbccf6f329aaa8367cace9860f70cec54