[INFO] fetching crate tower-web-macros 0.3.5... [INFO] checking tower-web-macros-0.3.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tower-web-macros 0.3.5 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate tower-web-macros 0.3.5 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 tower-web-macros 0.3.5 [INFO] finished tweaking crates.io crate tower-web-macros 0.3.5 [INFO] tweaked toml for crates.io crate tower-web-macros 0.3.5 written to /workspace/builds/worker-5-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 14 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.7.1) [INFO] [stderr] Adding http v0.1.21 (latest: v1.1.0) [INFO] [stderr] Adding itoa v0.4.8 (latest: v1.0.11) [INFO] [stderr] Adding proc-macro-hack v0.4.3 (latest: v0.5.20+deprecated) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.37) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.77) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.5) [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 19a95c000b390b6e8b1079e1af156f0d0fdf3a4b4a36fff5d8de84a0f99a9517 [INFO] running `Command { std: "docker" "start" "-a" "19a95c000b390b6e8b1079e1af156f0d0fdf3a4b4a36fff5d8de84a0f99a9517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19a95c000b390b6e8b1079e1af156f0d0fdf3a4b4a36fff5d8de84a0f99a9517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19a95c000b390b6e8b1079e1af156f0d0fdf3a4b4a36fff5d8de84a0f99a9517", kill_on_drop: false }` [INFO] [stdout] 19a95c000b390b6e8b1079e1af156f0d0fdf3a4b4a36fff5d8de84a0f99a9517 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1725ac8cefbd60ca69d70dffd916ec9022b17360b8296b423b837e5acc84a4f1 [INFO] running `Command { std: "docker" "start" "-a" "1725ac8cefbd60ca69d70dffd916ec9022b17360b8296b423b837e5acc84a4f1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking proc-macro2 v0.4.30 [INFO] [stderr] Checking proc-macro-hack v0.4.3 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tower-web-macros v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/derive/attr.rs:67:140 [INFO] [stdout] | [INFO] [stdout] 67 | ... return Err(format!("invalid struct level `template` annotation. The attribute must be formatted as:\n\n\ [INFO] [stdout] | ______________________________________________________________________________________________________________________________^ [INFO] [stdout] 68 | | ... [INFO] [stdout] 69 | | ... `#[web(template = \"foo\")]`\n\n\ [INFO] [stdout] | |__________________________________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/derive/attr.rs:67:140 [INFO] [stdout] | [INFO] [stdout] 67 | ... return Err(format!("invalid struct level `template` annotation. The attribute must be formatted as:\n\n\ [INFO] [stdout] | ______________________________________________________________________________________________________________________________^ [INFO] [stdout] 68 | | ... [INFO] [stdout] 69 | | ... `#[web(template = \"foo\")]`\n\n\ [INFO] [stdout] | |__________________________________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/derive/attr.rs:69:89 [INFO] [stdout] | [INFO] [stdout] 69 | ... `#[web(template = \"foo\")]`\n\n\ [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 70 | | ... [INFO] [stdout] 71 | | ... Actual: {}", actual.to_string())); [INFO] [stdout] | |______________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/derive/attr.rs:69:89 [INFO] [stdout] | [INFO] [stdout] 69 | ... `#[web(template = \"foo\")]`\n\n\ [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 70 | | ... [INFO] [stdout] 71 | | ... Actual: {}", actual.to_string())); [INFO] [stdout] | |______________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/derive/attr.rs:83:83 [INFO] [stdout] | [INFO] [stdout] 83 | ... the following formats:\n\n\ [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 84 | | ... [INFO] [stdout] 85 | | ... `#[web(status)]`\n\ [INFO] [stdout] | |______________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/derive/attr.rs:83:83 [INFO] [stdout] | [INFO] [stdout] 83 | ... the following formats:\n\n\ [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 84 | | ... [INFO] [stdout] 85 | | ... `#[web(status)]`\n\ [INFO] [stdout] | |______________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/derive/attr.rs:86:86 [INFO] [stdout] | [INFO] [stdout] 86 | ... `#[web(status = \"201\")]`\n\n\ [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 87 | | ... [INFO] [stdout] 88 | | ... Actual: {}", actual.to_string())); [INFO] [stdout] | |______________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/derive/attr.rs:86:86 [INFO] [stdout] | [INFO] [stdout] 86 | ... `#[web(status = \"201\")]`\n\n\ [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 87 | | ... [INFO] [stdout] 88 | | ... Actual: {}", actual.to_string())); [INFO] [stdout] | |______________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/derive/response.rs:536:99 [INFO] [stdout] | [INFO] [stdout] 536 | ... not supply a value. The form must be:\n\n\ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 537 | | ... [INFO] [stdout] 538 | | ... `#[web(status)]`\n\n\ [INFO] [stdout] | |______________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/derive/response.rs:538:78 [INFO] [stdout] | [INFO] [stdout] 538 | ... `#[web(status)]`\n\n\ [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 539 | | ... [INFO] [stdout] 540 | | ... Actual: {}", attr.source.into_token_stream().to_string())); [INFO] [stdout] | |______________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/derive/response.rs:536:99 [INFO] [stdout] | [INFO] [stdout] 536 | ... not supply a value. The form must be:\n\n\ [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 537 | | ... [INFO] [stdout] 538 | | ... `#[web(status)]`\n\n\ [INFO] [stdout] | |______________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/derive/response.rs:538:78 [INFO] [stdout] | [INFO] [stdout] 538 | ... `#[web(status)]`\n\n\ [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 539 | | ... [INFO] [stdout] 540 | | ... Actual: {}", attr.source.into_token_stream().to_string())); [INFO] [stdout] | |______________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `attributes` are never read [INFO] [stdout] --> src/resource/catch.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Catch { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | attributes: Attributes, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Catch` 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] [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:27:9 [INFO] [stdout] | [INFO] [stdout] 24 | let input = syn::parse_str(input).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | resource::expand_derive_resource(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] = 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/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn derive_extract(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | // Parse the input to `DeriveInput` [INFO] [stdout] 36 | let input = syn::parse(input).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | [INFO] [stdout] 38 | / derive::expand_derive_extract(input) [INFO] [stdout] 39 | | .unwrap_or_else(compile_error) [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/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn derive_response(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | // Parse the input to `DeriveInput` [INFO] [stdout] 46 | let input = syn::parse(input).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | [INFO] [stdout] 48 | / derive::expand_derive_response(input) [INFO] [stdout] 49 | | .unwrap_or_else(compile_error) [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/derive/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn expand_derive_extract(input: DeriveInput) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | Extract::from_ast(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/derive/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn expand_derive_response(input: DeriveInput) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Response::from_ast(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/derive/attr.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 147 | let kind = match meta.lit { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | source: source.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] --> src/derive/attr.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 172 | let kind = match meta.lit { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | source: source.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] --> src/derive/attr.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 190 | let mut name = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | let mut value = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 228 | kind: Kind::Header { name, value }, [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/derive/attr.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 190 | let mut name = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | let mut value = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 229 | source: source.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] --> src/derive/extract.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from_ast(input: DeriveInput) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | let vis = input.vis.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let mut output = fold_derive_input(&mut fold_shadow_ty, input); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | Ok(Extract { [INFO] [stdout] | ____________^ [INFO] [stdout] 45 | | ty, [INFO] [stdout] 46 | | vis, [INFO] [stdout] 47 | | shadow_ty: output, [INFO] [stdout] 48 | | }) [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/derive/response.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn from_ast(input: DeriveInput) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let generics = input.generics.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let mut static_headers = HeaderMap::new(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | let mut fold_shadow_ty = FoldShadowTy { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let mut output = fold_derive_input(&mut fold_shadow_ty, input); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | let dyn_headers = fold_shadow_ty.header_fields; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | Ok(Response { [INFO] [stdout] | ____________^ [INFO] [stdout] 149 | | ty, [INFO] [stdout] 150 | | generics, [INFO] [stdout] 151 | | status, [INFO] [stdout] ... | [INFO] [stdout] 156 | | shadow_ty: output, [INFO] [stdout] 157 | | }) [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/resource/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn expand_derive_resource(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Parse::parse(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/resource/signature.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 132 | fn box_impl_trait(obj: syn::TypeImplTrait) -> syn::Type { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | let mut item = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | let item = item.expect("failed to identify `impl T` as `Future`"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | [INFO] [stdout] 177 | / syn::parse2(quote! { [INFO] [stdout] 178 | | Box + Send> [INFO] [stdout] 179 | | }).unwrap() [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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tower-web-macros` (lib) due to 14 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `index` and `attributes` are never read [INFO] [stdout] --> src/resource/catch.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Catch { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | attributes: Attributes, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Catch` 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] [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:27:9 [INFO] [stdout] | [INFO] [stdout] 24 | let input = syn::parse_str(input).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | resource::expand_derive_resource(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] = 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/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn derive_extract(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | // Parse the input to `DeriveInput` [INFO] [stdout] 36 | let input = syn::parse(input).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | [INFO] [stdout] 38 | / derive::expand_derive_extract(input) [INFO] [stdout] 39 | | .unwrap_or_else(compile_error) [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/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn derive_response(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | // Parse the input to `DeriveInput` [INFO] [stdout] 46 | let input = syn::parse(input).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | [INFO] [stdout] 48 | / derive::expand_derive_response(input) [INFO] [stdout] 49 | | .unwrap_or_else(compile_error) [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/derive/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn expand_derive_extract(input: DeriveInput) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | Extract::from_ast(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/derive/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn expand_derive_response(input: DeriveInput) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Response::from_ast(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/derive/attr.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 147 | let kind = match meta.lit { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | source: source.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] --> src/derive/attr.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 172 | let kind = match meta.lit { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | source: source.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] --> src/derive/attr.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 190 | let mut name = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | let mut value = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 228 | kind: Kind::Header { name, value }, [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/derive/attr.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 190 | let mut name = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | let mut value = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 229 | source: source.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] --> src/derive/extract.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from_ast(input: DeriveInput) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | let vis = input.vis.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let mut output = fold_derive_input(&mut fold_shadow_ty, input); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | Ok(Extract { [INFO] [stdout] | ____________^ [INFO] [stdout] 45 | | ty, [INFO] [stdout] 46 | | vis, [INFO] [stdout] 47 | | shadow_ty: output, [INFO] [stdout] 48 | | }) [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/derive/response.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn from_ast(input: DeriveInput) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let generics = input.generics.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let mut static_headers = HeaderMap::new(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | let mut fold_shadow_ty = FoldShadowTy { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let mut output = fold_derive_input(&mut fold_shadow_ty, input); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | let dyn_headers = fold_shadow_ty.header_fields; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | Ok(Response { [INFO] [stdout] | ____________^ [INFO] [stdout] 149 | | ty, [INFO] [stdout] 150 | | generics, [INFO] [stdout] 151 | | status, [INFO] [stdout] ... | [INFO] [stdout] 156 | | shadow_ty: output, [INFO] [stdout] 157 | | }) [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/resource/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn expand_derive_resource(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Parse::parse(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/resource/signature.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 132 | fn box_impl_trait(obj: syn::TypeImplTrait) -> syn::Type { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | let mut item = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | let item = item.expect("failed to identify `impl T` as `Future`"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | [INFO] [stdout] 177 | / syn::parse2(quote! { [INFO] [stdout] 178 | | Box + Send> [INFO] [stdout] 179 | | }).unwrap() [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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tower-web-macros` (lib test) due to 14 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1725ac8cefbd60ca69d70dffd916ec9022b17360b8296b423b837e5acc84a4f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1725ac8cefbd60ca69d70dffd916ec9022b17360b8296b423b837e5acc84a4f1", kill_on_drop: false }` [INFO] [stdout] 1725ac8cefbd60ca69d70dffd916ec9022b17360b8296b423b837e5acc84a4f1