[INFO] fetching crate dangerous 0.10.0... [INFO] checking dangerous-0.10.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate dangerous 0.10.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate dangerous 0.10.0 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 dangerous 0.10.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dangerous 0.10.0 [INFO] tweaked toml for crates.io crate dangerous 0.10.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate dangerous 0.10.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 535ccf3655dc5d9dad9f087d6ccaa48ab3d5fda4a87ae39cf771be9eda9fa80d [INFO] running `Command { std: "docker" "start" "-a" "535ccf3655dc5d9dad9f087d6ccaa48ab3d5fda4a87ae39cf771be9eda9fa80d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "535ccf3655dc5d9dad9f087d6ccaa48ab3d5fda4a87ae39cf771be9eda9fa80d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "535ccf3655dc5d9dad9f087d6ccaa48ab3d5fda4a87ae39cf771be9eda9fa80d", kill_on_drop: false }` [INFO] [stdout] 535ccf3655dc5d9dad9f087d6ccaa48ab3d5fda4a87ae39cf771be9eda9fa80d [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eea7d174454f6c13b5dd84aa668947def68ee683e0d914131d15ea1743be3b0d [INFO] running `Command { std: "docker" "start" "-a" "eea7d174454f6c13b5dd84aa668947def68ee683e0d914131d15ea1743be3b0d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling anyhow v1.0.39 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking colored-diff v0.2.2 [INFO] [stderr] Checking dangerous v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/input/traits.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 134 | fn read_all(self, f: F) -> Result [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | let mut r = Reader::new(self.clone()); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | match r.context( [INFO] [stdout] | _______________^ [INFO] [stdout] 142 | | CoreContext::from_operation(CoreOperation::ReadAll, self.span()), [INFO] [stdout] 143 | | f, [INFO] [stdout] 144 | | ) { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/input/traits.rs:171:15 [INFO] [stdout] | [INFO] [stdout] 165 | fn read_partial(self, f: F) -> Result<(T, Self), E> [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let mut r = Reader::new(self.clone()); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | match r.context( [INFO] [stdout] | _______________^ [INFO] [stdout] 172 | | CoreContext::from_operation(CoreOperation::ReadPartial, self.span()), [INFO] [stdout] 173 | | f, [INFO] [stdout] 174 | | ) { [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 `(Option, Self)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/input/traits.rs:427:15 [INFO] [stdout] | [INFO] [stdout] 422 | fn split_prefix(self, prefix: P, operation: CoreOperation) -> Result<(Self, Self), E> [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 427 | match self.clone().split_prefix_opt(&prefix) { [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/input/traits.rs:653:27 [INFO] [stdout] | [INFO] [stdout] 643 | self, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 652 | let mut reader = Reader::new(self.clone()); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 653 | if let Some(ok) = f(&mut reader) { [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 `Result, E>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/input/traits.rs:694:15 [INFO] [stdout] | [INFO] [stdout] 678 | self, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 693 | let mut reader = Reader::new(self.clone()); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 694 | match reader.context(context, f) { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/reader/input.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 264 | let checkpoint = self.input.clone(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 265 | if let Ok(ok) = f(self) { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/reader/input.rs:292:15 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn recover_if(&mut self, f: F, pred: R) -> Result, E> [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 291 | let checkpoint = self.input.clone(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | match f(self) { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error/context.rs:419:11 [INFO] [stdout] | [INFO] [stdout] 411 | context: impl Context, [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 412 | input: impl Input<'i>, [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 419 | match f() { [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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dangerous` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "eea7d174454f6c13b5dd84aa668947def68ee683e0d914131d15ea1743be3b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eea7d174454f6c13b5dd84aa668947def68ee683e0d914131d15ea1743be3b0d", kill_on_drop: false }` [INFO] [stdout] eea7d174454f6c13b5dd84aa668947def68ee683e0d914131d15ea1743be3b0d