[INFO] fetching crate pixel_caster 1.0.4... [INFO] checking pixel_caster-1.0.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate pixel_caster 1.0.4 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate pixel_caster 1.0.4 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 pixel_caster 1.0.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pixel_caster 1.0.4 [INFO] tweaked toml for crates.io crate pixel_caster 1.0.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate pixel_caster 1.0.4 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" "+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] 4e118294ab2624524b8c986a48712c3299ba61c7a4fe4df14be87fbf58ca87a0 [INFO] running `Command { std: "docker" "start" "-a" "4e118294ab2624524b8c986a48712c3299ba61c7a4fe4df14be87fbf58ca87a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e118294ab2624524b8c986a48712c3299ba61c7a4fe4df14be87fbf58ca87a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e118294ab2624524b8c986a48712c3299ba61c7a4fe4df14be87fbf58ca87a0", kill_on_drop: false }` [INFO] [stdout] 4e118294ab2624524b8c986a48712c3299ba61c7a4fe4df14be87fbf58ca87a0 [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] f5cdb1a700b11c18da7eec6facf44c6385133422af8917cbb8fdea957acca71b [INFO] running `Command { std: "docker" "start" "-a" "f5cdb1a700b11c18da7eec6facf44c6385133422af8917cbb8fdea957acca71b", kill_on_drop: false }` [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.0 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking bytemuck v1.12.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking png v0.17.6 [INFO] [stderr] Checking windows-targets v0.48.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking windows v0.48.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking eager v0.1.0 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking tiff v0.8.1 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking exr v1.5.0 [INFO] [stderr] Checking image v0.24.6 [INFO] [stderr] Checking pixel_caster v1.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `CreateBitmap`, `CreateCompatibleBitmap`, `CreateCompatibleDC`, `CreatedHDC`, `DeleteDC`, `DeleteObject`, `GetBitmapBits`, `GetDC`, `ReleaseDC`, and `SelectObject` [INFO] [stdout] --> src/bitblock_transfer.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | CreateBitmap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | CreatedHDC, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | CreateCompatibleDC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | CreateCompatibleBitmap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | BitBlt, [INFO] [stdout] 9 | SelectObject, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | HDC, [INFO] [stdout] 11 | GetDC, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | SRCCOPY, [INFO] [stdout] 13 | ReleaseDC, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | DeleteDC, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | DeleteObject, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | GetBitmapBits [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::c_void` [INFO] [stdout] --> src/bitblock_transfer.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use libc::c_void; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreateBitmap`, `CreateCompatibleBitmap`, `CreateCompatibleDC`, `CreatedHDC`, `DeleteDC`, `DeleteObject`, `GetBitmapBits`, `GetDC`, `ReleaseDC`, and `SelectObject` [INFO] [stdout] --> src/bitblock_transfer.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | CreateBitmap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | CreatedHDC, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | CreateCompatibleDC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | CreateCompatibleBitmap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | BitBlt, [INFO] [stdout] 9 | SelectObject, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | HDC, [INFO] [stdout] 11 | GetDC, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | SRCCOPY, [INFO] [stdout] 13 | ReleaseDC, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | DeleteDC, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | DeleteObject, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | GetBitmapBits [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::c_void` [INFO] [stdout] --> src/bitblock_transfer.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use libc::c_void; [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/pixels.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn create(width :usize, height :usize, bytes :Vec) -> Result, String> { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | Ok(PixelsCollection { [INFO] [stdout] | ____________^ [INFO] [stdout] 151 | | width, [INFO] [stdout] 152 | | height, [INFO] [stdout] 153 | | row_length: ((width * height * ::units_per_pixel() as usize) / height) as usize, [INFO] [stdout] 154 | | bytes, [INFO] [stdout] 155 | | units_per_pixel: ::units_per_pixel() [INFO] [stdout] 156 | | }) [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 `pixel_caster` (lib) due to 2 previous errors; 2 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/pixels.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn create(width :usize, height :usize, bytes :Vec) -> Result, String> { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | Ok(PixelsCollection { [INFO] [stdout] | ____________^ [INFO] [stdout] 151 | | width, [INFO] [stdout] 152 | | height, [INFO] [stdout] 153 | | row_length: ((width * height * ::units_per_pixel() as usize) / height) as usize, [INFO] [stdout] 154 | | bytes, [INFO] [stdout] 155 | | units_per_pixel: ::units_per_pixel() [INFO] [stdout] 156 | | }) [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 `pixel_caster` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f5cdb1a700b11c18da7eec6facf44c6385133422af8917cbb8fdea957acca71b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5cdb1a700b11c18da7eec6facf44c6385133422af8917cbb8fdea957acca71b", kill_on_drop: false }` [INFO] [stdout] f5cdb1a700b11c18da7eec6facf44c6385133422af8917cbb8fdea957acca71b