[INFO] cloning repository https://github.com/mikesposito/secured [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikesposito/secured" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikesposito%2Fsecured", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikesposito%2Fsecured'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6be5417701dc1751ca82f59e7bb13d212a9ce2c [INFO] checking mikesposito/secured against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikesposito%2Fsecured" "/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/mikesposito/secured 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/mikesposito/secured [INFO] finished tweaking git repo https://github.com/mikesposito/secured [INFO] tweaked toml for git repo https://github.com/mikesposito/secured written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mikesposito/secured 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.4.12 [INFO] [stderr] Downloaded clap_builder v4.4.12 [INFO] [stderr] Downloaded rustix v0.38.25 [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] 95a303c253a7567e0bdeaa68b282c9b4afe02eb3f849b682a95c7f450b27e6dd [INFO] running `Command { std: "docker" "start" "-a" "95a303c253a7567e0bdeaa68b282c9b4afe02eb3f849b682a95c7f450b27e6dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95a303c253a7567e0bdeaa68b282c9b4afe02eb3f849b682a95c7f450b27e6dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95a303c253a7567e0bdeaa68b282c9b4afe02eb3f849b682a95c7f450b27e6dd", kill_on_drop: false }` [INFO] [stdout] 95a303c253a7567e0bdeaa68b282c9b4afe02eb3f849b682a95c7f450b27e6dd [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] 9f00966137a8596167bcd2d71c61545496d5b1e74a9089623e0d1999d5d0cabe [INFO] running `Command { std: "docker" "start" "-a" "9f00966137a8596167bcd2d71c61545496d5b1e74a9089623e0d1999d5d0cabe", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking rtoolbox v0.0.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking rpassword v7.3.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking clap_builder v4.4.12 [INFO] [stderr] Checking ciborium-ll v0.2.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] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking secured-cipher-key v0.3.0 (/opt/rustwide/workdir/cipher/key) [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking secured-cipher v0.4.1 (/opt/rustwide/workdir/cipher) [INFO] [stderr] Checking secured-enclave v0.6.0 (/opt/rustwide/workdir/enclave) [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Checking clap v4.4.12 [INFO] [stderr] Checking secured v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking benches v0.0.0 (/opt/rustwide/workdir/benches) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.07s [INFO] running `Command { std: "docker" "inspect" "9f00966137a8596167bcd2d71c61545496d5b1e74a9089623e0d1999d5d0cabe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f00966137a8596167bcd2d71c61545496d5b1e74a9089623e0d1999d5d0cabe", kill_on_drop: false }` [INFO] [stdout] 9f00966137a8596167bcd2d71c61545496d5b1e74a9089623e0d1999d5d0cabe [INFO] checking mikesposito/secured 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%2Fmikesposito%2Fsecured" "/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/mikesposito/secured 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/mikesposito/secured [INFO] finished tweaking git repo https://github.com/mikesposito/secured [INFO] tweaked toml for git repo https://github.com/mikesposito/secured written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mikesposito/secured 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] ca9640d8aa86ba5e523d584360d7df4331b304870ae8836bb061af1b1629cbe3 [INFO] running `Command { std: "docker" "start" "-a" "ca9640d8aa86ba5e523d584360d7df4331b304870ae8836bb061af1b1629cbe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca9640d8aa86ba5e523d584360d7df4331b304870ae8836bb061af1b1629cbe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca9640d8aa86ba5e523d584360d7df4331b304870ae8836bb061af1b1629cbe3", kill_on_drop: false }` [INFO] [stdout] ca9640d8aa86ba5e523d584360d7df4331b304870ae8836bb061af1b1629cbe3 [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] ba0e3581cfcef8dcea119a40e481601271975a7bd8e695d44ee1c21ed3b2e2a5 [INFO] running `Command { std: "docker" "start" "-a" "ba0e3581cfcef8dcea119a40e481601271975a7bd8e695d44ee1c21ed3b2e2a5", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.15 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking rtoolbox v0.0.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking rpassword v7.3.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking clap_builder v4.4.12 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking plotters-svg v0.3.5 [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] Checking rayon v1.8.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking secured-cipher-key v0.3.0 (/opt/rustwide/workdir/cipher/key) [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking secured-cipher v0.4.1 (/opt/rustwide/workdir/cipher) [INFO] [stderr] Checking secured-enclave v0.6.0 (/opt/rustwide/workdir/enclave) [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling serde_derive v1.0.193 [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] --> enclave/src/lib.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 48 | metadata: T, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let mut cipher = Cipher::default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | Ok(Enclave { [INFO] [stdout] | ________^ [INFO] [stdout] 62 | | metadata, [INFO] [stdout] 63 | | encrypted_bytes: envelope.into_boxed_slice(), [INFO] [stdout] 64 | | nonce, [INFO] [stdout] 65 | | }) [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] --> enclave/src/lib.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 155 | let metadata = T::try_from(bytes[1..metadata_len as usize + 1].to_vec()).or(Err( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | Ok(Enclave { [INFO] [stdout] | ________^ [INFO] [stdout] 162 | | metadata, [INFO] [stdout] 163 | | encrypted_bytes: encrypted_bytes.into_boxed_slice(), [INFO] [stdout] 164 | | nonce: nonce.try_into().or(Err(EnclaveError::Deserialization( [INFO] [stdout] 165 | | "unexpected bytes length".to_string(), [INFO] [stdout] 166 | | )))?, [INFO] [stdout] 167 | | }) [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] --> enclave/src/lib.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 292 | let enclave = Enclave::::try_from(self.clone())?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | let decrypted_bytes = enclave.decrypt(key)?; [INFO] [stdout] 294 | Ok((decrypted_bytes, enclave.metadata)) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `secured-enclave` (lib) due to 4 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] --> enclave/src/lib.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 48 | metadata: T, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let mut cipher = Cipher::default(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | Ok(Enclave { [INFO] [stdout] | ________^ [INFO] [stdout] 62 | | metadata, [INFO] [stdout] 63 | | encrypted_bytes: envelope.into_boxed_slice(), [INFO] [stdout] 64 | | nonce, [INFO] [stdout] 65 | | }) [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] --> enclave/src/lib.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 155 | let metadata = T::try_from(bytes[1..metadata_len as usize + 1].to_vec()).or(Err( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | Ok(Enclave { [INFO] [stdout] | ________^ [INFO] [stdout] 162 | | metadata, [INFO] [stdout] 163 | | encrypted_bytes: encrypted_bytes.into_boxed_slice(), [INFO] [stdout] 164 | | nonce: nonce.try_into().or(Err(EnclaveError::Deserialization( [INFO] [stdout] 165 | | "unexpected bytes length".to_string(), [INFO] [stdout] 166 | | )))?, [INFO] [stdout] 167 | | }) [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] --> enclave/src/lib.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 292 | let enclave = Enclave::::try_from(self.clone())?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | let decrypted_bytes = enclave.decrypt(key)?; [INFO] [stdout] 294 | Ok((decrypted_bytes, enclave.metadata)) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `secured-enclave` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "ba0e3581cfcef8dcea119a40e481601271975a7bd8e695d44ee1c21ed3b2e2a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba0e3581cfcef8dcea119a40e481601271975a7bd8e695d44ee1c21ed3b2e2a5", kill_on_drop: false }` [INFO] [stdout] ba0e3581cfcef8dcea119a40e481601271975a7bd8e695d44ee1c21ed3b2e2a5