[INFO] fetching crate libocc 0.5.0... [INFO] checking libocc-0.5.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate libocc 0.5.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate libocc 0.5.0 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 libocc 0.5.0 [INFO] finished tweaking crates.io crate libocc 0.5.0 [INFO] tweaked toml for crates.io crate libocc 0.5.0 written to /workspace/builds/worker-5-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 81 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.6) [INFO] [stderr] Adding blake2b_simd v0.5.11 (latest: v1.0.2) [INFO] [stderr] Adding blake2s_simd v0.5.11 (latest: v1.0.2) [INFO] [stderr] Adding blake3 v0.3.8 (latest: v1.5.4) [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding block-padding v0.2.1 (latest: v0.3.3) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding constant_time_eq v0.1.5 (latest: v0.3.1) [INFO] [stderr] Adding crypto-mac v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding multihash v0.13.2 (latest: v0.19.1) [INFO] [stderr] Adding multihash-derive v0.7.2 (latest: v0.9.0) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (latest: v3.2.0) [INFO] [stderr] Adding sha2 v0.9.9 (latest: v0.10.8) [INFO] [stderr] Adding sha3 v0.9.1 (latest: v0.10.8) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.20) [INFO] [stderr] Adding unsigned-varint v0.5.1 (latest: v0.8.0) [INFO] [stderr] Adding uuid v0.8.2 (latest: v1.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.18) [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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31f3da7f4c864f5df2ef39742f9b6ec5f9064231bcc93a542ce3e79346dfc2fd [INFO] running `Command { std: "docker" "start" "-a" "31f3da7f4c864f5df2ef39742f9b6ec5f9064231bcc93a542ce3e79346dfc2fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31f3da7f4c864f5df2ef39742f9b6ec5f9064231bcc93a542ce3e79346dfc2fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f3da7f4c864f5df2ef39742f9b6ec5f9064231bcc93a542ce3e79346dfc2fd", kill_on_drop: false }` [INFO] [stdout] 31f3da7f4c864f5df2ef39742f9b6ec5f9064231bcc93a542ce3e79346dfc2fd [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7130fbe5741124944389575d4045a9f1818a838c00b2f0a04cc67138e742df20 [INFO] running `Command { std: "docker" "start" "-a" "7130fbe5741124944389575d4045a9f1818a838c00b2f0a04cc67138e742df20", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking unsigned-varint v0.5.1 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Checking multihash v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking libocc v0.5.0 (/opt/rustwide/workdir) [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/core/event.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn create(data: Cow<'a, T>) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | Self::Create(EventContent { [INFO] [stdout] | ______________________^ [INFO] [stdout] 51 | | timestamp: Utc::now(), [INFO] [stdout] 52 | | data, [INFO] [stdout] 53 | | }) [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/core/event.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn update(data: Cow<'a, T>) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | Self::Update(EventContent { [INFO] [stdout] | ______________________^ [INFO] [stdout] 59 | | timestamp: Utc::now(), [INFO] [stdout] 60 | | data, [INFO] [stdout] 61 | | }) [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/core/event.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn delete(data: Cow<'a, T>) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | Self::Delete(EventContent { [INFO] [stdout] | ______________________^ [INFO] [stdout] 67 | | timestamp: Utc::now(), [INFO] [stdout] 68 | | data, [INFO] [stdout] 69 | | }) [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/core/event.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn take(self) -> Cow<'a, T> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | / match self { [INFO] [stdout] 104 | | Self::Create(data) | Self::Update(data) | Self::Delete(data) => data, [INFO] [stdout] 105 | | } [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libocc` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/core/event.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn create(data: Cow<'a, T>) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | Self::Create(EventContent { [INFO] [stdout] | ______________________^ [INFO] [stdout] 51 | | timestamp: Utc::now(), [INFO] [stdout] 52 | | data, [INFO] [stdout] 53 | | }) [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/core/event.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn update(data: Cow<'a, T>) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | Self::Update(EventContent { [INFO] [stdout] | ______________________^ [INFO] [stdout] 59 | | timestamp: Utc::now(), [INFO] [stdout] 60 | | data, [INFO] [stdout] 61 | | }) [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/core/event.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn delete(data: Cow<'a, T>) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | Self::Delete(EventContent { [INFO] [stdout] | ______________________^ [INFO] [stdout] 67 | | timestamp: Utc::now(), [INFO] [stdout] 68 | | data, [INFO] [stdout] 69 | | }) [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/core/event.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn take(self) -> Cow<'a, T> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | / match self { [INFO] [stdout] 104 | | Self::Create(data) | Self::Update(data) | Self::Delete(data) => data, [INFO] [stdout] 105 | | } [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libocc` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "7130fbe5741124944389575d4045a9f1818a838c00b2f0a04cc67138e742df20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7130fbe5741124944389575d4045a9f1818a838c00b2f0a04cc67138e742df20", kill_on_drop: false }` [INFO] [stdout] 7130fbe5741124944389575d4045a9f1818a838c00b2f0a04cc67138e742df20