[INFO] fetching crate wasi-crypto-guest 0.1.4... [INFO] checking wasi-crypto-guest-0.1.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wasi-crypto-guest 0.1.4 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate wasi-crypto-guest 0.1.4 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] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate wasi-crypto-guest 0.1.4 [INFO] finished tweaking crates.io crate wasi-crypto-guest 0.1.4 [INFO] tweaked toml for crates.io crate wasi-crypto-guest 0.1.4 written to /workspace/builds/worker-4-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 16 packages to latest compatible versions [INFO] [stderr] Adding num_enum v0.6.1 (latest: v0.7.3) [INFO] [stderr] Adding num_enum_derive v0.6.1 (latest: v0.7.3) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (latest: v3.2.0) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.20) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.18) [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-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] ad2c1e2d6b2a4f1f93d8785f85ca0b13aa85e91316b05a3d9bdff11aeef3adc9 [INFO] running `Command { std: "docker" "start" "-a" "ad2c1e2d6b2a4f1f93d8785f85ca0b13aa85e91316b05a3d9bdff11aeef3adc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad2c1e2d6b2a4f1f93d8785f85ca0b13aa85e91316b05a3d9bdff11aeef3adc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad2c1e2d6b2a4f1f93d8785f85ca0b13aa85e91316b05a3d9bdff11aeef3adc9", kill_on_drop: false }` [INFO] [stdout] ad2c1e2d6b2a4f1f93d8785f85ca0b13aa85e91316b05a3d9bdff11aeef3adc9 [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] 97fe40f55d6f0601ec8c8653b38d81e101c9717d49e7e252674283f0ee2fb2ee [INFO] running `Command { std: "docker" "start" "-a" "97fe40f55d6f0601ec8c8653b38d81e101c9717d49e7e252674283f0ee2fb2ee", kill_on_drop: false }` [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking wasi-crypto-guest v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/raw.rs:365:7 [INFO] [stdout] | [INFO] [stdout] 365 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/raw.rs:365:7 [INFO] [stdout] | [INFO] [stdout] 365 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/raw.rs:367:7 [INFO] [stdout] | [INFO] [stdout] 367 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/raw.rs:367:7 [INFO] [stdout] | [INFO] [stdout] 367 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Signatures` is never constructed [INFO] [stdout] --> src/common/mod.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Signatures; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Signatures` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyExchange` is never constructed [INFO] [stdout] --> src/common/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct KeyExchange; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyExchange` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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_common/keypair.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 44 | encoded: 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] 51 | Ok(KeyPair { handle, alg }) [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_common/publickey.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 21 | encoded: 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] 28 | Ok(PublicKey { handle, alg }) [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_common/secretkey.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 21 | encoded: 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] 28 | Ok(SecretKey { handle, alg }) [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/kx/low/key_pair.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Ok(KxKeyPair(KeyPair::from_raw( [INFO] [stdout] | ____________^ [INFO] [stdout] 28 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 29 | | alg, [INFO] [stdout] 30 | | encoded, [INFO] [stdout] 31 | | )?)) [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/kx/low/key_pair.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn from_pkcs8(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Ok(KxKeyPair(KeyPair::from_pkcs8( [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 37 | | alg, [INFO] [stdout] 38 | | encoded, [INFO] [stdout] 39 | | )?)) [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/kx/low/key_pair.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_pem(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Ok(KxKeyPair(KeyPair::from_pem( [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 45 | | alg, [INFO] [stdout] 46 | | encoded, [INFO] [stdout] 47 | | )?)) [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/kx/low/key_pair.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn from_local(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | Ok(KxKeyPair(KeyPair::from_local( [INFO] [stdout] | ____________^ [INFO] [stdout] 52 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 53 | | alg, [INFO] [stdout] 54 | | encoded, [INFO] [stdout] 55 | | )?)) [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/kx/low/public_key.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | Ok(KxPublicKey(PublicKey::from_raw( [INFO] [stdout] | ____________^ [INFO] [stdout] 14 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 15 | | alg, [INFO] [stdout] 16 | | encoded, [INFO] [stdout] 17 | | )?)) [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/kx/low/public_key.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn from_pkcs8(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Ok(KxPublicKey(PublicKey::from_pkcs8( [INFO] [stdout] | ____________^ [INFO] [stdout] 22 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 23 | | alg, [INFO] [stdout] 24 | | encoded, [INFO] [stdout] 25 | | )?)) [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/kx/low/public_key.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_pem(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Ok(KxPublicKey(PublicKey::from_pem( [INFO] [stdout] | ____________^ [INFO] [stdout] 30 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 31 | | alg, [INFO] [stdout] 32 | | encoded, [INFO] [stdout] 33 | | )?)) [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/kx/low/public_key.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_sec(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Ok(KxPublicKey(PublicKey::from_sec( [INFO] [stdout] | ____________^ [INFO] [stdout] 38 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 39 | | alg, [INFO] [stdout] 40 | | encoded, [INFO] [stdout] 41 | | )?)) [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/kx/low/public_key.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn from_local(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | Ok(KxPublicKey(PublicKey::from_local( [INFO] [stdout] | ____________^ [INFO] [stdout] 46 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 47 | | alg, [INFO] [stdout] 48 | | encoded, [INFO] [stdout] 49 | | )?)) [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/kx/low/secret_key.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | Ok(KxSecretKey(SecretKey::from_raw( [INFO] [stdout] | ____________^ [INFO] [stdout] 12 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 13 | | alg, [INFO] [stdout] 14 | | encoded, [INFO] [stdout] 15 | | )?)) [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/kx/low/secret_key.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn from_pkcs8(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | Ok(KxSecretKey(SecretKey::from_pkcs8( [INFO] [stdout] | ____________^ [INFO] [stdout] 20 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 21 | | alg, [INFO] [stdout] 22 | | encoded, [INFO] [stdout] 23 | | )?)) [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/kx/low/secret_key.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn from_pem(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Ok(KxSecretKey(SecretKey::from_pem( [INFO] [stdout] | ____________^ [INFO] [stdout] 28 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 29 | | alg, [INFO] [stdout] 30 | | encoded, [INFO] [stdout] 31 | | )?)) [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/kx/low/secret_key.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn from_sec(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Ok(KxSecretKey(SecretKey::from_sec( [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 37 | | alg, [INFO] [stdout] 38 | | encoded, [INFO] [stdout] 39 | | )?)) [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/kx/low/secret_key.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_local(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Ok(KxSecretKey(SecretKey::from_local( [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 45 | | alg, [INFO] [stdout] 46 | | encoded, [INFO] [stdout] 47 | | )?)) [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/signatures/low/mod.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 27 | encoded: 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] 33 | Ok(Signature { handle, alg }) [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/signatures/low/key_pair.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Ok(SignatureKeyPair(KeyPair::from_raw( [INFO] [stdout] | ____________^ [INFO] [stdout] 24 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 25 | | alg, [INFO] [stdout] 26 | | encoded, [INFO] [stdout] 27 | | )?)) [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/signatures/low/key_pair.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn from_pkcs8(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Ok(SignatureKeyPair(KeyPair::from_pkcs8( [INFO] [stdout] | ____________^ [INFO] [stdout] 32 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 33 | | alg, [INFO] [stdout] 34 | | encoded, [INFO] [stdout] 35 | | )?)) [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/signatures/low/key_pair.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn from_pem(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Ok(SignatureKeyPair(KeyPair::from_pem( [INFO] [stdout] | ____________^ [INFO] [stdout] 40 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 41 | | alg, [INFO] [stdout] 42 | | encoded, [INFO] [stdout] 43 | | )?)) [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/signatures/low/key_pair.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn from_local(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | Ok(SignatureKeyPair(KeyPair::from_local( [INFO] [stdout] | ____________^ [INFO] [stdout] 48 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 49 | | alg, [INFO] [stdout] 50 | | encoded, [INFO] [stdout] 51 | | )?)) [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/signatures/low/public_key.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | Ok(SignaturePublicKey(PublicKey::from_raw( [INFO] [stdout] | ____________^ [INFO] [stdout] 12 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 13 | | alg, [INFO] [stdout] 14 | | encoded, [INFO] [stdout] 15 | | )?)) [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/signatures/low/public_key.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn from_pkcs8(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | Ok(SignaturePublicKey(PublicKey::from_pkcs8( [INFO] [stdout] | ____________^ [INFO] [stdout] 20 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 21 | | alg, [INFO] [stdout] 22 | | encoded, [INFO] [stdout] 23 | | )?)) [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/signatures/low/public_key.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn from_pem(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Ok(SignaturePublicKey(PublicKey::from_pem( [INFO] [stdout] | ____________^ [INFO] [stdout] 28 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 29 | | alg, [INFO] [stdout] 30 | | encoded, [INFO] [stdout] 31 | | )?)) [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/signatures/low/public_key.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn from_sec(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Ok(SignaturePublicKey(PublicKey::from_sec( [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 37 | | alg, [INFO] [stdout] 38 | | encoded, [INFO] [stdout] 39 | | )?)) [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/signatures/low/public_key.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_local(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Ok(SignaturePublicKey(PublicKey::from_local( [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 45 | | alg, [INFO] [stdout] 46 | | encoded, [INFO] [stdout] 47 | | )?)) [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] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/signatures/low/public_key.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | alg: self.0.alg.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` 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/symmetric/high/aead.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | SymmetricKey::from_raw(alg, encoded).map(Self) [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/high/aead.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 40 | let options = if let Some(nonce) = nonce { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let mut options = SymmetricOptions::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let mut state = SymmetricState::new(key.alg, Some(key), options.as_ref())?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Aead { state }) [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/high/auth.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | SymmetricKey::from_raw(alg, encoded).map(Self) [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/high/auth.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | let state = SymmetricState::new(key.alg, Some(key), None)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | Ok(Auth { state }) [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/high/hash.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | SymmetricKey::from_raw(alg, encoded).map(Self) [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/high/hash.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | let state = SymmetricState::new(key.alg, Some(key), None)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | Ok(Hash { state }) [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/high/hash.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | let state = SymmetricState::new(alg, None, None)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | Ok(Hash { state }) [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/high/hkdf.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | SymmetricKey::from_raw(alg, encoded).map(Self) [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/high/hkdf.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | SymmetricKey::from_raw(alg, encoded).map(Self) [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/high/hkdf.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 65 | let mut state = SymmetricState::new(key.alg, Some(key), None)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | let prk = state.squeeze_key(exp_alg).map(HkdfPrk)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | Ok(Hkdf { prk, exp_alg }) [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/symmetric/low/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(SymmetricKey { handle, alg }) [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/low/state.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 78 | mut out: impl AsMut<[u8]>, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | data: 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] 92 | Ok(Tag::new(tag_handle).into_bytes()) [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] warning: struct `Signatures` is never constructed [INFO] [stdout] --> src/common/mod.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Signatures; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Signatures` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyExchange` is never constructed [INFO] [stdout] --> src/common/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct KeyExchange; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyExchange` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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_common/keypair.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 44 | encoded: 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] 51 | Ok(KeyPair { handle, alg }) [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_common/publickey.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 21 | encoded: 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] 28 | Ok(PublicKey { handle, alg }) [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_common/secretkey.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 21 | encoded: 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] 28 | Ok(SecretKey { handle, alg }) [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 39 previous errors; 5 warnings emitted [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/kx/low/key_pair.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Ok(KxKeyPair(KeyPair::from_raw( [INFO] [stdout] | ____________^ [INFO] [stdout] 28 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 29 | | alg, [INFO] [stdout] 30 | | encoded, [INFO] [stdout] 31 | | )?)) [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/kx/low/key_pair.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn from_pkcs8(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Ok(KxKeyPair(KeyPair::from_pkcs8( [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 37 | | alg, [INFO] [stdout] 38 | | encoded, [INFO] [stdout] 39 | | )?)) [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/kx/low/key_pair.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_pem(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Ok(KxKeyPair(KeyPair::from_pem( [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 45 | | alg, [INFO] [stdout] 46 | | encoded, [INFO] [stdout] 47 | | )?)) [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/kx/low/key_pair.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn from_local(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | Ok(KxKeyPair(KeyPair::from_local( [INFO] [stdout] | ____________^ [INFO] [stdout] 52 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 53 | | alg, [INFO] [stdout] 54 | | encoded, [INFO] [stdout] 55 | | )?)) [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/kx/low/public_key.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | Ok(KxPublicKey(PublicKey::from_raw( [INFO] [stdout] | ____________^ [INFO] [stdout] 14 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 15 | | alg, [INFO] [stdout] 16 | | encoded, [INFO] [stdout] 17 | | )?)) [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/kx/low/public_key.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn from_pkcs8(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Ok(KxPublicKey(PublicKey::from_pkcs8( [INFO] [stdout] | ____________^ [INFO] [stdout] 22 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 23 | | alg, [INFO] [stdout] 24 | | encoded, [INFO] [stdout] 25 | | )?)) [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/kx/low/public_key.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_pem(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Ok(KxPublicKey(PublicKey::from_pem( [INFO] [stdout] | ____________^ [INFO] [stdout] 30 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 31 | | alg, [INFO] [stdout] 32 | | encoded, [INFO] [stdout] 33 | | )?)) [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/kx/low/public_key.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_sec(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Ok(KxPublicKey(PublicKey::from_sec( [INFO] [stdout] | ____________^ [INFO] [stdout] 38 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 39 | | alg, [INFO] [stdout] 40 | | encoded, [INFO] [stdout] 41 | | )?)) [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/kx/low/public_key.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn from_local(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | Ok(KxPublicKey(PublicKey::from_local( [INFO] [stdout] | ____________^ [INFO] [stdout] 46 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 47 | | alg, [INFO] [stdout] 48 | | encoded, [INFO] [stdout] 49 | | )?)) [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] [stderr] error: could not compile `wasi-crypto-guest` (lib) due to 40 previous errors; 5 warnings emitted [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/kx/low/secret_key.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | Ok(KxSecretKey(SecretKey::from_raw( [INFO] [stdout] | ____________^ [INFO] [stdout] 12 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 13 | | alg, [INFO] [stdout] 14 | | encoded, [INFO] [stdout] 15 | | )?)) [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] [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/kx/low/secret_key.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn from_pkcs8(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | Ok(KxSecretKey(SecretKey::from_pkcs8( [INFO] [stdout] | ____________^ [INFO] [stdout] 20 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 21 | | alg, [INFO] [stdout] 22 | | encoded, [INFO] [stdout] 23 | | )?)) [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/kx/low/secret_key.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn from_pem(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Ok(KxSecretKey(SecretKey::from_pem( [INFO] [stdout] | ____________^ [INFO] [stdout] 28 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 29 | | alg, [INFO] [stdout] 30 | | encoded, [INFO] [stdout] 31 | | )?)) [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/kx/low/secret_key.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn from_sec(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Ok(KxSecretKey(SecretKey::from_sec( [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 37 | | alg, [INFO] [stdout] 38 | | encoded, [INFO] [stdout] 39 | | )?)) [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/kx/low/secret_key.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_local(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Ok(KxSecretKey(SecretKey::from_local( [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | raw::ALGORITHM_TYPE_KEY_EXCHANGE, [INFO] [stdout] 45 | | alg, [INFO] [stdout] 46 | | encoded, [INFO] [stdout] 47 | | )?)) [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/signatures/low/mod.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 27 | encoded: 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] 33 | Ok(Signature { handle, alg }) [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/signatures/low/key_pair.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Ok(SignatureKeyPair(KeyPair::from_raw( [INFO] [stdout] | ____________^ [INFO] [stdout] 24 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 25 | | alg, [INFO] [stdout] 26 | | encoded, [INFO] [stdout] 27 | | )?)) [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/signatures/low/key_pair.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn from_pkcs8(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Ok(SignatureKeyPair(KeyPair::from_pkcs8( [INFO] [stdout] | ____________^ [INFO] [stdout] 32 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 33 | | alg, [INFO] [stdout] 34 | | encoded, [INFO] [stdout] 35 | | )?)) [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/signatures/low/key_pair.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn from_pem(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Ok(SignatureKeyPair(KeyPair::from_pem( [INFO] [stdout] | ____________^ [INFO] [stdout] 40 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 41 | | alg, [INFO] [stdout] 42 | | encoded, [INFO] [stdout] 43 | | )?)) [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/signatures/low/key_pair.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn from_local(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | Ok(SignatureKeyPair(KeyPair::from_local( [INFO] [stdout] | ____________^ [INFO] [stdout] 48 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 49 | | alg, [INFO] [stdout] 50 | | encoded, [INFO] [stdout] 51 | | )?)) [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/signatures/low/public_key.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | Ok(SignaturePublicKey(PublicKey::from_raw( [INFO] [stdout] | ____________^ [INFO] [stdout] 12 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 13 | | alg, [INFO] [stdout] 14 | | encoded, [INFO] [stdout] 15 | | )?)) [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/signatures/low/public_key.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn from_pkcs8(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | Ok(SignaturePublicKey(PublicKey::from_pkcs8( [INFO] [stdout] | ____________^ [INFO] [stdout] 20 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 21 | | alg, [INFO] [stdout] 22 | | encoded, [INFO] [stdout] 23 | | )?)) [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/signatures/low/public_key.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn from_pem(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Ok(SignaturePublicKey(PublicKey::from_pem( [INFO] [stdout] | ____________^ [INFO] [stdout] 28 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 29 | | alg, [INFO] [stdout] 30 | | encoded, [INFO] [stdout] 31 | | )?)) [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/signatures/low/public_key.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn from_sec(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Ok(SignaturePublicKey(PublicKey::from_sec( [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 37 | | alg, [INFO] [stdout] 38 | | encoded, [INFO] [stdout] 39 | | )?)) [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/signatures/low/public_key.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_local(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Ok(SignaturePublicKey(PublicKey::from_local( [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | raw::ALGORITHM_TYPE_SIGNATURES, [INFO] [stdout] 45 | | alg, [INFO] [stdout] 46 | | encoded, [INFO] [stdout] 47 | | )?)) [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] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/signatures/low/public_key.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | alg: self.0.alg.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` 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/symmetric/high/aead.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | SymmetricKey::from_raw(alg, encoded).map(Self) [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/high/aead.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 40 | let options = if let Some(nonce) = nonce { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let mut options = SymmetricOptions::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let mut state = SymmetricState::new(key.alg, Some(key), options.as_ref())?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Aead { state }) [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/high/auth.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | SymmetricKey::from_raw(alg, encoded).map(Self) [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/high/auth.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | let state = SymmetricState::new(key.alg, Some(key), None)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | Ok(Auth { state }) [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/high/hash.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | SymmetricKey::from_raw(alg, encoded).map(Self) [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/high/hash.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | let state = SymmetricState::new(key.alg, Some(key), None)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | Ok(Hash { state }) [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/high/hash.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | let state = SymmetricState::new(alg, None, None)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | Ok(Hash { state }) [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/high/hkdf.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | SymmetricKey::from_raw(alg, encoded).map(Self) [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/high/hkdf.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | SymmetricKey::from_raw(alg, encoded).map(Self) [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/high/hkdf.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 65 | let mut state = SymmetricState::new(key.alg, Some(key), None)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | let prk = state.squeeze_key(exp_alg).map(HkdfPrk)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | Ok(Hkdf { prk, exp_alg }) [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/symmetric/low/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn from_raw(alg: &'static str, encoded: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(SymmetricKey { handle, alg }) [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/low/state.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 78 | mut out: impl AsMut<[u8]>, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | data: 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] 92 | Ok(Tag::new(tag_handle).into_bytes()) [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 39 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasi-crypto-guest` (lib test) due to 40 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "97fe40f55d6f0601ec8c8653b38d81e101c9717d49e7e252674283f0ee2fb2ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97fe40f55d6f0601ec8c8653b38d81e101c9717d49e7e252674283f0ee2fb2ee", kill_on_drop: false }` [INFO] [stdout] 97fe40f55d6f0601ec8c8653b38d81e101c9717d49e7e252674283f0ee2fb2ee