[INFO] fetching crate protokit_proto 0.2.0... [INFO] checking protokit_proto-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate protokit_proto 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate protokit_proto 0.2.0 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 protokit_proto 0.2.0 [INFO] finished tweaking crates.io crate protokit_proto 0.2.0 [INFO] tweaked toml for crates.io crate protokit_proto 0.2.0 written to /workspace/builds/worker-4-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 84 packages to latest compatible versions [INFO] [stderr] Adding joinery v2.1.0 (latest: v3.1.0) [INFO] [stderr] Adding logos v0.13.0 (latest: v0.14.1) [INFO] [stderr] Adding logos-codegen v0.13.0 (latest: v0.14.1) [INFO] [stderr] Adding logos-derive v0.13.0 (latest: v0.14.1) [INFO] [stderr] Adding miette v5.10.0 (latest: v7.2.0) [INFO] [stderr] Adding miette-derive v5.10.0 (latest: v7.2.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.1) [INFO] [stderr] Adding owo-colors v3.5.0 (latest: v4.0.0) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.4) [INFO] [stderr] Adding supports-color v2.1.0 (latest: v3.0.0) [INFO] [stderr] Adding supports-hyperlinks v2.1.0 (latest: v3.0.0) [INFO] [stderr] Adding supports-unicode v2.1.0 (latest: v3.0.0) [INFO] [stderr] Adding terminal_size v0.1.17 (latest: v0.3.0) [INFO] [stderr] Adding textwrap v0.15.2 (latest: v0.16.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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] [stderr] Blocking waiting for file lock on package cache [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] ec1005b95507eebe83f14c2012c375eb1f171e5415d7921a244369f1e7d12419 [INFO] running `Command { std: "docker" "start" "-a" "ec1005b95507eebe83f14c2012c375eb1f171e5415d7921a244369f1e7d12419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec1005b95507eebe83f14c2012c375eb1f171e5415d7921a244369f1e7d12419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec1005b95507eebe83f14c2012c375eb1f171e5415d7921a244369f1e7d12419", kill_on_drop: false }` [INFO] [stdout] ec1005b95507eebe83f14c2012c375eb1f171e5415d7921a244369f1e7d12419 [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] 491988a3090576a341dda60114d55f08fe18549fd01dd95736cacedaed58a8b7 [INFO] running `Command { std: "docker" "start" "-a" "491988a3090576a341dda60114d55f08fe18549fd01dd95736cacedaed58a8b7", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking joinery v2.1.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking arcstr v1.2.0 [INFO] [stderr] Checking supports-hyperlinks v2.1.0 [INFO] [stderr] Checking supports-color v2.1.0 [INFO] [stderr] Checking supports-unicode v2.1.0 [INFO] [stderr] Checking brownstone v3.0.0 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking textwrap v0.15.2 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking nom-supreme v0.8.0 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling protokit_derive v0.2.0 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking protokit_binformat v0.2.0 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking protokit_textformat v0.2.0 [INFO] [stderr] Checking protokit_desc v0.2.0 [INFO] [stderr] Checking protokit_proto v0.2.0 (/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/parser.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 77 | fn determined<'i, I, O, II, OI>(mut first: I, mut second: O) -> impl FnMut(Span<'i>) -> IResult [INFO] [stdout] | ----- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | cut(&mut second)(i) [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/parser.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 90 | fn prefixed<'i, P, R>(s: &'static str, parser: P) -> impl FnMut(Span<'i>) -> IResult [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | determined(ws(tag(s)), context(s, parser)) [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/parser.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 90 | fn prefixed<'i, P, R>(s: &'static str, parser: P) -> impl FnMut(Span<'i>) -> IResult [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | determined(ws(tag(s)), context(s, parser)) [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/parser.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 154 | let a = recognize(tuple((decimal_lit, tag("."), opt(exponent), decimal_lit))); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | [INFO] [stdout] 156 | let b = recognize(tuple((decimal_lit, exponent))); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | [INFO] [stdout] 158 | let c = recognize(tuple((tag("."), decimal_lit, opt(exponent)))); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | [INFO] [stdout] 160 | let d = recognize(alt((tag("inf"), tag("nan")))); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | [INFO] [stdout] 162 | map_res(alt((a, b, c, d)), |v| v.parse())(i) [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/parser.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 170 | let char_escape = recognize(one_of("abfnrtv\\'\"0?")); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | let oct_escape = recognize(tuple((oct_digit, oct_digit, oct_digit))); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | let hex_escape = recognize(tuple((one_of("xX"), hex_digit, hex_digit))); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | [INFO] [stdout] 174 | alt((oct_escape, hex_escape, char_escape))(i) [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/parser.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 178 | let normal = none_of("\\\0\n\""); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | let contents = recognize(opt(escaped(normal, '\\', escape_contents))); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | delimited(char('"'), contents, char('"'))(i) [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/parser.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 194 | let ilit = map( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let flit = map( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | / alt(( [INFO] [stdout] 216 | | map(str_lit, |v| Const::Str(*v)), [INFO] [stdout] 217 | | map(bool_lit, Const::Bool), [INFO] [stdout] 218 | | map(recognize(full_ident), |v| Const::Ident(*v)), [INFO] [stdout] ... | [INFO] [stdout] 221 | | compound_constant, [INFO] [stdout] 222 | | ))(i) [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/parser.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 267 | let complex_paren = delimited(tag("("), full_ident, tag(")")); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 268 | let complex_field = opt(preceded(ws(tag(".")), ws(ident))); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | / alt(( [INFO] [stdout] 270 | | map(simple, |s| OptName { [INFO] [stdout] 271 | | name: s, [INFO] [stdout] 272 | | field_name: None, [INFO] [stdout] ... | [INFO] [stdout] 277 | | }), [INFO] [stdout] 278 | | ))(i) [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/parser.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 322 | let opts = separated_list1(tag(","), field_option); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 323 | delimited(ws(char('[')), opts, ws(char(']')))(i) [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/parser.rs:627:5 [INFO] [stdout] | [INFO] [stdout] 627 | / prefixed("group", move |i| { [INFO] [stdout] 628 | | let (i, name) = ws(ident)(i)?; [INFO] [stdout] 629 | | let (i, _) = ws(tag("="))(i)?; [INFO] [stdout] 630 | | let (i, number) = ws(field_num)(i)?; [INFO] [stdout] ... | [INFO] [stdout] 641 | | )) [INFO] [stdout] 642 | | })(i) [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] --> src/translate/mod.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 134 | fn error(&mut self, s: impl Into) -> io::Result<()> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | Err(io::Error::new(io::ErrorKind::Other, s)) [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/translate/fields.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 23 | let val_type = match &item.val_type { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | self.fields.insert(FieldDef { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 32 | | name: self.ctx.def.cache(*item.name), [INFO] [stdout] 33 | | frequency: Frequency::Singular, [INFO] [stdout] 34 | | typ: DataType::Map(Box::new((item.key_type, val_type))), [INFO] [stdout] ... | [INFO] [stdout] 38 | | ..Default::default() [INFO] [stdout] 39 | | }) [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/translate/fields.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 42 | let name = self.ctx.def.cache(*item.name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | self.fields.insert(FieldDef { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 44 | | name: name.clone(), [INFO] [stdout] 45 | | frequency: Default::default(), [INFO] [stdout] 46 | | typ: DataType::Unresolved(name, UnresolvedHint::Group), [INFO] [stdout] ... | [INFO] [stdout] 49 | | ..Default::default() [INFO] [stdout] 50 | | }) [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 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `protokit_proto` (lib test) due to 14 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/parser.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 77 | fn determined<'i, I, O, II, OI>(mut first: I, mut second: O) -> impl FnMut(Span<'i>) -> IResult [INFO] [stdout] | ----- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | cut(&mut second)(i) [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/parser.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 90 | fn prefixed<'i, P, R>(s: &'static str, parser: P) -> impl FnMut(Span<'i>) -> IResult [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | determined(ws(tag(s)), context(s, parser)) [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/parser.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 90 | fn prefixed<'i, P, R>(s: &'static str, parser: P) -> impl FnMut(Span<'i>) -> IResult [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | determined(ws(tag(s)), context(s, parser)) [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/parser.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 154 | let a = recognize(tuple((decimal_lit, tag("."), opt(exponent), decimal_lit))); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | [INFO] [stdout] 156 | let b = recognize(tuple((decimal_lit, exponent))); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | [INFO] [stdout] 158 | let c = recognize(tuple((tag("."), decimal_lit, opt(exponent)))); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | [INFO] [stdout] 160 | let d = recognize(alt((tag("inf"), tag("nan")))); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | [INFO] [stdout] 162 | map_res(alt((a, b, c, d)), |v| v.parse())(i) [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/parser.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 170 | let char_escape = recognize(one_of("abfnrtv\\'\"0?")); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | let oct_escape = recognize(tuple((oct_digit, oct_digit, oct_digit))); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | let hex_escape = recognize(tuple((one_of("xX"), hex_digit, hex_digit))); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | [INFO] [stdout] 174 | alt((oct_escape, hex_escape, char_escape))(i) [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/parser.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 178 | let normal = none_of("\\\0\n\""); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | let contents = recognize(opt(escaped(normal, '\\', escape_contents))); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | delimited(char('"'), contents, char('"'))(i) [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/parser.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 194 | let ilit = map( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let flit = map( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | / alt(( [INFO] [stdout] 216 | | map(str_lit, |v| Const::Str(*v)), [INFO] [stdout] 217 | | map(bool_lit, Const::Bool), [INFO] [stdout] 218 | | map(recognize(full_ident), |v| Const::Ident(*v)), [INFO] [stdout] ... | [INFO] [stdout] 221 | | compound_constant, [INFO] [stdout] 222 | | ))(i) [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/parser.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 267 | let complex_paren = delimited(tag("("), full_ident, tag(")")); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 268 | let complex_field = opt(preceded(ws(tag(".")), ws(ident))); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | / alt(( [INFO] [stdout] 270 | | map(simple, |s| OptName { [INFO] [stdout] 271 | | name: s, [INFO] [stdout] 272 | | field_name: None, [INFO] [stdout] ... | [INFO] [stdout] 277 | | }), [INFO] [stdout] 278 | | ))(i) [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/parser.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 322 | let opts = separated_list1(tag(","), field_option); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 323 | delimited(ws(char('[')), opts, ws(char(']')))(i) [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/parser.rs:627:5 [INFO] [stdout] | [INFO] [stdout] 627 | / prefixed("group", move |i| { [INFO] [stdout] 628 | | let (i, name) = ws(ident)(i)?; [INFO] [stdout] 629 | | let (i, _) = ws(tag("="))(i)?; [INFO] [stdout] 630 | | let (i, number) = ws(field_num)(i)?; [INFO] [stdout] ... | [INFO] [stdout] 641 | | )) [INFO] [stdout] 642 | | })(i) [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] --> src/translate/mod.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 134 | fn error(&mut self, s: impl Into) -> io::Result<()> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | Err(io::Error::new(io::ErrorKind::Other, s)) [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/translate/fields.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 23 | let val_type = match &item.val_type { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | self.fields.insert(FieldDef { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 32 | | name: self.ctx.def.cache(*item.name), [INFO] [stdout] 33 | | frequency: Frequency::Singular, [INFO] [stdout] 34 | | typ: DataType::Map(Box::new((item.key_type, val_type))), [INFO] [stdout] ... | [INFO] [stdout] 38 | | ..Default::default() [INFO] [stdout] 39 | | }) [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/translate/fields.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 42 | let name = self.ctx.def.cache(*item.name); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | self.fields.insert(FieldDef { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 44 | | name: name.clone(), [INFO] [stdout] 45 | | frequency: Default::default(), [INFO] [stdout] 46 | | typ: DataType::Unresolved(name, UnresolvedHint::Group), [INFO] [stdout] ... | [INFO] [stdout] 49 | | ..Default::default() [INFO] [stdout] 50 | | }) [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 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `protokit_proto` (lib) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "491988a3090576a341dda60114d55f08fe18549fd01dd95736cacedaed58a8b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "491988a3090576a341dda60114d55f08fe18549fd01dd95736cacedaed58a8b7", kill_on_drop: false }` [INFO] [stdout] 491988a3090576a341dda60114d55f08fe18549fd01dd95736cacedaed58a8b7