[INFO] fetching crate df_rocket_okapi_codegen 0.4.1... [INFO] checking df_rocket_okapi_codegen-0.4.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate df_rocket_okapi_codegen 0.4.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate df_rocket_okapi_codegen 0.4.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate df_rocket_okapi_codegen 0.4.1 [INFO] finished tweaking crates.io crate df_rocket_okapi_codegen 0.4.1 [INFO] tweaked toml for crates.io crate df_rocket_okapi_codegen 0.4.1 written to /workspace/builds/worker-1-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 56 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.9.3 (latest: v0.22.1) [INFO] [stderr] Adding cookie v0.11.5 (latest: v0.18.1) [INFO] [stderr] Adding darling v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding darling_core v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding darling_macro v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding hyper v0.10.16 (latest: v1.4.1) [INFO] [stderr] Adding idna v0.1.5 (latest: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding language-tags v0.2.2 (latest: v0.3.2) [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.22) [INFO] [stderr] Adding mime v0.2.6 (latest: v0.3.17) [INFO] [stderr] Adding pear v0.1.5 (latest: v0.2.9) [INFO] [stderr] Adding pear_codegen v0.1.5 (latest: v0.2.9) [INFO] [stderr] Adding percent-encoding v1.0.1 (latest: v2.3.1) [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 rocket_http v0.4.11 (latest: v0.5.1) [INFO] [stderr] Adding state v0.4.2 (latest: v0.6.0) [INFO] [stderr] Adding strsim v0.9.3 (latest: v0.11.1) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.77) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.36) [INFO] [stderr] Adding unicase v1.4.2 (latest: v2.7.0) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.5) [INFO] [stderr] Adding url v1.7.2 (latest: v2.5.2) [INFO] [stderr] Adding version_check v0.1.5 (latest: v0.9.5) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding yansi v0.5.1 (latest: v1.0.1) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e0f0d421c1f7e473df601b8d7f40b69c1fbfab89fbf9ed089a6a44164b39c4a1 [INFO] running `Command { std: "docker" "start" "-a" "e0f0d421c1f7e473df601b8d7f40b69c1fbfab89fbf9ed089a6a44164b39c4a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0f0d421c1f7e473df601b8d7f40b69c1fbfab89fbf9ed089a6a44164b39c4a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0f0d421c1f7e473df601b8d7f40b69c1fbfab89fbf9ed089a6a44164b39c4a1", kill_on_drop: false }` [INFO] [stdout] e0f0d421c1f7e473df601b8d7f40b69c1fbfab89fbf9ed089a6a44164b39c4a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3e67b81c2a77576dfceccba2b6c4e9773c1f37c288508b148d0de9bcfa7d4bb8 [INFO] running `Command { std: "docker" "start" "-a" "3e67b81c2a77576dfceccba2b6c4e9773c1f37c288508b148d0de9bcfa7d4bb8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking libc v0.2.158 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling pear_codegen v0.1.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking ident_case v1.0.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking state v0.4.2 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking cookie v0.11.5 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking darling_core v0.10.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking darling v0.10.2 [INFO] [stderr] Checking pear v0.1.5 [INFO] [stderr] Checking rocket_http v0.4.11 [INFO] [stderr] Checking df_rocket_okapi_codegen v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes_with_openapi/mod.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut last_seg = fn_path.segments.last_mut().expect("syn::Path has segments"); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `media_type` is never read [INFO] [stdout] --> src/openapi_attr/route_attr.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Route { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub media_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Route` 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] warning: variable does not need to be mutable [INFO] [stdout] --> src/routes_with_openapi/mod.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut last_seg = fn_path.segments.last_mut().expect("syn::Path has segments"); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` 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/openapi_attr/mod.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse(args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ----------------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let attr_args = parse_macro_input!(args as AttributeArgs); [INFO] [stdout] | --------- ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let input = parse_macro_input!(input as ItemFn); [INFO] [stdout] | ----- ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | match route_attr::parse_attrs(&input.attrs) { [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] warning: field `media_type` is never read [INFO] [stdout] --> src/openapi_attr/route_attr.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Route { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub media_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Route` 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/openapi_attr/route_attr.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | let named = RouteAttributeNamedMeta::from_list(&args[1..])?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | Ok(Route { [INFO] [stdout] | ________^ [INFO] [stdout] 140 | | method: method.0, [INFO] [stdout] 141 | | origin: named.path.0, [INFO] [stdout] 142 | | media_type: named.format.map(|x| x.0), [INFO] [stdout] 143 | | data_param: named.data.map(trim_angle_brackers), [INFO] [stdout] 144 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/openapi_attr/route_attr.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 152 | let named = MethodRouteAttributeNamedMeta::from_list(&args[1..])?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | Ok(Route { [INFO] [stdout] | ________^ [INFO] [stdout] 154 | | method, [INFO] [stdout] 155 | | origin: origin.0, [INFO] [stdout] 156 | | media_type: named.format.map(|x| x.0), [INFO] [stdout] 157 | | data_param: named.data.map(trim_angle_brackers), [INFO] [stdout] 158 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/openapi_attr/route_attr.rs:193:44 [INFO] [stdout] | [INFO] [stdout] 191 | Ok(Meta::List(MetaList { path, nested, .. })) => path [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | .get_ident() [INFO] [stdout] 193 | .map(|name| (name.to_string(), nested.into_iter().collect())), [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/openapi_attr/route_attr.rs:201:11 [INFO] [stdout] | [INFO] [stdout] 199 | attrs: impl IntoIterator, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | ) -> Result { [INFO] [stdout] 201 | match attrs.into_iter().find(|a| is_route_attribute(a)) { [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/openapi_attr/route_attr.rs:210:30 [INFO] [stdout] | [INFO] [stdout] 210 | .map_err(|e| e.with_span(&attr).write_errors().into()) [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/routes_with_openapi/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse(routes: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | / parse_inner(routes) [INFO] [stdout] 8 | | .unwrap_or_else(|e| e.to_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/routes_with_openapi/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn parse_spec_and_routes(routes: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | / get_spec_and_routes(routes) [INFO] [stdout] 72 | | .unwrap_or_else(|e| e.to_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/openapi_attr/mod.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse(args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ----------------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let attr_args = parse_macro_input!(args as AttributeArgs); [INFO] [stdout] | --------- ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let input = parse_macro_input!(input as ItemFn); [INFO] [stdout] | ----- ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | match route_attr::parse_attrs(&input.attrs) { [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/openapi_attr/route_attr.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | let named = RouteAttributeNamedMeta::from_list(&args[1..])?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | Ok(Route { [INFO] [stdout] | ________^ [INFO] [stdout] 140 | | method: method.0, [INFO] [stdout] 141 | | origin: named.path.0, [INFO] [stdout] 142 | | media_type: named.format.map(|x| x.0), [INFO] [stdout] 143 | | data_param: named.data.map(trim_angle_brackers), [INFO] [stdout] 144 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/openapi_attr/route_attr.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 152 | let named = MethodRouteAttributeNamedMeta::from_list(&args[1..])?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | Ok(Route { [INFO] [stdout] | ________^ [INFO] [stdout] 154 | | method, [INFO] [stdout] 155 | | origin: origin.0, [INFO] [stdout] 156 | | media_type: named.format.map(|x| x.0), [INFO] [stdout] 157 | | data_param: named.data.map(trim_angle_brackers), [INFO] [stdout] 158 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/openapi_attr/route_attr.rs:193:44 [INFO] [stdout] | [INFO] [stdout] 191 | Ok(Meta::List(MetaList { path, nested, .. })) => path [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | .get_ident() [INFO] [stdout] 193 | .map(|name| (name.to_string(), nested.into_iter().collect())), [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/openapi_attr/route_attr.rs:201:11 [INFO] [stdout] | [INFO] [stdout] 199 | attrs: impl IntoIterator, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | ) -> Result { [INFO] [stdout] 201 | match attrs.into_iter().find(|a| is_route_attribute(a)) { [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/openapi_attr/route_attr.rs:210:30 [INFO] [stdout] | [INFO] [stdout] 210 | .map_err(|e| e.with_span(&attr).write_errors().into()) [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/routes_with_openapi/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse(routes: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | / parse_inner(routes) [INFO] [stdout] 8 | | .unwrap_or_else(|e| e.to_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/routes_with_openapi/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn parse_spec_and_routes(routes: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | / get_spec_and_routes(routes) [INFO] [stdout] 72 | | .unwrap_or_else(|e| e.to_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: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `df_rocket_okapi_codegen` (lib test) due to 9 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `df_rocket_okapi_codegen` (lib) due to 9 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3e67b81c2a77576dfceccba2b6c4e9773c1f37c288508b148d0de9bcfa7d4bb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e67b81c2a77576dfceccba2b6c4e9773c1f37c288508b148d0de9bcfa7d4bb8", kill_on_drop: false }` [INFO] [stdout] 3e67b81c2a77576dfceccba2b6c4e9773c1f37c288508b148d0de9bcfa7d4bb8