[INFO] fetching crate serde_with 3.9.0... [INFO] checking serde_with-3.9.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate serde_with 3.9.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate serde_with 3.9.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 serde_with 3.9.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate serde_with 3.9.0 [INFO] tweaked toml for crates.io crate serde_with 3.9.0 written to /workspace/builds/worker-0-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 142 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [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 hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding jsonschema v0.18.3 (available: v0.20.0) [INFO] [stderr] Adding pulldown-cmark v0.9.6 (available: v0.12.1) [INFO] [stderr] Adding toml v0.7.8 (available: v0.8.19) [INFO] [stderr] Adding toml_edit v0.19.15 (available: v0.22.22) [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 winnow v0.5.40 (available: v0.6.20) [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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 10e5d8e0ceb8aeeda1466763751199716b505279f0e078c6e32c850594b14ede [INFO] running `Command { std: "docker" "start" "-a" "10e5d8e0ceb8aeeda1466763751199716b505279f0e078c6e32c850594b14ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10e5d8e0ceb8aeeda1466763751199716b505279f0e078c6e32c850594b14ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10e5d8e0ceb8aeeda1466763751199716b505279f0e078c6e32c850594b14ede", kill_on_drop: false }` [INFO] [stdout] 10e5d8e0ceb8aeeda1466763751199716b505279f0e078c6e32c850594b14ede [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] af77e58de82422cda86e8679b3c4e9b07c4956f4eaf87f51ae40640d26763268 [INFO] running `Command { std: "docker" "start" "-a" "af77e58de82422cda86e8679b3c4e9b07c4956f4eaf87f51ae40640d26763268", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking fraction v0.15.3 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking expect-test v1.5.0 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking syn v2.0.79 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking serde_with v3.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/content/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-W unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking jsonschema v0.18.3 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stdout] error: this value of type `std::collections::hash_map::Entry<'_, K, V>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/duplicate_key_impls/first_value_wins.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 25 | fn insert(&mut self, key: K, value: V) { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | match self.entry(key) { [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 `alloc::collections::btree_map::Entry<'_, K, V>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/duplicate_key_impls/first_value_wins.rs:135:15 [INFO] [stdout] | [INFO] [stdout] 132 | fn insert(&mut self, key: K, value: V) { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | match self.entry(key) { [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 `core::option::Option<>::Value>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/enum_map.rs:836:15 [INFO] [stdout] | [INFO] [stdout] 832 | fn variant_seed(mut self, seed: T) -> Result<(T::Value, Self::Variant), Self::Error> [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 836 | match self.delegate.next_key_seed(seed)? { [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 `core::result::Result, BorrowError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ser/impls.rs:267:15 [INFO] [stdout] | [INFO] [stdout] 263 | fn serialize_as(source: &RefCell, serializer: S) -> Result [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 267 | match source.try_borrow() { [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 `core::result::Result, PoisonError>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ser/impls.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 279 | fn serialize_as(source: &Mutex, serializer: S) -> Result [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 283 | match source.lock() { [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 `core::result::Result, PoisonError>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ser/impls.rs:299:15 [INFO] [stdout] | [INFO] [stdout] 295 | fn serialize_as(source: &RwLock, serializer: S) -> Result [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 299 | match source.read() { [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 `U` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ser/impls.rs:948:9 [INFO] [stdout] | [INFO] [stdout] 944 | fn serialize_as(source: &T, serializer: S) -> Result [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 948 | / source [INFO] [stdout] 949 | | .clone() [INFO] [stdout] 950 | | .try_into() [INFO] [stdout] 951 | | .map_err(S::Error::custom)? [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 `U` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ser/impls.rs:979:9 [INFO] [stdout] | [INFO] [stdout] 975 | fn serialize_as(source: &T, serializer: S) -> Result [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 979 | / source [INFO] [stdout] 980 | | .try_into() [INFO] [stdout] 981 | | .map_err(S::Error::custom)? [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] [stderr] Checking version-sync v0.9.5 [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_with` (lib) due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "af77e58de82422cda86e8679b3c4e9b07c4956f4eaf87f51ae40640d26763268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af77e58de82422cda86e8679b3c4e9b07c4956f4eaf87f51ae40640d26763268", kill_on_drop: false }` [INFO] [stdout] af77e58de82422cda86e8679b3c4e9b07c4956f4eaf87f51ae40640d26763268