[INFO] fetching crate ndarray-image 0.3.0... [INFO] checking ndarray-image-0.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ndarray-image 0.3.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate ndarray-image 0.3.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 ndarray-image 0.3.0 [INFO] finished tweaking crates.io crate ndarray-image 0.3.0 [INFO] tweaked toml for crates.io crate ndarray-image 0.3.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate ndarray-image 0.3.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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] 50e4fe6c88cf35794fd4ff8b826ab3b0227235e2deb760fbe84f4d0c8254a731 [INFO] running `Command { std: "docker" "start" "-a" "50e4fe6c88cf35794fd4ff8b826ab3b0227235e2deb760fbe84f4d0c8254a731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50e4fe6c88cf35794fd4ff8b826ab3b0227235e2deb760fbe84f4d0c8254a731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50e4fe6c88cf35794fd4ff8b826ab3b0227235e2deb760fbe84f4d0c8254a731", kill_on_drop: false }` [INFO] [stdout] 50e4fe6c88cf35794fd4ff8b826ab3b0227235e2deb760fbe84f4d0c8254a731 [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] 1f292a9ed4ad039515d97f723fea2a27af5d377ee608c037dc1d9776c68a112d [INFO] running `Command { std: "docker" "start" "-a" "1f292a9ed4ad039515d97f723fea2a27af5d377ee608c037dc1d9776c68a112d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling ndarray v0.14.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking bytemuck v1.5.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking ndarray-image v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_luma`: replaced by `to_luma8` [INFO] [stdout] --> src/lib.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | let image = image.to_luma(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_luma`: replaced by `to_luma8` [INFO] [stdout] --> src/lib.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | let image = image.to_luma(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_luma_alpha`: replaced by `to_luma_alpha8` [INFO] [stdout] --> src/lib.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | let image = image.to_luma_alpha(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_rgb`: replaced by `to_rgb8` [INFO] [stdout] --> src/lib.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | let image = image.to_rgb(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/lib.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | let image = image.to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_bgr`: replaced by `to_bgr8` [INFO] [stdout] --> src/lib.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | let image = image.to_bgr(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_bgra`: replaced by `to_bgra8` [INFO] [stdout] --> src/lib.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | let image = image.to_bgra(); [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/lib.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn open_gray_image(path: impl AsRef) -> ImageResult> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Ok(image.to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_luma`: replaced by `to_luma8` [INFO] [stdout] --> src/lib.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | let image = image.to_luma(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_luma`: replaced by `to_luma8` [INFO] [stdout] --> src/lib.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | let image = image.to_luma(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_luma_alpha`: replaced by `to_luma_alpha8` [INFO] [stdout] --> src/lib.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | let image = image.to_luma_alpha(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_rgb`: replaced by `to_rgb8` [INFO] [stdout] --> src/lib.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | let image = image.to_rgb(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/lib.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | let image = image.to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_bgr`: replaced by `to_bgr8` [INFO] [stdout] --> src/lib.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | let image = image.to_bgr(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_bgra`: replaced by `to_bgra8` [INFO] [stdout] --> src/lib.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | let image = image.to_bgra(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ndarray-image` (lib) due to 2 previous errors; 7 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/lib.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn open_gray_image(path: impl AsRef) -> ImageResult> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Ok(image.to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ndarray-image` (lib test) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1f292a9ed4ad039515d97f723fea2a27af5d377ee608c037dc1d9776c68a112d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f292a9ed4ad039515d97f723fea2a27af5d377ee608c037dc1d9776c68a112d", kill_on_drop: false }` [INFO] [stdout] 1f292a9ed4ad039515d97f723fea2a27af5d377ee608c037dc1d9776c68a112d