[INFO] fetching crate meshlite 0.2.0... [INFO] checking meshlite-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate meshlite 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate meshlite 0.2.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 meshlite 0.2.0 [INFO] finished tweaking crates.io crate meshlite 0.2.0 [INFO] tweaked toml for crates.io crate meshlite 0.2.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding approx v0.1.1 (available: v0.5.1) [INFO] [stderr] Adding cgmath v0.16.1 (available: v0.18.0) [INFO] [stderr] Adding fixedbitset v0.1.9 (available: v0.5.7) [INFO] [stderr] Adding num-traits v0.1.43 (available: v0.2.19) [INFO] [stderr] Adding ordermap v0.3.5 (available: v0.5.3) [INFO] [stderr] Adding petgraph v0.4.13 (available: v0.6.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding smallvec v0.6.14 (available: v1.13.2) [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8de9ca993b041e2eccf140e2d5a2b24d327d917d9541c03378eb29c0cc201b3b [INFO] running `Command { std: "docker" "start" "-a" "8de9ca993b041e2eccf140e2d5a2b24d327d917d9541c03378eb29c0cc201b3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8de9ca993b041e2eccf140e2d5a2b24d327d917d9541c03378eb29c0cc201b3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8de9ca993b041e2eccf140e2d5a2b24d327d917d9541c03378eb29c0cc201b3b", kill_on_drop: false }` [INFO] [stdout] 8de9ca993b041e2eccf140e2d5a2b24d327d917d9541c03378eb29c0cc201b3b [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66189db72acfab4fa41cd2866648fc48e78894a4a0fa04dba5ddf4a4352505da [INFO] running `Command { std: "docker" "start" "-a" "66189db72acfab4fa41cd2866648fc48e78894a4a0fa04dba5ddf4a4352505da", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking meshlite v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/mesh.rs:928:13 [INFO] [stdout] | [INFO] [stdout] 928 | 'inner: for j in 0..may_broken_halfedges.len() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/mesh.rs:928:13 [INFO] [stdout] | [INFO] [stdout] 928 | 'inner: for j in 0..may_broken_halfedges.len() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mesh.rs:559:25 [INFO] [stdout] | [INFO] [stdout] 559 | let mut vertex = self.halfedge_start_vertex_mut(halfedge_id).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mesh.rs:559:25 [INFO] [stdout] | [INFO] [stdout] 559 | let mut vertex = self.halfedge_start_vertex_mut(halfedge_id).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Mesh` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mesh.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 757 | let mesh = other_outter + my_outter; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 758 | mesh.weld().fix_tjunction().combine_adj_faces() [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 `Mesh` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mesh.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 757 | let mesh = other_outter + my_outter; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 758 | mesh.weld().fix_tjunction().combine_adj_faces() [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 `Mesh` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mesh.rs:765:9 [INFO] [stdout] | [INFO] [stdout] 762 | let (_, other_inner) = other.split_mesh_by_other(self); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 763 | let (my_outter, _) = self.split_mesh_by_other(other); [INFO] [stdout] 764 | let mesh = other_inner.flip_mesh() + my_outter; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 765 | mesh.weld().fix_tjunction().combine_adj_faces() [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 `Mesh` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mesh.rs:772:9 [INFO] [stdout] | [INFO] [stdout] 771 | let mesh = other_inner + my_inner; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 772 | mesh.weld().fix_tjunction().combine_adj_faces() [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 `Mesh` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mesh.rs:765:9 [INFO] [stdout] | [INFO] [stdout] 762 | let (_, other_inner) = other.split_mesh_by_other(self); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 763 | let (my_outter, _) = self.split_mesh_by_other(other); [INFO] [stdout] 764 | let mesh = other_inner.flip_mesh() + my_outter; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 765 | mesh.weld().fix_tjunction().combine_adj_faces() [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 `Mesh` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mesh.rs:772:9 [INFO] [stdout] | [INFO] [stdout] 771 | let mesh = other_inner + my_inner; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 772 | mesh.weld().fix_tjunction().combine_adj_faces() [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 `Mesh` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mesh.rs:1099:9 [INFO] [stdout] | [INFO] [stdout] 1002 | let mut to_mesh = Mesh::new(); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1003 | let mut coplanar_edges = HashSet::new(); [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1004 | let mut coplanar_faces = HashSet::new(); [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1056 | let mut used_halfedges : HashSet = HashSet::new(); [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1099 | to_mesh.remove_extra_vertices().weld() [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 `Mesh` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mesh.rs:1099:9 [INFO] [stdout] | [INFO] [stdout] 1002 | let mut to_mesh = Mesh::new(); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1003 | let mut coplanar_edges = HashSet::new(); [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1004 | let mut coplanar_faces = HashSet::new(); [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1056 | let mut used_halfedges : HashSet = HashSet::new(); [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1099 | to_mesh.remove_extra_vertices().weld() [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/subdivide.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | let mut added_halfedges = [ [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subdivide.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | let mut added_halfedges = [ [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wrap.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let mut angle = self.angle_of_base_face_and_point(item_index, it); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wrap.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let mut angle = self.angle_of_base_face_and_point(item_index, it); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `meshlite` (lib test) due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `meshlite` (lib) due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "66189db72acfab4fa41cd2866648fc48e78894a4a0fa04dba5ddf4a4352505da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66189db72acfab4fa41cd2866648fc48e78894a4a0fa04dba5ddf4a4352505da", kill_on_drop: false }` [INFO] [stdout] 66189db72acfab4fa41cd2866648fc48e78894a4a0fa04dba5ddf4a4352505da