[INFO] fetching crate cosmian_crypto_core 9.5.0... [INFO] checking cosmian_crypto_core-9.5.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cosmian_crypto_core 9.5.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate cosmian_crypto_core 9.5.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cosmian_crypto_core 9.5.0 [INFO] finished tweaking crates.io crate cosmian_crypto_core 9.5.0 [INFO] tweaked toml for crates.io crate cosmian_crypto_core 9.5.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate cosmian_crypto_core 9.5.0 already has a lockfile, it will not be regenerated [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 2a7fa3ff2c99664cbe9be411f20cc967630d0a8e6207a43137ea5e06ab1c9127 [INFO] running `Command { std: "docker" "start" "-a" "2a7fa3ff2c99664cbe9be411f20cc967630d0a8e6207a43137ea5e06ab1c9127", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a7fa3ff2c99664cbe9be411f20cc967630d0a8e6207a43137ea5e06ab1c9127", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a7fa3ff2c99664cbe9be411f20cc967630d0a8e6207a43137ea5e06ab1c9127", kill_on_drop: false }` [INFO] [stdout] 2a7fa3ff2c99664cbe9be411f20cc967630d0a8e6207a43137ea5e06ab1c9127 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] e6519abba482aacd57c65b6721cf7b1db4449be7fb624b0c8a82d839bd15662b [INFO] running `Command { std: "docker" "start" "-a" "e6519abba482aacd57c65b6721cf7b1db4449be7fb624b0c8a82d839bd15662b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking flagset v0.4.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.0.106 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling openssl-src v300.3.1+3.3.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling libflate_lz77 v2.1.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling dary_heap v0.3.6 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling libflate v2.1.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Compiling ureq v2.10.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling minisign-verify v0.2.1 [INFO] [stderr] Compiling xattr v1.3.1 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Compiling tar v0.4.41 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling libsodium-sys-stable v1.20.9 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling derive_arbitrary v1.3.2 [INFO] [stderr] Compiling der_derive v0.7.2 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking crypto_secretbox v0.1.1 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking pkcs5 v0.7.1 [INFO] [stderr] Checking x509-cert v0.2.5 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking crypto_box v0.9.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking p192 v0.13.0 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking p224 v0.13.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking cosmian_crypto_core v9.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `curve_25519` [INFO] [stdout] --> src/ecies/generic_ecies_aes128gcm.rs:248:42 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(all(test, feature = "nist_curves", feature = "curve_25519"))] [INFO] [stdout] | ^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"curve25519"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `aead`, `aes`, `aes-gcm`, `blake`, `blake2`, `certificate`, `chacha`, `chacha20`, `chacha20poly1305`, `crypto_box`, `curve25519`, `curve25519-dalek`, `default`, `digest`, `ecies`, `ed25519-dalek`, `elliptic-curve`, `leb128`, `nist_curves`, `p192`, `p224`, `p256`, `p384`, `pkcs8`, `rfc5649`, `rsa`, `ser`, `sha1`, `sha2`, `sha3`, `signature`, `tiny-keccak`, `uuid`, and `x509-cert` [INFO] [stdout] = help: consider adding `curve_25519` 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/asymmetric_crypto/curves/curve_25519/ed25519/certificate/mod.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 108 | profile: Profile, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let serial_number = SerialNumber::new(uuid.as_bytes())?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | let subject = Name::from_str(&format!("CN={subject}"))?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | let spki = get_subject_public_key_info::(public_key)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | let builder = CertificateBuilder::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | let certificate = builder.build::()?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | [INFO] [stdout] 137 | Ok(Certificate { [INFO] [stdout] | ________^ [INFO] [stdout] 138 | | inner: certificate, [INFO] [stdout] 139 | | uuid, [INFO] [stdout] 140 | | }) [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] | | 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] | | 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] | [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/asymmetric_crypto/curves/curve_25519/ed25519/ed_dsa/key_pair.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 59 | let private_key = Ed25519PrivateKey::try_from_bytes( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 78 | | private_key, [INFO] [stdout] 79 | | public_key, [INFO] [stdout] 80 | | }) [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] | | 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] | [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/asymmetric_crypto/curves/curve_25519/ed25519/ed_dsa/key_pair.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 101 | let private_key = Ed25519PrivateKey::new(rng); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | let public_key = Ed25519PublicKey::from(&private_key); [INFO] [stdout] 103 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 104 | | private_key, [INFO] [stdout] 105 | | public_key, [INFO] [stdout] 106 | | }) [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/asymmetric_crypto/curves/curve_25519/ed25519/ed_dsa/signer.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | let signing_key = SigningKey::from_bytes(&sk.0); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Ok(Self(signing_key)) [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/asymmetric_crypto/curves/curve_25519/x25519/key_pair.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | let private_key = X25519PrivateKey::new(rng); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let public_key = X25519PublicKey::from(&private_key); [INFO] [stdout] 16 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 17 | | private_key, [INFO] [stdout] 18 | | public_key, [INFO] [stdout] 19 | | }) [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/asymmetric_crypto/curves/nist/private_key.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 70 | let secret_key = SecretKey::::from_bytes(ga).map_err(|_| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(Self { bytes, secret_key }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/asymmetric_crypto/curves/nist/private_key.rs:185:44 [INFO] [stdout] | [INFO] [stdout] 182 | rng: impl rand_core::CryptoRng + RngCore, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | password: impl AsRef<[u8]>, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | ) -> pkcs8::Result { [INFO] [stdout] 185 | pkcs8_fix::to_pkcs8_encrypted_der(&self.to_pkcs8_der()?, rng, password) [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/asymmetric_crypto/curves/nist/private_key.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 197 | let key = SecretKey::::from_pkcs8_der(bytes)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 201 | | bytes, [INFO] [stdout] 202 | | secret_key: key, [INFO] [stdout] 203 | | }) [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/asymmetric_crypto/curves/nist/private_key.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 234 | password: impl AsRef<[u8]>, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 250 | let doc: SecretDocument = { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | let bytes = self.secret_key.to_pkcs8_der()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | Ok(doc.to_bytes()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/asymmetric_crypto/curves/nist/private_key.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 279 | let secret_key: SecretKey = pkcs8::DecodePrivateKey::from_pkcs8_der(bytes)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 282 | Ok(Self { bytes, secret_key }) [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/asymmetric_crypto/curves/nist/private_key.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 290 | password: impl AsRef<[u8]>, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 291 | ) -> Result { [INFO] [stdout] 292 | let secret_key: SecretKey = [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | Ok(Self { bytes, secret_key }) [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/asymmetric_crypto/rsa/private_key.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 102 | let padding = rsa::Oaep::new::(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | Ok(Zeroizing::from( [INFO] [stdout] | ________^ [INFO] [stdout] 104 | | rsa_private_key.0.decrypt(padding, encrypted_key_material)?, [INFO] [stdout] 105 | | )) [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/asymmetric_crypto/rsa/private_key.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 122 | let aes_key = ckm_rsa_pkcs_oaep::(rsa_private_key, &ciphertext[0..encapsulation_bytes_len])?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | Ok(Zeroizing::from(key_unwrap( [INFO] [stdout] | ________^ [INFO] [stdout] 127 | | &ciphertext[encapsulation_bytes_len..], [INFO] [stdout] 128 | | &aes_key, [INFO] [stdout] 129 | | )?)) [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] | [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/asymmetric_crypto/rsa/private_key.rs:142:44 [INFO] [stdout] | [INFO] [stdout] 139 | rng: impl CryptoRng + RngCore, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | password: impl AsRef<[u8]>, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | ) -> pkcs8::Result { [INFO] [stdout] 142 | pkcs8_fix::to_pkcs8_encrypted_der(&self.to_pkcs8_der()?, rng, password) [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/bytes_ser_de.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 30 | let mut ser = Serializer::with_capacity(self.length()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | ser.write(self)?; [INFO] [stdout] 32 | Ok(ser.finalize()) [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/ecies/generic_ecies_aes128gcm.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 69 | let ephemeral_sk = PublicKey::PrivateKey::new(rng); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | let ephemeral_pk = PublicKey::from_private_key(&ephemeral_sk); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | let shared_point = recipient_pk.dh(&ephemeral_sk); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let key = get_ephemeral_key::< [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | Ok((ephemeral_pk, key, nonce)) [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/ecies/generic_ecies_aes128gcm.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 110 | let shared_point = ephemeral_pk.dh(recipient_sk); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let key = get_ephemeral_key::< [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | Ok((key, nonce)) [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/ecies/generic_ecies_aes128gcm.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 203 | let (ephemeral_pk, key, nonce) = [INFO] [stdout] | ------------ --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | Self::generate_keys_and_nonce::(rng, recipient_public_key)?; [INFO] [stdout] 205 | let aes_128_gcm = Aes128Gcm::new(&key); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | let encryptor = aes_128_gcm.into_stream_encryptor_be32(&nonce); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | Ok((ephemeral_pk, encryptor)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ecies/generic_ecies_aes128gcm.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 214 | let (ephemeral_pk, key, nonce) = [INFO] [stdout] | ------------ --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | Self::generate_keys_and_nonce::(rng, recipient_public_key)?; [INFO] [stdout] 216 | let aes_128_gcm = Aes128Gcm::new(&key); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | let encryptor = aes_128_gcm.into_stream_encryptor_le31(&nonce); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | Ok((ephemeral_pk, encryptor)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ecies/generic_ecies_aes128gcm.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 226 | let (key, nonce) = [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 229 | let aes_128_gcm = Aes128Gcm::new(&key); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 230 | // turn it into a stream decryptor [INFO] [stdout] 231 | Ok(aes_128_gcm.into_stream_decryptor_be32(&nonce)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ecies/generic_ecies_aes128gcm.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 239 | let (key, nonce) = [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | let aes_128_gcm = Aes128Gcm::new(&key); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 243 | // turn it into a stream decryptor [INFO] [stdout] 244 | Ok(aes_128_gcm.into_stream_decryptor_le31(&nonce)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ecies/curve_25519/ecies_x25519_xchacha20.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 53 | let ephemeral_sk = X25519PrivateKey::new(rng); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let key = get_ephemeral_key::<{ XChaCha20Poly1305::KEY_LENGTH }>(&shared_point)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | Ok((ephemeral_pk, key, nonce)) [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/ecies/curve_25519/ecies_x25519_xchacha20.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 92 | let key = get_ephemeral_key::<{ XChaCha20Poly1305::KEY_LENGTH }>(&shared_point)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Ok((key, nonce)) [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/ecies/curve_25519/ecies_x25519_xchacha20.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 141 | let (key, nonce) = Self::recover_key_and_nonce(recipient_sk, &ephemeral_pk)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | XChaCha20Poly1305::new(&key).decrypt( [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/ecies/curve_25519/ecies_x25519_xchacha20.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 170 | let (ephemeral_pk, key, nonce) = Self::generate_keys_and_nonce(rng, recipient_public_key)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | let xchacha20 = XChaCha20Poly1305::new(&key); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | let encryptor = xchacha20.into_stream_encryptor_be32(&nonce); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | Ok((ephemeral_pk, encryptor)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ecies/curve_25519/ecies_x25519_xchacha20.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 186 | let (ephemeral_pk, key, nonce) = Self::generate_keys_and_nonce(rng, recipient_public_key)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | let xchacha20 = XChaCha20Poly1305::new(&key); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | let encryptor = xchacha20.into_stream_encryptor_le31(&nonce); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | Ok((ephemeral_pk, encryptor)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ecies/curve_25519/ecies_x25519_xchacha20.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 197 | let (key, nonce) = [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | let xchacha20 = XChaCha20Poly1305::new(&key); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | // turn it into a stream decryptor [INFO] [stdout] 202 | Ok(xchacha20.into_stream_decryptor_be32(&nonce)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ecies/curve_25519/ecies_x25519_xchacha20.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 210 | let (key, nonce) = [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | let xchacha20 = XChaCha20Poly1305::new(&key); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 214 | // turn it into a stream decryptor [INFO] [stdout] 215 | Ok(xchacha20.into_stream_decryptor_le31(&nonce)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/secret.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | Ok(Self::from_unprotected_bytes(&mut bytes)) [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/symmetric_crypto/dem.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 163 | fn into_stream_encryptor_be32(self, nonce: &Self::Nonce) -> EncryptorBE32 { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | EncryptorBE32::from_aead( [INFO] [stdout] 165 | self.into_aead_stream_backend(), [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/symmetric_crypto/dem.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 170 | fn into_stream_decryptor_be32(self, nonce: &Self::Nonce) -> DecryptorBE32 { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | DecryptorBE32::from_aead( [INFO] [stdout] 172 | self.into_aead_stream_backend(), [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/symmetric_crypto/dem.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 177 | fn into_stream_encryptor_le31(self, nonce: &Self::Nonce) -> EncryptorLE31 { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | EncryptorLE31::from_aead( [INFO] [stdout] 179 | self.into_aead_stream_backend(), [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/symmetric_crypto/dem.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 184 | fn into_stream_decryptor_le31(self, nonce: &Self::Nonce) -> DecryptorLE31 { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 185 | DecryptorLE31::from_aead( [INFO] [stdout] 186 | self.into_aead_stream_backend(), [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 33 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cosmian_crypto_core` (lib) due to 34 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e6519abba482aacd57c65b6721cf7b1db4449be7fb624b0c8a82d839bd15662b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6519abba482aacd57c65b6721cf7b1db4449be7fb624b0c8a82d839bd15662b", kill_on_drop: false }` [INFO] [stdout] e6519abba482aacd57c65b6721cf7b1db4449be7fb624b0c8a82d839bd15662b