[INFO] fetching crate mogglo 0.1.1... [INFO] checking mogglo-0.1.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate mogglo 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate mogglo 0.1.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 mogglo 0.1.1 [INFO] finished tweaking crates.io crate mogglo 0.1.1 [INFO] tweaked toml for crates.io crate mogglo 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 59 packages to latest compatible versions [INFO] [stderr] Adding ariadne v0.2.0 (available: v0.4.1) [INFO] [stderr] Adding cc v1.0.106 (available: v1.1.22) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding rlua v0.19.8 (available: v0.20.1) [INFO] [stderr] Adding tree-sitter v0.20.10 (available: v0.23.0) [INFO] [stderr] Adding tree-sitter-edit v0.1.2 (available: v0.3.0) [INFO] [stderr] Adding tree-sitter-rust v0.20.4 (available: v0.23.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding yansi v0.5.1 (available: v1.0.1) [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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 18e1311afdd6f2970b64ad0f18fe93fbe11d7421d1e2c3ee247f2180087bfc42 [INFO] running `Command { std: "docker" "start" "-a" "18e1311afdd6f2970b64ad0f18fe93fbe11d7421d1e2c3ee247f2180087bfc42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18e1311afdd6f2970b64ad0f18fe93fbe11d7421d1e2c3ee247f2180087bfc42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18e1311afdd6f2970b64ad0f18fe93fbe11d7421d1e2c3ee247f2180087bfc42", kill_on_drop: false }` [INFO] [stdout] 18e1311afdd6f2970b64ad0f18fe93fbe11d7421d1e2c3ee247f2180087bfc42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 15a4b23662b16526a947bfde55955a47195725b2e1674b99e46267a4ceaebf30 [INFO] running `Command { std: "docker" "start" "-a" "15a4b23662b16526a947bfde55955a47195725b2e1674b99e46267a4ceaebf30", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.106 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rlua v0.19.8 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling rlua-lua54-sys v0.1.7 [INFO] [stderr] Compiling rlua-lua51-sys v0.1.7 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling rlua-lua53-sys v0.1.7 [INFO] [stderr] Compiling tree-sitter-rust v0.20.4 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking tree-sitter-edit v0.1.2 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking mogglo v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:442:36 [INFO] [stdout] | [INFO] [stdout] 435 | ... let pat = Pattern::parse_from( [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 442 | ... Ok(pat [INFO] [stdout] | __________________________^ [INFO] [stdout] 443 | | ... .match_node_internal(lua, env.clone(), pat.to_goal(), candidate) [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 `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:465:36 [INFO] [stdout] | [INFO] [stdout] 464 | ... scope.create_function(|_, (p, n): (LuaPattern, LuaNode)| { [INFO] [stdout] | ------ [INFO] [stdout] | || [INFO] [stdout] | |these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 465 | ... Ok(p.0 [INFO] [stdout] | ______________________________^ [INFO] [stdout] 466 | | ... .match_node_internal( [INFO] [stdout] 467 | | ... lua, [INFO] [stdout] 468 | | ... env.clone(), [INFO] [stdout] ... | [INFO] [stdout] 473 | | ... }, [INFO] [stdout] 474 | | ... ) [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 `Vec>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:490:37 [INFO] [stdout] | [INFO] [stdout] 483 | ... let pat = Pattern::parse_from( [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 490 | ... Ok(!pat [INFO] [stdout] | ___________________________^ [INFO] [stdout] 491 | | ... .matches_internal( [INFO] [stdout] 492 | | ... candidate.text, [INFO] [stdout] 493 | | ... candidate.node, [INFO] [stdout] ... | [INFO] [stdout] 496 | | ... Some(1), [INFO] [stdout] 497 | | ... ) [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 `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:544:26 [INFO] [stdout] | [INFO] [stdout] 543 | let lua = Lua::new(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 544 | if let Some(m) = self.match_node_internal(&lua, env, self.to_goal(), candidate) { [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 `mogglo` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:442:36 [INFO] [stdout] | [INFO] [stdout] 435 | ... let pat = Pattern::parse_from( [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 442 | ... Ok(pat [INFO] [stdout] | __________________________^ [INFO] [stdout] 443 | | ... .match_node_internal(lua, env.clone(), pat.to_goal(), candidate) [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 `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:465:36 [INFO] [stdout] | [INFO] [stdout] 464 | ... scope.create_function(|_, (p, n): (LuaPattern, LuaNode)| { [INFO] [stdout] | ------ [INFO] [stdout] | || [INFO] [stdout] | |these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 465 | ... Ok(p.0 [INFO] [stdout] | ______________________________^ [INFO] [stdout] 466 | | ... .match_node_internal( [INFO] [stdout] 467 | | ... lua, [INFO] [stdout] 468 | | ... env.clone(), [INFO] [stdout] ... | [INFO] [stdout] 473 | | ... }, [INFO] [stdout] 474 | | ... ) [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 `Vec>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:490:37 [INFO] [stdout] | [INFO] [stdout] 483 | ... let pat = Pattern::parse_from( [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 490 | ... Ok(!pat [INFO] [stdout] | ___________________________^ [INFO] [stdout] 491 | | ... .matches_internal( [INFO] [stdout] 492 | | ... candidate.text, [INFO] [stdout] 493 | | ... candidate.node, [INFO] [stdout] ... | [INFO] [stdout] 496 | | ... Some(1), [INFO] [stdout] 497 | | ... ) [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 `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:544:26 [INFO] [stdout] | [INFO] [stdout] 543 | let lua = Lua::new(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 544 | if let Some(m) = self.match_node_internal(&lua, env, self.to_goal(), candidate) { [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 `mogglo` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "15a4b23662b16526a947bfde55955a47195725b2e1674b99e46267a4ceaebf30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15a4b23662b16526a947bfde55955a47195725b2e1674b99e46267a4ceaebf30", kill_on_drop: false }` [INFO] [stdout] 15a4b23662b16526a947bfde55955a47195725b2e1674b99e46267a4ceaebf30