[INFO] fetching crate image 0.25.2... [INFO] checking image-0.25.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate image 0.25.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate image 0.25.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate image 0.25.2 [INFO] finished tweaking crates.io crate image 0.25.2 [INFO] tweaked toml for crates.io crate image 0.25.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate image 0.25.2 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c9187e53b200747c6642729e1a70efc21f2a6708255b95d7f6832643d3df598 [INFO] running `Command { std: "docker" "start" "-a" "5c9187e53b200747c6642729e1a70efc21f2a6708255b95d7f6832643d3df598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c9187e53b200747c6642729e1a70efc21f2a6708255b95d7f6832643d3df598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c9187e53b200747c6642729e1a70efc21f2a6708255b95d7f6832643d3df598", kill_on_drop: false }` [INFO] [stdout] 5c9187e53b200747c6642729e1a70efc21f2a6708255b95d7f6832643d3df598 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14f269f197dddf059a8e41dad840dafc3ec4b2179620a4f851835922c3b1b10a [INFO] running `Command { std: "docker" "start" "-a" "14f269f197dddf059a8e41dad840dafc3ec4b2179620a4f851835922c3b1b10a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling syn v1.0.102 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.11 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling built v0.7.2 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.86 [INFO] [stderr] Checking bytemuck v1.12.1 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Checking imgref v1.9.4 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Checking plotters-backend v0.3.4 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking bitstream-io v2.2.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking clap_lex v0.3.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking plotters-svg v0.3.3 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking loop9 v0.1.3 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking plotters v0.3.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking png v0.17.6 [INFO] [stderr] Checking clap v4.1.4 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking maybe-rayon v0.1.0 [INFO] [stderr] Checking av1-grain v0.2.2 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [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] Checking flume v0.10.14 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking exr v1.5.2 [INFO] [stderr] Checking image-webp v0.1.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking ravif v0.11.5 [INFO] [stderr] Checking image v0.25.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `error::ParameterError` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codecs/jpeg/encoder.rs:951:39 [INFO] [stdout] | [INFO] [stdout] 949 | let result = encoder.write_image(&img, 65_536, 1, ExtendedColorType::L8); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 950 | match result { [INFO] [stdout] 951 | Err(ImageError::Parameter(err)) => { [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: this value of type `error::EncodingError` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codecs/tga/encoder.rs:269:38 [INFO] [stdout] | [INFO] [stdout] 266 | let result = encoder.encode(&img, dimension, 1, ExtendedColorType::L8); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 269 | Err(ImageError::Encoding(err)) => { [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: this value of type `error::EncodingError` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codecs/tga/encoder.rs:299:38 [INFO] [stdout] | [INFO] [stdout] 296 | let result = encoder.encode(&img, 1, dimension, ExtendedColorType::L8); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 299 | Err(ImageError::Encoding(err)) => { [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] [stderr] error: could not compile `image` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "14f269f197dddf059a8e41dad840dafc3ec4b2179620a4f851835922c3b1b10a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14f269f197dddf059a8e41dad840dafc3ec4b2179620a4f851835922c3b1b10a", kill_on_drop: false }` [INFO] [stdout] 14f269f197dddf059a8e41dad840dafc3ec4b2179620a4f851835922c3b1b10a