[INFO] fetching crate cardano-sdk 0.2.5... [INFO] checking cardano-sdk-0.2.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cardano-sdk 0.2.5 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate cardano-sdk 0.2.5 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 cardano-sdk 0.2.5 [INFO] finished tweaking crates.io crate cardano-sdk 0.2.5 [INFO] tweaked toml for crates.io crate cardano-sdk 0.2.5 written to /workspace/builds/worker-1-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 19 packages to latest compatible versions [INFO] [stderr] Adding bech32 v0.9.1 (latest: v0.11.0) [INFO] [stderr] Adding cbored v0.3.5 (latest: v0.4.0) [INFO] [stderr] Adding cbored-derive v0.3.2 (latest: v0.4.0) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding strum v0.24.1 (latest: v0.26.3) [INFO] [stderr] Adding strum_macros v0.24.3 (latest: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2f955b0feaa0806890b888d54c25e6339b0e27c0e8224b37b338ddf308af6f6b [INFO] running `Command { std: "docker" "start" "-a" "2f955b0feaa0806890b888d54c25e6339b0e27c0e8224b37b338ddf308af6f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f955b0feaa0806890b888d54c25e6339b0e27c0e8224b37b338ddf308af6f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f955b0feaa0806890b888d54c25e6339b0e27c0e8224b37b338ddf308af6f6b", kill_on_drop: false }` [INFO] [stdout] 2f955b0feaa0806890b888d54c25e6339b0e27c0e8224b37b338ddf308af6f6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a80e111eb62dfac8dc9c52257a757a33e7acf5081998f103d340732f2972df15 [INFO] running `Command { std: "docker" "start" "-a" "a80e111eb62dfac8dc9c52257a757a33e7acf5081998f103d340732f2972df15", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking cryptoxide v0.4.4 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking bip39-dict v0.1.3 [INFO] [stderr] Checking ed25519-bip32 v0.4.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling cbored-derive v0.3.2 [INFO] [stderr] Checking cbored v0.3.5 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking cardano-sdk v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `generic-serialization` [INFO] [stdout] --> src/chain/byron/utils/base58.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg_attr(feature = "generic-serialization", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `generic-serialization` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockinfo::*` [INFO] [stdout] --> src/chain/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use blockinfo::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `generic-serialization` [INFO] [stdout] --> src/chain/byron/utils/base58.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg_attr(feature = "generic-serialization", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `generic-serialization` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::*` [INFO] [stdout] --> src/chain/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use common::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header::*` [INFO] [stdout] --> src/chain/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use header::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `metadata::*` [INFO] [stdout] --> src/chain/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use metadata::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tx::*` [INFO] [stdout] --> src/chain/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use tx::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockinfo::*` [INFO] [stdout] --> src/chain/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use blockinfo::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::*` [INFO] [stdout] --> src/chain/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use common::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header::*` [INFO] [stdout] --> src/chain/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use header::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `metadata::*` [INFO] [stdout] --> src/chain/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use metadata::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tx::*` [INFO] [stdout] --> src/chain/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use tx::*; [INFO] [stdout] | ^^^^^ [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/wallet/standard.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | .map(|i| (i, hdkey.bip32_derive(Bip32Index::soft(i)).strip_hd())) [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/wallet/standard.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 162 | let top_key = words_to_top_key(words, password)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let root_key = top_key [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | let account_key = root_key.bip32_derive(Bip32Index::hard(0)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | [INFO] [stdout] 168 | let spending_gen_key = account_key.bip32_derive(INDEX_SPENDING); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | let changing_gen_key = account_key.bip32_derive(INDEX_CHANGING); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | let staking_gen_key = account_key.bip32_derive(INDEX_STAKING); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | [INFO] [stdout] 172 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 173 | | top_key, [INFO] [stdout] 174 | | root_key, [INFO] [stdout] 175 | | account_key, [INFO] [stdout] ... | [INFO] [stdout] 178 | | staking: SecretKeys::new(staking_gen_key, 10), [INFO] [stdout] 179 | | }) [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/wallet/utxo.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | .map(|(k, v)| v.iter().map(move |(txidx, txo)| (k, txidx, txo))) [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 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cardano-sdk` (lib) due to 4 previous errors; 6 warnings emitted [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/wallet/standard.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | .map(|i| (i, hdkey.bip32_derive(Bip32Index::soft(i)).strip_hd())) [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/wallet/standard.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 162 | let top_key = words_to_top_key(words, password)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let root_key = top_key [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | let account_key = root_key.bip32_derive(Bip32Index::hard(0)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | [INFO] [stdout] 168 | let spending_gen_key = account_key.bip32_derive(INDEX_SPENDING); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | let changing_gen_key = account_key.bip32_derive(INDEX_CHANGING); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | let staking_gen_key = account_key.bip32_derive(INDEX_STAKING); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | [INFO] [stdout] 172 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 173 | | top_key, [INFO] [stdout] 174 | | root_key, [INFO] [stdout] 175 | | account_key, [INFO] [stdout] ... | [INFO] [stdout] 178 | | staking: SecretKeys::new(staking_gen_key, 10), [INFO] [stdout] 179 | | }) [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/wallet/utxo.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | .map(|(k, v)| v.iter().map(move |(txidx, txo)| (k, txidx, txo))) [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 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cardano-sdk` (lib test) due to 4 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a80e111eb62dfac8dc9c52257a757a33e7acf5081998f103d340732f2972df15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a80e111eb62dfac8dc9c52257a757a33e7acf5081998f103d340732f2972df15", kill_on_drop: false }` [INFO] [stdout] a80e111eb62dfac8dc9c52257a757a33e7acf5081998f103d340732f2972df15