[INFO] fetching crate puny2d 0.0.2... [INFO] checking puny2d-0.0.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate puny2d 0.0.2 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate puny2d 0.0.2 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 puny2d 0.0.2 [INFO] finished tweaking crates.io crate puny2d 0.0.2 [INFO] tweaked toml for crates.io crate puny2d 0.0.2 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 68 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding core-foundation v0.9.4 (latest: v0.10.0) [INFO] [stderr] Adding core-graphics v0.22.3 (latest: v0.24.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (latest: v0.2.0) [INFO] [stderr] Adding core-text v19.2.0 (latest: v21.0.0) [INFO] [stderr] Adding deflate v0.8.6 (latest: v1.0.0) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding freetype-sys v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding gif v0.11.4 (latest: v0.13.1) [INFO] [stderr] Adding hashbrown v0.11.2 (latest: v0.14.5) [INFO] [stderr] Adding image v0.23.14 (latest: v0.25.2) [INFO] [stderr] Adding jpeg-decoder v0.1.22 (latest: v0.3.1) [INFO] [stderr] Adding lru v0.6.6 (latest: v0.12.4) [INFO] [stderr] Adding miniz_oxide v0.3.7 (latest: v0.8.0) [INFO] [stderr] Adding miniz_oxide v0.4.4 (latest: v0.8.0) [INFO] [stderr] Adding num-rational v0.3.2 (latest: v0.4.2) [INFO] [stderr] Adding owned_ttf_parser v0.15.2 (latest: v0.24.0) [INFO] [stderr] Adding png v0.16.8 (latest: v0.17.13) [INFO] [stderr] Adding rayon v1.5.3 (latest: v1.10.0) [INFO] [stderr] Adding tiff v0.6.1 (latest: v0.9.1) [INFO] [stderr] Adding ttf-parser v0.15.2 (latest: v0.24.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0266546dc03c8c2f0a67b9a2f75764c5aee7885966f7c702377271ff1a4c42c7 [INFO] running `Command { std: "docker" "start" "-a" "0266546dc03c8c2f0a67b9a2f75764c5aee7885966f7c702377271ff1a4c42c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0266546dc03c8c2f0a67b9a2f75764c5aee7885966f7c702377271ff1a4c42c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0266546dc03c8c2f0a67b9a2f75764c5aee7885966f7c702377271ff1a4c42c7", kill_on_drop: false }` [INFO] [stdout] 0266546dc03c8c2f0a67b9a2f75764c5aee7885966f7c702377271ff1a4c42c7 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 635b0f11d13dab752f52948ea2f28ee4250454afde238898ab608fe3a293ebeb [INFO] running `Command { std: "docker" "start" "-a" "635b0f11d13dab752f52948ea2f28ee4250454afde238898ab608fe3a293ebeb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking ttf-parser v0.24.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lru v0.6.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking bytemuck v1.17.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking microbench v0.5.0 [INFO] [stderr] Checking font-loader v0.11.0 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Checking glyph_brush_layout v0.2.4 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking puny2d v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `width_weight_x` [INFO] [stdout] --> src/vector/stroke.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | let (width_weight_x, width_weight_y) = if width_x > width_y { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_width_weight_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width_weight_y` [INFO] [stdout] --> src/vector/stroke.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let (width_weight_x, width_weight_y) = if width_x > width_y { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_width_weight_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_path` [INFO] [stdout] --> src/vector/stroke.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | for sub_path in SubPathIterator::new(path.segments()) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `join` [INFO] [stdout] --> src/vector/stroke.rs:20:61 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn stroke_path(path: &Path, width_x: f32, width_y: f32, join: LineJoin, cap: LineCap) -> Path { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_join` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cap` [INFO] [stdout] --> src/vector/stroke.rs:20:77 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn stroke_path(path: &Path, width_x: f32, width_y: f32, join: LineJoin, cap: LineCap) -> Path { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cap` [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/vector/point.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 15 | fn add(self, other: Self) -> Self::Output { [INFO] [stdout] | ---- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Self { [INFO] [stdout] 17 | x: self.x + other.x, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector/point.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 15 | fn add(self, other: Self) -> Self::Output { [INFO] [stdout] | ---- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | y: self.y + other.y [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector/point.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 30 | fn sub(self, other: Self) -> Self::Output { [INFO] [stdout] | ---- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Self { [INFO] [stdout] 32 | x: self.x - other.x, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector/point.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 30 | fn sub(self, other: Self) -> Self::Output { [INFO] [stdout] | ---- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | y: self.y - other.y [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector/point.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 48 | fn neg(self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | Self { [INFO] [stdout] 50 | x: -self.x, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector/point.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 48 | fn neg(self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | y: -self.y [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 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `puny2d` (lib) due to 7 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "635b0f11d13dab752f52948ea2f28ee4250454afde238898ab608fe3a293ebeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "635b0f11d13dab752f52948ea2f28ee4250454afde238898ab608fe3a293ebeb", kill_on_drop: false }` [INFO] [stdout] 635b0f11d13dab752f52948ea2f28ee4250454afde238898ab608fe3a293ebeb