[INFO] fetching crate tri-mesh 0.6.0... [INFO] checking tri-mesh-0.6.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tri-mesh 0.6.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate tri-mesh 0.6.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tri-mesh 0.6.0 [INFO] finished tweaking crates.io crate tri-mesh 0.6.0 [INFO] tweaked toml for crates.io crate tri-mesh 0.6.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding approx v0.4.0 (latest: v0.5.1) [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.6) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding lexical v5.2.2 (latest: v6.1.1) [INFO] [stderr] Adding lexical-core v0.7.6 (latest: v0.8.5) [INFO] [stderr] Adding three-d-asset v0.4.0 (latest: v0.7.0) [INFO] [stderr] Adding zerocopy v0.6.6 (latest: v0.7.35) [INFO] [stderr] Adding zerocopy-derive v0.6.6 (latest: v0.7.35) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f967dcb32f883c23bc05e2b9edb7146005b31487136d66e2141a0368cecb1ebe [INFO] running `Command { std: "docker" "start" "-a" "f967dcb32f883c23bc05e2b9edb7146005b31487136d66e2141a0368cecb1ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f967dcb32f883c23bc05e2b9edb7146005b31487136d66e2141a0368cecb1ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f967dcb32f883c23bc05e2b9edb7146005b31487136d66e2141a0368cecb1ebe", kill_on_drop: false }` [INFO] [stdout] f967dcb32f883c23bc05e2b9edb7146005b31487136d66e2141a0368cecb1ebe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e2c8c2b2be1236015b8a639e4755824070e3a0c92b293aac9e5d155e2cf0e87 [INFO] running `Command { std: "docker" "start" "-a" "0e2c8c2b2be1236015b8a639e4755824070e3a0c92b293aac9e5d155e2cf0e87", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking lexical v5.2.2 [INFO] [stderr] Checking wavefront_obj v10.0.0 [INFO] [stderr] Compiling zerocopy-derive v0.6.6 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking zerocopy v0.6.6 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking three-d-asset v0.4.0 [INFO] [stderr] Checking tri-mesh v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io::*` [INFO] [stdout] --> src/mesh.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use io::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utility::*` [INFO] [stdout] --> src/mesh.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use utility::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `append::*` [INFO] [stdout] --> src/mesh.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use append::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cleanup::*` [INFO] [stdout] --> src/mesh.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use cleanup::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `edit::*` [INFO] [stdout] --> src/mesh.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use edit::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orientation::*` [INFO] [stdout] --> src/mesh.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub use orientation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `connectivity::*` [INFO] [stdout] --> src/operations.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use connectivity::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vertex_measures::*` [INFO] [stdout] --> src/operations.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use vertex_measures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `edge_measures::*` [INFO] [stdout] --> src/operations.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use edge_measures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `face_measures::*` [INFO] [stdout] --> src/operations.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use face_measures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transformations::*` [INFO] [stdout] --> src/operations.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use transformations::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validity::*` [INFO] [stdout] --> src/operations.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use validity::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quality::*` [INFO] [stdout] --> src/operations.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub use quality::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `connected_components::*` [INFO] [stdout] --> src/operations.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub use connected_components::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `merge::*` [INFO] [stdout] --> src/operations.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub use merge::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `split::*` [INFO] [stdout] --> src/operations.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub use split::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::*` [INFO] [stdout] --> src/mesh.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use io::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utility::*` [INFO] [stdout] --> src/mesh.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use utility::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `append::*` [INFO] [stdout] --> src/mesh.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use append::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cleanup::*` [INFO] [stdout] --> src/mesh.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use cleanup::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `edit::*` [INFO] [stdout] --> src/mesh.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use edit::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orientation::*` [INFO] [stdout] --> src/mesh.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub use orientation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `connectivity::*` [INFO] [stdout] --> src/operations.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use connectivity::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vertex_measures::*` [INFO] [stdout] --> src/operations.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use vertex_measures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `edge_measures::*` [INFO] [stdout] --> src/operations.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use edge_measures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `face_measures::*` [INFO] [stdout] --> src/operations.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use face_measures::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transformations::*` [INFO] [stdout] --> src/operations.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use transformations::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validity::*` [INFO] [stdout] --> src/operations.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use validity::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quality::*` [INFO] [stdout] --> src/operations.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub use quality::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `connected_components::*` [INFO] [stdout] --> src/operations.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub use connected_components::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `merge::*` [INFO] [stdout] --> src/operations.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub use merge::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `split::*` [INFO] [stdout] --> src/operations.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub use split::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mesh/connectivity_info.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 311 | let free: HashSet<_> = self.free.iter().cloned().collect(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 312 | Box::new( [INFO] [stdout] 313 | / (0..self.values.len() as u32) [INFO] [stdout] 314 | | .map(|i| unsafe { K::new(i) }) [INFO] [stdout] 315 | | .filter(move |i| !free.contains(&i)), [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; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tri-mesh` (lib) due to 2 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mesh/connectivity_info.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 311 | let free: HashSet<_> = self.free.iter().cloned().collect(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 312 | Box::new( [INFO] [stdout] 313 | / (0..self.values.len() as u32) [INFO] [stdout] 314 | | .map(|i| unsafe { K::new(i) }) [INFO] [stdout] 315 | | .filter(move |i| !free.contains(&i)), [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; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tri-mesh` (lib test) due to 2 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0e2c8c2b2be1236015b8a639e4755824070e3a0c92b293aac9e5d155e2cf0e87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e2c8c2b2be1236015b8a639e4755824070e3a0c92b293aac9e5d155e2cf0e87", kill_on_drop: false }` [INFO] [stdout] 0e2c8c2b2be1236015b8a639e4755824070e3a0c92b293aac9e5d155e2cf0e87