[INFO] fetching crate yabo 0.1.0... [INFO] checking yabo-0.1.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate yabo 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate yabo 0.1.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 yabo 0.1.0 [INFO] finished tweaking crates.io crate yabo 0.1.0 [INFO] tweaked toml for crates.io crate yabo 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate yabo 0.1.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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3a4113d3102170f25eb1680214bbdbf6c4768ac912fa56839b00c13008f20b9a [INFO] running `Command { std: "docker" "start" "-a" "3a4113d3102170f25eb1680214bbdbf6c4768ac912fa56839b00c13008f20b9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a4113d3102170f25eb1680214bbdbf6c4768ac912fa56839b00c13008f20b9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a4113d3102170f25eb1680214bbdbf6c4768ac912fa56839b00c13008f20b9a", kill_on_drop: false }` [INFO] [stdout] 3a4113d3102170f25eb1680214bbdbf6c4768ac912fa56839b00c13008f20b9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ee47dbd22ff4adb2b7f9245b7b6cd4b40d82b0a7a680b6a57e4f092b451a7f84 [INFO] running `Command { std: "docker" "start" "-a" "ee47dbd22ff4adb2b7f9245b7b6cd4b40d82b0a7a680b6a57e4f092b451a7f84", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking fixedbitset v0.4.0 [INFO] [stderr] Checking ariadne v0.1.5 [INFO] [stderr] Checking bumpalo v3.9.1 [INFO] [stderr] Checking dot v0.1.4 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Compiling tree-sitter v0.20.6 [INFO] [stderr] Compiling tree-sitter-yabo v0.0.1 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling enumflags2_derive v0.7.4 [INFO] [stderr] Compiling salsa-macros v0.16.0 [INFO] [stderr] Checking enumflags2 v0.7.5 [INFO] [stderr] Checking salsa v0.16.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking yabo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/hir/represent.rs:197:87 [INFO] [stdout] | [INFO] [stdout] 180 | impl<'a> dot::Labeller<'a, HirId, (HirId, HirId, String, dot::Style)> for HirGraph<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 197 | fn edge_label(&'a self, e: &(HirId, HirId, String, dot::Style)) -> dot::LabelText<'_> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/hir_types/public.rs:158:31 [INFO] [stdout] | [INFO] [stdout] 151 | impl<'a> PublicResolver<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 158 | ) -> SResult> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/hir/represent.rs:197:87 [INFO] [stdout] | [INFO] [stdout] 180 | impl<'a> dot::Labeller<'a, HirId, (HirId, HirId, String, dot::Style)> for HirGraph<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 197 | fn edge_label(&'a self, e: &(HirId, HirId, String, dot::Style)) -> dot::LabelText<'_> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/hir_types/public.rs:158:31 [INFO] [stdout] | [INFO] [stdout] 151 | impl<'a> PublicResolver<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 158 | ) -> SResult> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(Result>, Result>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/convert.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 38 | f: F, [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | ) -> ParseResult { [INFO] [stdout] 40 | match (a, b) { [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>, Result>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/convert.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 38 | f: F, [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | ) -> ParseResult { [INFO] [stdout] 40 | match (a, b) { [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 `types::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hir_types/public.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 83 | let (typed_expr, _) = db.public_expr_type(block.enclosing_expr)?; [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | match db.lookup_intern_type(block_type) { [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 `types::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hir_types/public.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 83 | let (typed_expr, _) = db.public_expr_type(block.enclosing_expr)?; [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | match db.lookup_intern_type(block_type) { [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 `types::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/mod.rs:187:11 [INFO] [stdout] | [INFO] [stdout] 185 | replacements: Arc>, [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | ) -> TypeId { [INFO] [stdout] 187 | match db.lookup_intern_type(ty) { [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 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yabo` (bin "yabo") due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `types::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/mod.rs:187:11 [INFO] [stdout] | [INFO] [stdout] 185 | replacements: Arc>, [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | ) -> TypeId { [INFO] [stdout] 187 | match db.lookup_intern_type(ty) { [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 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yabo` (bin "yabo" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ee47dbd22ff4adb2b7f9245b7b6cd4b40d82b0a7a680b6a57e4f092b451a7f84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee47dbd22ff4adb2b7f9245b7b6cd4b40d82b0a7a680b6a57e4f092b451a7f84", kill_on_drop: false }` [INFO] [stdout] ee47dbd22ff4adb2b7f9245b7b6cd4b40d82b0a7a680b6a57e4f092b451a7f84