[INFO] fetching crate rocket_okapi 0.8.0... [INFO] checking rocket_okapi-0.8.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rocket_okapi 0.8.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate rocket_okapi 0.8.0 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 rocket_okapi 0.8.0 [INFO] finished tweaking crates.io crate rocket_okapi 0.8.0 [INFO] tweaked toml for crates.io crate rocket_okapi 0.8.0 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 285 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding asn1-rs v0.3.1 (latest: v0.6.2) [INFO] [stderr] Adding asn1-rs-derive v0.1.0 (latest: v0.5.1) [INFO] [stderr] Adding asn1-rs-impl v0.1.0 (latest: v0.2.0) [INFO] [stderr] Adding atomic v0.5.3 (latest: v0.6.0) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding darling v0.13.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_core v0.13.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_macro v0.13.4 (latest: v0.20.10) [INFO] [stderr] Adding der-parser v7.0.0 (latest: v9.0.0) [INFO] [stderr] Adding generator v0.7.5 (latest: v0.8.3) [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 hashbrown v0.12.3 (latest: v0.14.5) [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 http-body v0.4.6 (latest: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (latest: v1.4.1) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding inotify v0.9.6 (latest: v0.11.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding loom v0.5.6 (latest: v0.7.2) [INFO] [stderr] Adding matchers v0.1.0 (latest: v0.2.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding mio v0.8.11 (latest: v1.0.2) [INFO] [stderr] Adding multer v2.1.0 (latest: v3.1.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.1) [INFO] [stderr] Adding oid-registry v0.4.0 (latest: v0.7.1) [INFO] [stderr] Adding regex-automata v0.1.10 (latest: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.4) [INFO] [stderr] Adding rocket v0.5.0 (latest: v0.5.1) [INFO] [stderr] Adding rocket_codegen v0.5.0 (latest: v0.5.1) [INFO] [stderr] Adding rocket_db_pools v0.1.0 (latest: v0.2.0) [INFO] [stderr] Adding rocket_db_pools_codegen v0.1.0 (latest: v0.2.0) [INFO] [stderr] Adding rocket_dyn_templates v0.1.0 (latest: v0.2.0) [INFO] [stderr] Adding rocket_http v0.5.0 (latest: v0.5.1) [INFO] [stderr] Adding rocket_ws v0.1.0 (latest: v0.1.1) [INFO] [stderr] Adding rustls v0.21.12 (latest: v0.23.12) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (latest: v2.1.3) [INFO] [stderr] Adding rustls-webpki v0.101.7 (latest: v0.102.7) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding tokio-rustls v0.24.1 (latest: v0.26.0) [INFO] [stderr] Adding tokio-tungstenite v0.20.1 (latest: v0.23.1) [INFO] [stderr] Adding tungstenite v0.20.1 (latest: v0.24.0) [INFO] [stderr] Adding uuid v0.8.2 (latest: v1.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows v0.48.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding x509-parser v0.13.2 (latest: v0.16.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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6aef566bdcf86303863b5273a3062710dd14c8c04843bff2ca01ca2b0a4f9dba [INFO] running `Command { std: "docker" "start" "-a" "6aef566bdcf86303863b5273a3062710dd14c8c04843bff2ca01ca2b0a4f9dba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6aef566bdcf86303863b5273a3062710dd14c8c04843bff2ca01ca2b0a4f9dba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aef566bdcf86303863b5273a3062710dd14c8c04843bff2ca01ca2b0a4f9dba", kill_on_drop: false }` [INFO] [stdout] 6aef566bdcf86303863b5273a3062710dd14c8c04843bff2ca01ca2b0a4f9dba [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aac90346f7bdef53dd670c2927cbdb0bfdb50a460837eef5537e4f0987ef71f2 [INFO] running `Command { std: "docker" "start" "-a" "aac90346f7bdef53dd670c2927cbdb0bfdb50a460837eef5537e4f0987ef71f2", kill_on_drop: false }` [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking rustix v0.38.35 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Compiling rocket_sync_db_pools v0.1.0 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling rocket_http v0.5.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Compiling rocket_okapi_codegen v0.8.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking diesel v2.2.3 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking okapi v0.7.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking rocket_okapi v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 123 | spec: okapi::openapi3::OpenApi, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | handlers::OpenApiHandler::new(spec).into_route(&settings.json_path) [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/gen.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn into_openapi(self) -> OpenApi { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let mut schema_generator = self.schema_generator; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let mut schemas = schema_generator.take_definitions(); [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 schemes: Map> = Default::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | paths: { [INFO] [stdout] | ____________________^ [INFO] [stdout] 102 | | let mut paths = Map::new(); [INFO] [stdout] 103 | | for (path, map) in self.operations { [INFO] [stdout] 104 | | for (method, op) in map { [INFO] [stdout] ... | [INFO] [stdout] 109 | | paths [INFO] [stdout] 110 | | }, [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/gen.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn into_openapi(self) -> OpenApi { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let mut schema_generator = self.schema_generator; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let mut schemas = schema_generator.take_definitions(); [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 schemes: Map> = Default::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | components: Some(Components { [INFO] [stdout] | _________________________^ [INFO] [stdout] 112 | | schemas: schemas.into_iter().map(|(k, v)| (k, v.into())).collect(), [INFO] [stdout] 113 | | security_schemes: schemes, [INFO] [stdout] 114 | | ..Default::default() [INFO] [stdout] 115 | | }), [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/gen.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn into_openapi(self) -> OpenApi { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let mut schema_generator = self.schema_generator; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let mut schemas = schema_generator.take_definitions(); [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 schemes: Map> = Default::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | ..OpenApi::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/gen.rs:112:63 [INFO] [stdout] | [INFO] [stdout] 112 | schemas: schemas.into_iter().map(|(k, v)| (k, v.into())).collect(), [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/handlers/content.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn bytes(content_type: ContentType, content: &'static [u8]) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | ContentHandler { [INFO] [stdout] 29 | content: (content_type, content), [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/handlers/content.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn bytes_owned(content_type: ContentType, content: Vec) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | ContentHandler { [INFO] [stdout] 39 | content: (content_type, content), [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/handlers/content.rs:56:85 [INFO] [stdout] | [INFO] [stdout] 56 | async fn handle<'r>(&self, req: &'r Request<'_>, data: Data<'r>) -> Outcome<'r> { [INFO] [stdout] | ______________________________________________________--------------_________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | | // match e.g. "/index.html" but not "/index.html/" [INFO] [stdout] 58 | | if req.uri().path().ends_with('/') { [INFO] [stdout] 59 | | Outcome::forward(data, Status::PermanentRedirect) [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | } [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/handlers/openapi.rs:28:82 [INFO] [stdout] | [INFO] [stdout] 28 | async fn handle<'r>(&self, req: &'r Request<'_>, _: Data<'r>) -> Outcome<'r> { [INFO] [stdout] | ______________________________________________________-___________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | | let mut spec = self.spec.clone(); [INFO] [stdout] 30 | | let base_path = req [INFO] [stdout] 31 | | .route() [INFO] [stdout] ... | [INFO] [stdout] 45 | | Outcome::from(req, RawJson(json)) [INFO] [stdout] 46 | | } [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/handlers/redirect.rs:29:82 [INFO] [stdout] | [INFO] [stdout] 29 | async fn handle<'r>(&self, req: &'r Request<'_>, _: Data<'r>) -> Outcome<'r> { [INFO] [stdout] | ______________________________________________________-___________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | | let path = req.route().unwrap().uri.base().trim_end_matches('/'); [INFO] [stdout] 31 | | Outcome::from(req, Redirect::to(format!("{}/{}", path, self.dest))) [INFO] [stdout] 32 | | } [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/request/from_form_multi_param_impls.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 61 | fn parameter_from_schema(schema: SchemaObject, name: String, mut required: bool) -> Parameter { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | value: ParameterValue::Schema { [INFO] [stdout] | ________________^ [INFO] [stdout] 81 | | style: None, [INFO] [stdout] 82 | | explode: None, [INFO] [stdout] 83 | | allow_reserved: false, [INFO] [stdout] ... | [INFO] [stdout] 86 | | examples: None, [INFO] [stdout] 87 | | }, [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/request/from_form_multi_param_impls.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 61 | fn parameter_from_schema(schema: SchemaObject, name: String, mut required: bool) -> Parameter { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | extensions: Object::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/request/from_form_param_impls.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | let schema = gen.json_schema::(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | Ok(Parameter { [INFO] [stdout] | ____________^ [INFO] [stdout] 31 | | name, [INFO] [stdout] 32 | | location: "query".to_owned(), [INFO] [stdout] 33 | | description: None, [INFO] [stdout] ... | [INFO] [stdout] 45 | | extensions: Object::default(), [INFO] [stdout] 46 | | }) [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/request/from_param_impls.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | let schema = gen.json_schema::(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Ok(Parameter { [INFO] [stdout] | ____________^ [INFO] [stdout] 18 | | name, [INFO] [stdout] 19 | | location: "path".to_owned(), [INFO] [stdout] 20 | | description: None, [INFO] [stdout] ... | [INFO] [stdout] 32 | | extensions: Object::default(), [INFO] [stdout] 33 | | }) [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/request/from_request_impls.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | let schema = gen.json_schema::(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | Ok(RequestHeaderInput::Parameter(Parameter { [INFO] [stdout] | ____________^ [INFO] [stdout] 52 | | name: "Accept".to_owned(), [INFO] [stdout] 53 | | location: "header".to_owned(), [INFO] [stdout] 54 | | description: None, [INFO] [stdout] ... | [INFO] [stdout] 66 | | extensions: Object::default(), [INFO] [stdout] 67 | | })) [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/request/from_request_impls.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | let schema = gen.json_schema::(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | Ok(RequestHeaderInput::Parameter(Parameter { [INFO] [stdout] | ____________^ [INFO] [stdout] 75 | | name: "Content-Type".to_owned(), [INFO] [stdout] 76 | | location: "header".to_owned(), [INFO] [stdout] 77 | | description: None, [INFO] [stdout] ... | [INFO] [stdout] 89 | | extensions: Object::default(), [INFO] [stdout] 90 | | })) [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/request/from_request_impls.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | let schema = gen.json_schema::(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | Ok(RequestHeaderInput::Parameter(Parameter { [INFO] [stdout] | ____________^ [INFO] [stdout] 104 | | name: "Host".to_owned(), [INFO] [stdout] 105 | | location: "header".to_owned(), [INFO] [stdout] 106 | | description: None, [INFO] [stdout] ... | [INFO] [stdout] 118 | | extensions: Object::default(), [INFO] [stdout] 119 | | })) [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/request/from_segments_impls.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | let schema = gen.json_schema::(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Ok(Parameter { [INFO] [stdout] | ____________^ [INFO] [stdout] 18 | | name, [INFO] [stdout] 19 | | location: "path".to_owned(), [INFO] [stdout] 20 | | description: None, [INFO] [stdout] ... | [INFO] [stdout] 32 | | extensions: Object::default(), [INFO] [stdout] 33 | | }) [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/util.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | .or_insert_with(|| Response::default().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/util.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | .or_insert_with(|| Response::default().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/util.rs:117:46 [INFO] [stdout] | [INFO] [stdout] 116 | content.values().fold(MediaType::default(), |mt, mt2| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | accept_either_media_type(mt, mt2.clone()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util.rs:152:36 [INFO] [stdout] | [INFO] [stdout] 152 | .or_insert_with(|| Response::default().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/util.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 174 | fn produce_either_response(r1: Response, r2: Response) -> Response { [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] 183 | let mut content = r1.content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | headers: extend(r1.headers, r2.headers), [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/util.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 174 | fn produce_either_response(r1: Response, r2: Response) -> Response { [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] 183 | let mut content = r1.content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | links: extend(r1.links, r2.links), [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/util.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 174 | fn produce_either_response(r1: Response, r2: Response) -> Response { [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] 183 | let mut content = r1.content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | extensions: extend(r1.extensions, r2.extensions), [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/util.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 197 | fn accept_either_media_type(mt1: MediaType, mt2: MediaType) -> MediaType { [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] 198 | MediaType { [INFO] [stdout] 199 | schema: accept_either_schema(mt1.schema, mt2.schema), [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/util.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 197 | fn accept_either_media_type(mt1: MediaType, mt2: MediaType) -> MediaType { [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] 201 | examples: match (mt1.examples, mt2.examples) { [INFO] [stdout] | ___________________^ [INFO] [stdout] 202 | | (Some(e1), Some(e2)) => Some(extend(e1, e2)), [INFO] [stdout] 203 | | (Some(e), None) | (None, Some(e)) => Some(e), [INFO] [stdout] 204 | | (None, None) => None, [INFO] [stdout] 205 | | }, [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/util.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 197 | fn accept_either_media_type(mt1: MediaType, mt2: MediaType) -> MediaType { [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] 206 | encoding: extend(mt1.encoding, mt2.encoding), [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/util.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 197 | fn accept_either_media_type(mt1: MediaType, mt2: MediaType) -> MediaType { [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] 207 | extensions: extend(mt1.extensions, mt2.extensions), [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 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_okapi` (lib) due to 30 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 123 | spec: okapi::openapi3::OpenApi, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | handlers::OpenApiHandler::new(spec).into_route(&settings.json_path) [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/gen.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn into_openapi(self) -> OpenApi { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let mut schema_generator = self.schema_generator; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let mut schemas = schema_generator.take_definitions(); [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 schemes: Map> = Default::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | paths: { [INFO] [stdout] | ____________________^ [INFO] [stdout] 102 | | let mut paths = Map::new(); [INFO] [stdout] 103 | | for (path, map) in self.operations { [INFO] [stdout] 104 | | for (method, op) in map { [INFO] [stdout] ... | [INFO] [stdout] 109 | | paths [INFO] [stdout] 110 | | }, [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/gen.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn into_openapi(self) -> OpenApi { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let mut schema_generator = self.schema_generator; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let mut schemas = schema_generator.take_definitions(); [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 schemes: Map> = Default::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | components: Some(Components { [INFO] [stdout] | _________________________^ [INFO] [stdout] 112 | | schemas: schemas.into_iter().map(|(k, v)| (k, v.into())).collect(), [INFO] [stdout] 113 | | security_schemes: schemes, [INFO] [stdout] 114 | | ..Default::default() [INFO] [stdout] 115 | | }), [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/gen.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn into_openapi(self) -> OpenApi { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let mut schema_generator = self.schema_generator; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let mut schemas = schema_generator.take_definitions(); [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 schemes: Map> = Default::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | ..OpenApi::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/gen.rs:112:63 [INFO] [stdout] | [INFO] [stdout] 112 | schemas: schemas.into_iter().map(|(k, v)| (k, v.into())).collect(), [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/handlers/content.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn bytes(content_type: ContentType, content: &'static [u8]) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | ContentHandler { [INFO] [stdout] 29 | content: (content_type, content), [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/handlers/content.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn bytes_owned(content_type: ContentType, content: Vec) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | ContentHandler { [INFO] [stdout] 39 | content: (content_type, content), [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/handlers/content.rs:56:85 [INFO] [stdout] | [INFO] [stdout] 56 | async fn handle<'r>(&self, req: &'r Request<'_>, data: Data<'r>) -> Outcome<'r> { [INFO] [stdout] | ______________________________________________________--------------_________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | | // match e.g. "/index.html" but not "/index.html/" [INFO] [stdout] 58 | | if req.uri().path().ends_with('/') { [INFO] [stdout] 59 | | Outcome::forward(data, Status::PermanentRedirect) [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | } [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/handlers/openapi.rs:28:82 [INFO] [stdout] | [INFO] [stdout] 28 | async fn handle<'r>(&self, req: &'r Request<'_>, _: Data<'r>) -> Outcome<'r> { [INFO] [stdout] | ______________________________________________________-___________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | | let mut spec = self.spec.clone(); [INFO] [stdout] 30 | | let base_path = req [INFO] [stdout] 31 | | .route() [INFO] [stdout] ... | [INFO] [stdout] 45 | | Outcome::from(req, RawJson(json)) [INFO] [stdout] 46 | | } [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/handlers/redirect.rs:29:82 [INFO] [stdout] | [INFO] [stdout] 29 | async fn handle<'r>(&self, req: &'r Request<'_>, _: Data<'r>) -> Outcome<'r> { [INFO] [stdout] | ______________________________________________________-___________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | | let path = req.route().unwrap().uri.base().trim_end_matches('/'); [INFO] [stdout] 31 | | Outcome::from(req, Redirect::to(format!("{}/{}", path, self.dest))) [INFO] [stdout] 32 | | } [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/request/from_form_multi_param_impls.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 61 | fn parameter_from_schema(schema: SchemaObject, name: String, mut required: bool) -> Parameter { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | value: ParameterValue::Schema { [INFO] [stdout] | ________________^ [INFO] [stdout] 81 | | style: None, [INFO] [stdout] 82 | | explode: None, [INFO] [stdout] 83 | | allow_reserved: false, [INFO] [stdout] ... | [INFO] [stdout] 86 | | examples: None, [INFO] [stdout] 87 | | }, [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/request/from_form_multi_param_impls.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 61 | fn parameter_from_schema(schema: SchemaObject, name: String, mut required: bool) -> Parameter { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | extensions: Object::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/request/from_form_param_impls.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | let schema = gen.json_schema::(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | Ok(Parameter { [INFO] [stdout] | ____________^ [INFO] [stdout] 31 | | name, [INFO] [stdout] 32 | | location: "query".to_owned(), [INFO] [stdout] 33 | | description: None, [INFO] [stdout] ... | [INFO] [stdout] 45 | | extensions: Object::default(), [INFO] [stdout] 46 | | }) [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/request/from_param_impls.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | let schema = gen.json_schema::(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Ok(Parameter { [INFO] [stdout] | ____________^ [INFO] [stdout] 18 | | name, [INFO] [stdout] 19 | | location: "path".to_owned(), [INFO] [stdout] 20 | | description: None, [INFO] [stdout] ... | [INFO] [stdout] 32 | | extensions: Object::default(), [INFO] [stdout] 33 | | }) [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/request/from_request_impls.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | let schema = gen.json_schema::(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | Ok(RequestHeaderInput::Parameter(Parameter { [INFO] [stdout] | ____________^ [INFO] [stdout] 52 | | name: "Accept".to_owned(), [INFO] [stdout] 53 | | location: "header".to_owned(), [INFO] [stdout] 54 | | description: None, [INFO] [stdout] ... | [INFO] [stdout] 66 | | extensions: Object::default(), [INFO] [stdout] 67 | | })) [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/request/from_request_impls.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | let schema = gen.json_schema::(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | Ok(RequestHeaderInput::Parameter(Parameter { [INFO] [stdout] | ____________^ [INFO] [stdout] 75 | | name: "Content-Type".to_owned(), [INFO] [stdout] 76 | | location: "header".to_owned(), [INFO] [stdout] 77 | | description: None, [INFO] [stdout] ... | [INFO] [stdout] 89 | | extensions: Object::default(), [INFO] [stdout] 90 | | })) [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/request/from_request_impls.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | let schema = gen.json_schema::(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | Ok(RequestHeaderInput::Parameter(Parameter { [INFO] [stdout] | ____________^ [INFO] [stdout] 104 | | name: "Host".to_owned(), [INFO] [stdout] 105 | | location: "header".to_owned(), [INFO] [stdout] 106 | | description: None, [INFO] [stdout] ... | [INFO] [stdout] 118 | | extensions: Object::default(), [INFO] [stdout] 119 | | })) [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/request/from_segments_impls.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | let schema = gen.json_schema::(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Ok(Parameter { [INFO] [stdout] | ____________^ [INFO] [stdout] 18 | | name, [INFO] [stdout] 19 | | location: "path".to_owned(), [INFO] [stdout] 20 | | description: None, [INFO] [stdout] ... | [INFO] [stdout] 32 | | extensions: Object::default(), [INFO] [stdout] 33 | | }) [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/util.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | .or_insert_with(|| Response::default().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/util.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | .or_insert_with(|| Response::default().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/util.rs:117:46 [INFO] [stdout] | [INFO] [stdout] 116 | content.values().fold(MediaType::default(), |mt, mt2| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | accept_either_media_type(mt, mt2.clone()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util.rs:152:36 [INFO] [stdout] | [INFO] [stdout] 152 | .or_insert_with(|| Response::default().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/util.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 174 | fn produce_either_response(r1: Response, r2: Response) -> Response { [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] 183 | let mut content = r1.content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | headers: extend(r1.headers, r2.headers), [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/util.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 174 | fn produce_either_response(r1: Response, r2: Response) -> Response { [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] 183 | let mut content = r1.content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | links: extend(r1.links, r2.links), [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/util.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 174 | fn produce_either_response(r1: Response, r2: Response) -> Response { [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] 183 | let mut content = r1.content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | extensions: extend(r1.extensions, r2.extensions), [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/util.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 197 | fn accept_either_media_type(mt1: MediaType, mt2: MediaType) -> MediaType { [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] 198 | MediaType { [INFO] [stdout] 199 | schema: accept_either_schema(mt1.schema, mt2.schema), [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/util.rs:201:19 [INFO] [stdout] | [INFO] [stdout] 197 | fn accept_either_media_type(mt1: MediaType, mt2: MediaType) -> MediaType { [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] 201 | examples: match (mt1.examples, mt2.examples) { [INFO] [stdout] | ___________________^ [INFO] [stdout] 202 | | (Some(e1), Some(e2)) => Some(extend(e1, e2)), [INFO] [stdout] 203 | | (Some(e), None) | (None, Some(e)) => Some(e), [INFO] [stdout] 204 | | (None, None) => None, [INFO] [stdout] 205 | | }, [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/util.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 197 | fn accept_either_media_type(mt1: MediaType, mt2: MediaType) -> MediaType { [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] 206 | encoding: extend(mt1.encoding, mt2.encoding), [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/util.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 197 | fn accept_either_media_type(mt1: MediaType, mt2: MediaType) -> MediaType { [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] 207 | extensions: extend(mt1.extensions, mt2.extensions), [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 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_okapi` (lib test) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "aac90346f7bdef53dd670c2927cbdb0bfdb50a460837eef5537e4f0987ef71f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aac90346f7bdef53dd670c2927cbdb0bfdb50a460837eef5537e4f0987ef71f2", kill_on_drop: false }` [INFO] [stdout] aac90346f7bdef53dd670c2927cbdb0bfdb50a460837eef5537e4f0987ef71f2