[INFO] fetching crate trylog 0.3.1... [INFO] checking trylog-0.3.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate trylog 0.3.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate trylog 0.3.1 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 trylog 0.3.1 [INFO] finished tweaking crates.io crate trylog 0.3.1 [INFO] tweaked toml for crates.io crate trylog 0.3.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate trylog 0.3.1 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] fce06a9a2637befe811094ad407cd3c71fc1d47d7d505a787e58538254846f01 [INFO] running `Command { std: "docker" "start" "-a" "fce06a9a2637befe811094ad407cd3c71fc1d47d7d505a787e58538254846f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fce06a9a2637befe811094ad407cd3c71fc1d47d7d505a787e58538254846f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fce06a9a2637befe811094ad407cd3c71fc1d47d7d505a787e58538254846f01", kill_on_drop: false }` [INFO] [stdout] fce06a9a2637befe811094ad407cd3c71fc1d47d7d505a787e58538254846f01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a2bc0d7de50f62db83fea87a981a6d176fd66b580a0f2925817eb07869a42b90 [INFO] running `Command { std: "docker" "start" "-a" "a2bc0d7de50f62db83fea87a981a6d176fd66b580a0f2925817eb07869a42b90", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Checking trylog v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `ControlFlow<::Residual, ::Output>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/macros.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn branch(self) -> __ControlFlowWrapper { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | match self.0.branch() { [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 `ControlFlow<::Residual, ::Output>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 64 | fn inspect_or_and(t: T, f: impl FnOnce(&T::Residual)) -> T { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | match t.branch() { [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 `ControlFlow<::Residual, ::Output>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 75 | fn unwrap_or_default_and(t: T, f: impl FnOnce(&T::Residual)) -> T::Output [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | match t.branch() { [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 `ControlFlow<::Residual, ::Output>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 89 | fn unwrap_or_and(t: T, f: impl FnOnce(&T::Residual) -> String) -> T::Output { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | match t.branch() { [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trylog` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a2bc0d7de50f62db83fea87a981a6d176fd66b580a0f2925817eb07869a42b90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2bc0d7de50f62db83fea87a981a6d176fd66b580a0f2925817eb07869a42b90", kill_on_drop: false }` [INFO] [stdout] a2bc0d7de50f62db83fea87a981a6d176fd66b580a0f2925817eb07869a42b90