[INFO] fetching crate cbor-diag 0.1.12... [INFO] checking cbor-diag-0.1.12 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cbor-diag 0.1.12 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate cbor-diag 0.1.12 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 cbor-diag 0.1.12 [INFO] finished tweaking crates.io crate cbor-diag 0.1.12 [INFO] tweaked toml for crates.io crate cbor-diag 0.1.12 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 53 packages to latest compatible versions [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [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 yansi v0.5.1 (latest: v1.0.1) [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] 10acea79ec96d41c4cec4dd4c715e7016d6e7471c722d9ae08b6e6c366b8c85e [INFO] running `Command { std: "docker" "start" "-a" "10acea79ec96d41c4cec4dd4c715e7016d6e7471c722d9ae08b6e6c366b8c85e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10acea79ec96d41c4cec4dd4c715e7016d6e7471c722d9ae08b6e6c366b8c85e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10acea79ec96d41c4cec4dd4c715e7016d6e7471c722d9ae08b6e6c366b8c85e", kill_on_drop: false }` [INFO] [stdout] 10acea79ec96d41c4cec4dd4c715e7016d6e7471c722d9ae08b6e6c366b8c85e [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] 9ca7ace95f17d77cc18db6eda78eec496b992b50e0647f074defb8162f046621 [INFO] running `Command { std: "docker" "start" "-a" "9ca7ace95f17d77cc18db6eda78eec496b992b50e0647f074defb8162f046621", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking separator v0.4.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking data-encoding-macro v0.1.15 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking cbor-diag v0.1.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/encode/hex.rs:620:32 [INFO] [stdout] | [INFO] [stdout] 620 | NaiveDateTime::from_timestamp_opt(value as i64, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/encode/hex.rs:628:32 [INFO] [stdout] | [INFO] [stdout] 628 | NaiveDateTime::from_timestamp_opt(value, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/encode/hex.rs:643:32 [INFO] [stdout] | [INFO] [stdout] 643 | NaiveDateTime::from_timestamp_opt(value as i64, fract as u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking zerocopy v0.7.35 [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/parse/binary.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 137 | let (input, data) = count(data_item, length as usize)(input)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 139 | | input, [INFO] [stdout] 140 | | DataItem::Array { [INFO] [stdout] 141 | | data, [INFO] [stdout] 142 | | bitwidth: Some(bitwidth), [INFO] [stdout] 143 | | }, [INFO] [stdout] 144 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parse/binary.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 165 | let (input, data) = count(pair(data_item, data_item), length as usize)(input)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 167 | | input, [INFO] [stdout] 168 | | DataItem::Map { [INFO] [stdout] 169 | | data, [INFO] [stdout] 170 | | bitwidth: Some(bitwidth), [INFO] [stdout] 171 | | }, [INFO] [stdout] 172 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parse/binary.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 194 | let (input, value) = data_item(input)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | let value = Box::new(value); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 197 | | input, [INFO] [stdout] 198 | | DataItem::Tag { [INFO] [stdout] 199 | | tag: Tag(tag), [INFO] [stdout] ... | [INFO] [stdout] 202 | | }, [INFO] [stdout] 203 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parse/binary.rs:341:11 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn parse_bytes_partial(bytes: impl AsRef<[u8]>) -> Result> { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 341 | match data_item(bytes.as_ref()) { [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/parse/diag.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 40 | parser: impl FnMut(&'a str) -> IResult<&'a str, &'a str>, [INFO] [stdout] | -------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | many0(delimited(ws_or_comment::<()>, parser, ws_or_comment::<()>)), [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/parse/diag.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 175 | let (input, value) = map_res(alt((hexadecimal, octal, binary, decimal)), T::try_from)(input)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | let (input, encoding) = opt(encoding)(input)?; [INFO] [stdout] 177 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 178 | | input, [INFO] [stdout] 179 | | ( [INFO] [stdout] 180 | | value, [INFO] [stdout] ... | [INFO] [stdout] 189 | | ), [INFO] [stdout] 190 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parse/diag.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | |items| items.into_iter().flat_map(|item| item.to_bytes()).collect(), [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] [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/parse/diag.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 424 | let (input, value) = delimited(tag("("), data_item, tag(")"))(input)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 425 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 426 | | input, [INFO] [stdout] 427 | | DataItem::Tag { [INFO] [stdout] 428 | | tag: Tag(tag_), [INFO] [stdout] ... | [INFO] [stdout] 435 | | }, [INFO] [stdout] 436 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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 8 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cbor-diag` (lib) due to 9 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9ca7ace95f17d77cc18db6eda78eec496b992b50e0647f074defb8162f046621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ca7ace95f17d77cc18db6eda78eec496b992b50e0647f074defb8162f046621", kill_on_drop: false }` [INFO] [stdout] 9ca7ace95f17d77cc18db6eda78eec496b992b50e0647f074defb8162f046621