[INFO] fetching crate mogglo 0.1.1... [INFO] checking mogglo-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mogglo 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate mogglo 0.1.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 60 packages to latest compatible versions [INFO] [stderr] Adding ariadne v0.2.0 (latest: v0.4.1) [INFO] [stderr] Adding cc v1.0.106 (latest: v1.1.15) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding rlua v0.19.8 (latest: v0.20.1) [INFO] [stderr] Adding tree-sitter v0.20.10 (latest: v0.23.0) [INFO] [stderr] Adding tree-sitter-edit v0.1.2 (latest: v0.3.0) [INFO] [stderr] Adding tree-sitter-rust v0.20.4 (latest: v0.21.2) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding yansi v0.5.1 (latest: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1d8dbc455be5c222e990db58b005f2a8f9a1bceedf62539214e140d60652003 [INFO] running `Command { std: "docker" "start" "-a" "a1d8dbc455be5c222e990db58b005f2a8f9a1bceedf62539214e140d60652003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1d8dbc455be5c222e990db58b005f2a8f9a1bceedf62539214e140d60652003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1d8dbc455be5c222e990db58b005f2a8f9a1bceedf62539214e140d60652003", kill_on_drop: false }` [INFO] [stdout] a1d8dbc455be5c222e990db58b005f2a8f9a1bceedf62539214e140d60652003 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4250826b1c5c8fe3a0f819c0cb827587d8e1ab55a042852a3c5cc2d5f5eb67f0 [INFO] running `Command { std: "docker" "start" "-a" "4250826b1c5c8fe3a0f819c0cb827587d8e1ab55a042852a3c5cc2d5f5eb67f0", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.106 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [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.77 [INFO] [stderr] Compiling rlua-lua53-sys v0.1.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 tree-sitter-rust v0.20.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking tree-sitter-edit v0.1.2 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking mogglo v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lua.rs:90:67 [INFO] [stdout] | [INFO] [stdout] 90 | scope.create_function(|_, (r, s): (String, String)| match Regex::new(&r) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lua.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 109 | let loaded = lua_ctx.load(code.as_bytes()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | lua_ctx.scope(|scope| eval_lua_scope(lua_ctx, scope, loaded, data)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lua/pattern.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn new(p: Pattern<'_>) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | Self(unsafe { std::mem::transmute(p) }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node_types.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 55 | let mut parents = HashMap::with_capacity(nodes.len()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let mut children = HashMap::with_capacity(nodes.len()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Ok(NodeTypes { parents, children }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | let mut parser = tree_sitter::Parser::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | parser.parse(code, None).expect("Failed to parse code") [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:420:35 [INFO] [stdout] | [INFO] [stdout] 413 | let loaded = match lua_ctx.load(code).set_name("lua code") { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 414 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 418 | Ok(l) => l, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 419 | }; [INFO] [stdout] 420 | lua_ctx.scope(|scope| { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 421 | | let globals = lua_ctx.globals(); [INFO] [stdout] 422 | | globals.set("focus", LuaNode::new(candidate.node, candidate.text))?; [INFO] [stdout] 423 | | globals.set("t", candidate.as_str())?; [INFO] [stdout] ... | [INFO] [stdout] 501 | | eval_lua_scope::(lua_ctx, scope, loaded, &data) [INFO] [stdout] 502 | | }) [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: these values and local bindings have 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 values have significant drop implementation and will 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] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:458:36 [INFO] [stdout] | [INFO] [stdout] 451 | ... let pat = Pattern::parse_from( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 458 | ... Ok(LuaPattern::new(pat)) [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: these values and local bindings have 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] | ----------------------------- these values have significant drop implementation and will 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: these values and local bindings have 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 values have significant drop implementation and will 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: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mogglo` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lua.rs:90:67 [INFO] [stdout] | [INFO] [stdout] 90 | scope.create_function(|_, (r, s): (String, String)| match Regex::new(&r) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lua.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 109 | let loaded = lua_ctx.load(code.as_bytes()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | lua_ctx.scope(|scope| eval_lua_scope(lua_ctx, scope, loaded, data)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lua/pattern.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn new(p: Pattern<'_>) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | Self(unsafe { std::mem::transmute(p) }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/node_types.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 55 | let mut parents = HashMap::with_capacity(nodes.len()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let mut children = HashMap::with_capacity(nodes.len()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Ok(NodeTypes { parents, children }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | let mut parser = tree_sitter::Parser::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | parser.parse(code, None).expect("Failed to parse code") [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:420:35 [INFO] [stdout] | [INFO] [stdout] 413 | let loaded = match lua_ctx.load(code).set_name("lua code") { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 414 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 418 | Ok(l) => l, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 419 | }; [INFO] [stdout] 420 | lua_ctx.scope(|scope| { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 421 | | let globals = lua_ctx.globals(); [INFO] [stdout] 422 | | globals.set("focus", LuaNode::new(candidate.node, candidate.text))?; [INFO] [stdout] 423 | | globals.set("t", candidate.as_str())?; [INFO] [stdout] ... | [INFO] [stdout] 501 | | eval_lua_scope::(lua_ctx, scope, loaded, &data) [INFO] [stdout] 502 | | }) [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: these values and local bindings have 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 values have significant drop implementation and will 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] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:458:36 [INFO] [stdout] | [INFO] [stdout] 451 | ... let pat = Pattern::parse_from( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 458 | ... Ok(LuaPattern::new(pat)) [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: these values and local bindings have 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] | ----------------------------- these values have significant drop implementation and will 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: these values and local bindings have 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 values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:737:13 [INFO] [stdout] | [INFO] [stdout] 736 | match_one(s, tree, text).map(|m| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 737 | / m.0.into_iter() [INFO] [stdout] 738 | | .map(|(k, v)| { [INFO] [stdout] 739 | | ( [INFO] [stdout] 740 | | k, [INFO] [stdout] ... | [INFO] [stdout] 744 | | ) [INFO] [stdout] 745 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:741:25 [INFO] [stdout] | [INFO] [stdout] 738 | .map(|(k, v)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 741 | / v.into_iter() [INFO] [stdout] 742 | | .map(|n| n.utf8_text(text.as_bytes()).unwrap()) [INFO] [stdout] 743 | | .collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:768:17 [INFO] [stdout] | [INFO] [stdout] 767 | .map(|m| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 768 | / m.env [INFO] [stdout] 769 | | .0 [INFO] [stdout] 770 | | .into_iter() [INFO] [stdout] 771 | | .map(|(k, v)| { [INFO] [stdout] ... | [INFO] [stdout] 777 | | ) [INFO] [stdout] 778 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pattern.rs:774:29 [INFO] [stdout] | [INFO] [stdout] 771 | .map(|(k, v)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 774 | / v.iter() [INFO] [stdout] 775 | | .map(|n| n.utf8_text(text.as_bytes()).unwrap()) [INFO] [stdout] 776 | | .collect(), [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 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mogglo` (lib test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "4250826b1c5c8fe3a0f819c0cb827587d8e1ab55a042852a3c5cc2d5f5eb67f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4250826b1c5c8fe3a0f819c0cb827587d8e1ab55a042852a3c5cc2d5f5eb67f0", kill_on_drop: false }` [INFO] [stdout] 4250826b1c5c8fe3a0f819c0cb827587d8e1ab55a042852a3c5cc2d5f5eb67f0