[INFO] fetching crate keygate-jwt 1.4.2... [INFO] checking keygate-jwt-1.4.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate keygate-jwt 1.4.2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate keygate-jwt 1.4.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e047a3c789f60b02ca238f6472f7e5f1f28436572a13c7656e94e141509de99 [INFO] running `Command { std: "docker" "start" "-a" "5e047a3c789f60b02ca238f6472f7e5f1f28436572a13c7656e94e141509de99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e047a3c789f60b02ca238f6472f7e5f1f28436572a13c7656e94e141509de99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e047a3c789f60b02ca238f6472f7e5f1f28436572a13c7656e94e141509de99", kill_on_drop: false }` [INFO] [stdout] 5e047a3c789f60b02ca238f6472f7e5f1f28436572a13c7656e94e141509de99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26d3c290929756f7def4cfac198bc9ead50ecd8cc038a9e2661336d3aa2b62a1 [INFO] running `Command { std: "docker" "start" "-a" "26d3c290929756f7def4cfac198bc9ead50ecd8cc038a9e2661336d3aa2b62a1", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking ct-codecs v1.1.2 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking coarsetime v0.1.34 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking ed25519-compact v2.1.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking zerocopy v0.7.35 [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 spki v0.7.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [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 p384 v0.13.0 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking p256 v0.13.2 [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" "26d3c290929756f7def4cfac198bc9ead50ecd8cc038a9e2661336d3aa2b62a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26d3c290929756f7def4cfac198bc9ead50ecd8cc038a9e2661336d3aa2b62a1", kill_on_drop: false }` [INFO] [stdout] 26d3c290929756f7def4cfac198bc9ead50ecd8cc038a9e2661336d3aa2b62a1