[INFO] fetching crate swaggapi 0.2.2... [INFO] checking swaggapi-0.2.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate swaggapi 0.2.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate swaggapi 0.2.2 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 swaggapi 0.2.2 [INFO] finished tweaking crates.io crate swaggapi 0.2.2 [INFO] tweaked toml for crates.io crate swaggapi 0.2.2 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 191 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding cookie v0.16.2 (latest: v0.18.1) [INFO] [stderr] Adding derive_more v0.99.18 (latest: v1.0.0) [INFO] [stderr] Adding dirs v4.0.0 (latest: v5.0.1) [INFO] [stderr] Adding dirs-sys v0.3.7 (latest: v0.4.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding h2 v0.3.26 (latest: v0.4.6) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding matchit v0.7.3 (latest: v0.8.4) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding rust-embed v5.9.0 (latest: v8.5.0) [INFO] [stderr] Adding rust-embed-impl v5.9.0 (latest: v8.5.0) [INFO] [stderr] Adding rust-embed-utils v5.1.0 (latest: v8.5.0) [INFO] [stderr] Adding shellexpand v2.1.2 (latest: v3.1.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding sync_wrapper v0.1.2 (latest: v1.0.1) [INFO] [stderr] Adding tower v0.4.13 (latest: v0.5.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] 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] 934d52d72aadc8c5a7f85e69ab057039865bc536bb03590a4cb94062a9d53148 [INFO] running `Command { std: "docker" "start" "-a" "934d52d72aadc8c5a7f85e69ab057039865bc536bb03590a4cb94062a9d53148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "934d52d72aadc8c5a7f85e69ab057039865bc536bb03590a4cb94062a9d53148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "934d52d72aadc8c5a7f85e69ab057039865bc536bb03590a4cb94062a9d53148", kill_on_drop: false }` [INFO] [stdout] 934d52d72aadc8c5a7f85e69ab057039865bc536bb03590a4cb94062a9d53148 [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] 35dbde91be7afc2d2c907f0e01f574ac177b622b54ef9fb5dd9618d6f32db9ba [INFO] running `Command { std: "docker" "start" "-a" "35dbde91be7afc2d2c907f0e01f574ac177b622b54ef9fb5dd9618d6f32db9ba", kill_on_drop: false }` [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Checking rust-embed-utils v5.1.0 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling shellexpand v2.1.2 [INFO] [stderr] Compiling rust-embed-impl v5.9.0 [INFO] [stderr] Checking rust-embed v5.9.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling swaggapi-macro v0.2.0 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking swagger-ui v0.1.5 [INFO] [stderr] Checking openapiv3 v2.0.0 [INFO] [stderr] Checking swaggapi v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/swagger.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swagger_ui::UrlObject` [INFO] [stdout] --> src/swagger.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use swagger_ui::UrlObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::internals::SwaggapiPageBuilderImpl` [INFO] [stdout] --> src/swagger.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::internals::SwaggapiPageBuilderImpl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/swagger.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swagger_ui::UrlObject` [INFO] [stdout] --> src/swagger.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use swagger_ui::UrlObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::internals::SwaggapiPageBuilderImpl` [INFO] [stdout] --> src/swagger.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::internals::SwaggapiPageBuilderImpl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `framework_impl` are never read [INFO] [stdout] --> src/context.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ApiContext { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | framework_impl: Impl, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_framework_impl`, `add_to_pages`, and `map_framework_impl` are never used [INFO] [stdout] --> src/context.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl ApiContext { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 20 | fn with_framework_impl(path: String, framework_impl: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn add_to_pages(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn map_framework_impl(self, func: impl FnOnce(T) -> U) -> ApiContext { [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/as_responses/mod.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn simple_responses(responses: impl IntoIterator) -> Responses { [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | Responses { [INFO] [stdout] 33 | responses: responses [INFO] [stdout] | ____________________^ [INFO] [stdout] 34 | | .into_iter() [INFO] [stdout] 35 | | .map(|response: SimpleResponse| { [INFO] [stdout] 36 | | ( [INFO] [stdout] ... | [INFO] [stdout] 47 | | }) [INFO] [stdout] 48 | | .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] = 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/as_responses/mod.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn simple_responses(responses: impl IntoIterator) -> Responses { [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | ..Default::default() [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/as_responses/mod.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|response: SimpleResponse| { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | / ReferenceOr::Item(Response { [INFO] [stdout] 39 | | description: response.description, [INFO] [stdout] 40 | | content: FromIterator::from_iter([( [INFO] [stdout] 41 | | response.mime_type.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 44 | | ..Default::default() [INFO] [stdout] 45 | | }), [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/context.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 70 | fn map_framework_impl(self, func: impl FnOnce(T) -> U) -> ApiContext { [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] 76 | framework_impl, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | framework_impl: func(framework_impl), [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/handler_argument/mod.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn simple_request_body(request_body: SimpleRequestBody) -> RequestBody { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | RequestBody { [INFO] [stdout] 55 | content: IndexMap::<_, _>::from_iter([( [INFO] [stdout] | __________________^ [INFO] [stdout] 56 | | request_body.mime_type.to_string(), [INFO] [stdout] 57 | | MediaType { [INFO] [stdout] 58 | | schema: request_body.schema, [INFO] [stdout] 59 | | ..Default::default() [INFO] [stdout] 60 | | }, [INFO] [stdout] 61 | | )]), [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/handler_argument/mod.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn simple_request_body(request_body: SimpleRequestBody) -> RequestBody { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | ..Default::default() [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/internals/convert_schema.rs:204:32 [INFO] [stdout] | [INFO] [stdout] 33 | fn convert_schema_object(schema: schemars::SchemaObject) -> openapi::ReferenceOr { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let schemars::SchemaObject { [INFO] [stdout] 35 | metadata, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | instance_type, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | subschemas, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | number, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | string, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | array, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | object, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let mut schema_data = metadata [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | let mut kinds = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | openapi::ReferenceOr::Item(match kinds.len() { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 205 | | 0 => openapi::Schema { [INFO] [stdout] 206 | | schema_data, [INFO] [stdout] 207 | | schema_kind: openapi::SchemaKind::Any(openapi::AnySchema::default()), [INFO] [stdout] ... | [INFO] [stdout] 226 | | }, [INFO] [stdout] 227 | | }) [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/internals/convert_schema.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|metadata| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | extensions: extensions.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/internals/convert_schema.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|metadata| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | external_docs: 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/internals/convert_schema.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|metadata| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | discriminator: 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/internals/convert_schema.rs:194:52 [INFO] [stdout] | [INFO] [stdout] 193 | .map(|typ| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 194 | openapi::ReferenceOr::Item(openapi::Schema { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 195 | | schema_data: openapi::SchemaData::default(), [INFO] [stdout] 196 | | schema_kind: openapi::SchemaKind::Type(typ), [INFO] [stdout] 197 | | }) [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/internals/convert_schema.rs:219:52 [INFO] [stdout] | [INFO] [stdout] 218 | .map(|schema_kind| { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | openapi::ReferenceOr::Item(openapi::Schema { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 220 | | schema_data: openapi::SchemaData::default(), [INFO] [stdout] 221 | | schema_kind, [INFO] [stdout] 222 | | }) [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/internals/convert_schema.rs:320:21 [INFO] [stdout] | [INFO] [stdout] 296 | input: Option>, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 303 | properties, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | pattern_properties, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | additional_properties, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | property_names, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 320 | properties: properties [INFO] [stdout] | _____________________^ [INFO] [stdout] 321 | | .into_iter() [INFO] [stdout] 322 | | .map(|(key, schema)| (key, box_reference_or(convert_schema(schema)))) [INFO] [stdout] 323 | | .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/internals/convert_schema.rs:325:32 [INFO] [stdout] | [INFO] [stdout] 296 | input: Option>, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 303 | properties, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | pattern_properties, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | additional_properties, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | property_names, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 325 | additional_properties: additional_properties.map(|additional_properties| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 326 | | match *additional_properties { [INFO] [stdout] 327 | | schemars::Schema::Bool(boolean) => openapi::AdditionalProperties::Any(boolean), [INFO] [stdout] 328 | | schemars::Schema::Object(object) => { [INFO] [stdout] ... | [INFO] [stdout] 331 | | } [INFO] [stdout] 332 | | }), [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/internals/convert_schema.rs:322:40 [INFO] [stdout] | [INFO] [stdout] 322 | .map(|(key, schema)| (key, box_reference_or(convert_schema(schema)))) [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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] [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/internals/convert_schema.rs:366:21 [INFO] [stdout] | [INFO] [stdout] 365 | let mut push_array = |item: schemars::Schema| { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 366 | arrays.push(openapi::ArrayType { [INFO] [stdout] | _____________________^ [INFO] [stdout] 367 | | items: Some(box_reference_or(convert_schema(item))), [INFO] [stdout] 368 | | min_items, [INFO] [stdout] 369 | | max_items, [INFO] [stdout] 370 | | unique_items, [INFO] [stdout] 371 | | }) [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/internals/page_builder.rs:129:50 [INFO] [stdout] | [INFO] [stdout] 129 | .or_insert_with(|| ReferenceOr::Item(PathItem::default())) [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/internals/page_builder.rs:183:33 [INFO] [stdout] | [INFO] [stdout] 183 | extensions: Default::default(), [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/internals/page_builder.rs:191:33 [INFO] [stdout] | [INFO] [stdout] 191 | extensions: Default::default(), [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/internals/page_builder.rs:202:56 [INFO] [stdout] | [INFO] [stdout] 202 | .map(|(key, schema)| (key.clone(), convert_schema(schema.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: aborting due to 20 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swaggapi` (lib test) due to 21 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `path` and `framework_impl` are never read [INFO] [stdout] --> src/context.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ApiContext { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | framework_impl: Impl, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_framework_impl`, `add_to_pages`, and `map_framework_impl` are never used [INFO] [stdout] --> src/context.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl ApiContext { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 20 | fn with_framework_impl(path: String, framework_impl: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn add_to_pages(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn map_framework_impl(self, func: impl FnOnce(T) -> U) -> ApiContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![warn(missing_docs)] [INFO] [stdout] 2 | | #![warn(clippy::todo)] [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | pub mod as_responses; [INFO] [stdout] ... | [INFO] [stdout] 34 | | pub use swagger_ui; [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(missing_docs)] [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/as_responses/mod.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn simple_responses(responses: impl IntoIterator) -> Responses { [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | Responses { [INFO] [stdout] 33 | responses: responses [INFO] [stdout] | ____________________^ [INFO] [stdout] 34 | | .into_iter() [INFO] [stdout] 35 | | .map(|response: SimpleResponse| { [INFO] [stdout] 36 | | ( [INFO] [stdout] ... | [INFO] [stdout] 47 | | }) [INFO] [stdout] 48 | | .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] = 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/as_responses/mod.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn simple_responses(responses: impl IntoIterator) -> Responses { [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | ..Default::default() [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/as_responses/mod.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|response: SimpleResponse| { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | / ReferenceOr::Item(Response { [INFO] [stdout] 39 | | description: response.description, [INFO] [stdout] 40 | | content: FromIterator::from_iter([( [INFO] [stdout] 41 | | response.mime_type.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 44 | | ..Default::default() [INFO] [stdout] 45 | | }), [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/context.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 70 | fn map_framework_impl(self, func: impl FnOnce(T) -> U) -> ApiContext { [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] 76 | framework_impl, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | framework_impl: func(framework_impl), [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/handler_argument/mod.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn simple_request_body(request_body: SimpleRequestBody) -> RequestBody { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | RequestBody { [INFO] [stdout] 55 | content: IndexMap::<_, _>::from_iter([( [INFO] [stdout] | __________________^ [INFO] [stdout] 56 | | request_body.mime_type.to_string(), [INFO] [stdout] 57 | | MediaType { [INFO] [stdout] 58 | | schema: request_body.schema, [INFO] [stdout] 59 | | ..Default::default() [INFO] [stdout] 60 | | }, [INFO] [stdout] 61 | | )]), [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/handler_argument/mod.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn simple_request_body(request_body: SimpleRequestBody) -> RequestBody { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | ..Default::default() [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/internals/convert_schema.rs:204:32 [INFO] [stdout] | [INFO] [stdout] 33 | fn convert_schema_object(schema: schemars::SchemaObject) -> openapi::ReferenceOr { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let schemars::SchemaObject { [INFO] [stdout] 35 | metadata, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | instance_type, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | subschemas, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | number, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | string, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | array, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | object, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | let mut schema_data = metadata [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | let mut kinds = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | openapi::ReferenceOr::Item(match kinds.len() { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 205 | | 0 => openapi::Schema { [INFO] [stdout] 206 | | schema_data, [INFO] [stdout] 207 | | schema_kind: openapi::SchemaKind::Any(openapi::AnySchema::default()), [INFO] [stdout] ... | [INFO] [stdout] 226 | | }, [INFO] [stdout] 227 | | }) [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/internals/convert_schema.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|metadata| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | extensions: extensions.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/internals/convert_schema.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|metadata| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | external_docs: 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/internals/convert_schema.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|metadata| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | discriminator: 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/internals/convert_schema.rs:194:52 [INFO] [stdout] | [INFO] [stdout] 193 | .map(|typ| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 194 | openapi::ReferenceOr::Item(openapi::Schema { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 195 | | schema_data: openapi::SchemaData::default(), [INFO] [stdout] 196 | | schema_kind: openapi::SchemaKind::Type(typ), [INFO] [stdout] 197 | | }) [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/internals/convert_schema.rs:219:52 [INFO] [stdout] | [INFO] [stdout] 218 | .map(|schema_kind| { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | openapi::ReferenceOr::Item(openapi::Schema { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 220 | | schema_data: openapi::SchemaData::default(), [INFO] [stdout] 221 | | schema_kind, [INFO] [stdout] 222 | | }) [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/internals/convert_schema.rs:320:21 [INFO] [stdout] | [INFO] [stdout] 296 | input: Option>, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 303 | properties, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | pattern_properties, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | additional_properties, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | property_names, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 320 | properties: properties [INFO] [stdout] | _____________________^ [INFO] [stdout] 321 | | .into_iter() [INFO] [stdout] 322 | | .map(|(key, schema)| (key, box_reference_or(convert_schema(schema)))) [INFO] [stdout] 323 | | .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/internals/convert_schema.rs:325:32 [INFO] [stdout] | [INFO] [stdout] 296 | input: Option>, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 303 | properties, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | pattern_properties, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | additional_properties, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | property_names, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 325 | additional_properties: additional_properties.map(|additional_properties| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 326 | | match *additional_properties { [INFO] [stdout] 327 | | schemars::Schema::Bool(boolean) => openapi::AdditionalProperties::Any(boolean), [INFO] [stdout] 328 | | schemars::Schema::Object(object) => { [INFO] [stdout] ... | [INFO] [stdout] 331 | | } [INFO] [stdout] 332 | | }), [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/internals/convert_schema.rs:322:40 [INFO] [stdout] | [INFO] [stdout] 322 | .map(|(key, schema)| (key, box_reference_or(convert_schema(schema)))) [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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] [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/internals/convert_schema.rs:366:21 [INFO] [stdout] | [INFO] [stdout] 365 | let mut push_array = |item: schemars::Schema| { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 366 | arrays.push(openapi::ArrayType { [INFO] [stdout] | _____________________^ [INFO] [stdout] 367 | | items: Some(box_reference_or(convert_schema(item))), [INFO] [stdout] 368 | | min_items, [INFO] [stdout] 369 | | max_items, [INFO] [stdout] 370 | | unique_items, [INFO] [stdout] 371 | | }) [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] warning: missing documentation for a struct [INFO] [stdout] --> src/internals/page_builder.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct SwaggapiPageBuilderImpl { [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/internals/page_builder.rs:129:50 [INFO] [stdout] | [INFO] [stdout] 129 | .or_insert_with(|| ReferenceOr::Item(PathItem::default())) [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/internals/page_builder.rs:183:33 [INFO] [stdout] | [INFO] [stdout] 183 | extensions: Default::default(), [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/internals/page_builder.rs:191:33 [INFO] [stdout] | [INFO] [stdout] 191 | extensions: Default::default(), [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/internals/page_builder.rs:202:56 [INFO] [stdout] | [INFO] [stdout] 202 | .map(|(key, schema)| (key.clone(), convert_schema(schema.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: aborting due to 20 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swaggapi` (lib) due to 21 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "35dbde91be7afc2d2c907f0e01f574ac177b622b54ef9fb5dd9618d6f32db9ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35dbde91be7afc2d2c907f0e01f574ac177b622b54ef9fb5dd9618d6f32db9ba", kill_on_drop: false }` [INFO] [stdout] 35dbde91be7afc2d2c907f0e01f574ac177b622b54ef9fb5dd9618d6f32db9ba