[INFO] fetching crate tower-web-macros 0.3.5... [INFO] checking tower-web-macros-0.3.5 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate tower-web-macros 0.3.5 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate tower-web-macros 0.3.5 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.4.12 (available: v1.7.2) [INFO] [stderr] Adding http v0.1.21 (available: v1.1.0) [INFO] [stderr] Adding itoa v0.4.8 (available: v1.0.11) [INFO] [stderr] Adding proc-macro-hack v0.4.3 (available: v0.5.20+deprecated) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.79) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc83e17299beec5e28b7d96d5d46a46a10f387cebce5b56e5c36c8e8f3e22296 [INFO] running `Command { std: "docker" "start" "-a" "fc83e17299beec5e28b7d96d5d46a46a10f387cebce5b56e5c36c8e8f3e22296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc83e17299beec5e28b7d96d5d46a46a10f387cebce5b56e5c36c8e8f3e22296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc83e17299beec5e28b7d96d5d46a46a10f387cebce5b56e5c36c8e8f3e22296", kill_on_drop: false }` [INFO] [stdout] fc83e17299beec5e28b7d96d5d46a46a10f387cebce5b56e5c36c8e8f3e22296 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ad5fcdfb13b660ecdbe1bcc95c65888ab58aab9727f6184b9fdc14f66af54ba [INFO] running `Command { std: "docker" "start" "-a" "0ad5fcdfb13b660ecdbe1bcc95c65888ab58aab9727f6184b9fdc14f66af54ba", 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.159 [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 fnv v1.0.7 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.3 [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: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: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/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: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/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] error: this value of type `TokenStream2` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resource/signature.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn dispatch(&self, inner: TokenStream, args: I) -> TokenStream [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | / quote! { [INFO] [stdout] 89 | | let inner = #inner.clone(); [INFO] [stdout] 90 | | let ret: #ty = __tw::codegen::async_await::async_to_box_future_send(async_move_hax! { [INFO] [stdout] 91 | | await!(inner.handler.#ident(#(#args),*)) [INFO] [stdout] 92 | | }); [INFO] [stdout] 93 | | ret [INFO] [stdout] 94 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | } else { [INFO] [stdout] 96 | | let box_ret = if self.box_ret { [INFO] [stdout] | | ^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 104 | / quote! { [INFO] [stdout] 105 | | let ret = __tw::error::Map::new( [INFO] [stdout] 106 | | __tw::codegen::futures::IntoFuture::into_future(#inner.handler.#ident(#(#args),*))); [INFO] [stdout] ... | [INFO] [stdout] 111 | | ret [INFO] [stdout] 112 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tower-web-macros` (lib test) due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `TokenStream2` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resource/signature.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn dispatch(&self, inner: TokenStream, args: I) -> TokenStream [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | / quote! { [INFO] [stdout] 89 | | let inner = #inner.clone(); [INFO] [stdout] 90 | | let ret: #ty = __tw::codegen::async_await::async_to_box_future_send(async_move_hax! { [INFO] [stdout] 91 | | await!(inner.handler.#ident(#(#args),*)) [INFO] [stdout] 92 | | }); [INFO] [stdout] 93 | | ret [INFO] [stdout] 94 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | } else { [INFO] [stdout] 96 | | let box_ret = if self.box_ret { [INFO] [stdout] | | ^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 104 | / quote! { [INFO] [stdout] 105 | | let ret = __tw::error::Map::new( [INFO] [stdout] 106 | | __tw::codegen::futures::IntoFuture::into_future(#inner.handler.#ident(#(#args),*))); [INFO] [stdout] ... | [INFO] [stdout] 111 | | ret [INFO] [stdout] 112 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tower-web-macros` (lib) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0ad5fcdfb13b660ecdbe1bcc95c65888ab58aab9727f6184b9fdc14f66af54ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ad5fcdfb13b660ecdbe1bcc95c65888ab58aab9727f6184b9fdc14f66af54ba", kill_on_drop: false }` [INFO] [stdout] 0ad5fcdfb13b660ecdbe1bcc95c65888ab58aab9727f6184b9fdc14f66af54ba