[INFO] fetching crate waylock 0.3.5... [INFO] checking waylock-0.3.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate waylock 0.3.5 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate waylock 0.3.5 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 waylock 0.3.5 [INFO] finished tweaking crates.io crate waylock 0.3.5 [INFO] tweaked toml for crates.io crate waylock 0.3.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate waylock 0.3.5 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5ed4f13b2e237d9f8c7fc03445eb7dee299e75258092724fb9e2ae91d6c57753 [INFO] running `Command { std: "docker" "start" "-a" "5ed4f13b2e237d9f8c7fc03445eb7dee299e75258092724fb9e2ae91d6c57753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ed4f13b2e237d9f8c7fc03445eb7dee299e75258092724fb9e2ae91d6c57753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ed4f13b2e237d9f8c7fc03445eb7dee299e75258092724fb9e2ae91d6c57753", kill_on_drop: false }` [INFO] [stdout] 5ed4f13b2e237d9f8c7fc03445eb7dee299e75258092724fb9e2ae91d6c57753 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a3a0d7d8d2d5e0f4334053c1e9426943452850f12449debf4b74cc1f0d359dde [INFO] running `Command { std: "docker" "start" "-a" "a3a0d7d8d2d5e0f4334053c1e9426943452850f12449debf4b74cc1f0d359dde", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.115 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling pam-sys v0.5.6 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.3 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking users v0.8.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking users v0.10.0 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking clap v2.33.2 [INFO] [stderr] Checking pam v0.7.0 [INFO] [stderr] Checking xcursor v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking calloop v0.9.3 [INFO] [stderr] Checking serde v1.0.115 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking waylock v0.3.5 (/opt/rustwide/workdir) [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/lock/env.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 51 | let display = Display::connect_to_env().unwrap_or_else(|err| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let mut queue = display.create_event_queue(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let lock_env = Environment::new_pending( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok((lock_env, display, queue)) [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/lock/env.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 89 | listener: Option, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | ) { [INFO] [stdout] 91 | self.with_inner(move |inner| inner.set_output_created_listener(listener)) [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/lock/env.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 94 | fn set_output_removed_listener(&self, listener: Option) { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | self.with_inner(move |inner| inner.set_output_removed_listener(listener)) [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/lock/env.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 51 | let display = Display::connect_to_env().unwrap_or_else(|err| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let mut queue = display.create_event_queue(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let lock_env = Environment::new_pending( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | Ok((lock_env, display, queue)) [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/lock/output.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 22 | self.created_listener = listener.map(|f| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Box::new(f) as _ [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/lock/env.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 89 | listener: Option, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | ) { [INFO] [stdout] 91 | self.with_inner(move |inner| inner.set_output_created_listener(listener)) [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/lock/output.rs:31:50 [INFO] [stdout] | [INFO] [stdout] 31 | self.removed_listener = listener.map(|f| Box::new(f) as _); [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lock/env.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 94 | fn set_output_removed_listener(&self, listener: Option) { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | self.with_inner(move |inner| inner.set_output_removed_listener(listener)) [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/lock/output.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 22 | self.created_listener = listener.map(|f| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Box::new(f) as _ [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/lock/output.rs:31:50 [INFO] [stdout] | [INFO] [stdout] 31 | self.removed_listener = listener.map(|f| Box::new(f) as _); [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `waylock` (bin "waylock" test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `waylock` (bin "waylock") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "a3a0d7d8d2d5e0f4334053c1e9426943452850f12449debf4b74cc1f0d359dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3a0d7d8d2d5e0f4334053c1e9426943452850f12449debf4b74cc1f0d359dde", kill_on_drop: false }` [INFO] [stdout] a3a0d7d8d2d5e0f4334053c1e9426943452850f12449debf4b74cc1f0d359dde