[INFO] fetching crate stylance-core 0.5.1... [INFO] checking stylance-core-0.5.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate stylance-core 0.5.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate stylance-core 0.5.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 stylance-core 0.5.1 [INFO] finished tweaking crates.io crate stylance-core 0.5.1 [INFO] tweaked toml for crates.io crate stylance-core 0.5.1 written to /workspace/builds/worker-7-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 22 packages to latest compatible versions [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.18) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d1471584f680eea1125cbb875ef3ce7159a4ada3a4fe75de081f5864457eb237 [INFO] running `Command { std: "docker" "start" "-a" "d1471584f680eea1125cbb875ef3ce7159a4ada3a4fe75de081f5864457eb237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1471584f680eea1125cbb875ef3ce7159a4ada3a4fe75de081f5864457eb237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1471584f680eea1125cbb875ef3ce7159a4ada3a4fe75de081f5864457eb237", kill_on_drop: false }` [INFO] [stdout] d1471584f680eea1125cbb875ef3ce7159a4ada3a4fe75de081f5864457eb237 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] bf696df3ead0ee5dc545e4aad01b4cd66510d0cd5884eae4cee6cf5ed446a9aa [INFO] running `Command { std: "docker" "start" "-a" "bf696df3ead0ee5dc545e4aad01b4cd66510d0cd5884eae4cee6cf5ed446a9aa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking stylance-core v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `winnow::combinator::fold_repeat`: Replaced with `repeat(...).fold(...)` [INFO] [stdout] --> src/parse.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | combinator::{alt, cut_err, delimited, fold_repeat, opt, peek, preceded, terminated}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::token::tag`: Replaced with `literal` [INFO] [stdout] --> src/parse.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | token::{none_of, one_of, tag, take_till, take_until0, take_while}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::token::take_until0`: Replaced with `take_until` [INFO] [stdout] --> src/parse.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | token::{none_of, one_of, tag, take_till, take_until0, take_while}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::combinator::fold_repeat`: Replaced with `repeat(...).fold(...)` [INFO] [stdout] --> src/parse.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | fold_repeat(range, f, || (), |_, _| ()).recognize() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::token::take_until0`: Replaced with `take_until` [INFO] [stdout] --> src/parse.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | ("/*", cut_err(terminated(take_until0("*/"), "*/"))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::token::tag`: Replaced with `literal` [INFO] [stdout] --> src/parse.rs:98:48 [INFO] [stdout] | [INFO] [stdout] 98 | let str_char = alt((none_of(['"']).void(), tag("\\\"").void())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::token::tag`: Replaced with `literal` [INFO] [stdout] --> src/parse.rs:105:49 [INFO] [stdout] | [INFO] [stdout] 105 | let str_char = alt((none_of(['\'']).void(), tag("\\'").void())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::combinator::fold_repeat`: Replaced with `repeat(...).fold(...)` [INFO] [stdout] --> src/parse.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | fold_repeat( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::combinator::fold_repeat`: Replaced with `repeat(...).fold(...)` [INFO] [stdout] --> src/parse.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | fold_repeat( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::combinator::fold_repeat`: Replaced with `repeat(...).fold(...)` [INFO] [stdout] --> src/parse.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | combinator::{alt, cut_err, delimited, fold_repeat, opt, peek, preceded, terminated}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::token::tag`: Replaced with `literal` [INFO] [stdout] --> src/parse.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | token::{none_of, one_of, tag, take_till, take_until0, take_while}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::token::take_until0`: Replaced with `take_until` [INFO] [stdout] --> src/parse.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | token::{none_of, one_of, tag, take_till, take_until0, take_while}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::combinator::fold_repeat`: Replaced with `repeat(...).fold(...)` [INFO] [stdout] --> src/parse.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | fold_repeat(range, f, || (), |_, _| ()).recognize() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::token::take_until0`: Replaced with `take_until` [INFO] [stdout] --> src/parse.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | ("/*", cut_err(terminated(take_until0("*/"), "*/"))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::token::tag`: Replaced with `literal` [INFO] [stdout] --> src/parse.rs:98:48 [INFO] [stdout] | [INFO] [stdout] 98 | let str_char = alt((none_of(['"']).void(), tag("\\\"").void())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::token::tag`: Replaced with `literal` [INFO] [stdout] --> src/parse.rs:105:49 [INFO] [stdout] | [INFO] [stdout] 105 | let str_char = alt((none_of(['\'']).void(), tag("\\'").void())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::combinator::fold_repeat`: Replaced with `repeat(...).fold(...)` [INFO] [stdout] --> src/parse.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | fold_repeat( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::combinator::fold_repeat`: Replaced with `repeat(...).fold(...)` [INFO] [stdout] --> src/parse.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | fold_repeat( [INFO] [stdout] | ^^^^^^^^^^^ [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/class_name_pattern.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 40 | fn deserialize(deserializer: D) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | match parse::parse_pattern(&s) { [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] = 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/parse.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 31 | range: impl Into, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | f: impl Parser<&'s str, O, ContextError>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | ) -> impl Parser<&'s str, &'s str, ContextError> { [INFO] [stdout] 34 | fold_repeat(range, f, || (), |_, _| ()).recognize() [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/parse.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 98 | let str_char = alt((none_of(['"']).void(), tag("\\\"").void())); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let str_chars = recognize_repeat(0.., str_char); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | [INFO] [stdout] 101 | preceded('"', cut_err(terminated(str_chars, '"'))).parse_next(input) [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/parse.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 105 | let str_char = alt((none_of(['\'']).void(), tag("\\'").void())); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | let str_chars = recognize_repeat(0.., str_char); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | [INFO] [stdout] 108 | preceded('\'', cut_err(terminated(str_chars, '\''))).parse_next(input) [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/parse.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 118 | range: impl Into, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | list: impl ContainsToken, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | / alt(( [INFO] [stdout] 124 | | string.void(), [INFO] [stdout] 125 | | block_comment.void(), [INFO] [stdout] 126 | | line_comment.void(), [INFO] [stdout] ... | [INFO] [stdout] 130 | | take_till(1.., ('\'', '"', '/', '#', list)).void(), [INFO] [stdout] 131 | | )), [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/parse.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 170 | let content = alt(( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | delimited(ws, content, ws).parse_next(input) [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 6 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stylance-core` (lib) due to 7 previous errors; 9 warnings emitted [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/class_name_pattern.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 40 | fn deserialize(deserializer: D) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | match parse::parse_pattern(&s) { [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] = 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/parse.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 31 | range: impl Into, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | f: impl Parser<&'s str, O, ContextError>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | ) -> impl Parser<&'s str, &'s str, ContextError> { [INFO] [stdout] 34 | fold_repeat(range, f, || (), |_, _| ()).recognize() [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/parse.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 98 | let str_char = alt((none_of(['"']).void(), tag("\\\"").void())); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let str_chars = recognize_repeat(0.., str_char); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | [INFO] [stdout] 101 | preceded('"', cut_err(terminated(str_chars, '"'))).parse_next(input) [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/parse.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 105 | let str_char = alt((none_of(['\'']).void(), tag("\\'").void())); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | let str_chars = recognize_repeat(0.., str_char); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | [INFO] [stdout] 108 | preceded('\'', cut_err(terminated(str_chars, '\''))).parse_next(input) [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/parse.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 118 | range: impl Into, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | list: impl ContainsToken, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | / alt(( [INFO] [stdout] 124 | | string.void(), [INFO] [stdout] 125 | | block_comment.void(), [INFO] [stdout] 126 | | line_comment.void(), [INFO] [stdout] ... | [INFO] [stdout] 130 | | take_till(1.., ('\'', '"', '/', '#', list)).void(), [INFO] [stdout] 131 | | )), [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/parse.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 170 | let content = alt(( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | delimited(ws, content, ws).parse_next(input) [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 6 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stylance-core` (lib test) due to 7 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bf696df3ead0ee5dc545e4aad01b4cd66510d0cd5884eae4cee6cf5ed446a9aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf696df3ead0ee5dc545e4aad01b4cd66510d0cd5884eae4cee6cf5ed446a9aa", kill_on_drop: false }` [INFO] [stdout] bf696df3ead0ee5dc545e4aad01b4cd66510d0cd5884eae4cee6cf5ed446a9aa