[INFO] fetching crate hpke_pq 0.11.1... [INFO] checking hpke_pq-0.11.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate hpke_pq 0.11.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate hpke_pq 0.11.1 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 hpke_pq 0.11.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate hpke_pq 0.11.1 [INFO] tweaked toml for crates.io crate hpke_pq 0.11.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate hpke_pq 0.11.1 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 28c687d073aa4b7908ad000a46778ba0b76b145864d33fe4f164b41e1c884350 [INFO] running `Command { std: "docker" "start" "-a" "28c687d073aa4b7908ad000a46778ba0b76b145864d33fe4f164b41e1c884350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28c687d073aa4b7908ad000a46778ba0b76b145864d33fe4f164b41e1c884350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28c687d073aa4b7908ad000a46778ba0b76b145864d33fe4f164b41e1c884350", kill_on_drop: false }` [INFO] [stdout] 28c687d073aa4b7908ad000a46778ba0b76b145864d33fe4f164b41e1c884350 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6e4e0de3e047e9d98874de02c1ad5c3b5b6f1dcc3c365c5690cae345da85ccf2 [INFO] running `Command { std: "docker" "start" "-a" "6e4e0de3e047e9d98874de02c1ad5c3b5b6f1dcc3c365c5690cae345da85ccf2", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking subtle v2.6.0 [INFO] [stderr] Checking cpufeatures v0.2.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling serde_derive v1.0.160 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking const-oid v0.9.2 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.95 [INFO] [stderr] Checking plotters-backend v0.3.4 [INFO] [stderr] Checking ciborium-io v0.2.0 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking os_str_bytes v6.5.0 [INFO] [stderr] Checking plotters-svg v0.3.3 [INFO] [stderr] Checking ciborium-ll v0.2.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking clap v3.2.23 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex v1.7.3 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking plotters v0.3.4 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking der v0.7.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking crypto-bigint v0.5.1 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking polyval v0.6.0 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking sec1 v0.7.2 [INFO] [stderr] Checking ghash v0.5.0 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking hkdf v0.12.3 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking elliptic-curve v0.13.4 [INFO] [stderr] Checking aes-gcm v0.10.1 [INFO] [stderr] Checking primeorder v0.13.1 [INFO] [stderr] Checking p256 v0.13.1 [INFO] [stderr] Checking hpke_pq v0.11.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ecdh_nistp::p256::DhP256` [INFO] [stdout] --> src/dhkex.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub use ecdh_nistp::p256::DhP256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x25519::X25519` [INFO] [stdout] --> src/dhkex.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub use x25519::X25519; [INFO] [stdout] | ^^^^^^^^^^^^^^ [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/aead.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 110 | let mut seq_buf = AeadNonce::::default(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | AeadNonce(GenericArray::from_exact_iter(new_nonce_iter).unwrap()) [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/aead.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 152 | let mut arr = as Default>::default(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | arr.copy_from_slice(encoded); [INFO] [stdout] 154 | Ok(AeadTag(arr)) [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/aead.rs:202:24 [INFO] [stdout] | [INFO] [stdout] 196 | base_nonce: AeadNonce, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | exporter_secret: ExporterSecret, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | encryptor: ::new(&key.0), [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/aead.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 196 | base_nonce: AeadNonce, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | exporter_secret: ExporterSecret, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 205 | seq: ::default(), [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/dhkex/ecdh_nistp.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 104 | let sk = curve_crate::SecretKey::from_bytes(encoded.into()) [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | Ok(PrivateKey(sk)) [INFO] [stdout] | ^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 231 | / nistp_dhkex!( [INFO] [stdout] 232 | | "P-256", [INFO] [stdout] 233 | | DhP256, [INFO] [stdout] 234 | | p256, [INFO] [stdout] ... | [INFO] [stdout] 238 | | 0xFF // RFC 9180 §7.1.3: The `bitmask` in DeriveKeyPair to be 0xFF for P-256 [INFO] [stdout] 239 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `nistp_dhkex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/dhkex/ecdh_nistp.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 151 | let dh_res = diffie_hellman(sk.0.to_nonzero_scalar(), pk.0.as_affine()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | Ok(KexResult(dh_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | / nistp_dhkex!( [INFO] [stdout] 232 | | "P-256", [INFO] [stdout] 233 | | DhP256, [INFO] [stdout] 234 | | p256, [INFO] [stdout] ... | [INFO] [stdout] 238 | | 0xFF // RFC 9180 §7.1.3: The `bitmask` in DeriveKeyPair to be 0xFF for P-256 [INFO] [stdout] 239 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `nistp_dhkex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/kem/dhkem.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 121 | let shared_secret = if let Some((sk_sender_id, pk_sender_id)) = sender_id_keypair { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | let mut buf = as Default>::default(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | let mut buf = as Default>::default(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | Ok((shared_secret, encapped_key)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | / impl_dhkem!( [INFO] [stdout] 352 | | x25519_hkdfsha256, [INFO] [stdout] 353 | | X25519HkdfSha256, [INFO] [stdout] 354 | | crate::dhkex::x25519::X25519, [INFO] [stdout] ... | [INFO] [stdout] 357 | | "Represents DHKEM(X25519, HKDF-SHA256)" [INFO] [stdout] 358 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_dhkem` (in Nightly builds, run with -Z macro-backtrace for more info) [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/kem/dhkem.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 104 | sk_eph: PrivateKey, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let kex_res_eph = <$dhkex as DhKeyExchange>::dh(&sk_eph, pk_recip) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | let shared_secret = if let Some((sk_sender_id, pk_sender_id)) = sender_id_keypair { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | let kex_res_identity = <$dhkex as DhKeyExchange>::dh(sk_sender_id, pk_recip) [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | let mut buf = as Default>::default(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | let mut buf = as Default>::default(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | Ok((shared_secret, encapped_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] 362 | / impl_dhkem!( [INFO] [stdout] 363 | | dhp256_hkdfsha256, [INFO] [stdout] 364 | | DhP256HkdfSha256, [INFO] [stdout] 365 | | crate::dhkex::ecdh_nistp::p256::DhP256, [INFO] [stdout] ... | [INFO] [stdout] 368 | | "Represents DHKEM(P-256, HKDF-SHA256)" [INFO] [stdout] 369 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_dhkem` (in Nightly builds, run with -Z macro-backtrace for more info) [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/setup.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 162 | let (shared_secret, encapped_key) = Kem::encap(pk_recip, sender_id_keypair, csprng)?; [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] 163 | // Use everything to derive an encryption context [INFO] [stdout] 164 | let enc_ctx = derive_enc_ctx::<_, _, Kem, _>(mode, shared_secret, info); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | [INFO] [stdout] 166 | Ok((encapped_key, enc_ctx.into())) [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/setup.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 196 | let shared_secret = Kem::decap(sk_recip, pk_sender_id, encapped_key)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | let enc_ctx = derive_enc_ctx::<_, _, Kem, _>(mode, shared_secret, info); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | Ok(enc_ctx.into()) [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/single_shot.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 42 | let (encapped_key, mut aead_ctx) = [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] ... [INFO] [stdout] 45 | let tag = aead_ctx.seal_in_place_detached(plaintext, aad)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | [INFO] [stdout] 47 | Ok((encapped_key, tag)) [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/single_shot.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 76 | let (encapped_key, mut aead_ctx) = [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] ... [INFO] [stdout] 81 | Ok((encapped_key, ciphertext)) [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 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hpke_pq` (lib) due to 13 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6e4e0de3e047e9d98874de02c1ad5c3b5b6f1dcc3c365c5690cae345da85ccf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e4e0de3e047e9d98874de02c1ad5c3b5b6f1dcc3c365c5690cae345da85ccf2", kill_on_drop: false }` [INFO] [stdout] 6e4e0de3e047e9d98874de02c1ad5c3b5b6f1dcc3c365c5690cae345da85ccf2