[INFO] fetching crate jwt-simple 0.12.10... [INFO] checking jwt-simple-0.12.10 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate jwt-simple 0.12.10 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate jwt-simple 0.12.10 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 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-3-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 137 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.68.1 (latest: v0.70.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding peeking_take_while v0.1.2 (latest: v1.0.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.12.1+wasi-0.2.0 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wit-bindgen v0.19.2 (latest: v0.30.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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e603e3ac23babf2d26d5ce80467e40d32f9daf7bda3a8185894c92b4fe964537 [INFO] running `Command { std: "docker" "start" "-a" "e603e3ac23babf2d26d5ce80467e40d32f9daf7bda3a8185894c92b4fe964537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e603e3ac23babf2d26d5ce80467e40d32f9daf7bda3a8185894c92b4fe964537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e603e3ac23babf2d26d5ce80467e40d32f9daf7bda3a8185894c92b4fe964537", kill_on_drop: false }` [INFO] [stdout] e603e3ac23babf2d26d5ce80467e40d32f9daf7bda3a8185894c92b4fe964537 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b8e3391f8843a42d4ba62d072e779b23917b360f5cee0bd8149f894d09cc52d [INFO] running `Command { std: "docker" "start" "-a" "2b8e3391f8843a42d4ba62d072e779b23917b360f5cee0bd8149f894d09cc52d", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [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 generic-array v0.14.7 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling bindgen v0.68.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling fslock v0.2.1 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling precision v0.1.17 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Checking foreign-types-shared v0.3.1 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking ct-codecs v1.1.2 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking coarsetime v0.1.34 [INFO] [stderr] Checking ed25519-compact v2.1.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking binstring v0.1.1 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking hmac-sha1-compact v1.1.4 [INFO] [stderr] Checking benchmark-simple v0.1.9 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking foreign-types v0.5.0 [INFO] [stderr] Checking zerocopy v0.7.35 [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 digest v0.10.7 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [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-sha256 v1.1.7 [INFO] [stderr] Checking hmac-sha512 v1.1.5 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking serde_json v1.0.127 [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.3 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Compiling boring-sys v4.9.1 [INFO] [stderr] Checking boring v4.9.1 [INFO] [stderr] Checking jwt-simple v0.12.10 (/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/algorithms/eddsa.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | let ed25519_kp = ed25519_compact::KeyPair::from_slice(raw)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | Ok(Edwards25519KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 76 | | ed25519_kp, [INFO] [stdout] 77 | | metadata: None, [INFO] [stdout] 78 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/eddsa.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 82 | let ed25519_kp = match ed25519_compact::KeyPair::from_der(der) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | Ok(kp) => kp, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | Ok(Edwards25519KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 89 | | ed25519_kp, [INFO] [stdout] 90 | | metadata: None, [INFO] [stdout] 91 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/eddsa.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 95 | let ed25519_kp = match ed25519_compact::KeyPair::from_pem(pem) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | Ok(kp) => kp, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | Ok(Edwards25519KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 102 | | ed25519_kp, [INFO] [stdout] 103 | | metadata: None, [INFO] [stdout] 104 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es256.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 85 | let p256_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | ecdsa::SigningKey::from_bytes(raw.into()).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 87 | Ok(P256KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 88 | | p256_sk, [INFO] [stdout] 89 | | metadata: None, [INFO] [stdout] 90 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es256.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 94 | let p256_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | ecdsa::SigningKey::from_pkcs8_der(der).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 96 | Ok(P256KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 97 | | p256_sk, [INFO] [stdout] 98 | | metadata: None, [INFO] [stdout] 99 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es256.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 103 | let p256_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | ecdsa::SigningKey::from_pkcs8_pem(pem).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 105 | Ok(P256KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 106 | | p256_sk, [INFO] [stdout] 107 | | metadata: None, [INFO] [stdout] 108 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es256.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 120 | let p256_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will 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] [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/algorithms/es256.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 134 | let p256_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/es256k.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 84 | let k256_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | ecdsa::SigningKey::from_bytes(raw.into()).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 86 | Ok(K256KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 87 | | k256_sk, [INFO] [stdout] 88 | | metadata: None, [INFO] [stdout] 89 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es256k.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 93 | let k256_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | ecdsa::SigningKey::from_pkcs8_der(der).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 95 | Ok(K256KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 96 | | k256_sk, [INFO] [stdout] 97 | | metadata: None, [INFO] [stdout] 98 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es256k.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 102 | let k256_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | ecdsa::SigningKey::from_pkcs8_pem(pem).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 104 | Ok(K256KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 105 | | k256_sk, [INFO] [stdout] 106 | | metadata: None, [INFO] [stdout] 107 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es256k.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | let k256_sk = k256::SecretKey::from(&self.k256_sk); [INFO] [stdout] | ------- these values have significant drop implementation and will 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: these values and local bindings have 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 values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/es384.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 85 | let p384_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | ecdsa::SigningKey::from_bytes(raw.into()).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 87 | Ok(P384KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 88 | | p384_sk, [INFO] [stdout] 89 | | metadata: None, [INFO] [stdout] 90 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es384.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 94 | let p384_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | ecdsa::SigningKey::from_pkcs8_der(der).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 96 | Ok(P384KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 97 | | p384_sk, [INFO] [stdout] 98 | | metadata: None, [INFO] [stdout] 99 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es384.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 103 | let p384_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | ecdsa::SigningKey::from_pkcs8_pem(pem).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 105 | Ok(P384KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 106 | | p384_sk, [INFO] [stdout] 107 | | metadata: None, [INFO] [stdout] 108 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es384.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 120 | let p384_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will 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: these values and local bindings have 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 values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/rsa.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 39 | let rsa_pk = Rsa::::public_key_from_der(der) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | .or_else(|_| Rsa::::public_key_from_der_pkcs1(der))?; [INFO] [stdout] 41 | Ok(RSAPublicKey(rsa_pk)) [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/algorithms/rsa.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | let rsa_pk = Rsa::::public_key_from_pem(pem.as_bytes()) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | .or_else(|_| Rsa::::public_key_from_pem_pkcs1(pem.as_bytes()))?; [INFO] [stdout] 48 | Ok(RSAPublicKey(rsa_pk)) [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/algorithms/rsa.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 52 | let n = BigNum::from_slice(n)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let e = BigNum::from_slice(e)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let rsa_pk = Rsa::::from_public_components(n, e)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Ok(RSAPublicKey(rsa_pk)) [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] [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/algorithms/rsa.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 90 | let rsa_sk = Rsa::::private_key_from_der(der)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | Ok(RSAKeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 95 | | rsa_sk, [INFO] [stdout] 96 | | metadata: None, [INFO] [stdout] 97 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/rsa.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 102 | let rsa_sk = Rsa::::private_key_from_pem(pem.as_bytes())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | Ok(RSAKeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 107 | | rsa_sk, [INFO] [stdout] 108 | | metadata: None, [INFO] [stdout] 109 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/rsa.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | let rsa_sk = Rsa::::generate(modulus_bits as _)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | Ok(RSAKeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 144 | | rsa_sk, [INFO] [stdout] 145 | | metadata: None, [INFO] [stdout] 146 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/claims.rs:333:24 [INFO] [stdout] | [INFO] [stdout] 325 | custom_claims: CustomClaims, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | audiences: None, [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/serde_additions.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 49 | deserializer: D, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | ) -> Result, D::Error> { [INFO] [stdout] 51 | deserializer.deserialize_i64(TimestampVisitor).map(Some) [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/serde_additions.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 90 | fn visit_seq(self, mut seq: A) -> Result [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let mut audiences_set: HashSet = [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | Ok(Audiences::AsSet(audiences_set)) [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/serde_additions.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 115 | deserializer: D, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | ) -> Result, D::Error> { [INFO] [stdout] 117 | let audiences = deserializer.deserialize_any(AudiencesVisitor)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | Ok(Some(audiences)) [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: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jwt-simple` (lib) due to 29 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/algorithms/eddsa.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | let ed25519_kp = ed25519_compact::KeyPair::from_slice(raw)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | Ok(Edwards25519KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 76 | | ed25519_kp, [INFO] [stdout] 77 | | metadata: None, [INFO] [stdout] 78 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/eddsa.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 82 | let ed25519_kp = match ed25519_compact::KeyPair::from_der(der) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | Ok(kp) => kp, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | Ok(Edwards25519KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 89 | | ed25519_kp, [INFO] [stdout] 90 | | metadata: None, [INFO] [stdout] 91 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/eddsa.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 95 | let ed25519_kp = match ed25519_compact::KeyPair::from_pem(pem) { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | Ok(kp) => kp, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | Ok(Edwards25519KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 102 | | ed25519_kp, [INFO] [stdout] 103 | | metadata: None, [INFO] [stdout] 104 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es256.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 85 | let p256_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | ecdsa::SigningKey::from_bytes(raw.into()).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 87 | Ok(P256KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 88 | | p256_sk, [INFO] [stdout] 89 | | metadata: None, [INFO] [stdout] 90 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es256.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 94 | let p256_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | ecdsa::SigningKey::from_pkcs8_der(der).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 96 | Ok(P256KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 97 | | p256_sk, [INFO] [stdout] 98 | | metadata: None, [INFO] [stdout] 99 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es256.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 103 | let p256_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | ecdsa::SigningKey::from_pkcs8_pem(pem).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 105 | Ok(P256KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 106 | | p256_sk, [INFO] [stdout] 107 | | metadata: None, [INFO] [stdout] 108 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es256.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 120 | let p256_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will 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] [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/algorithms/es256.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 134 | let p256_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/es256k.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 84 | let k256_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | ecdsa::SigningKey::from_bytes(raw.into()).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 86 | Ok(K256KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 87 | | k256_sk, [INFO] [stdout] 88 | | metadata: None, [INFO] [stdout] 89 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es256k.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 93 | let k256_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | ecdsa::SigningKey::from_pkcs8_der(der).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 95 | Ok(K256KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 96 | | k256_sk, [INFO] [stdout] 97 | | metadata: None, [INFO] [stdout] 98 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es256k.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 102 | let k256_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | ecdsa::SigningKey::from_pkcs8_pem(pem).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 104 | Ok(K256KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 105 | | k256_sk, [INFO] [stdout] 106 | | metadata: None, [INFO] [stdout] 107 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es256k.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | let k256_sk = k256::SecretKey::from(&self.k256_sk); [INFO] [stdout] | ------- these values have significant drop implementation and will 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: these values and local bindings have 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 values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/es384.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 85 | let p384_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | ecdsa::SigningKey::from_bytes(raw.into()).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 87 | Ok(P384KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 88 | | p384_sk, [INFO] [stdout] 89 | | metadata: None, [INFO] [stdout] 90 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es384.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 94 | let p384_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | ecdsa::SigningKey::from_pkcs8_der(der).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 96 | Ok(P384KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 97 | | p384_sk, [INFO] [stdout] 98 | | metadata: None, [INFO] [stdout] 99 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es384.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 103 | let p384_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | ecdsa::SigningKey::from_pkcs8_pem(pem).map_err(|_| JWTError::InvalidKeyPair)?; [INFO] [stdout] 105 | Ok(P384KeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 106 | | p384_sk, [INFO] [stdout] 107 | | metadata: None, [INFO] [stdout] 108 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/es384.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 120 | let p384_sk = [INFO] [stdout] | ------- these values have significant drop implementation and will 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: these values and local bindings have 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 values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algorithms/rsa.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 39 | let rsa_pk = Rsa::::public_key_from_der(der) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | .or_else(|_| Rsa::::public_key_from_der_pkcs1(der))?; [INFO] [stdout] 41 | Ok(RSAPublicKey(rsa_pk)) [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/algorithms/rsa.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | let rsa_pk = Rsa::::public_key_from_pem(pem.as_bytes()) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | .or_else(|_| Rsa::::public_key_from_pem_pkcs1(pem.as_bytes()))?; [INFO] [stdout] 48 | Ok(RSAPublicKey(rsa_pk)) [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/algorithms/rsa.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 52 | let n = BigNum::from_slice(n)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let e = BigNum::from_slice(e)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let rsa_pk = Rsa::::from_public_components(n, e)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Ok(RSAPublicKey(rsa_pk)) [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] [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/algorithms/rsa.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 90 | let rsa_sk = Rsa::::private_key_from_der(der)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | Ok(RSAKeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 95 | | rsa_sk, [INFO] [stdout] 96 | | metadata: None, [INFO] [stdout] 97 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/rsa.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 102 | let rsa_sk = Rsa::::private_key_from_pem(pem.as_bytes())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | Ok(RSAKeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 107 | | rsa_sk, [INFO] [stdout] 108 | | metadata: None, [INFO] [stdout] 109 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/algorithms/rsa.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | let rsa_sk = Rsa::::generate(modulus_bits as _)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | Ok(RSAKeyPair { [INFO] [stdout] | ____________^ [INFO] [stdout] 144 | | rsa_sk, [INFO] [stdout] 145 | | metadata: None, [INFO] [stdout] 146 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/claims.rs:333:24 [INFO] [stdout] | [INFO] [stdout] 325 | custom_claims: CustomClaims, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | audiences: None, [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/serde_additions.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 49 | deserializer: D, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | ) -> Result, D::Error> { [INFO] [stdout] 51 | deserializer.deserialize_i64(TimestampVisitor).map(Some) [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/serde_additions.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 90 | fn visit_seq(self, mut seq: A) -> Result [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let mut audiences_set: HashSet = [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | Ok(Audiences::AsSet(audiences_set)) [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/serde_additions.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 115 | deserializer: D, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | ) -> Result, D::Error> { [INFO] [stdout] 117 | let audiences = deserializer.deserialize_any(AudiencesVisitor)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | Ok(Some(audiences)) [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: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jwt-simple` (lib test) due to 29 previous errors [INFO] running `Command { std: "docker" "inspect" "2b8e3391f8843a42d4ba62d072e779b23917b360f5cee0bd8149f894d09cc52d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b8e3391f8843a42d4ba62d072e779b23917b360f5cee0bd8149f894d09cc52d", kill_on_drop: false }` [INFO] [stdout] 2b8e3391f8843a42d4ba62d072e779b23917b360f5cee0bd8149f894d09cc52d