[INFO] fetching crate poem-ext 0.12.0... [INFO] checking poem-ext-0.12.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate poem-ext 0.12.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate poem-ext 0.12.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 poem-ext 0.12.0 [INFO] finished tweaking crates.io crate poem-ext 0.12.0 [INFO] tweaked toml for crates.io crate poem-ext 0.12.0 written to /workspace/builds/worker-6-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 209 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding derive_more v0.99.18 (latest: v1.0.0) [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 heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding ordered-float v3.9.2 (latest: v4.2.2) [INFO] [stderr] Adding ouroboros v0.17.2 (latest: v0.18.4) [INFO] [stderr] Adding ouroboros_macro v0.17.2 (latest: v0.18.4) [INFO] [stderr] Adding quick-xml v0.32.0 (latest: v0.36.1) [INFO] [stderr] Adding sea-orm v0.12.15 (latest: v1.0.1) [INFO] [stderr] Adding sea-orm-macros v0.12.15 (latest: v1.0.1) [INFO] [stderr] Adding sea-query v0.30.7 (latest: v0.31.0) [INFO] [stderr] Adding strum v0.25.0 (latest: v0.26.3) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] c81291fdf9cba540c4bb23daab5310307bac211dc875d20f1ca7236dcbabdc5e [INFO] running `Command { std: "docker" "start" "-a" "c81291fdf9cba540c4bb23daab5310307bac211dc875d20f1ca7236dcbabdc5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c81291fdf9cba540c4bb23daab5310307bac211dc875d20f1ca7236dcbabdc5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c81291fdf9cba540c4bb23daab5310307bac211dc875d20f1ca7236dcbabdc5e", kill_on_drop: false }` [INFO] [stdout] c81291fdf9cba540c4bb23daab5310307bac211dc875d20f1ca7236dcbabdc5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 6acfd966e3b97f61a9df86c3e8469b97b21ef27f33420c2846c9bdeca1dd4a1a [INFO] running `Command { std: "docker" "start" "-a" "6acfd966e3b97f61a9df86c3e8469b97b21ef27f33420c2846c9bdeca1dd4a1a", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rfc7239 v0.1.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking wildmatch v2.3.4 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling sea-bae v0.2.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Compiling inherent v1.0.11 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking sea-query v0.30.7 [INFO] [stderr] Compiling sea-orm-macros v0.12.15 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling poem-derive v3.0.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking ouroboros v0.17.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling poem-openapi-derive v5.0.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-shield v0.1.1 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking quick-xml v0.36.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking sea-orm v0.12.15 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking poem v3.0.4 [INFO] [stderr] Checking poem-openapi v5.0.3 [INFO] [stderr] Checking poem-ext v0.12.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/db.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn with_check_fn(self, check_fn: F) -> Self [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] 92 | check_fn: Some(Arc::new(check_fn)), [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/db.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 100 | fn transform(&self, ep: E) -> Self::Output { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | check_fn: self.check_fn.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/patch_value.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 209 | fn deserialize(deserializer: D) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | match Option::::deserialize(deserializer) { [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/responses/mod.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 80 | fn from(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | Self(InnerResponseData::Ok { [INFO] [stdout] | ______________^ [INFO] [stdout] 82 | | value, [INFO] [stdout] 83 | | _auth: PhantomData, [INFO] [stdout] 84 | | }) [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/responses/mod.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 178 | fn from_parse_request_error(error: poem::Error) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | Self(InnerResponseData::BadRequest { error }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/responses/merge_schemas.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | meta_media_types: impl IntoIterator, [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | ) -> Vec { [INFO] [stdout] 7 | / meta_media_types [INFO] [stdout] 8 | | .into_iter() [INFO] [stdout] 9 | | .into_group_map_by(|e| e.content_type) [INFO] [stdout] 10 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | }) [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/responses/merge_schemas.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | responses: impl IntoIterator, [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | ) -> Vec { [INFO] [stdout] 30 | / responses [INFO] [stdout] 31 | | .into_iter() [INFO] [stdout] 32 | | .into_group_map_by(|e| e.status) [INFO] [stdout] 33 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }) [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/shield_mw.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn shield(ep: E) -> ShieldEndpoint { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ShieldEndpoint(Arc::new(ep)) [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/shield_mw.rs:77:35 [INFO] [stdout] | [INFO] [stdout] 75 | async fn call(&self, req: poem::Request) -> poem::Result { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let ep = Arc::clone(&self.0); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | async move { ep.call(req).await }.shield().await [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 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `poem-ext` (lib) due to 10 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/auth.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | .map_err(|err| err.into_response().status().into()) [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] = 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/db.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn with_check_fn(self, check_fn: F) -> Self [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] 92 | check_fn: Some(Arc::new(check_fn)), [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/db.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 100 | fn transform(&self, ep: E) -> Self::Output { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | check_fn: self.check_fn.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/patch_value.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 209 | fn deserialize(deserializer: D) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | match Option::::deserialize(deserializer) { [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/responses/mod.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 80 | fn from(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | Self(InnerResponseData::Ok { [INFO] [stdout] | ______________^ [INFO] [stdout] 82 | | value, [INFO] [stdout] 83 | | _auth: PhantomData, [INFO] [stdout] 84 | | }) [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/responses/mod.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 178 | fn from_parse_request_error(error: poem::Error) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | Self(InnerResponseData::BadRequest { error }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/responses/merge_schemas.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | meta_media_types: impl IntoIterator, [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | ) -> Vec { [INFO] [stdout] 7 | / meta_media_types [INFO] [stdout] 8 | | .into_iter() [INFO] [stdout] 9 | | .into_group_map_by(|e| e.content_type) [INFO] [stdout] 10 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | }) [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/responses/merge_schemas.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | responses: impl IntoIterator, [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | ) -> Vec { [INFO] [stdout] 30 | / responses [INFO] [stdout] 31 | | .into_iter() [INFO] [stdout] 32 | | .into_group_map_by(|e| e.status) [INFO] [stdout] 33 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | }) [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/shield_mw.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn shield(ep: E) -> ShieldEndpoint { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ShieldEndpoint(Arc::new(ep)) [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/shield_mw.rs:77:35 [INFO] [stdout] | [INFO] [stdout] 75 | async fn call(&self, req: poem::Request) -> poem::Result { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let ep = Arc::clone(&self.0); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | async move { ep.call(req).await }.shield().await [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 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `poem-ext` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "6acfd966e3b97f61a9df86c3e8469b97b21ef27f33420c2846c9bdeca1dd4a1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6acfd966e3b97f61a9df86c3e8469b97b21ef27f33420c2846c9bdeca1dd4a1a", kill_on_drop: false }` [INFO] [stdout] 6acfd966e3b97f61a9df86c3e8469b97b21ef27f33420c2846c9bdeca1dd4a1a