[INFO] fetching crate lms-signature 0.0.1... [INFO] checking lms-signature-0.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate lms-signature 0.0.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate lms-signature 0.0.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lms-signature 0.0.1 [INFO] finished tweaking crates.io crate lms-signature 0.0.1 [INFO] tweaked toml for crates.io crate lms-signature 0.0.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 32 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bba317c9e689619a50f84a8ae4d52d00827d28881b4b2d62ec55f2dbf26ae7bf [INFO] running `Command { std: "docker" "start" "-a" "bba317c9e689619a50f84a8ae4d52d00827d28881b4b2d62ec55f2dbf26ae7bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bba317c9e689619a50f84a8ae4d52d00827d28881b4b2d62ec55f2dbf26ae7bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bba317c9e689619a50f84a8ae4d52d00827d28881b4b2d62ec55f2dbf26ae7bf", kill_on_drop: false }` [INFO] [stdout] bba317c9e689619a50f84a8ae4d52d00827d28881b4b2d62ec55f2dbf26ae7bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d759fd7e03d52d428bb321001b7e001d040f385f76eacce9b7b3eb16c76fc68 [INFO] running `Command { std: "docker" "start" "-a" "3d759fd7e03d52d428bb321001b7e001d040f385f76eacce9b7b3eb16c76fc68", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hybrid-array v0.2.0-rc.9 [INFO] [stderr] Checking crypto-common v0.2.0-rc.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking digest v0.11.0-pre.9 [INFO] [stderr] Checking signature v2.3.0-pre.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking lms-signature v0.0.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/lms/private.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 117 | let mut ots_priv_key = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | OtsPrivateKey::::new_from_seed(self.q, self.id, &self.seed); [INFO] [stdout] 119 | let ots_sig = ots_priv_key.try_sign_with_rng(rng, msg)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok(Signature:: { [INFO] [stdout] | ____________^ [INFO] [stdout] 129 | | q: self.q - 1, [INFO] [stdout] 130 | | lmots_sig: ots_sig, [INFO] [stdout] 131 | | path: auth_path.collect(), [INFO] [stdout] 132 | | }) [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] = 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/lms/private.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 143 | fn from(pk: SigningKey) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | // Return u32(type) || u32(otstype) || u32(q) || id || seed [INFO] [stdout] 145 | / GenericArray::from_exact_iter( [INFO] [stdout] 146 | | std::iter::empty() [INFO] [stdout] 147 | | .chain(Mode::TYPECODE.to_be_bytes()) [INFO] [stdout] 148 | | .chain(Mode::OtsMode::TYPECODE.to_be_bytes()) [INFO] [stdout] ... | [INFO] [stdout] 151 | | .chain(pk.seed), [INFO] [stdout] 152 | | ) [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/lms/public.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 107 | fn from(pk: VerifyingKey) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | // Return u32(type) || u32(otstype) || id || k [INFO] [stdout] 109 | / GenericArray::from_exact_iter( [INFO] [stdout] 110 | | std::iter::empty() [INFO] [stdout] 111 | | .chain(Mode::TYPECODE.to_be_bytes()) [INFO] [stdout] 112 | | .chain(Mode::OtsMode::TYPECODE.to_be_bytes()) [INFO] [stdout] 113 | | .chain(pk.id) [INFO] [stdout] 114 | | .chain(pk.k), [INFO] [stdout] 115 | | ) [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/lms/signature.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 110 | let ots_signature = OtsSignature::::try_from(lmots_sig)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let path = path [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 128 | | q, [INFO] [stdout] 129 | | lmots_sig: ots_signature, [INFO] [stdout] 130 | | path, [INFO] [stdout] 131 | | }) [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/ots/private.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 63 | let mut hasher = Mode::Hasher::new() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | let mut tmp = Output::::default(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | k: hasher.finalize(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ots/public.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 70 | fn from(pk: VerifyingKey) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | // Return u32str(type) || I || u32str(q) || K [INFO] [stdout] 72 | / GenericArray::from_exact_iter( [INFO] [stdout] 73 | | std::iter::empty() [INFO] [stdout] 74 | | .chain(Mode::TYPECODE.to_be_bytes()) [INFO] [stdout] 75 | | .chain(pk.id) [INFO] [stdout] 76 | | .chain(pk.q.to_be_bytes()) [INFO] [stdout] 77 | | .chain(pk.k), [INFO] [stdout] 78 | | ) [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/ots/signature.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | fn from(sig: Signature) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | / GenericArray::from_exact_iter( [INFO] [stdout] 57 | | std::iter::empty() [INFO] [stdout] 58 | | .chain(Mode::TYPECODE.to_be_bytes()) [INFO] [stdout] 59 | | .chain(sig.c.clone()) [INFO] [stdout] 60 | | .chain(sig.y.iter().flatten().cloned()), [INFO] [stdout] 61 | | ) [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/ots/signature.rs:150:16 [INFO] [stdout] | [INFO] [stdout] 112 | let msg_hash = Mode::Hasher::new() [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let mut hasher = Mode::Hasher::new() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | let mut tmp = GenericArray::default(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | k: hasher.finalize(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ots/util.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 7 | bytes: impl IntoIterator, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | / bytes [INFO] [stdout] 20 | | .into_iter() [INFO] [stdout] 21 | | .cloned() [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lms-signature` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lms/private.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 117 | let mut ots_priv_key = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | OtsPrivateKey::::new_from_seed(self.q, self.id, &self.seed); [INFO] [stdout] 119 | let ots_sig = ots_priv_key.try_sign_with_rng(rng, msg)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok(Signature:: { [INFO] [stdout] | ____________^ [INFO] [stdout] 129 | | q: self.q - 1, [INFO] [stdout] 130 | | lmots_sig: ots_sig, [INFO] [stdout] 131 | | path: auth_path.collect(), [INFO] [stdout] 132 | | }) [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] = 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/lms/private.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 143 | fn from(pk: SigningKey) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | // Return u32(type) || u32(otstype) || u32(q) || id || seed [INFO] [stdout] 145 | / GenericArray::from_exact_iter( [INFO] [stdout] 146 | | std::iter::empty() [INFO] [stdout] 147 | | .chain(Mode::TYPECODE.to_be_bytes()) [INFO] [stdout] 148 | | .chain(Mode::OtsMode::TYPECODE.to_be_bytes()) [INFO] [stdout] ... | [INFO] [stdout] 151 | | .chain(pk.seed), [INFO] [stdout] 152 | | ) [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/lms/public.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 107 | fn from(pk: VerifyingKey) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | // Return u32(type) || u32(otstype) || id || k [INFO] [stdout] 109 | / GenericArray::from_exact_iter( [INFO] [stdout] 110 | | std::iter::empty() [INFO] [stdout] 111 | | .chain(Mode::TYPECODE.to_be_bytes()) [INFO] [stdout] 112 | | .chain(Mode::OtsMode::TYPECODE.to_be_bytes()) [INFO] [stdout] 113 | | .chain(pk.id) [INFO] [stdout] 114 | | .chain(pk.k), [INFO] [stdout] 115 | | ) [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/lms/signature.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 110 | let ots_signature = OtsSignature::::try_from(lmots_sig)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let path = path [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 128 | | q, [INFO] [stdout] 129 | | lmots_sig: ots_signature, [INFO] [stdout] 130 | | path, [INFO] [stdout] 131 | | }) [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/ots/private.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 63 | let mut hasher = Mode::Hasher::new() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | let mut tmp = Output::::default(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | k: hasher.finalize(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ots/public.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 70 | fn from(pk: VerifyingKey) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | // Return u32str(type) || I || u32str(q) || K [INFO] [stdout] 72 | / GenericArray::from_exact_iter( [INFO] [stdout] 73 | | std::iter::empty() [INFO] [stdout] 74 | | .chain(Mode::TYPECODE.to_be_bytes()) [INFO] [stdout] 75 | | .chain(pk.id) [INFO] [stdout] 76 | | .chain(pk.q.to_be_bytes()) [INFO] [stdout] 77 | | .chain(pk.k), [INFO] [stdout] 78 | | ) [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/ots/signature.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | fn from(sig: Signature) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | / GenericArray::from_exact_iter( [INFO] [stdout] 57 | | std::iter::empty() [INFO] [stdout] 58 | | .chain(Mode::TYPECODE.to_be_bytes()) [INFO] [stdout] 59 | | .chain(sig.c.clone()) [INFO] [stdout] 60 | | .chain(sig.y.iter().flatten().cloned()), [INFO] [stdout] 61 | | ) [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/ots/signature.rs:150:16 [INFO] [stdout] | [INFO] [stdout] 112 | let msg_hash = Mode::Hasher::new() [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let mut hasher = Mode::Hasher::new() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | let mut tmp = GenericArray::default(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | k: hasher.finalize(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ots/util.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 7 | bytes: impl IntoIterator, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | / bytes [INFO] [stdout] 20 | | .into_iter() [INFO] [stdout] 21 | | .cloned() [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lms-signature` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "3d759fd7e03d52d428bb321001b7e001d040f385f76eacce9b7b3eb16c76fc68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d759fd7e03d52d428bb321001b7e001d040f385f76eacce9b7b3eb16c76fc68", kill_on_drop: false }` [INFO] [stdout] 3d759fd7e03d52d428bb321001b7e001d040f385f76eacce9b7b3eb16c76fc68