[INFO] fetching crate fev 0.2.3... [INFO] checking fev-0.2.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate fev 0.2.3 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate fev 0.2.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 fev 0.2.3 [INFO] finished tweaking crates.io crate fev 0.2.3 [INFO] tweaked toml for crates.io crate fev 0.2.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate fev 0.2.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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] dc494bc3d253a621735727cccf276c4a444d10ba07f20252f112554c027b1bca [INFO] running `Command { std: "docker" "start" "-a" "dc494bc3d253a621735727cccf276c4a444d10ba07f20252f112554c027b1bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc494bc3d253a621735727cccf276c4a444d10ba07f20252f112554c027b1bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc494bc3d253a621735727cccf276c4a444d10ba07f20252f112554c027b1bca", kill_on_drop: false }` [INFO] [stdout] dc494bc3d253a621735727cccf276c4a444d10ba07f20252f112554c027b1bca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] cf25164a5da8e335a3cdfde8d0c0ce3bd1fd3abcead2f9eb5f7e824747d5ec5e [INFO] running `Command { std: "docker" "start" "-a" "cf25164a5da8e335a3cdfde8d0c0ce3bd1fd3abcead2f9eb5f7e824747d5ec5e", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling drm-sys v0.7.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Checking linux-raw-sys v0.6.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling softbuffer v0.4.3 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking ctor-lite v0.1.0 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking dissimilar v1.0.9 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling tiny-xlib v0.2.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking expect-test v1.5.0 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking polling v3.7.0 [INFO] [stderr] Checking drm-ffi v0.8.0 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking drm v0.12.0 [INFO] [stderr] Checking fev v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/jpeg/parser.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 247 | pub struct Segment<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 248 | /// Offset of the segment's marker in the input buffer. [INFO] [stdout] 249 | pub pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Segment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `marker` and `data` are never read [INFO] [stdout] --> src/jpeg/parser.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | Other { marker: u8, data: &'a [u8] }, [INFO] [stdout] | ----- ^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SegmentKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/display.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn new(handle: H) -> Result { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | Some(Box::new(handle)), [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] --> src/error.rs:148:22 [INFO] [stdout] | [INFO] [stdout] 147 | pub(crate) fn from(e: impl Into) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | Self { repr: e.into() } [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] --> src/error.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 157 | pub(crate) fn dlopen(libname: &str, error: libloading::Error) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | Self { [INFO] [stdout] 159 | repr: Repr::Libloading { [INFO] [stdout] | ___________________^ [INFO] [stdout] 160 | | inner: error, [INFO] [stdout] 161 | | libname: libname.to_string(), [INFO] [stdout] 162 | | funcname: None, [INFO] [stdout] 163 | | }, [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] --> src/error.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 167 | pub(crate) fn dlsym(libname: &str, funcname: &'static str, error: libloading::Error) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | Self { [INFO] [stdout] 169 | repr: Repr::Libloading { [INFO] [stdout] | ___________________^ [INFO] [stdout] 170 | | inner: error, [INFO] [stdout] 171 | | libname: libname.to_string(), [INFO] [stdout] 172 | | funcname: Some(funcname), [INFO] [stdout] 173 | | }, [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] --> src/jpeg.rs:444:12 [INFO] [stdout] | [INFO] [stdout] 440 | let config = Config::new(&display, Profile::JPEGBaseline, Entrypoint::VLD)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 441 | let jpeg_context = Context::new(&config, width, height)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 442 | let jpeg_surface = Surface::new(&display, width, height, RTFormat::YUV420)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 443 | [INFO] [stdout] 444 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 445 | | width, [INFO] [stdout] 446 | | height, [INFO] [stdout] 447 | | jpeg_surface, [INFO] [stdout] 448 | | jpeg_context, [INFO] [stdout] 449 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> src/surface.rs:599:15 [INFO] [stdout] | [INFO] [stdout] 596 | let mut surface = Surface::with_pixel_format(display, width, height, format)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 599 | match surface.derive_image() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fev` (lib) due to 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cf25164a5da8e335a3cdfde8d0c0ce3bd1fd3abcead2f9eb5f7e824747d5ec5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf25164a5da8e335a3cdfde8d0c0ce3bd1fd3abcead2f9eb5f7e824747d5ec5e", kill_on_drop: false }` [INFO] [stdout] cf25164a5da8e335a3cdfde8d0c0ce3bd1fd3abcead2f9eb5f7e824747d5ec5e