[INFO] fetching crate workflow-encryption 0.17.0... [INFO] checking workflow-encryption-0.17.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate workflow-encryption 0.17.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate workflow-encryption 0.17.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 workflow-encryption 0.17.0 [INFO] finished tweaking crates.io crate workflow-encryption 0.17.0 [INFO] tweaked toml for crates.io crate workflow-encryption 0.17.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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 222 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding async-channel v1.9.0 (latest: v2.3.1) [INFO] [stderr] Adding async-io v1.13.0 (latest: v2.3.4) [INFO] [stderr] Adding async-lock v2.8.0 (latest: v3.4.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding encode_unicode v0.3.6 (latest: v1.0.0) [INFO] [stderr] Adding event-listener v2.5.3 (latest: v5.3.1) [INFO] [stderr] Adding fastrand v1.9.0 (latest: v2.1.1) [INFO] [stderr] Adding futures-lite v1.13.0 (latest: v2.3.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding gloo-timers v0.2.6 (latest: v0.3.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding io-lifetimes v1.0.11 (latest: v2.0.3) [INFO] [stderr] Adding linux-raw-sys v0.3.8 (latest: v0.6.5) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding polling v2.8.0 (latest: v3.7.3) [INFO] [stderr] Adding rustix v0.37.27 (latest: v0.38.35) [INFO] [stderr] Adding socket2 v0.4.10 (latest: v0.5.7) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding vergen v8.3.2 (latest: v9.0.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 windows-sys v0.48.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da0571b774012227718230bd4837b560ca6ec9d1daf2767800b9699535400c40 [INFO] running `Command { std: "docker" "start" "-a" "da0571b774012227718230bd4837b560ca6ec9d1daf2767800b9699535400c40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da0571b774012227718230bd4837b560ca6ec9d1daf2767800b9699535400c40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da0571b774012227718230bd4837b560ca6ec9d1daf2767800b9699535400c40", kill_on_drop: false }` [INFO] [stdout] da0571b774012227718230bd4837b560ca6ec9d1daf2767800b9699535400c40 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e03f142759f134020d5d51a788604309243a873522ff9169e7eb4cf6f63befe8 [INFO] running `Command { std: "docker" "start" "-a" "e03f142759f134020d5d51a788604309243a873522ff9169e7eb4cf6f63befe8", kill_on_drop: false }` [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling vergen v8.3.2 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking wasm-bindgen v0.2.93 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling parse-variants-derive v1.0.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling parse-variants v1.0.3 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking async-executor v1.13.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling rlimit v0.10.2 [INFO] [stderr] Checking hexplay v0.3.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling workflow-macro-tools v0.17.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking workflow-log v0.17.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling workflow-core-macros v0.17.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking triggered v0.1.2 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking faster-hex v0.9.0 [INFO] [stderr] Checking workflow-serializer v0.17.0 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling workflow-core v0.17.0 [INFO] [stderr] Checking workflow-encryption v0.17.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/chacha20poly1305.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | let data = decrypt_slice(data, secret)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Ok(T::try_from_slice(data.as_slice())?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = 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/chacha20poly1305.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 43 | let private_key_bytes = argon2_sha256(secret.as_ref(), 32)?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let key = Key::from_slice(private_key_bytes.as_ref()); [INFO] [stdout] 45 | let cipher = XChaCha20Poly1305::new(key); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | Ok(Secret::new(buffer)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/hash.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 23 | let salt = sha256(data); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(key.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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `workflow-encryption` (lib) due to 4 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/chacha20poly1305.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | let data = decrypt_slice(data, secret)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Ok(T::try_from_slice(data.as_slice())?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = 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/chacha20poly1305.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 43 | let private_key_bytes = argon2_sha256(secret.as_ref(), 32)?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let key = Key::from_slice(private_key_bytes.as_ref()); [INFO] [stdout] 45 | let cipher = XChaCha20Poly1305::new(key); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | Ok(Secret::new(buffer)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/hash.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 23 | let salt = sha256(data); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(key.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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `workflow-encryption` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "e03f142759f134020d5d51a788604309243a873522ff9169e7eb4cf6f63befe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e03f142759f134020d5d51a788604309243a873522ff9169e7eb4cf6f63befe8", kill_on_drop: false }` [INFO] [stdout] e03f142759f134020d5d51a788604309243a873522ff9169e7eb4cf6f63befe8