[INFO] fetching crate jwt-simple 0.12.10... [INFO] checking jwt-simple-0.12.10 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate jwt-simple 0.12.10 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate jwt-simple 0.12.10 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 jwt-simple 0.12.10 [INFO] finished tweaking crates.io crate jwt-simple 0.12.10 [INFO] tweaked toml for crates.io crate jwt-simple 0.12.10 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 137 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.12.1+wasi-0.2.0 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wit-bindgen v0.19.2 (available: v0.32.0) [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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23e5c2bc2c52568ac570c9316fa370542394918abd14c08eeba5b27013d8e5d4 [INFO] running `Command { std: "docker" "start" "-a" "23e5c2bc2c52568ac570c9316fa370542394918abd14c08eeba5b27013d8e5d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23e5c2bc2c52568ac570c9316fa370542394918abd14c08eeba5b27013d8e5d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23e5c2bc2c52568ac570c9316fa370542394918abd14c08eeba5b27013d8e5d4", kill_on_drop: false }` [INFO] [stdout] 23e5c2bc2c52568ac570c9316fa370542394918abd14c08eeba5b27013d8e5d4 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d809a7e063b3e0b73defa868e9c1d59ed6533e10b6b102e70abe00674b2e37e9 [INFO] running `Command { std: "docker" "start" "-a" "d809a7e063b3e0b73defa868e9c1d59ed6533e10b6b102e70abe00674b2e37e9", kill_on_drop: false }` [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Checking foreign-types-shared v0.3.1 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking ct-codecs v1.1.2 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking coarsetime v0.1.34 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking binstring v0.1.1 [INFO] [stderr] Checking hmac-sha1-compact v1.1.4 [INFO] [stderr] Checking ed25519-compact v2.1.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling nom v7.1.3 [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] Compiling fslock v0.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling precision v0.1.17 [INFO] [stderr] Checking foreign-types v0.5.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac-sha512 v1.1.5 [INFO] [stderr] Checking hmac-sha256 v1.1.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking benchmark-simple v0.1.9 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking rand v0.8.5 [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] Compiling cexpr v0.6.0 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Compiling boring-sys v4.10.3 [INFO] [stderr] Checking boring v4.10.3 [INFO] [stderr] Checking jwt-simple v0.12.10 (/opt/rustwide/workdir) [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:122:12 [INFO] [stdout] | [INFO] [stdout] 120 | let p256_sk = [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | p256::SecretKey::from(NonZeroScalar::from_repr(scalar.unwrap().into()).unwrap()); [INFO] [stdout] 122 | Ok(p256_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 123 | | .to_pkcs8_der() [INFO] [stdout] 124 | | .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:136:12 [INFO] [stdout] | [INFO] [stdout] 134 | let p256_sk = [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | p256::SecretKey::from(NonZeroScalar::from_repr(scalar.unwrap().into()).unwrap()); [INFO] [stdout] 136 | Ok(p256_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 137 | | .to_pkcs8_pem(Default::default()) [INFO] [stdout] 138 | | .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:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | 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] 116 | Ok(k256_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 117 | | .to_pkcs8_der() [INFO] [stdout] 118 | | .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:125:12 [INFO] [stdout] | [INFO] [stdout] 124 | 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] 125 | Ok(k256_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 126 | | .to_pkcs8_pem(Default::default()) [INFO] [stdout] 127 | | .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:122:12 [INFO] [stdout] | [INFO] [stdout] 120 | let p384_sk = [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | p384::SecretKey::from(NonZeroScalar::from_repr(scalar.unwrap().into()).unwrap()); [INFO] [stdout] 122 | Ok(p384_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 123 | | .to_pkcs8_der() [INFO] [stdout] 124 | | .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:136:12 [INFO] [stdout] | [INFO] [stdout] 134 | let p384_sk = [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | p384::SecretKey::from(NonZeroScalar::from_repr(scalar.unwrap().into()).unwrap()); [INFO] [stdout] 136 | Ok(p384_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 137 | | .to_pkcs8_pem(Default::default()) [INFO] [stdout] 138 | | .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:122:12 [INFO] [stdout] | [INFO] [stdout] 120 | let p256_sk = [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | p256::SecretKey::from(NonZeroScalar::from_repr(scalar.unwrap().into()).unwrap()); [INFO] [stdout] 122 | Ok(p256_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 123 | | .to_pkcs8_der() [INFO] [stdout] 124 | | .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:136:12 [INFO] [stdout] | [INFO] [stdout] 134 | let p256_sk = [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | p256::SecretKey::from(NonZeroScalar::from_repr(scalar.unwrap().into()).unwrap()); [INFO] [stdout] 136 | Ok(p256_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 137 | | .to_pkcs8_pem(Default::default()) [INFO] [stdout] 138 | | .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:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | 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] 116 | Ok(k256_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 117 | | .to_pkcs8_der() [INFO] [stdout] 118 | | .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:125:12 [INFO] [stdout] | [INFO] [stdout] 124 | 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] 125 | Ok(k256_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 126 | | .to_pkcs8_pem(Default::default()) [INFO] [stdout] 127 | | .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:122:12 [INFO] [stdout] | [INFO] [stdout] 120 | let p384_sk = [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | p384::SecretKey::from(NonZeroScalar::from_repr(scalar.unwrap().into()).unwrap()); [INFO] [stdout] 122 | Ok(p384_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 123 | | .to_pkcs8_der() [INFO] [stdout] 124 | | .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:136:12 [INFO] [stdout] | [INFO] [stdout] 134 | let p384_sk = [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | p384::SecretKey::from(NonZeroScalar::from_repr(scalar.unwrap().into()).unwrap()); [INFO] [stdout] 136 | Ok(p384_sk [INFO] [stdout] | ____________^ [INFO] [stdout] 137 | | .to_pkcs8_pem(Default::default()) [INFO] [stdout] 138 | | .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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jwt-simple` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jwt-simple` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "d809a7e063b3e0b73defa868e9c1d59ed6533e10b6b102e70abe00674b2e37e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d809a7e063b3e0b73defa868e9c1d59ed6533e10b6b102e70abe00674b2e37e9", kill_on_drop: false }` [INFO] [stdout] d809a7e063b3e0b73defa868e9c1d59ed6533e10b6b102e70abe00674b2e37e9