[INFO] cloning repository https://github.com/msft-mirror-aosp/platform.external.rust.crates.coset [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/msft-mirror-aosp/platform.external.rust.crates.coset" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsft-mirror-aosp%2Fplatform.external.rust.crates.coset", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsft-mirror-aosp%2Fplatform.external.rust.crates.coset'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f94e13246ed15845e5dbaea41bffd1f0f320267 [INFO] checking msft-mirror-aosp/platform.external.rust.crates.coset against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsft-mirror-aosp%2Fplatform.external.rust.crates.coset" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.coset on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.coset [INFO] finished tweaking git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.coset [INFO] tweaked toml for git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.coset written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.coset 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d2071482ba6d01c8c7bd6d0748b0475af09a7eb72f77214683dc194ed459af9 [INFO] running `Command { std: "docker" "start" "-a" "5d2071482ba6d01c8c7bd6d0748b0475af09a7eb72f77214683dc194ed459af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d2071482ba6d01c8c7bd6d0748b0475af09a7eb72f77214683dc194ed459af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d2071482ba6d01c8c7bd6d0748b0475af09a7eb72f77214683dc194ed459af9", kill_on_drop: false }` [INFO] [stdout] 5d2071482ba6d01c8c7bd6d0748b0475af09a7eb72f77214683dc194ed459af9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2af661f0bc2ca758162a1679a906fbcf5255a8a31595fbe7f6c1fae717ed57ff [INFO] running `Command { std: "docker" "start" "-a" "2af661f0bc2ca758162a1679a906fbcf5255a8a31595fbe7f6c1fae717ed57ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling syn v1.0.83 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking ciborium-io v0.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking ciborium-ll v0.2.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking ciborium v0.2.0 [INFO] [stderr] Checking coset v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/encrypt/tests.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | for mut recip in &mut got.recipients { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/encrypt/tests.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | for mut recip in &mut got.recipients { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/encrypt/tests.rs:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | for mut sig in &mut got.unprotected.counter_signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/header/tests.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | for mut sig in &mut got.counter_signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/header/tests.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | for mut sig in &mut got.header.counter_signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/header/tests.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | for mut sig in &mut got.header.counter_signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mac/tests.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | for mut recip in &mut got.recipients { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mac/tests.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | for mut sig in &mut got.unprotected.counter_signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sign/tests.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | for mut sig in &mut got.signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sign/tests.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | for mut sig in &mut got.signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sign/tests.rs:754:13 [INFO] [stdout] | [INFO] [stdout] 754 | for mut sig in &mut got.signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sign/tests.rs:757:13 [INFO] [stdout] | [INFO] [stdout] 757 | for mut sig in &mut got.unprotected.counter_signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.90s [INFO] running `Command { std: "docker" "inspect" "2af661f0bc2ca758162a1679a906fbcf5255a8a31595fbe7f6c1fae717ed57ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2af661f0bc2ca758162a1679a906fbcf5255a8a31595fbe7f6c1fae717ed57ff", kill_on_drop: false }` [INFO] [stdout] 2af661f0bc2ca758162a1679a906fbcf5255a8a31595fbe7f6c1fae717ed57ff [INFO] checking msft-mirror-aosp/platform.external.rust.crates.coset against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsft-mirror-aosp%2Fplatform.external.rust.crates.coset" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.coset on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.coset [INFO] finished tweaking git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.coset [INFO] tweaked toml for git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.coset written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/msft-mirror-aosp/platform.external.rust.crates.coset 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a5baacd72167579728f3e9d087fa78324823f7eec1b8345b80aaf58e39931b7 [INFO] running `Command { std: "docker" "start" "-a" "0a5baacd72167579728f3e9d087fa78324823f7eec1b8345b80aaf58e39931b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a5baacd72167579728f3e9d087fa78324823f7eec1b8345b80aaf58e39931b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a5baacd72167579728f3e9d087fa78324823f7eec1b8345b80aaf58e39931b7", kill_on_drop: false }` [INFO] [stdout] 0a5baacd72167579728f3e9d087fa78324823f7eec1b8345b80aaf58e39931b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96478aa380117e5b6dd02d9fa450ba33cdb626c7991c8db35fbea1b63b27eb8a [INFO] running `Command { std: "docker" "start" "-a" "96478aa380117e5b6dd02d9fa450ba33cdb626c7991c8db35fbea1b63b27eb8a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling syn v1.0.83 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Checking ciborium-io v0.2.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking ciborium-ll v0.2.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking ciborium v0.2.0 [INFO] [stderr] Checking coset v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 109 | fn try_as_array_then_convert(self, f: F) -> Result> [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] 113 | / self.try_as_array()? [INFO] [stdout] 114 | | .into_iter() [INFO] [stdout] 115 | | .map(f) [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/util/mod.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn to_cbor_array(c: C) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | Ok(Value::Array( [INFO] [stdout] | ________^ [INFO] [stdout] 144 | | c.into_iter() [INFO] [stdout] 145 | | .map(|e| e.to_cbor_value()) [INFO] [stdout] 146 | | .collect::, _>>()?, [INFO] [stdout] 147 | | )) [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/common/mod.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 311 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 312 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 313 | | RegisteredLabel::Assigned(e) => Value::from(e.to_i64()), [INFO] [stdout] 314 | | RegisteredLabel::Text(t) => Value::Text(t), [INFO] [stdout] 315 | | }) [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/common/mod.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 372 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 373 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 374 | | RegisteredLabelWithPrivate::PrivateUse(i) => Value::from(i), [INFO] [stdout] 375 | | RegisteredLabelWithPrivate::Assigned(i) => Value::from(i.to_i64()), [INFO] [stdout] 376 | | RegisteredLabelWithPrivate::Text(t) => Value::Text(t), [INFO] [stdout] 377 | | }) [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/context/mod.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 58 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | other: match a.remove(2) { [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/context/mod.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 58 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | nonce: match a.remove(1) { [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/context/mod.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 58 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | identity: match a.remove(0) { [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/context/mod.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 134 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 145 | | other: { [INFO] [stdout] 146 | | if a.len() == 3 { [INFO] [stdout] 147 | | Some(a.remove(2).try_as_bytes()?) [INFO] [stdout] ... | [INFO] [stdout] 153 | | key_data_length: a.remove(0).try_as_integer()?.try_into()?, [INFO] [stdout] 154 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context/mod.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 157 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | let mut v = vec![ [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | Ok(Value::Array(v)) [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/context/mod.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 206 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 223 | | supp_priv_info, [INFO] [stdout] 224 | | supp_pub_info: SuppPubInfo::from_cbor_value(a.remove(3))?, [INFO] [stdout] 225 | | party_v_info: PartyInfo::from_cbor_value(a.remove(2))?, [INFO] [stdout] 226 | | party_u_info: PartyInfo::from_cbor_value(a.remove(1))?, [INFO] [stdout] 227 | | algorithm_id: Algorithm::from_cbor_value(a.remove(0))?, [INFO] [stdout] 228 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context/mod.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 231 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 232 | let mut v = vec![ [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | Ok(Value::Array(v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/encrypt/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 52 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let recipients = if a.len() == 4 { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 70 | | recipients, [INFO] [stdout] 71 | | ciphertext: match a.remove(2) { [INFO] [stdout] 72 | | Value::Bytes(b) => Some(b), [INFO] [stdout] ... | [INFO] [stdout] 77 | | protected: ProtectedHeader::from_cbor_bstr(a.remove(0))?, [INFO] [stdout] 78 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/encrypt/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 81 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | let mut v = vec![ [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Ok(Value::Array(v)) [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/encrypt/mod.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 173 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | cipher: F, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | Ok(self.ciphertext(cipher(plaintext, &aad)?)) [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/encrypt/mod.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 228 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 235 | let recipients = a [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 239 | | recipients, [INFO] [stdout] 240 | | ciphertext: match a.remove(2) { [INFO] [stdout] 241 | | Value::Bytes(b) => Some(b), [INFO] [stdout] ... | [INFO] [stdout] 246 | | protected: ProtectedHeader::from_cbor_bstr(a.remove(0))?, [INFO] [stdout] 247 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/encrypt/mod.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 250 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | Ok(Value::Array(vec![ [INFO] [stdout] | ____________^ [INFO] [stdout] 252 | | self.protected.cbor_bstr()?, [INFO] [stdout] 253 | | self.unprotected.to_cbor_value()?, [INFO] [stdout] 254 | | match self.ciphertext { [INFO] [stdout] ... | [INFO] [stdout] 258 | | to_cbor_array(self.recipients)?, [INFO] [stdout] 259 | | ])) [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/encrypt/mod.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 314 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 317 | cipher: F, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 327 | Ok(self.ciphertext(cipher(plaintext, &aad)?)) [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/encrypt/mod.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 360 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 361 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 367 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 368 | | ciphertext: match a.remove(2) { [INFO] [stdout] 369 | | Value::Bytes(b) => Some(b), [INFO] [stdout] 370 | | Value::Null => None, [INFO] [stdout] ... | [INFO] [stdout] 375 | | protected: ProtectedHeader::from_cbor_bstr(a.remove(0))?, [INFO] [stdout] 376 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/encrypt/mod.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 379 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 380 | Ok(Value::Array(vec![ [INFO] [stdout] | ____________^ [INFO] [stdout] 381 | | self.protected.cbor_bstr()?, [INFO] [stdout] 382 | | self.unprotected.to_cbor_value()?, [INFO] [stdout] 383 | | match self.ciphertext { [INFO] [stdout] ... | [INFO] [stdout] 386 | | }, [INFO] [stdout] 387 | | ])) [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/encrypt/mod.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 442 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 445 | cipher: F, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 455 | Ok(self.ciphertext(cipher(plaintext, &aad)?)) [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/header/mod.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 209 | fn to_cbor_value(mut self) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | let mut map = Vec::<(Value, Value)>::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | Ok(Value::Map(map)) [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/header/mod.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn from_cbor_bstr(val: Value) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | let data = val.try_as_bytes()?; [INFO] [stdout] 361 | let header = if data.is_empty() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 367 | Ok(ProtectedHeader { [INFO] [stdout] | ____________^ [INFO] [stdout] 368 | | original_data: Some(data), [INFO] [stdout] 369 | | header, [INFO] [stdout] 370 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/header/mod.rs:377:12 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cbor_bstr(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 377 | Ok(Value::Bytes( [INFO] [stdout] | ____________^ [INFO] [stdout] 378 | | if let Some(original_data) = self.original_data { [INFO] [stdout] 379 | | original_data [INFO] [stdout] 380 | | } else if self.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 384 | | }, [INFO] [stdout] 385 | | )) [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/header/mod.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 397 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 398 | Ok(ProtectedHeader { [INFO] [stdout] | ____________^ [INFO] [stdout] 399 | | original_data: None, [INFO] [stdout] 400 | | header: Header::from_cbor_value(value)?, [INFO] [stdout] 401 | | }) [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/key/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | Ok(Self( [INFO] [stdout] | ____________^ [INFO] [stdout] 53 | | value.try_as_array_then_convert(CoseKey::from_cbor_value)?, [INFO] [stdout] 54 | | )) [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/key/mod.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 154 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | let mut map: Vec<(Value, Value)> = vec![(KTY.to_cbor_value()?, self.kty.to_cbor_value()?)]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | Ok(Value::Map(map)) [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/mac/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 58 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let recipients = a [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 70 | | recipients, [INFO] [stdout] 71 | | tag: a.remove(3).try_as_bytes()?, [INFO] [stdout] 72 | | payload: match a.remove(2) { [INFO] [stdout] ... | [INFO] [stdout] 78 | | protected: ProtectedHeader::from_cbor_bstr(a.remove(0))?, [INFO] [stdout] 79 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mac/mod.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | Ok(Value::Array(vec![ [INFO] [stdout] | ____________^ [INFO] [stdout] 84 | | self.protected.cbor_bstr()?, [INFO] [stdout] 85 | | self.unprotected.to_cbor_value()?, [INFO] [stdout] 86 | | match self.payload { [INFO] [stdout] ... | [INFO] [stdout] 91 | | to_cbor_array(self.recipients)?, [INFO] [stdout] 92 | | ])) [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/mac/mod.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn try_create_tag(self, external_aad: &[u8], create: F) -> Result [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] 171 | Ok(self.tag(create(&tbm)?)) [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/mac/mod.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 200 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 208 | | tag: a.remove(3).try_as_bytes()?, [INFO] [stdout] 209 | | payload: match a.remove(2) { [INFO] [stdout] 210 | | Value::Bytes(b) => Some(b), [INFO] [stdout] ... | [INFO] [stdout] 215 | | protected: ProtectedHeader::from_cbor_bstr(a.remove(0))?, [INFO] [stdout] 216 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mac/mod.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 219 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | Ok(Value::Array(vec![ [INFO] [stdout] | ____________^ [INFO] [stdout] 221 | | self.protected.cbor_bstr()?, [INFO] [stdout] 222 | | self.unprotected.to_cbor_value()?, [INFO] [stdout] 223 | | match self.payload { [INFO] [stdout] ... | [INFO] [stdout] 227 | | Value::Bytes(self.tag), [INFO] [stdout] 228 | | ])) [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/mac/mod.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn try_create_tag(self, external_aad: &[u8], create: F) -> Result [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] 300 | Ok(self.tag(create(&tbm)?)) [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/sign/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 50 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 58 | | signature: a.remove(2).try_as_bytes()?, [INFO] [stdout] 59 | | unprotected: Header::from_cbor_value(a.remove(1))?, [INFO] [stdout] 60 | | protected: ProtectedHeader::from_cbor_bstr(a.remove(0))?, [INFO] [stdout] 61 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sign/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | Ok(Value::Array(vec![ [INFO] [stdout] | ____________^ [INFO] [stdout] 66 | | self.protected.cbor_bstr()?, [INFO] [stdout] 67 | | self.unprotected.to_cbor_value()?, [INFO] [stdout] 68 | | Value::Bytes(self.signature), [INFO] [stdout] 69 | | ])) [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/sign/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 107 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | let signatures = a.remove(3).try_as_array_then_convert(|v| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 120 | | signatures, [INFO] [stdout] 121 | | payload: match a.remove(2) { [INFO] [stdout] 122 | | Value::Bytes(b) => Some(b), [INFO] [stdout] ... | [INFO] [stdout] 127 | | protected: ProtectedHeader::from_cbor_bstr(a.remove(0))?, [INFO] [stdout] 128 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sign/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 114 | let signatures = a.remove(3).try_as_array_then_convert(|v| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | CoseSignature::from_cbor_value(v) [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/sign/mod.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | Ok(Value::Array(vec![ [INFO] [stdout] | ____________^ [INFO] [stdout] 133 | | self.protected.cbor_bstr()?, [INFO] [stdout] 134 | | self.unprotected.to_cbor_value()?, [INFO] [stdout] 135 | | match self.payload { [INFO] [stdout] ... | [INFO] [stdout] 139 | | to_cbor_array(self.signatures)?, [INFO] [stdout] 140 | | ])) [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/sign/mod.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 206 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | mut sig: CoseSignature, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | aad: &[u8], [INFO] [stdout] 209 | signer: F, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | Ok(self.add_signature(sig)) [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/sign/mod.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 243 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 250 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 251 | | signature: a.remove(3).try_as_bytes()?, [INFO] [stdout] 252 | | payload: match a.remove(2) { [INFO] [stdout] 253 | | Value::Bytes(b) => Some(b), [INFO] [stdout] ... | [INFO] [stdout] 258 | | protected: ProtectedHeader::from_cbor_bstr(a.remove(0))?, [INFO] [stdout] 259 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sign/mod.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 262 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | Ok(Value::Array(vec![ [INFO] [stdout] | ____________^ [INFO] [stdout] 264 | | self.protected.cbor_bstr()?, [INFO] [stdout] 265 | | self.unprotected.to_cbor_value()?, [INFO] [stdout] 266 | | match self.payload { [INFO] [stdout] ... | [INFO] [stdout] 270 | | Value::Bytes(self.signature), [INFO] [stdout] 271 | | ])) [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/sign/mod.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn try_create_signature(self, aad: &[u8], signer: F) -> Result [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] 327 | Ok(self.signature(sig_data)) [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 41 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `coset` (lib) due to 42 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/encrypt/tests.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | for mut recip in &mut got.recipients { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/encrypt/tests.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | for mut recip in &mut got.recipients { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/encrypt/tests.rs:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | for mut sig in &mut got.unprotected.counter_signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/header/tests.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | for mut sig in &mut got.counter_signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/header/tests.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | for mut sig in &mut got.header.counter_signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/header/tests.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | for mut sig in &mut got.header.counter_signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mac/tests.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | for mut recip in &mut got.recipients { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mac/tests.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | for mut sig in &mut got.unprotected.counter_signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sign/tests.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | for mut sig in &mut got.signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sign/tests.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | for mut sig in &mut got.signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sign/tests.rs:754:13 [INFO] [stdout] | [INFO] [stdout] 754 | for mut sig in &mut got.signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sign/tests.rs:757:13 [INFO] [stdout] | [INFO] [stdout] 757 | for mut sig in &mut got.unprotected.counter_signatures { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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/util/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 109 | fn try_as_array_then_convert(self, f: F) -> Result> [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] 113 | / self.try_as_array()? [INFO] [stdout] 114 | | .into_iter() [INFO] [stdout] 115 | | .map(f) [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/util/mod.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn to_cbor_array(c: C) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | Ok(Value::Array( [INFO] [stdout] | ________^ [INFO] [stdout] 144 | | c.into_iter() [INFO] [stdout] 145 | | .map(|e| e.to_cbor_value()) [INFO] [stdout] 146 | | .collect::, _>>()?, [INFO] [stdout] 147 | | )) [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/common/mod.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 311 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 312 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 313 | | RegisteredLabel::Assigned(e) => Value::from(e.to_i64()), [INFO] [stdout] 314 | | RegisteredLabel::Text(t) => Value::Text(t), [INFO] [stdout] 315 | | }) [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/common/mod.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 372 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 373 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 374 | | RegisteredLabelWithPrivate::PrivateUse(i) => Value::from(i), [INFO] [stdout] 375 | | RegisteredLabelWithPrivate::Assigned(i) => Value::from(i.to_i64()), [INFO] [stdout] 376 | | RegisteredLabelWithPrivate::Text(t) => Value::Text(t), [INFO] [stdout] 377 | | }) [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/context/mod.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 58 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | other: match a.remove(2) { [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/context/mod.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 58 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | nonce: match a.remove(1) { [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/context/mod.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 58 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | identity: match a.remove(0) { [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/context/mod.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 134 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 145 | | other: { [INFO] [stdout] 146 | | if a.len() == 3 { [INFO] [stdout] 147 | | Some(a.remove(2).try_as_bytes()?) [INFO] [stdout] ... | [INFO] [stdout] 153 | | key_data_length: a.remove(0).try_as_integer()?.try_into()?, [INFO] [stdout] 154 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context/mod.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 157 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | let mut v = vec![ [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | Ok(Value::Array(v)) [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/context/mod.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 206 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 223 | | supp_priv_info, [INFO] [stdout] 224 | | supp_pub_info: SuppPubInfo::from_cbor_value(a.remove(3))?, [INFO] [stdout] 225 | | party_v_info: PartyInfo::from_cbor_value(a.remove(2))?, [INFO] [stdout] 226 | | party_u_info: PartyInfo::from_cbor_value(a.remove(1))?, [INFO] [stdout] 227 | | algorithm_id: Algorithm::from_cbor_value(a.remove(0))?, [INFO] [stdout] 228 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context/mod.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 231 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 232 | let mut v = vec![ [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | Ok(Value::Array(v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/encrypt/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 52 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let recipients = if a.len() == 4 { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 70 | | recipients, [INFO] [stdout] 71 | | ciphertext: match a.remove(2) { [INFO] [stdout] 72 | | Value::Bytes(b) => Some(b), [INFO] [stdout] ... | [INFO] [stdout] 77 | | protected: ProtectedHeader::from_cbor_bstr(a.remove(0))?, [INFO] [stdout] 78 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/encrypt/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 81 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | let mut v = vec![ [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Ok(Value::Array(v)) [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/encrypt/mod.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 173 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | cipher: F, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | Ok(self.ciphertext(cipher(plaintext, &aad)?)) [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/encrypt/mod.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 228 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 235 | let recipients = a [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 239 | | recipients, [INFO] [stdout] 240 | | ciphertext: match a.remove(2) { [INFO] [stdout] 241 | | Value::Bytes(b) => Some(b), [INFO] [stdout] ... | [INFO] [stdout] 246 | | protected: ProtectedHeader::from_cbor_bstr(a.remove(0))?, [INFO] [stdout] 247 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/encrypt/mod.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 250 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 251 | Ok(Value::Array(vec![ [INFO] [stdout] | ____________^ [INFO] [stdout] 252 | | self.protected.cbor_bstr()?, [INFO] [stdout] 253 | | self.unprotected.to_cbor_value()?, [INFO] [stdout] 254 | | match self.ciphertext { [INFO] [stdout] ... | [INFO] [stdout] 258 | | to_cbor_array(self.recipients)?, [INFO] [stdout] 259 | | ])) [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/encrypt/mod.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 314 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 317 | cipher: F, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 327 | Ok(self.ciphertext(cipher(plaintext, &aad)?)) [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/encrypt/mod.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 360 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 361 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 367 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 368 | | ciphertext: match a.remove(2) { [INFO] [stdout] 369 | | Value::Bytes(b) => Some(b), [INFO] [stdout] 370 | | Value::Null => None, [INFO] [stdout] ... | [INFO] [stdout] 375 | | protected: ProtectedHeader::from_cbor_bstr(a.remove(0))?, [INFO] [stdout] 376 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/encrypt/mod.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 379 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 380 | Ok(Value::Array(vec![ [INFO] [stdout] | ____________^ [INFO] [stdout] 381 | | self.protected.cbor_bstr()?, [INFO] [stdout] 382 | | self.unprotected.to_cbor_value()?, [INFO] [stdout] 383 | | match self.ciphertext { [INFO] [stdout] ... | [INFO] [stdout] 386 | | }, [INFO] [stdout] 387 | | ])) [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/encrypt/mod.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 442 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 445 | cipher: F, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 455 | Ok(self.ciphertext(cipher(plaintext, &aad)?)) [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/header/mod.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 209 | fn to_cbor_value(mut self) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | let mut map = Vec::<(Value, Value)>::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | Ok(Value::Map(map)) [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/header/mod.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn from_cbor_bstr(val: Value) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 360 | let data = val.try_as_bytes()?; [INFO] [stdout] 361 | let header = if data.is_empty() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 367 | Ok(ProtectedHeader { [INFO] [stdout] | ____________^ [INFO] [stdout] 368 | | original_data: Some(data), [INFO] [stdout] 369 | | header, [INFO] [stdout] 370 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/header/mod.rs:377:12 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cbor_bstr(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 377 | Ok(Value::Bytes( [INFO] [stdout] | ____________^ [INFO] [stdout] 378 | | if let Some(original_data) = self.original_data { [INFO] [stdout] 379 | | original_data [INFO] [stdout] 380 | | } else if self.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 384 | | }, [INFO] [stdout] 385 | | )) [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/header/mod.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 397 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 398 | Ok(ProtectedHeader { [INFO] [stdout] | ____________^ [INFO] [stdout] 399 | | original_data: None, [INFO] [stdout] 400 | | header: Header::from_cbor_value(value)?, [INFO] [stdout] 401 | | }) [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/key/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | Ok(Self( [INFO] [stdout] | ____________^ [INFO] [stdout] 53 | | value.try_as_array_then_convert(CoseKey::from_cbor_value)?, [INFO] [stdout] 54 | | )) [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/key/mod.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 154 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | let mut map: Vec<(Value, Value)> = vec![(KTY.to_cbor_value()?, self.kty.to_cbor_value()?)]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | Ok(Value::Map(map)) [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/mac/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 58 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let recipients = a [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 70 | | recipients, [INFO] [stdout] 71 | | tag: a.remove(3).try_as_bytes()?, [INFO] [stdout] 72 | | payload: match a.remove(2) { [INFO] [stdout] ... | [INFO] [stdout] 78 | | protected: ProtectedHeader::from_cbor_bstr(a.remove(0))?, [INFO] [stdout] 79 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mac/mod.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | Ok(Value::Array(vec![ [INFO] [stdout] | ____________^ [INFO] [stdout] 84 | | self.protected.cbor_bstr()?, [INFO] [stdout] 85 | | self.unprotected.to_cbor_value()?, [INFO] [stdout] 86 | | match self.payload { [INFO] [stdout] ... | [INFO] [stdout] 91 | | to_cbor_array(self.recipients)?, [INFO] [stdout] 92 | | ])) [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/mac/mod.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn try_create_tag(self, external_aad: &[u8], create: F) -> Result [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] 171 | Ok(self.tag(create(&tbm)?)) [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/mac/mod.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 200 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 208 | | tag: a.remove(3).try_as_bytes()?, [INFO] [stdout] 209 | | payload: match a.remove(2) { [INFO] [stdout] 210 | | Value::Bytes(b) => Some(b), [INFO] [stdout] ... | [INFO] [stdout] 215 | | protected: ProtectedHeader::from_cbor_bstr(a.remove(0))?, [INFO] [stdout] 216 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mac/mod.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 219 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | Ok(Value::Array(vec![ [INFO] [stdout] | ____________^ [INFO] [stdout] 221 | | self.protected.cbor_bstr()?, [INFO] [stdout] 222 | | self.unprotected.to_cbor_value()?, [INFO] [stdout] 223 | | match self.payload { [INFO] [stdout] ... | [INFO] [stdout] 227 | | Value::Bytes(self.tag), [INFO] [stdout] 228 | | ])) [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/mac/mod.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn try_create_tag(self, external_aad: &[u8], create: F) -> Result [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] 300 | Ok(self.tag(create(&tbm)?)) [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/sign/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 50 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 58 | | signature: a.remove(2).try_as_bytes()?, [INFO] [stdout] 59 | | unprotected: Header::from_cbor_value(a.remove(1))?, [INFO] [stdout] 60 | | protected: ProtectedHeader::from_cbor_bstr(a.remove(0))?, [INFO] [stdout] 61 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sign/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | Ok(Value::Array(vec![ [INFO] [stdout] | ____________^ [INFO] [stdout] 66 | | self.protected.cbor_bstr()?, [INFO] [stdout] 67 | | self.unprotected.to_cbor_value()?, [INFO] [stdout] 68 | | Value::Bytes(self.signature), [INFO] [stdout] 69 | | ])) [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/sign/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 107 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | let signatures = a.remove(3).try_as_array_then_convert(|v| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 120 | | signatures, [INFO] [stdout] 121 | | payload: match a.remove(2) { [INFO] [stdout] 122 | | Value::Bytes(b) => Some(b), [INFO] [stdout] ... | [INFO] [stdout] 127 | | protected: ProtectedHeader::from_cbor_bstr(a.remove(0))?, [INFO] [stdout] 128 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sign/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 114 | let signatures = a.remove(3).try_as_array_then_convert(|v| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | CoseSignature::from_cbor_value(v) [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/sign/mod.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | Ok(Value::Array(vec![ [INFO] [stdout] | ____________^ [INFO] [stdout] 133 | | self.protected.cbor_bstr()?, [INFO] [stdout] 134 | | self.unprotected.to_cbor_value()?, [INFO] [stdout] 135 | | match self.payload { [INFO] [stdout] ... | [INFO] [stdout] 139 | | to_cbor_array(self.signatures)?, [INFO] [stdout] 140 | | ])) [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/sign/mod.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 206 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | mut sig: CoseSignature, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | aad: &[u8], [INFO] [stdout] 209 | signer: F, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | Ok(self.add_signature(sig)) [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/sign/mod.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 243 | fn from_cbor_value(value: Value) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | let mut a = value.try_as_array()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 250 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 251 | | signature: a.remove(3).try_as_bytes()?, [INFO] [stdout] 252 | | payload: match a.remove(2) { [INFO] [stdout] 253 | | Value::Bytes(b) => Some(b), [INFO] [stdout] ... | [INFO] [stdout] 258 | | protected: ProtectedHeader::from_cbor_bstr(a.remove(0))?, [INFO] [stdout] 259 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sign/mod.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 262 | fn to_cbor_value(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | Ok(Value::Array(vec![ [INFO] [stdout] | ____________^ [INFO] [stdout] 264 | | self.protected.cbor_bstr()?, [INFO] [stdout] 265 | | self.unprotected.to_cbor_value()?, [INFO] [stdout] 266 | | match self.payload { [INFO] [stdout] ... | [INFO] [stdout] 270 | | Value::Bytes(self.signature), [INFO] [stdout] 271 | | ])) [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/sign/mod.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn try_create_signature(self, aad: &[u8], signer: F) -> Result [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] 327 | Ok(self.signature(sig_data)) [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 41 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `coset` (lib test) due to 42 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "96478aa380117e5b6dd02d9fa450ba33cdb626c7991c8db35fbea1b63b27eb8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96478aa380117e5b6dd02d9fa450ba33cdb626c7991c8db35fbea1b63b27eb8a", kill_on_drop: false }` [INFO] [stdout] 96478aa380117e5b6dd02d9fa450ba33cdb626c7991c8db35fbea1b63b27eb8a