[INFO] fetching crate boltz-client 0.1.2... [INFO] checking boltz-client-0.1.2 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate boltz-client 0.1.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate boltz-client 0.1.2 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate boltz-client 0.1.2 [INFO] finished tweaking crates.io crate boltz-client 0.1.2 [INFO] tweaked toml for crates.io crate boltz-client 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 90 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bech32 v0.9.1 (available: v0.11.0) [INFO] [stderr] Adding bech32 v0.10.0-beta (available: v0.11.0) [INFO] [stderr] Adding bitcoin v0.29.2 (available: v0.32.2) [INFO] [stderr] Adding bitcoin v0.31.2 (available: v0.32.2) [INFO] [stderr] Adding bitcoin-internals v0.2.0 (available: v0.4.0) [INFO] [stderr] Adding bitcoin_hashes v0.11.0 (available: v0.14.0) [INFO] [stderr] Adding bitcoin_hashes v0.13.0 (available: v0.14.0) [INFO] [stderr] Adding electrum-client v0.19.0 (available: v0.21.0) [INFO] [stderr] Adding elements v0.24.1 (available: v0.25.0) [INFO] [stderr] Adding hex-conservative v0.1.2 (available: v0.2.1) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding lightning v0.0.118 (available: v0.0.124) [INFO] [stderr] Adding lightning-invoice v0.26.0 (available: v0.32.0) [INFO] [stderr] Adding rustls v0.21.12 (available: v0.23.13) [INFO] [stderr] Adding rustls-webpki v0.101.7 (available: v0.102.8) [INFO] [stderr] Adding secp256k1 v0.24.3 (available: v0.29.1) [INFO] [stderr] Adding secp256k1 v0.28.2 (available: v0.29.1) [INFO] [stderr] Adding secp256k1-sys v0.6.1 (available: v0.10.1) [INFO] [stderr] Adding secp256k1-sys v0.9.2 (available: v0.10.1) [INFO] [stderr] Adding secp256k1-zkp v0.10.1 (available: v0.11.0) [INFO] [stderr] Adding secp256k1-zkp-sys v0.9.1 (available: v0.10.0) [INFO] [stderr] Adding unicode-normalization v0.1.22 (available: v0.1.24) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding webpki-roots v0.25.4 (available: v0.26.6) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04638ff5192017f319ef48a937f779f067f1676be0bdecc714b8702b22800b7b [INFO] running `Command { std: "docker" "start" "-a" "04638ff5192017f319ef48a937f779f067f1676be0bdecc714b8702b22800b7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04638ff5192017f319ef48a937f779f067f1676be0bdecc714b8702b22800b7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04638ff5192017f319ef48a937f779f067f1676be0bdecc714b8702b22800b7b", kill_on_drop: false }` [INFO] [stdout] 04638ff5192017f319ef48a937f779f067f1676be0bdecc714b8702b22800b7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57898d5eb575900f93dcaaf8b2f0dec68c0f9a59ac863e54dd92382044dbfc71 [INFO] running `Command { std: "docker" "start" "-a" "57898d5eb575900f93dcaaf8b2f0dec68c0f9a59ac863e54dd92382044dbfc71", kill_on_drop: false }` [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking hex-conservative v0.1.2 [INFO] [stderr] Checking bitcoin_hashes v0.11.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling secp256k1-zkp-sys v0.9.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling bitcoin v0.31.2 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ring v0.17.8 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Checking bech32 v0.10.0-beta [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking webpki-roots v0.26.6 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking bip39 v2.0.0 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Checking bitcoin v0.29.2 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking ureq v2.10.1 [INFO] [stderr] Checking lightning v0.0.118 [INFO] [stderr] Checking secp256k1-zkp v0.10.1 [INFO] [stderr] Checking electrum-client v0.19.0 [INFO] [stderr] Checking elements v0.24.1 [INFO] [stderr] Checking lightning-invoice v0.26.0 [INFO] [stderr] Checking boltz-client v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/swaps/bitcoin.rs:615:15 [INFO] [stdout] | [INFO] [stdout] 614 | let electrum_client = network_config.build_client()?; [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 615 | match electrum_client.transaction_broadcast(&signed_tx) { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/swaps/bitcoin.rs:615:15 [INFO] [stdout] | [INFO] [stdout] 614 | let electrum_client = network_config.build_client()?; [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 615 | match electrum_client.transaction_broadcast(&signed_tx) { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/swaps/liquid.rs:943:15 [INFO] [stdout] | [INFO] [stdout] 938 | signed_tx: Transaction, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 941 | let electrum_client = network_config.build_client()?; [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 942 | let serialized = serialize(&signed_tx); [INFO] [stdout] 943 | match electrum_client.transaction_broadcast_raw(&serialized) { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/swaps/liquid.rs:943:15 [INFO] [stdout] | [INFO] [stdout] 938 | signed_tx: Transaction, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 941 | let electrum_client = network_config.build_client()?; [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 942 | let serialized = serialize(&signed_tx); [INFO] [stdout] 943 | match electrum_client.transaction_broadcast_raw(&serialized) { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util/secrets.rs:336:15 [INFO] [stdout] | [INFO] [stdout] 328 | let mut file = match File::open(path) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 336 | match serde_json::from_str(&contents) { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util/secrets.rs:336:15 [INFO] [stdout] | [INFO] [stdout] 328 | let mut file = match File::open(path) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 336 | match serde_json::from_str(&contents) { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `boltz-client` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/util/secrets.rs:538:9 [INFO] [stdout] | [INFO] [stdout] 538 | file.write_to_file(base_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 538 | let _ = file.write_to_file(base_path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `boltz-client` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "57898d5eb575900f93dcaaf8b2f0dec68c0f9a59ac863e54dd92382044dbfc71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57898d5eb575900f93dcaaf8b2f0dec68c0f9a59ac863e54dd92382044dbfc71", kill_on_drop: false }` [INFO] [stdout] 57898d5eb575900f93dcaaf8b2f0dec68c0f9a59ac863e54dd92382044dbfc71