[INFO] fetching crate am-api 1.1.0... [INFO] checking am-api-1.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate am-api 1.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate am-api 1.1.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate am-api 1.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate am-api 1.1.0 [INFO] tweaked toml for crates.io crate am-api 1.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 170 packages to latest compatible versions [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding idna v0.3.0 (available: v1.0.2) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-registry v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding windows-strings v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0931c89ff7936cdb9511a0fb3d9924589dcf2bf50edcd6570fc3d4b04fe2e88d [INFO] running `Command { std: "docker" "start" "-a" "0931c89ff7936cdb9511a0fb3d9924589dcf2bf50edcd6570fc3d4b04fe2e88d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0931c89ff7936cdb9511a0fb3d9924589dcf2bf50edcd6570fc3d4b04fe2e88d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0931c89ff7936cdb9511a0fb3d9924589dcf2bf50edcd6570fc3d4b04fe2e88d", kill_on_drop: false }` [INFO] [stdout] 0931c89ff7936cdb9511a0fb3d9924589dcf2bf50edcd6570fc3d4b04fe2e88d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b232081a9b3e05df6894c383f9d7f814eada00fdaf74eba117222700d663f24f [INFO] running `Command { std: "docker" "start" "-a" "b232081a9b3e05df6894c383f9d7f814eada00fdaf74eba117222700d663f24f", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking rustls-pki-types v1.9.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking ring v0.17.8 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking webpki-roots v0.26.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking publicsuffix v2.2.3 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling am-api-proc-macro v1.1.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking celes v2.4.0 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Checking cookie_store v0.21.0 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking am-api v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/request/paginated.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 22 | / try_stream! { [INFO] [stdout] 23 | | loop { [INFO] [stdout] 24 | | request_context.query.push((String::from("offset"), offset.to_string())); [INFO] [stdout] 25 | | [INFO] [stdout] 26 | | let response = client [INFO] [stdout] | | ____________________________^ [INFO] [stdout] 27 | || .get(&endpoint) [INFO] [stdout] 28 | || .query(&request_context.query) [INFO] [stdout] 29 | || .send() [INFO] [stdout] 30 | || .await?; [INFO] [stdout] | ||______________________^ [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | | - [INFO] [stdout] | |______| [INFO] [stdout] | |______these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/request/paginated.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 22 | / try_stream! { [INFO] [stdout] 23 | | loop { [INFO] [stdout] 24 | | request_context.query.push((String::from("offset"), offset.to_string())); [INFO] [stdout] 25 | | [INFO] [stdout] 26 | | let response = client [INFO] [stdout] | | ____________________________^ [INFO] [stdout] 27 | || .get(&endpoint) [INFO] [stdout] 28 | || .query(&request_context.query) [INFO] [stdout] 29 | || .send() [INFO] [stdout] 30 | || .await?; [INFO] [stdout] | ||______________________^ [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | | - [INFO] [stdout] | |______| [INFO] [stdout] | |______these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |______these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [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: this value of type `std::vec::IntoIter` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resource/relationship.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 47 | / try_stream! { [INFO] [stdout] 48 | | let mut relationship = relationship; [INFO] [stdout] | | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | | [INFO] [stdout] 50 | | loop { [INFO] [stdout] 51 | | for mut entry in relationship.data { [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [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: this value of type `SearchRelationship` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resource/search/mod.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 51 | / try_stream! { [INFO] [stdout] 52 | | let mut relationship = Some(relationship); [INFO] [stdout] | | ---------------- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | | [INFO] [stdout] 54 | | while let Some(rel) = relationship { [INFO] [stdout] | | ^^^ [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [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: this value of type `std::vec::IntoIter` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resource/relationship.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 47 | / try_stream! { [INFO] [stdout] 48 | | let mut relationship = relationship; [INFO] [stdout] | | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | | [INFO] [stdout] 50 | | loop { [INFO] [stdout] 51 | | for mut entry in relationship.data { [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [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: this value of type `std::vec::IntoIter` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resource/view.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 50 | / try_stream! { [INFO] [stdout] 51 | | let mut view = view; [INFO] [stdout] | | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | | [INFO] [stdout] 53 | | loop { [INFO] [stdout] 54 | | for mut entry in view.data { [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [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: this value of type `SearchRelationship` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resource/search/mod.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 51 | / try_stream! { [INFO] [stdout] 52 | | let mut relationship = Some(relationship); [INFO] [stdout] | | ---------------- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | | [INFO] [stdout] 54 | | while let Some(rel) = relationship { [INFO] [stdout] | | ^^^ [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [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: this value of type `std::vec::IntoIter` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resource/view.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 50 | / try_stream! { [INFO] [stdout] 51 | | let mut view = view; [INFO] [stdout] | | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | | [INFO] [stdout] 53 | | loop { [INFO] [stdout] 54 | | for mut entry in view.data { [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `am-api` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `am-api` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "b232081a9b3e05df6894c383f9d7f814eada00fdaf74eba117222700d663f24f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b232081a9b3e05df6894c383f9d7f814eada00fdaf74eba117222700d663f24f", kill_on_drop: false }` [INFO] [stdout] b232081a9b3e05df6894c383f9d7f814eada00fdaf74eba117222700d663f24f