[INFO] fetching crate dangerous 0.10.0... [INFO] checking dangerous-0.10.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate dangerous 0.10.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate dangerous 0.10.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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-1-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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 417efcb3e92f6dffbe38a3055fa6fa011b4da176bcbbf82aeb54c5f6599b891a [INFO] running `Command { std: "docker" "start" "-a" "417efcb3e92f6dffbe38a3055fa6fa011b4da176bcbbf82aeb54c5f6599b891a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "417efcb3e92f6dffbe38a3055fa6fa011b4da176bcbbf82aeb54c5f6599b891a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "417efcb3e92f6dffbe38a3055fa6fa011b4da176bcbbf82aeb54c5f6599b891a", kill_on_drop: false }` [INFO] [stdout] 417efcb3e92f6dffbe38a3055fa6fa011b4da176bcbbf82aeb54c5f6599b891a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1c7016d9a4b633718fc4fd13a3a227acd79d62bb55c99932618d6203039a085 [INFO] running `Command { std: "docker" "start" "-a" "b1c7016d9a4b633718fc4fd13a3a227acd79d62bb55c99932618d6203039a085", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.39 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking colored-diff v0.2.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking dangerous v0.10.0 (/opt/rustwide/workdir) [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" "b1c7016d9a4b633718fc4fd13a3a227acd79d62bb55c99932618d6203039a085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1c7016d9a4b633718fc4fd13a3a227acd79d62bb55c99932618d6203039a085", kill_on_drop: false }` [INFO] [stdout] b1c7016d9a4b633718fc4fd13a3a227acd79d62bb55c99932618d6203039a085