[INFO] fetching crate keygate-jwt 1.4.2... [INFO] checking keygate-jwt-1.4.2 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate keygate-jwt 1.4.2 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate keygate-jwt 1.4.2 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 keygate-jwt 1.4.2 [INFO] finished tweaking crates.io crate keygate-jwt 1.4.2 [INFO] tweaked toml for crates.io crate keygate-jwt 1.4.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 68 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] da206f88707503845d74b8e822386dd7131df3cb6603e25ef6c354b2a1199c15 [INFO] running `Command { std: "docker" "start" "-a" "da206f88707503845d74b8e822386dd7131df3cb6603e25ef6c354b2a1199c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da206f88707503845d74b8e822386dd7131df3cb6603e25ef6c354b2a1199c15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da206f88707503845d74b8e822386dd7131df3cb6603e25ef6c354b2a1199c15", kill_on_drop: false }` [INFO] [stdout] da206f88707503845d74b8e822386dd7131df3cb6603e25ef6c354b2a1199c15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0ea3d408f1d2a76f9b714c8ec3464000da1e7283dbce529866b66bfe12ef385e [INFO] running `Command { std: "docker" "start" "-a" "0ea3d408f1d2a76f9b714c8ec3464000da1e7283dbce529866b66bfe12ef385e", kill_on_drop: false }` [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking ct-codecs v1.1.2 [INFO] [stderr] Checking coarsetime v0.1.34 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ed25519-compact v2.1.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking keygate-jwt v1.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `hmac` [INFO] [stdout] --> src/common.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(feature = "hmac")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ecdsa`, and `eddsa` [INFO] [stdout] = help: consider adding `hmac` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hmac` [INFO] [stdout] --> src/common.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(feature = "hmac")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ecdsa`, and `eddsa` [INFO] [stdout] = help: consider adding `hmac` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `SecretDocument` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/es256.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 119 | let p256_sk = [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | p256::SecretKey::from(NonZeroScalar::from_repr(scalar.unwrap().into()).unwrap()); [INFO] [stdout] 121 | Ok(p256_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 122 | | .to_pkcs8_der() [INFO] [stdout] 123 | | .map_err(|_| JWTError::InvalidKeyPair)? [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 `Zeroizing` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/es256.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 133 | let p256_sk = [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | p256::SecretKey::from(NonZeroScalar::from_repr(scalar.unwrap().into()).unwrap()); [INFO] [stdout] 135 | Ok(p256_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 136 | | .to_pkcs8_pem(Default::default()) [INFO] [stdout] 137 | | .map_err(|_| JWTError::InvalidKeyPair)? [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: this value of type `SecretDocument` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/es256k.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | let k256_sk = k256::SecretKey::from(&self.k256_sk); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | Ok(k256_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 112 | | .to_pkcs8_der() [INFO] [stdout] 113 | | .map_err(|_| JWTError::InvalidKeyPair)? [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: this value of type `Zeroizing` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/es256k.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 119 | let k256_sk = k256::SecretKey::from(&self.k256_sk); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | Ok(k256_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 121 | | .to_pkcs8_pem(Default::default()) [INFO] [stdout] 122 | | .map_err(|_| JWTError::InvalidKeyPair)? [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: this value of type `SecretDocument` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/es256.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 119 | let p256_sk = [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | p256::SecretKey::from(NonZeroScalar::from_repr(scalar.unwrap().into()).unwrap()); [INFO] [stdout] 121 | Ok(p256_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 122 | | .to_pkcs8_der() [INFO] [stdout] 123 | | .map_err(|_| JWTError::InvalidKeyPair)? [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 `Zeroizing` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/es256.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 133 | let p256_sk = [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | p256::SecretKey::from(NonZeroScalar::from_repr(scalar.unwrap().into()).unwrap()); [INFO] [stdout] 135 | Ok(p256_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 136 | | .to_pkcs8_pem(Default::default()) [INFO] [stdout] 137 | | .map_err(|_| JWTError::InvalidKeyPair)? [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: this value of type `SecretDocument` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/es384.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 119 | let p384_sk = [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | p384::SecretKey::from(NonZeroScalar::from_repr(scalar.unwrap().into()).unwrap()); [INFO] [stdout] 121 | Ok(p384_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 122 | | .to_pkcs8_der() [INFO] [stdout] 123 | | .map_err(|_| JWTError::InvalidKeyPair)? [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: this value of type `Zeroizing` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/es384.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 133 | let p384_sk = [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | p384::SecretKey::from(NonZeroScalar::from_repr(scalar.unwrap().into()).unwrap()); [INFO] [stdout] 135 | Ok(p384_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 136 | | .to_pkcs8_pem(Default::default()) [INFO] [stdout] 137 | | .map_err(|_| JWTError::InvalidKeyPair)? [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: this value of type `SecretDocument` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/es256k.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | let k256_sk = k256::SecretKey::from(&self.k256_sk); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | Ok(k256_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 112 | | .to_pkcs8_der() [INFO] [stdout] 113 | | .map_err(|_| JWTError::InvalidKeyPair)? [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: this value of type `Zeroizing` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/es256k.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 119 | let k256_sk = k256::SecretKey::from(&self.k256_sk); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | Ok(k256_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 121 | | .to_pkcs8_pem(Default::default()) [INFO] [stdout] 122 | | .map_err(|_| JWTError::InvalidKeyPair)? [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: this value of type `SecretDocument` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/es384.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 119 | let p384_sk = [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | p384::SecretKey::from(NonZeroScalar::from_repr(scalar.unwrap().into()).unwrap()); [INFO] [stdout] 121 | Ok(p384_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 122 | | .to_pkcs8_der() [INFO] [stdout] 123 | | .map_err(|_| JWTError::InvalidKeyPair)? [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: this value of type `Zeroizing` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/es384.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 133 | let p384_sk = [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | p384::SecretKey::from(NonZeroScalar::from_repr(scalar.unwrap().into()).unwrap()); [INFO] [stdout] 135 | Ok(p384_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 136 | | .to_pkcs8_pem(Default::default()) [INFO] [stdout] 137 | | .map_err(|_| JWTError::InvalidKeyPair)? [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 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keygate-jwt` (lib) due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keygate-jwt` (lib test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0ea3d408f1d2a76f9b714c8ec3464000da1e7283dbce529866b66bfe12ef385e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ea3d408f1d2a76f9b714c8ec3464000da1e7283dbce529866b66bfe12ef385e", kill_on_drop: false }` [INFO] [stdout] 0ea3d408f1d2a76f9b714c8ec3464000da1e7283dbce529866b66bfe12ef385e