[INFO] fetching crate utility-crypto 0.19.0... [INFO] checking utility-crypto-0.19.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate utility-crypto 0.19.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate utility-crypto 0.19.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 utility-crypto 0.19.0 [INFO] finished tweaking crates.io crate utility-crypto 0.19.0 [INFO] tweaked toml for crates.io crate utility-crypto 0.19.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 159 packages to latest compatible versions [INFO] [stderr] Adding autocfg v0.1.8 (latest: v1.3.0) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding blake2 v0.9.2 (latest: v0.10.6) [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding bs58 v0.4.0 (latest: v0.5.1) [INFO] [stderr] Adding cipher v0.2.5 (latest: v0.4.4) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding crypto-mac v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding derive_more v0.99.18 (latest: v1.0.0) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding fixed-hash v0.7.0 (latest: v0.8.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding hex-literal v0.2.2 (latest: v0.4.1) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding near-config-utils v0.19.0 (latest: v0.25.0) [INFO] [stderr] Adding near-stdx v0.19.0 (latest: v0.25.0) [INFO] [stderr] Adding num-bigint v0.2.6 (latest: v0.4.6) [INFO] [stderr] Adding num-bigint-dig v0.6.1 (latest: v0.8.4) [INFO] [stderr] Adding pem v0.8.3 (latest: v3.0.4) [INFO] [stderr] Adding primitive-types v0.10.1 (latest: v0.12.2) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding rsa v0.3.0 (latest: v0.9.6) [INFO] [stderr] Adding secp256k1 v0.27.0 (latest: v0.29.0) [INFO] [stderr] Adding secp256k1-sys v0.8.1 (latest: v0.10.0) [INFO] [stderr] Adding sha2 v0.9.9 (latest: v0.10.8) [INFO] [stderr] Adding simple_asn1 v0.4.1 (latest: v0.6.2) [INFO] [stderr] Adding simple_asn1 v0.5.4 (latest: v0.6.2) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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.52.0 (latest: v0.59.0) [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] bae496bccef23db3c876771c600c98393ee4d152d833fee0479a6dcfbf2474e0 [INFO] running `Command { std: "docker" "start" "-a" "bae496bccef23db3c876771c600c98393ee4d152d833fee0479a6dcfbf2474e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bae496bccef23db3c876771c600c98393ee4d152d833fee0479a6dcfbf2474e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bae496bccef23db3c876771c600c98393ee4d152d833fee0479a6dcfbf2474e0", kill_on_drop: false }` [INFO] [stdout] bae496bccef23db3c876771c600c98393ee4d152d833fee0479a6dcfbf2474e0 [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] e149d834f4c7f891366b4de553a719fe3b575e0b2e7f634fb5da3561954bcf50 [INFO] running `Command { std: "docker" "start" "-a" "e149d834f4c7f891366b4de553a719fe3b575e0b2e7f634fb5da3561954bcf50", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling num-bigint-dig v0.6.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking simple_asn1 v0.5.4 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking json_comments v0.2.2 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling hex-literal-impl v0.2.3 [INFO] [stderr] Checking near-config-utils v0.19.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking near-stdx v0.19.0 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hex-literal v0.2.2 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking c2-chacha v0.3.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking primitive-types v0.10.1 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking rsa v0.3.0 [INFO] [stderr] Checking rsa-export v0.3.3 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Checking near-account-id v1.0.0 [INFO] [stderr] Checking utility-crypto v0.19.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/key_file.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 38 | let mut file = File::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | Ok(serde_json::from_str(&json_str_without_comments)?) [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] | 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/signature.rs:507:9 [INFO] [stdout] | [INFO] [stdout] 502 | fn deserialize(deserializer: D) -> Result>::Error> [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 507 | Self::from_str(&s).map_err(|err| serde::de::Error::custom(err.to_string())) [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/signer.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 106 | fn from(signer: Arc) -> KeyFile { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | KeyFile { [INFO] [stdout] 108 | account_id: signer.account_id.clone(), [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/signer.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 106 | fn from(signer: Arc) -> KeyFile { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | secret_key: signer.secret_key.clone(), [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 `utility-crypto` (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/key_file.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 38 | let mut file = File::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | Ok(serde_json::from_str(&json_str_without_comments)?) [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] | 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/signature.rs:507:9 [INFO] [stdout] | [INFO] [stdout] 502 | fn deserialize(deserializer: D) -> Result>::Error> [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 507 | Self::from_str(&s).map_err(|err| serde::de::Error::custom(err.to_string())) [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/signer.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 106 | fn from(signer: Arc) -> KeyFile { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | KeyFile { [INFO] [stdout] 108 | account_id: signer.account_id.clone(), [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/signer.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 106 | fn from(signer: Arc) -> KeyFile { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | secret_key: signer.secret_key.clone(), [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 `utility-crypto` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "e149d834f4c7f891366b4de553a719fe3b575e0b2e7f634fb5da3561954bcf50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e149d834f4c7f891366b4de553a719fe3b575e0b2e7f634fb5da3561954bcf50", kill_on_drop: false }` [INFO] [stdout] e149d834f4c7f891366b4de553a719fe3b575e0b2e7f634fb5da3561954bcf50