[INFO] fetching crate arroy 0.4.0... [INFO] checking arroy-0.4.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate arroy 0.4.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate arroy 0.4.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate arroy 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate arroy 0.4.0 [INFO] tweaked toml for crates.io crate arroy 0.4.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate arroy 0.4.0 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7e4dad50625543fdf12167ea1261ab9df913f1d6153cd81746605489dcd4a50 [INFO] running `Command { std: "docker" "start" "-a" "f7e4dad50625543fdf12167ea1261ab9df913f1d6153cd81746605489dcd4a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7e4dad50625543fdf12167ea1261ab9df913f1d6153cd81746605489dcd4a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e4dad50625543fdf12167ea1261ab9df913f1d6153cd81746605489dcd4a50", kill_on_drop: false }` [INFO] [stdout] f7e4dad50625543fdf12167ea1261ab9df913f1d6153cd81746605489dcd4a50 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c337298aca1157415fb523db668ea9e6d32ce5f490445d3481ab0b24ae2f4bdc [INFO] running `Command { std: "docker" "start" "-a" "c337298aca1157415fb523db668ea9e6d32ce5f490445d3481ab0b24ae2f4bdc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.16 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-queue v0.3.9 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking heed-traits v0.20.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking heed-types v0.20.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking synchronoise v1.0.1 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking ordered-float v4.2.0 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking similar v2.3.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling derive_arbitrary v1.3.2 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking instant-distance v0.6.1 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling doxygen-rs v0.4.2 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking roaring v0.10.5 [INFO] [stderr] Compiling lmdb-master-sys v0.2.1 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Checking heed v0.20.2 [INFO] [stderr] Checking arroy v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `insta::assert_display_snapshot`: use assert_snapshot!() instead [INFO] [stdout] --> src/tests/writer.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | insta::assert_display_snapshot!(handle, @r###" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `insta::assert_display_snapshot`: use assert_snapshot!() instead [INFO] [stdout] --> src/tests/writer.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | insta::assert_display_snapshot!(handle, @r###" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<(), heed::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/writer.rs:422:15 [INFO] [stdout] | [INFO] [stdout] 319 | let updated_items = self [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | let to_insert = &item_indices & &updated_items; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 339 | let concurrent_node_ids = ConcurrentNodeIds::new(used_node_ids); [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 340 | let frozzen_reader = FrozzenReader { [INFO] [stdout] 341 | leafs: &ImmutableLeafs::new(wtxn, self.database, self.index)?, [INFO] [stdout] | ----------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 342 | trees: &ImmutableTrees::new(wtxn, self.database, self.index)?, [INFO] [stdout] | ----------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 347 | let mut nodes_to_write = Vec::new(); [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 374 | let (mut thread_roots, mut tmp_nodes) = [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 416 | let metadata = Metadata { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 422 | match self.database.remap_data_type::().put( [INFO] [stdout] | _______________^ [INFO] [stdout] 423 | | wtxn, [INFO] [stdout] 424 | | &Key::metadata(self.index), [INFO] [stdout] 425 | | &metadata, [INFO] [stdout] 426 | | ) { [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arroy` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::result::Result<(), heed::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/writer.rs:422:15 [INFO] [stdout] | [INFO] [stdout] 319 | let updated_items = self [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 326 | let to_insert = &item_indices & &updated_items; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 339 | let concurrent_node_ids = ConcurrentNodeIds::new(used_node_ids); [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 340 | let frozzen_reader = FrozzenReader { [INFO] [stdout] 341 | leafs: &ImmutableLeafs::new(wtxn, self.database, self.index)?, [INFO] [stdout] | ----------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 342 | trees: &ImmutableTrees::new(wtxn, self.database, self.index)?, [INFO] [stdout] | ----------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 347 | let mut nodes_to_write = Vec::new(); [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 374 | let (mut thread_roots, mut tmp_nodes) = [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 416 | let metadata = Metadata { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 422 | match self.database.remap_data_type::().put( [INFO] [stdout] | _______________^ [INFO] [stdout] 423 | | wtxn, [INFO] [stdout] 424 | | &Key::metadata(self.index), [INFO] [stdout] 425 | | &metadata, [INFO] [stdout] 426 | | ) { [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: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arroy` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c337298aca1157415fb523db668ea9e6d32ce5f490445d3481ab0b24ae2f4bdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c337298aca1157415fb523db668ea9e6d32ce5f490445d3481ab0b24ae2f4bdc", kill_on_drop: false }` [INFO] [stdout] c337298aca1157415fb523db668ea9e6d32ce5f490445d3481ab0b24ae2f4bdc