[INFO] fetching crate ttrpc-codegen 0.2.4... [INFO] checking ttrpc-codegen-0.2.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ttrpc-codegen 0.2.4 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate ttrpc-codegen 0.2.4 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 ttrpc-codegen 0.2.4 [INFO] finished tweaking crates.io crate ttrpc-codegen 0.2.4 [INFO] tweaked toml for crates.io crate ttrpc-codegen 0.2.4 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 49 packages to latest compatible versions [INFO] [stderr] Adding derive-new v0.5.9 (latest: v0.7.0) [INFO] [stderr] Adding fixedbitset v0.2.0 (latest: v0.5.7) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding multimap v0.8.3 (latest: v0.10.0) [INFO] [stderr] Adding petgraph v0.5.1 (latest: v0.6.5) [INFO] [stderr] Adding prost v0.8.0 (latest: v0.13.2) [INFO] [stderr] Adding prost-build v0.8.0 (latest: v0.13.2) [INFO] [stderr] Adding prost-derive v0.8.0 (latest: v0.13.2) [INFO] [stderr] Adding prost-types v0.8.0 (latest: v0.13.2) [INFO] [stderr] Adding protobuf v2.28.0 (latest: v3.5.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding ttrpc-compiler v0.4.4 (latest: v0.6.2) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.3) [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] 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] a9973d7e776097737ba971e894e661bcbbfa5de2dae58b2ec41507baa9970ae5 [INFO] running `Command { std: "docker" "start" "-a" "a9973d7e776097737ba971e894e661bcbbfa5de2dae58b2ec41507baa9970ae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9973d7e776097737ba971e894e661bcbbfa5de2dae58b2ec41507baa9970ae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9973d7e776097737ba971e894e661bcbbfa5de2dae58b2ec41507baa9970ae5", kill_on_drop: false }` [INFO] [stdout] a9973d7e776097737ba971e894e661bcbbfa5de2dae58b2ec41507baa9970ae5 [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] 7d6e2eda3467d9a3efd7b5ea425b0c84e3ae86fa4f2c134bc80f9f81111a9f4b [INFO] running `Command { std: "docker" "start" "-a" "7d6e2eda3467d9a3efd7b5ea425b0c84e3ae86fa4f2c134bc80f9f81111a9f4b", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking multimap v0.8.3 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling prost-build v0.8.0 [INFO] [stderr] Checking protobuf-codegen3 v2.28.2 [INFO] [stderr] Checking prost v0.8.0 [INFO] [stderr] Checking protobuf-codegen-pure3 v2.28.2 [INFO] [stderr] Checking prost-types v0.8.0 [INFO] [stderr] Checking ttrpc-compiler v0.4.4 [INFO] [stderr] Checking ttrpc-codegen v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | ParserErrorWithLocation(parser::ParserErrorWithLocation), [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CodegenError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 162 | ParserErrorWithLocation(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | ConvertError(convert::ConvertError), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CodegenError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 163 | ConvertError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/convert.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | UnsupportedOption(String), [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | UnsupportedOption(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/convert.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | ExtensionNotFound(String), [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | ExtensionNotFound(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/convert.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | WrongExtensionType(String, &'static str), [INFO] [stdout] | ------------------ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 15 | WrongExtensionType((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/convert.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | UnsupportedExtensionType(String, String), [INFO] [stdout] | ------------------------ ^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 16 | UnsupportedExtensionType((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reserved_nums` and `reserved_names` are never read [INFO] [stdout] --> src/model.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 166 | pub reserved_nums: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 167 | /// Message reserved names [INFO] [stdout] 168 | pub reserved_names: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | ExpectChar(char), [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 43 | ExpectChar(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | ExpectNamedIdent(String), [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 | ExpectNamedIdent(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotUtf8` is never constructed [INFO] [stdout] --> src/parser.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum ParserError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 42 | NotUtf8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error`, `line`, and `col` are never read [INFO] [stdout] --> src/parser.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ParserErrorWithLocation { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 64 | pub error: ParserError, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 65 | /// 1-based [INFO] [stdout] 66 | pub line: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | /// 1-based [INFO] [stdout] 68 | pub col: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserErrorWithLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToU8` is never used [INFO] [stdout] --> src/parser.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | trait ToU8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToChar` is never used [INFO] [stdout] --> src/parser.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | trait ToChar { [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/lib.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 334 | let mut run = Run { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | let file_descriptors: Vec<_> = run [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 351 | Ok(ParsedAndTypechecked { [INFO] [stdout] | ________^ [INFO] [stdout] 352 | | relative_paths, [INFO] [stdout] 353 | | file_descriptors, [INFO] [stdout] 354 | | }) [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/model.rs:296:15 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn parse>(file: S) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | let mut parser = Parser::new(file.as_ref()); [INFO] [stdout] 296 | match parser.next_proto() { [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:872:12 [INFO] [stdout] | [INFO] [stdout] 859 | fn next_token_if_map(&mut self, p: P) -> ParserResult> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 864 | let v = match self.next_token { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 865 | Some(ref token) => match p(&token.token) { [INFO] [stdout] 866 | Some(v) => v, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 872 | Ok(Some(v)) [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:892:32 [INFO] [stdout] | [INFO] [stdout] 888 | fn next_token_if

(&mut self, p: P) -> ParserResult> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 892 | self.next_token_if_map(|token| if p(token) { Some(token.clone()) } else { 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] --> src/parser.rs:1838:12 [INFO] [stdout] | [INFO] [stdout] 1789 | let mut messages = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1790 | let mut enums = Vec::new(); [INFO] [stdout] 1791 | let mut extensions = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1838 | Ok(FileDescriptor { [INFO] [stdout] | ____________^ [INFO] [stdout] 1839 | | import_paths, [INFO] [stdout] 1840 | | package, [INFO] [stdout] 1841 | | syntax, [INFO] [stdout] ... | [INFO] [stdout] 1846 | | options, [INFO] [stdout] 1847 | | }) [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 5 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ttrpc-codegen` (lib) due to 6 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | ParserErrorWithLocation(parser::ParserErrorWithLocation), [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CodegenError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 162 | ParserErrorWithLocation(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | ConvertError(convert::ConvertError), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CodegenError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 163 | ConvertError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/convert.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | UnsupportedOption(String), [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | UnsupportedOption(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/convert.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | ExtensionNotFound(String), [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | ExtensionNotFound(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/convert.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | WrongExtensionType(String, &'static str), [INFO] [stdout] | ------------------ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 15 | WrongExtensionType((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/convert.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | UnsupportedExtensionType(String, String), [INFO] [stdout] | ------------------------ ^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 16 | UnsupportedExtensionType((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | ExpectChar(char), [INFO] [stdout] | ---------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 43 | ExpectChar(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | ExpectNamedIdent(String), [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 | ExpectNamedIdent(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotUtf8` is never constructed [INFO] [stdout] --> src/parser.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum ParserError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 42 | NotUtf8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error` and `col` are never read [INFO] [stdout] --> src/parser.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ParserErrorWithLocation { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 64 | pub error: ParserError, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub col: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserErrorWithLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToU8` is never used [INFO] [stdout] --> src/parser.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | trait ToU8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ToChar` is never used [INFO] [stdout] --> src/parser.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | trait ToChar { [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/lib.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 334 | let mut run = Run { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | let file_descriptors: Vec<_> = run [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 351 | Ok(ParsedAndTypechecked { [INFO] [stdout] | ________^ [INFO] [stdout] 352 | | relative_paths, [INFO] [stdout] 353 | | file_descriptors, [INFO] [stdout] 354 | | }) [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/model.rs:296:15 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn parse>(file: S) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | let mut parser = Parser::new(file.as_ref()); [INFO] [stdout] 296 | match parser.next_proto() { [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:872:12 [INFO] [stdout] | [INFO] [stdout] 859 | fn next_token_if_map(&mut self, p: P) -> ParserResult> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 864 | let v = match self.next_token { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 865 | Some(ref token) => match p(&token.token) { [INFO] [stdout] 866 | Some(v) => v, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 872 | Ok(Some(v)) [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:892:32 [INFO] [stdout] | [INFO] [stdout] 888 | fn next_token_if

(&mut self, p: P) -> ParserResult> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 892 | self.next_token_if_map(|token| if p(token) { Some(token.clone()) } else { 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] --> src/parser.rs:1838:12 [INFO] [stdout] | [INFO] [stdout] 1789 | let mut messages = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1790 | let mut enums = Vec::new(); [INFO] [stdout] 1791 | let mut extensions = Vec::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1838 | Ok(FileDescriptor { [INFO] [stdout] | ____________^ [INFO] [stdout] 1839 | | import_paths, [INFO] [stdout] 1840 | | package, [INFO] [stdout] 1841 | | syntax, [INFO] [stdout] ... | [INFO] [stdout] 1846 | | options, [INFO] [stdout] 1847 | | }) [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 5 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ttrpc-codegen` (lib test) due to 6 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7d6e2eda3467d9a3efd7b5ea425b0c84e3ae86fa4f2c134bc80f9f81111a9f4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d6e2eda3467d9a3efd7b5ea425b0c84e3ae86fa4f2c134bc80f9f81111a9f4b", kill_on_drop: false }` [INFO] [stdout] 7d6e2eda3467d9a3efd7b5ea425b0c84e3ae86fa4f2c134bc80f9f81111a9f4b