[INFO] cloning repository https://github.com/PxlsCharity/CharityPixelization [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PxlsCharity/CharityPixelization" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPxlsCharity%2FCharityPixelization", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPxlsCharity%2FCharityPixelization'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c7ce2e937001bbce139462a2ab46b2b0b4b8027 [INFO] checking PxlsCharity/CharityPixelization/1c7ce2e937001bbce139462a2ab46b2b0b4b8027 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPxlsCharity%2FCharityPixelization" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PxlsCharity/CharityPixelization 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] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/PxlsCharity/CharityPixelization [INFO] finished tweaking git repo https://github.com/PxlsCharity/CharityPixelization [INFO] tweaked toml for git repo https://github.com/PxlsCharity/CharityPixelization written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/PxlsCharity/CharityPixelization 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b21bca03f54ebe3e79f3af6beafc909bb2dcd30fecab025b5a982fa5a2c01777 [INFO] running `Command { std: "docker" "start" "-a" "b21bca03f54ebe3e79f3af6beafc909bb2dcd30fecab025b5a982fa5a2c01777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b21bca03f54ebe3e79f3af6beafc909bb2dcd30fecab025b5a982fa5a2c01777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b21bca03f54ebe3e79f3af6beafc909bb2dcd30fecab025b5a982fa5a2c01777", kill_on_drop: false }` [INFO] [stdout] b21bca03f54ebe3e79f3af6beafc909bb2dcd30fecab025b5a982fa5a2c01777 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c90bd5a8ebd60d7ca44ffbc3d68c662b4eb336901e881d111ed4913495f86d02 [INFO] running `Command { std: "docker" "start" "-a" "c90bd5a8ebd60d7ca44ffbc3d68c662b4eb336901e881d111ed4913495f86d02", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking bitstream-io v2.2.0 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling palette v0.7.5 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking fast-srgb8 v1.0.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking ordered-float v4.2.0 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling palette_derive v0.7.5 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking image-webp v0.1.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking ravif v0.11.5 [INFO] [stderr] Checking image v0.25.0 [INFO] [stderr] Checking charity_pixelization v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ImageError` [INFO] [stdout] --> src/lib.rs:9:99 [INFO] [stdout] | [INFO] [stdout] 9 | use image::{load_from_memory, write_buffer_with_format, ColorType, GenericImageView, ImageBuffer, ImageError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageError` [INFO] [stdout] --> src/lib.rs:9:99 [INFO] [stdout] | [INFO] [stdout] 9 | use image::{load_from_memory, write_buffer_with_format, ColorType, GenericImageView, ImageBuffer, ImageError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/lib.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{borrow::Borrow, io::{BufWriter, Cursor}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/lib.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{borrow::Borrow, io::{BufWriter, Cursor}}; [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/dither.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 335 | conversion: impl Fn(&Color) -> Components + 'static + Sync, [INFO] [stdout] | ---------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 336 | distance: impl Fn(&Components, &Components) -> f64 + 'static + Sync, [INFO] [stdout] | ------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 339 | / move |palette: &[Color], palette_components: &[Components], color: Color| { [INFO] [stdout] 340 | | if color.alpha == 0 { [INFO] [stdout] 341 | | return palette[0]; [INFO] [stdout] 342 | | } [INFO] [stdout] ... | [INFO] [stdout] 352 | | palette[index] [INFO] [stdout] 353 | | }, [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 `charity_pixelization` (lib test) 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/dither.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 335 | conversion: impl Fn(&Color) -> Components + 'static + Sync, [INFO] [stdout] | ---------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 336 | distance: impl Fn(&Components, &Components) -> f64 + 'static + Sync, [INFO] [stdout] | ------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 339 | / move |palette: &[Color], palette_components: &[Components], color: Color| { [INFO] [stdout] 340 | | if color.alpha == 0 { [INFO] [stdout] 341 | | return palette[0]; [INFO] [stdout] 342 | | } [INFO] [stdout] ... | [INFO] [stdout] 352 | | palette[index] [INFO] [stdout] 353 | | }, [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 `charity_pixelization` (lib) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c90bd5a8ebd60d7ca44ffbc3d68c662b4eb336901e881d111ed4913495f86d02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c90bd5a8ebd60d7ca44ffbc3d68c662b4eb336901e881d111ed4913495f86d02", kill_on_drop: false }` [INFO] [stdout] c90bd5a8ebd60d7ca44ffbc3d68c662b4eb336901e881d111ed4913495f86d02