[INFO] fetching crate sval_nested 2.13.1... [INFO] checking sval_nested-2.13.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate sval_nested 2.13.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate sval_nested 2.13.1 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sval_nested 2.13.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate sval_nested 2.13.1 [INFO] tweaked toml for crates.io crate sval_nested 2.13.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate sval_nested 2.13.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e77ef06c43ce9e276e7212771e29285f746d60c79f5510d8943cf770107c3eb [INFO] running `Command { std: "docker" "start" "-a" "6e77ef06c43ce9e276e7212771e29285f746d60c79f5510d8943cf770107c3eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e77ef06c43ce9e276e7212771e29285f746d60c79f5510d8943cf770107c3eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e77ef06c43ce9e276e7212771e29285f746d60c79f5510d8943cf770107c3eb", kill_on_drop: false }` [INFO] [stdout] 6e77ef06c43ce9e276e7212771e29285f746d60c79f5510d8943cf770107c3eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24beaf6ff18e8187bb4461dac2d6a36ae5c3f05050612af4a6f0f64a279acdad [INFO] running `Command { std: "docker" "start" "-a" "24beaf6ff18e8187bb4461dac2d6a36ae5c3f05050612af4a6f0f64a279acdad", kill_on_drop: false }` [INFO] [stderr] Checking sval v2.13.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking sval_ref v2.13.1 [INFO] [stderr] Checking sval_buffer v2.13.1 [INFO] [stderr] Checking sval_nested v2.13.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `EnumVariant<'_, S>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/flat.rs:1001:27 [INFO] [stdout] | [INFO] [stdout] 867 | any: impl FnOnce(S) -> Result, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 868 | tagged: impl FnOnce( [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 874 | seq: impl FnOnce(&mut S::Seq) -> Result, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 875 | map_key: impl FnOnce(&mut S::Map) -> Result, [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 876 | map_value: impl FnOnce(&mut S::Map) -> Result, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 877 | tuple: impl FnOnce(&mut S::Tuple, Option, sval::Index) -> Result, [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 878 | record: impl FnOnce(&mut S::Record, Option, sval::Label) -> Result, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 879 | tagged_variant: impl FnOnce( [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 885 | tuple_variant: impl FnOnce( [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 890 | record_variant: impl FnOnce( [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1001 | match stream.take().ok_or_else(|| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1002 | | Error::invalid_value( [INFO] [stdout] 1003 | | "cannot stream an enum variant; the stream is already completed", [INFO] [stdout] 1004 | | ) [INFO] [stdout] 1005 | | })? { [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/flat_enum.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 47 | mut self, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | value: impl FnOnce(Self, I) -> Result, [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | nested: impl FnOnce( [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | if let Some(variant) = self.queue.pop_front() { [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sval_nested` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "24beaf6ff18e8187bb4461dac2d6a36ae5c3f05050612af4a6f0f64a279acdad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24beaf6ff18e8187bb4461dac2d6a36ae5c3f05050612af4a6f0f64a279acdad", kill_on_drop: false }` [INFO] [stdout] 24beaf6ff18e8187bb4461dac2d6a36ae5c3f05050612af4a6f0f64a279acdad