[INFO] fetching crate screenshots 0.8.10... [INFO] checking screenshots-0.8.10 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate screenshots 0.8.10 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate screenshots 0.8.10 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 screenshots 0.8.10 [INFO] finished tweaking crates.io crate screenshots 0.8.10 [INFO] tweaked toml for crates.io crate screenshots 0.8.10 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate screenshots 0.8.10 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 6984eb396d580489b953570e9f5e912bb7f116325e9cf76c97aa1d40fcf890a5 [INFO] running `Command { std: "docker" "start" "-a" "6984eb396d580489b953570e9f5e912bb7f116325e9cf76c97aa1d40fcf890a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6984eb396d580489b953570e9f5e912bb7f116325e9cf76c97aa1d40fcf890a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6984eb396d580489b953570e9f5e912bb7f116325e9cf76c97aa1d40fcf890a5", kill_on_drop: false }` [INFO] [stdout] 6984eb396d580489b953570e9f5e912bb7f116325e9cf76c97aa1d40fcf890a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 5313839dc9f7cc4fd1d502513f7c50dcb25c61bb092c54d880356049ed04724e [INFO] running `Command { std: "docker" "start" "-a" "5313839dc9f7cc4fd1d502513f7c50dcb25c61bb092c54d880356049ed04724e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling quick-xml v0.28.2 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling wayland-scanner v0.30.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling xcb v1.3.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling wayland-backend v0.1.2 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking png v0.17.12 [INFO] [stderr] Checking memmap2 v0.7.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Checking wayland-client v0.30.2 [INFO] [stderr] Checking wayland-protocols v0.30.1 [INFO] [stderr] Checking dbus v0.9.7 [INFO] [stderr] Checking display-info v0.4.8 [INFO] [stderr] Checking wayland-protocols-wlr v0.1.0 [INFO] [stderr] Checking libwayshot v0.2.0 [INFO] [stderr] Checking screenshots v0.8.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/linux/wayland_screenshot.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / fn org_gnome_shell_screenshot( [INFO] [stdout] 47 | | conn: &Connection, [INFO] [stdout] 48 | | x: i32, [INFO] [stdout] 49 | | y: i32, [INFO] [stdout] 50 | | width: i32, [INFO] [stdout] 51 | | height: i32, [INFO] [stdout] 52 | | ) -> Result { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: ReadAll` will fail [INFO] [stdout] --> src/linux/wayland_screenshot.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | proxy.method_call( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/linux/wayland_screenshot.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / fn org_freedesktop_portal_screenshot( [INFO] [stdout] 84 | | conn: &Connection, [INFO] [stdout] 85 | | x: i32, [INFO] [stdout] 86 | | y: i32, [INFO] [stdout] 87 | | width: i32, [INFO] [stdout] 88 | | height: i32, [INFO] [stdout] 89 | | ) -> Result { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: ReadAll` will fail [INFO] [stdout] --> src/linux/wayland_screenshot.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | proxy.method_call( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/linux/wayland_screenshot.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / fn org_gnome_shell_screenshot( [INFO] [stdout] 47 | | conn: &Connection, [INFO] [stdout] 48 | | x: i32, [INFO] [stdout] 49 | | y: i32, [INFO] [stdout] 50 | | width: i32, [INFO] [stdout] 51 | | height: i32, [INFO] [stdout] 52 | | ) -> Result { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: ReadAll` will fail [INFO] [stdout] --> src/linux/wayland_screenshot.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | proxy.method_call( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/linux/wayland_screenshot.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / fn org_freedesktop_portal_screenshot( [INFO] [stdout] 84 | | conn: &Connection, [INFO] [stdout] 85 | | x: i32, [INFO] [stdout] 86 | | y: i32, [INFO] [stdout] 87 | | width: i32, [INFO] [stdout] 88 | | height: i32, [INFO] [stdout] 89 | | ) -> Result { [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: ReadAll` will fail [INFO] [stdout] --> src/linux/wayland_screenshot.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | proxy.method_call( [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/linux/wayland_screenshot.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 189 | let conn = Connection::new_session()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | / org_gnome_shell_screenshot(&conn, x, y, width, height) [INFO] [stdout] 193 | | .or_else(|_| org_freedesktop_portal_screenshot(&conn, x, y, width, height)) [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] | [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 `screenshots` (lib) 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/linux/wayland_screenshot.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 189 | let conn = Connection::new_session()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | / org_gnome_shell_screenshot(&conn, x, y, width, height) [INFO] [stdout] 193 | | .or_else(|_| org_freedesktop_portal_screenshot(&conn, x, y, width, height)) [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] | [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 `screenshots` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5313839dc9f7cc4fd1d502513f7c50dcb25c61bb092c54d880356049ed04724e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5313839dc9f7cc4fd1d502513f7c50dcb25c61bb092c54d880356049ed04724e", kill_on_drop: false }` [INFO] [stdout] 5313839dc9f7cc4fd1d502513f7c50dcb25c61bb092c54d880356049ed04724e