[INFO] fetching crate slumber_core 2.0.0... [INFO] checking slumber_core-2.0.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate slumber_core 2.0.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate slumber_core 2.0.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 slumber_core 2.0.0 [INFO] finished tweaking crates.io crate slumber_core 2.0.0 [INFO] tweaked toml for crates.io crate slumber_core 2.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 232 packages to latest compatible versions [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding deadpool v0.10.0 (available: v0.12.1) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding libsqlite3-sys v0.28.0 (available: v0.30.1) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding rstest v0.21.0 (available: v0.22.0) [INFO] [stderr] Adding rstest_macros v0.21.0 (available: v0.22.0) [INFO] [stderr] Adding rusqlite v0.31.0 (available: v0.32.1) [INFO] [stderr] Adding rustls-native-certs v0.7.3 (available: v0.8.0) [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-core v0.52.0 (available: v0.58.0) [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.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca5e824695fa04b6984e190dc9b7cbd6201856e986011ccfd3d78327b396542b [INFO] running `Command { std: "docker" "start" "-a" "ca5e824695fa04b6984e190dc9b7cbd6201856e986011ccfd3d78327b396542b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca5e824695fa04b6984e190dc9b7cbd6201856e986011ccfd3d78327b396542b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca5e824695fa04b6984e190dc9b7cbd6201856e986011ccfd3d78327b396542b", kill_on_drop: false }` [INFO] [stdout] ca5e824695fa04b6984e190dc9b7cbd6201856e986011ccfd3d78327b396542b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9840f6150357b061ce5f5812056324aba7cb06d166661a98c422b40dc23f48fe [INFO] running `Command { std: "docker" "start" "-a" "9840f6150357b061ce5f5812056324aba7cb06d166661a98c422b40dc23f48fe", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking rustls-pki-types v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Compiling rstest_macros v0.21.0 [INFO] [stderr] Compiling rusqlite_migration v1.2.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking webpki-roots v0.26.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking rustls-native-certs v0.8.0 [INFO] [stderr] Checking rustls-native-certs v0.7.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking env-lock v0.1.2 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling serde_json_path_macros_internal v0.1.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling proptest-derive v0.5.0 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking rstest v0.21.0 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde_json_path_core v0.1.6 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking openapiv3 v2.0.0 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking serde_json_path_macros v0.1.4 [INFO] [stderr] Checking serde_json_path v0.6.7 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking deadpool v0.10.0 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Checking wiremock v0.6.2 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking slumber_core v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `serde_yaml::Value` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/collection/cereal.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 502 | #[case] body: RecipeBody, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 505 | let yaml = yaml.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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `anyhow::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_util.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let error: anyhow::Error = $e.unwrap_err().into(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/collection/openapi/resolve.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let resolver = ReferenceResolver::new(Some(Components::default())); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 239 | assert_err!(result, "refers to an object that does not exist") [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `assert_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `resolve::ReferenceResolver` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/collection/openapi/resolve.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | let components = ReferenceResolver::new(Some(components)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/test_util.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let error: anyhow::Error = $e.unwrap_err().into(); [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 `collection::models::RecipeBody` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/collection/openapi.rs:812:20 [INFO] [stdout] | [INFO] [stdout] 796 | mut builder: RecipeBuilder<'static>, [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 797 | #[case] body_content: impl IntoIterator, [INFO] [stdout] 798 | #[case] expected: RecipeBody, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 812 | assert_eq!(builder.body.unwrap(), expected); [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: this value of type `Migrations<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db/migrations.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 361 | mut connection: Connection, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 362 | ) { [INFO] [stdout] 363 | let migrations = migrations(); [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: this value of type `Migrations<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db/migrations.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 465 | mut connection: Connection, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 466 | ) { [INFO] [stdout] 467 | let migrations = migrations(); [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: this value of type `Migrations<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/db/migrations.rs:541:13 [INFO] [stdout] | [INFO] [stdout] 540 | fn test_migration_collection_paths(mut connection: Connection) { [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 541 | let migrations = migrations(); [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: this value of type `http::models::ResponseRecord` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/content_type.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 241 | #[case] expected: T, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 242 | ) { [INFO] [stdout] 243 | let response = ResponseRecord { [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: this value of type `http::models::ResponseRecord` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http/content_type.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 277 | #[case] content_type: Option, [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] 285 | let response = ResponseRecord { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/test_util.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let error: anyhow::Error = $e.unwrap_err().into(); [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 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `slumber_core` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "9840f6150357b061ce5f5812056324aba7cb06d166661a98c422b40dc23f48fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9840f6150357b061ce5f5812056324aba7cb06d166661a98c422b40dc23f48fe", kill_on_drop: false }` [INFO] [stdout] 9840f6150357b061ce5f5812056324aba7cb06d166661a98c422b40dc23f48fe