[INFO] fetching crate eye 0.5.0... [INFO] checking eye-0.5.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate eye 0.5.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate eye 0.5.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 eye 0.5.0 [INFO] finished tweaking crates.io crate eye 0.5.0 [INFO] tweaked toml for crates.io crate eye 0.5.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate eye 0.5.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] 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] bc58251dd328a818f60c4796df69cb1db6c312a4dd80ea07cf2184c38af8203c [INFO] running `Command { std: "docker" "start" "-a" "bc58251dd328a818f60c4796df69cb1db6c312a4dd80ea07cf2184c38af8203c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc58251dd328a818f60c4796df69cb1db6c312a4dd80ea07cf2184c38af8203c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc58251dd328a818f60c4796df69cb1db6c312a4dd80ea07cf2184c38af8203c", kill_on_drop: false }` [INFO] [stdout] bc58251dd328a818f60c4796df69cb1db6c312a4dd80ea07cf2184c38af8203c [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] 04098a1bb2a9f68e3132dd8acfd8d36c20d67b1d7c0b4e5a876088f29760558c [INFO] running `Command { std: "docker" "start" "-a" "04098a1bb2a9f68e3132dd8acfd8d36c20d67b1d7c0b4e5a876088f29760558c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling xml-rs v0.8.10 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling aho-corasick v1.0.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking mio v0.8.6 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking gimli v0.27.2 [INFO] [stderr] Checking calloop v0.9.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking wayland-egl v0.29.5 [INFO] [stderr] Compiling glium v0.31.0 [INFO] [stderr] Checking ffimage v0.10.0 [INFO] [stderr] Checking object v0.30.3 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking ffimage_yuv v0.10.0 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking jpeg-decoder v0.2.6 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Compiling v4l2-sys-mit v0.3.0 [INFO] [stderr] Checking v4l v0.14.0 [INFO] [stderr] Checking eye-hal v0.2.0 [INFO] [stderr] Checking eye v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/colorconvert/codec/error.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Custom { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 32 | kind: ErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Custom` 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: function `yuv444_to_rgb` is never used [INFO] [stdout] --> src/colorconvert/codec/yuv.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn yuv444_to_rgb(src: &[u8], src_fmt: &ImageFormat, dst: &mut Vec) -> Result<()> { [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/colorconvert/codec/error.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(kind: ErrorKind, error: E) -> Self [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | repr: Repr::Custom(Box::new(Custom { [INFO] [stdout] | ___________________^ [INFO] [stdout] 61 | | kind, [INFO] [stdout] 62 | | error: error.into(), [INFO] [stdout] 63 | | })), [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/colorconvert/codec/error.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 77 | fn from(error: io::Error) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | Error { [INFO] [stdout] 79 | repr: Repr::Custom(Box::new(Custom { [INFO] [stdout] | ___________________^ [INFO] [stdout] 80 | | kind: ErrorKind::Other, [INFO] [stdout] 81 | | error: error.into(), [INFO] [stdout] 82 | | })), [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/colorconvert/device.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(dev: PlatformDevice<'a>) -> Result { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | Ok(Device { inner: dev }) [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/colorconvert/stream.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 20 | let item = self.inner.next()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | Some(Ok(&self.buf)) [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 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eye` (lib) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "04098a1bb2a9f68e3132dd8acfd8d36c20d67b1d7c0b4e5a876088f29760558c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04098a1bb2a9f68e3132dd8acfd8d36c20d67b1d7c0b4e5a876088f29760558c", kill_on_drop: false }` [INFO] [stdout] 04098a1bb2a9f68e3132dd8acfd8d36c20d67b1d7c0b4e5a876088f29760558c