[INFO] fetching crate in-toto 0.3.1... [INFO] checking in-toto-0.3.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate in-toto 0.3.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate in-toto 0.3.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 in-toto 0.3.1 [INFO] finished tweaking crates.io crate in-toto 0.3.1 [INFO] tweaked toml for crates.io crate in-toto 0.3.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate in-toto 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6362cb9baac109200f2bd8c7c0eeb342fdbf7f0157b15d2b0f3843146337a7ff [INFO] running `Command { std: "docker" "start" "-a" "6362cb9baac109200f2bd8c7c0eeb342fdbf7f0157b15d2b0f3843146337a7ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6362cb9baac109200f2bd8c7c0eeb342fdbf7f0157b15d2b0f3843146337a7ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6362cb9baac109200f2bd8c7c0eeb342fdbf7f0157b15d2b0f3843146337a7ff", kill_on_drop: false }` [INFO] [stdout] 6362cb9baac109200f2bd8c7c0eeb342fdbf7f0157b15d2b0f3843146337a7ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0bedebd9ee7fba75b8aa9859b0761fa39f37a91b317f865e233757b4c37023d9 [INFO] running `Command { std: "docker" "start" "-a" "0bedebd9ee7fba75b8aa9859b0761fa39f37a91b317f865e233757b4c37023d9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling rstest_macros v0.17.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking path-matchers v1.0.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking derp v0.0.14 [INFO] [stderr] Checking path-clean v1.0.1 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking pretty_assertions v1.3.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking rstest v0.17.0 [INFO] [stderr] Checking in-toto v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/models/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod metadata; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `metadata` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/models/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use layout::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/models/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod metadata; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/models/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod metadata; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `metadata` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/models/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use layout::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/models/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod metadata; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/crypto.rs:250:56 [INFO] [stdout] | [INFO] [stdout] 250 | #[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/crypto.rs:452:12 [INFO] [stdout] | [INFO] [stdout] 450 | let private = PrivateKeyType::Ed25519(key); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 451 | [INFO] [stdout] 452 | Ok(PrivateKey { private, public }) [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/crypto.rs:543:12 [INFO] [stdout] | [INFO] [stdout] 541 | let private = PrivateKeyType::Ed25519(key); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 542 | [INFO] [stdout] 543 | Ok(PrivateKey { private, public }) [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/crypto.rs:573:12 [INFO] [stdout] | [INFO] [stdout] 553 | let key = RsaKeyPair::from_pkcs8(der_key) [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 571 | let private = PrivateKeyType::Rsa(Arc::new(key)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 572 | [INFO] [stdout] 573 | Ok(PrivateKey { private, public }) [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/crypto.rs:585:12 [INFO] [stdout] | [INFO] [stdout] 584 | let private = PrivateKeyType::Ecdsa(key_pair); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 585 | Ok(PrivateKey { private, public }) [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/crypto.rs:1025:73 [INFO] [stdout] | [INFO] [stdout] 1025 | #[derive(Debug, Clone, Hash, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interchange/cjson/mod.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 274 | fn from_reader(rdr: R) -> Result [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 279 | Ok(serde_json::from_reader(rdr)?) [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/models/metadata.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Serialize, Deserialize, Hash, PartialEq, Eq, EnumIter, Clone, Copy)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/verifylib.rs:508:21 [INFO] [stdout] | [INFO] [stdout] 508 | .map(|step| Box::new(step.clone()) as Box) [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/verifylib.rs:520:21 [INFO] [stdout] | [INFO] [stdout] 520 | .map(|step| Box::new(step.clone()) as Box) [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 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `in-toto` (lib) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `calculate_hash` is never used [INFO] [stdout] --> src/crypto.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn calculate_hash(data: &[u8], hash_alg: HashAlgorithm) -> HashValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/crypto.rs:250:56 [INFO] [stdout] | [INFO] [stdout] 250 | #[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/crypto.rs:452:12 [INFO] [stdout] | [INFO] [stdout] 450 | let private = PrivateKeyType::Ed25519(key); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 451 | [INFO] [stdout] 452 | Ok(PrivateKey { private, public }) [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/crypto.rs:543:12 [INFO] [stdout] | [INFO] [stdout] 541 | let private = PrivateKeyType::Ed25519(key); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 542 | [INFO] [stdout] 543 | Ok(PrivateKey { private, public }) [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/crypto.rs:573:12 [INFO] [stdout] | [INFO] [stdout] 553 | let key = RsaKeyPair::from_pkcs8(der_key) [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 571 | let private = PrivateKeyType::Rsa(Arc::new(key)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 572 | [INFO] [stdout] 573 | Ok(PrivateKey { private, public }) [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/crypto.rs:585:12 [INFO] [stdout] | [INFO] [stdout] 584 | let private = PrivateKeyType::Ecdsa(key_pair); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 585 | Ok(PrivateKey { private, public }) [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/crypto.rs:1025:73 [INFO] [stdout] | [INFO] [stdout] 1025 | #[derive(Debug, Clone, Hash, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interchange/cjson/mod.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 274 | fn from_reader(rdr: R) -> Result [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 279 | Ok(serde_json::from_reader(rdr)?) [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/models/metadata.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, Serialize, Deserialize, Hash, PartialEq, Eq, EnumIter, Clone, Copy)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/models/statement/state_v01.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | predicate: Box::new(PREDICATE_LINK_V02.clone()).into_enum(), [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/verifylib.rs:508:21 [INFO] [stdout] | [INFO] [stdout] 508 | .map(|step| Box::new(step.clone()) as Box) [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/verifylib.rs:520:21 [INFO] [stdout] | [INFO] [stdout] 520 | .map(|step| Box::new(step.clone()) as Box) [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 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `in-toto` (lib test) due to 12 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0bedebd9ee7fba75b8aa9859b0761fa39f37a91b317f865e233757b4c37023d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bedebd9ee7fba75b8aa9859b0761fa39f37a91b317f865e233757b4c37023d9", kill_on_drop: false }` [INFO] [stdout] 0bedebd9ee7fba75b8aa9859b0761fa39f37a91b317f865e233757b4c37023d9