[INFO] cloning repository https://github.com/SReichelt/slate2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SReichelt/slate2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSReichelt%2Fslate2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSReichelt%2Fslate2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c83e67ee44deaad52f647b33745320eacdb4bf9 [INFO] checking SReichelt/slate2/1c83e67ee44deaad52f647b33745320eacdb4bf9 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSReichelt%2Fslate2" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SReichelt/slate2 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 git repo https://github.com/SReichelt/slate2 [INFO] finished tweaking git repo https://github.com/SReichelt/slate2 [INFO] tweaked toml for git repo https://github.com/SReichelt/slate2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SReichelt/slate2 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c45e982a1e78b80157342c02b998b5655ee88e10064f9c089e9a3e7beae432bd [INFO] running `Command { std: "docker" "start" "-a" "c45e982a1e78b80157342c02b998b5655ee88e10064f9c089e9a3e7beae432bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c45e982a1e78b80157342c02b998b5655ee88e10064f9c089e9a3e7beae432bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c45e982a1e78b80157342c02b998b5655ee88e10064f9c089e9a3e7beae432bd", kill_on_drop: false }` [INFO] [stdout] c45e982a1e78b80157342c02b998b5655ee88e10064f9c089e9a3e7beae432bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8998909d266b4092c24f2bcdb4803ff0e974cf01f3b0998a48e961f0224b2ec6 [INFO] running `Command { std: "docker" "start" "-a" "8998909d266b4092c24f2bcdb4803ff0e974cf01f3b0998a48e961f0224b2ec6", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking nonminmax v0.1.2 (https://github.com/stijnh/nonminmax.git#af702586) [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking lang-def v0.1.0 (https://github.com/SReichelt/lang-tools.git#91e0fd93) [INFO] [stderr] Checking lang-test v0.1.0 (https://github.com/SReichelt/lang-tools.git#91e0fd93) [INFO] [stderr] Compiling lang-def-derive v0.1.0 (https://github.com/SReichelt/lang-tools.git#91e0fd93) [INFO] [stderr] Checking slate-lang-def v0.1.0 (/opt/rustwide/workdir/lang_def) [INFO] [stdout] warning: fields `headers` and `parameterizations` are never read [INFO] [stdout] --> lang_def/src/parser/layer3_parameter_identifier.rs:1728:9 [INFO] [stdout] | [INFO] [stdout] 1727 | Referenced { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 1728 | headers: SmallVec<[&'b SectionHeader<'a, Pos>; MAX_EXPECTED_SECTION_DEPTH]>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1729 | parameterizations: &'b [WithSpan, Pos>], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:265:26 [INFO] [stdout] | [INFO] [stdout] 253 | .flat_map(|group_info| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | let parameterizations: Vec> = group_info [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | .map(move |notation| NotationInfo { [INFO] [stdout] | __________________________^ [INFO] [stdout] 266 | | parameterizations: parameterizations.clone(), [INFO] [stdout] 267 | | notation: (**notation).clone(), [INFO] [stdout] 268 | | }) [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:266:44 [INFO] [stdout] | [INFO] [stdout] 254 | let parameterizations: Vec> = group_info [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 266 | parameterizations: parameterizations.clone(), [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:267:35 [INFO] [stdout] | [INFO] [stdout] 254 | let parameterizations: Vec> = group_info [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 267 | notation: (**notation).clone(), [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:485:15 [INFO] [stdout] | [INFO] [stdout] 473 | let (item_header, finished) = Self::parse_section_item_header( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 482 | let Some(item_header) = item_header else { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 485 | match item_header.into_inner() { [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 592 | let start_token = Self::parse_token_tree(interface, data_kind, at_expr_start).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 600 | let mut span = start_token.span(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 601 | let mut tokens = vec![start_token]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 623 | let mut prefixes = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 624 | for token in tokens.into_iter().step_by(2) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 625 | if let Some(prefix) = Self::create_prefix_notation_expr( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 647 | let Some(token) = Self::parse_token_tree(interface, data_kind, at_expr_start) else { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 684 | / Some(WithSpan::new( [INFO] [stdout] 685 | | SectionItemHeader::ParamGroup(Self::create_param_group( [INFO] [stdout] 686 | | interface, [INFO] [stdout] 687 | | tokens, [INFO] [stdout] ... | [INFO] [stdout] 693 | | span, [INFO] [stdout] 694 | | )), [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________| [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1039:23 [INFO] [stdout] | [INFO] [stdout] 985 | let mut expr_tokens = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1039 | (expr_tokens, None) [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1208:23 [INFO] [stdout] | [INFO] [stdout] 1187 | let mut notation = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1188 | let mut data = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1189 | [INFO] [stdout] 1190 | let mut token_iter = tokens.drain(..); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1208 | notation: Self::create_notation(interface, &mut notation, &None, notation_ctx, scope), [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1275:14 [INFO] [stdout] | [INFO] [stdout] 1232 | let span = (tokens.first().unwrap()..tokens.last().unwrap()).span(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1235 | let mut prefixes = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1264 | let expr = Self::create_notation_expr(interface, tokens, notation_ctx)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1275 | Some(WithSpan::new(Notation { prefixes, expr }, span)) [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1402:15 [INFO] [stdout] | [INFO] [stdout] 1398 | token: WithSpan, Pos>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1401 | let span = token.span(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1402 | match token.into_inner() { [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1513:14 [INFO] [stdout] | [INFO] [stdout] 1497 | token: WithSpan, Pos>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1501 | let span = token.span(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1502 | let expr = if matches!( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1506 | let TokenTree::Paren(_, mut inner) = token.into_inner() else { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1513 | Some(WithSpan::new(expr, span)) [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1774:13 [INFO] [stdout] | [INFO] [stdout] 1771 | f: impl FnOnce(&Self) -> R, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1774 | / ParamGroupIter::new(items).flat_map(|group_info| { [INFO] [stdout] 1775 | | group_info [INFO] [stdout] 1776 | | .param_group [INFO] [stdout] 1777 | | .param_notations [INFO] [stdout] ... | [INFO] [stdout] 1784 | | }) [INFO] [stdout] 1785 | | }), [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1779:26 [INFO] [stdout] | [INFO] [stdout] 1774 | ParamGroupIter::new(items).flat_map(|group_info| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1779 | .map(move |notation| NotationContextItem::Referenced { [INFO] [stdout] | __________________________^ [INFO] [stdout] 1780 | | headers: group_info.headers.clone(), [INFO] [stdout] 1781 | | parameterizations: group_info.parameterizations, [INFO] [stdout] 1782 | | notation, [INFO] [stdout] 1783 | | scope, [INFO] [stdout] 1784 | | }) [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1780:34 [INFO] [stdout] | [INFO] [stdout] 1774 | ParamGroupIter::new(items).flat_map(|group_info| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1780 | headers: group_info.headers.clone(), [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1810:30 [INFO] [stdout] | [INFO] [stdout] 1810 | headers: SmallVec::new(), [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `slate-lang-def` (lib) due to 15 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `headers` and `parameterizations` are never read [INFO] [stdout] --> lang_def/src/parser/layer3_parameter_identifier.rs:1728:9 [INFO] [stdout] | [INFO] [stdout] 1727 | Referenced { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 1728 | headers: SmallVec<[&'b SectionHeader<'a, Pos>; MAX_EXPECTED_SECTION_DEPTH]>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1729 | parameterizations: &'b [WithSpan, Pos>], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] --> lang_def/src/parser/layer1_tokenizer.rs:627:13 [INFO] [stdout] | [INFO] [stdout] 625 | fn block_comment(content: ExpectedFragmentContent) -> ExpectedFragment { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 626 | ( [INFO] [stdout] 627 | / ExpectedFragmentContent::WithDesc( [INFO] [stdout] 628 | | Box::new(block_comment_content(content)), [INFO] [stdout] 629 | | SpanDesc::Comment, [INFO] [stdout] 630 | | ), [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] --> lang_def/src/parser/layer1_tokenizer.rs:651:13 [INFO] [stdout] | [INFO] [stdout] 649 | fn unterminated_block_comment(content: ExpectedFragmentContent) -> ExpectedFragment { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 650 | ( [INFO] [stdout] 651 | / ExpectedFragmentContent::WithDiag( [INFO] [stdout] 652 | | Box::new(ExpectedFragmentContent::WithDesc( [INFO] [stdout] 653 | | Box::new(unterminated_block_comment_content(content)), [INFO] [stdout] 654 | | SpanDesc::Comment, [INFO] [stdout] ... | [INFO] [stdout] 659 | | ), [INFO] [stdout] 660 | | ), [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] --> lang_def/src/parser/layer1_tokenizer.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 681 | fn line_comment(content: ExpectedFragmentContent) -> ExpectedFragment { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 682 | ( [INFO] [stdout] 683 | / ExpectedFragmentContent::WithDesc( [INFO] [stdout] 684 | | Box::new(line_comment_content(content)), [INFO] [stdout] 685 | | SpanDesc::Comment, [INFO] [stdout] 686 | | ), [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:265:26 [INFO] [stdout] | [INFO] [stdout] 253 | .flat_map(|group_info| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | let parameterizations: Vec> = group_info [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | .map(move |notation| NotationInfo { [INFO] [stdout] | __________________________^ [INFO] [stdout] 266 | | parameterizations: parameterizations.clone(), [INFO] [stdout] 267 | | notation: (**notation).clone(), [INFO] [stdout] 268 | | }) [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:266:44 [INFO] [stdout] | [INFO] [stdout] 254 | let parameterizations: Vec> = group_info [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 266 | parameterizations: parameterizations.clone(), [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:267:35 [INFO] [stdout] | [INFO] [stdout] 254 | let parameterizations: Vec> = group_info [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 267 | notation: (**notation).clone(), [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:485:15 [INFO] [stdout] | [INFO] [stdout] 473 | let (item_header, finished) = Self::parse_section_item_header( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 482 | let Some(item_header) = item_header else { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 485 | match item_header.into_inner() { [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 592 | let start_token = Self::parse_token_tree(interface, data_kind, at_expr_start).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 600 | let mut span = start_token.span(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 601 | let mut tokens = vec![start_token]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 623 | let mut prefixes = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 624 | for token in tokens.into_iter().step_by(2) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 625 | if let Some(prefix) = Self::create_prefix_notation_expr( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 647 | let Some(token) = Self::parse_token_tree(interface, data_kind, at_expr_start) else { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 684 | / Some(WithSpan::new( [INFO] [stdout] 685 | | SectionItemHeader::ParamGroup(Self::create_param_group( [INFO] [stdout] 686 | | interface, [INFO] [stdout] 687 | | tokens, [INFO] [stdout] ... | [INFO] [stdout] 693 | | span, [INFO] [stdout] 694 | | )), [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______________| [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1039:23 [INFO] [stdout] | [INFO] [stdout] 985 | let mut expr_tokens = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1039 | (expr_tokens, None) [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1208:23 [INFO] [stdout] | [INFO] [stdout] 1187 | let mut notation = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1188 | let mut data = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1189 | [INFO] [stdout] 1190 | let mut token_iter = tokens.drain(..); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1208 | notation: Self::create_notation(interface, &mut notation, &None, notation_ctx, scope), [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1275:14 [INFO] [stdout] | [INFO] [stdout] 1232 | let span = (tokens.first().unwrap()..tokens.last().unwrap()).span(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1235 | let mut prefixes = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1264 | let expr = Self::create_notation_expr(interface, tokens, notation_ctx)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1275 | Some(WithSpan::new(Notation { prefixes, expr }, span)) [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1402:15 [INFO] [stdout] | [INFO] [stdout] 1398 | token: WithSpan, Pos>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1401 | let span = token.span(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1402 | match token.into_inner() { [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1513:14 [INFO] [stdout] | [INFO] [stdout] 1497 | token: WithSpan, Pos>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1501 | let span = token.span(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1502 | let expr = if matches!( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1506 | let TokenTree::Paren(_, mut inner) = token.into_inner() else { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1513 | Some(WithSpan::new(expr, span)) [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1774:13 [INFO] [stdout] | [INFO] [stdout] 1771 | f: impl FnOnce(&Self) -> R, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1774 | / ParamGroupIter::new(items).flat_map(|group_info| { [INFO] [stdout] 1775 | | group_info [INFO] [stdout] 1776 | | .param_group [INFO] [stdout] 1777 | | .param_notations [INFO] [stdout] ... | [INFO] [stdout] 1784 | | }) [INFO] [stdout] 1785 | | }), [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1779:26 [INFO] [stdout] | [INFO] [stdout] 1774 | ParamGroupIter::new(items).flat_map(|group_info| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1779 | .map(move |notation| NotationContextItem::Referenced { [INFO] [stdout] | __________________________^ [INFO] [stdout] 1780 | | headers: group_info.headers.clone(), [INFO] [stdout] 1781 | | parameterizations: group_info.parameterizations, [INFO] [stdout] 1782 | | notation, [INFO] [stdout] 1783 | | scope, [INFO] [stdout] 1784 | | }) [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1780:34 [INFO] [stdout] | [INFO] [stdout] 1774 | ParamGroupIter::new(items).flat_map(|group_info| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1780 | headers: group_info.headers.clone(), [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] --> lang_def/src/parser/layer3_parameter_identifier.rs:1810:30 [INFO] [stdout] | [INFO] [stdout] 1810 | headers: SmallVec::new(), [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 17 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `slate-lang-def` (lib test) due to 18 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "8998909d266b4092c24f2bcdb4803ff0e974cf01f3b0998a48e961f0224b2ec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8998909d266b4092c24f2bcdb4803ff0e974cf01f3b0998a48e961f0224b2ec6", kill_on_drop: false }` [INFO] [stdout] 8998909d266b4092c24f2bcdb4803ff0e974cf01f3b0998a48e961f0224b2ec6