[INFO] fetching crate pngquant 3.0.3... [INFO] checking pngquant-3.0.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate pngquant 3.0.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate pngquant 3.0.3 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 pngquant 3.0.3 [INFO] finished tweaking crates.io crate pngquant 3.0.3 [INFO] tweaked toml for crates.io crate pngquant 3.0.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate pngquant 3.0.3 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2ec641d52a87bdcaa6e3f5d403e6d79aa37219eb2c51923a31c57f9940c44751 [INFO] running `Command { std: "docker" "start" "-a" "2ec641d52a87bdcaa6e3f5d403e6d79aa37219eb2c51923a31c57f9940c44751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ec641d52a87bdcaa6e3f5d403e6d79aa37219eb2c51923a31c57f9940c44751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec641d52a87bdcaa6e3f5d403e6d79aa37219eb2c51923a31c57f9940c44751", kill_on_drop: false }` [INFO] [stdout] 2ec641d52a87bdcaa6e3f5d403e6d79aa37219eb2c51923a31c57f9940c44751 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c91c86a241156460480fc8b96ea563db477e6ec85488a164b5840676f721f5c3 [INFO] running `Command { std: "docker" "start" "-a" "c91c86a241156460480fc8b96ea563db477e6ec85488a164b5840676f721f5c3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling imagequant-sys v4.0.3 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking wild v2.2.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling lcms2-sys v4.0.3 [INFO] [stderr] Compiling libpng-sys v1.1.9 [INFO] [stderr] Compiling pngquant v3.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `sse` [INFO] [stdout] --> rust/build.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | (target_arch == "x86" && cfg!(feature = "sse")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cocoa`, `default`, `lcms2`, `lcms2-static`, `png-static`, `static`, and `z-static` [INFO] [stdout] = help: consider adding `sse` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking imagequant v4.2.2 [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] --> rust/bin.rs:124:51 [INFO] [stdout] | [INFO] [stdout] 124 | let extension = m.opt_str("ext").and_then(|s| CString::new(s).ok()); [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] --> rust/bin.rs:125:50 [INFO] [stdout] | [INFO] [stdout] 125 | let map_file = m.opt_str("map").and_then(|s| CString::new(s).ok()); [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] --> rust/bin.rs:148:57 [INFO] [stdout] | [INFO] [stdout] 148 | let files: Vec<_> = m.free.drain(..).filter_map(|s| CString::new(s).ok()).collect(); [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] --> rust/bin.rs:124:51 [INFO] [stdout] | [INFO] [stdout] 124 | let extension = m.opt_str("ext").and_then(|s| CString::new(s).ok()); [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] --> rust/bin.rs:125:50 [INFO] [stdout] | [INFO] [stdout] 125 | let map_file = m.opt_str("map").and_then(|s| CString::new(s).ok()); [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] --> rust/bin.rs:148:57 [INFO] [stdout] | [INFO] [stdout] 148 | let files: Vec<_> = m.free.drain(..).filter_map(|s| CString::new(s).ok()).collect(); [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pngquant` (bin "pngquant") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pngquant` (bin "pngquant" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "c91c86a241156460480fc8b96ea563db477e6ec85488a164b5840676f721f5c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c91c86a241156460480fc8b96ea563db477e6ec85488a164b5840676f721f5c3", kill_on_drop: false }` [INFO] [stdout] c91c86a241156460480fc8b96ea563db477e6ec85488a164b5840676f721f5c3