[INFO] fetching crate bdk 1.0.0-alpha.11... [INFO] checking bdk-1.0.0-alpha.11 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate bdk 1.0.0-alpha.11 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate bdk 1.0.0-alpha.11 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bdk 1.0.0-alpha.11 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate bdk 1.0.0-alpha.11 [INFO] tweaked toml for crates.io crate bdk 1.0.0-alpha.11 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate bdk 1.0.0-alpha.11 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19d45dbc3343f761bc25b2ecda79c2976c0f6320066c4eb90ac04f0b3b970b7b [INFO] running `Command { std: "docker" "start" "-a" "19d45dbc3343f761bc25b2ecda79c2976c0f6320066c4eb90ac04f0b3b970b7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19d45dbc3343f761bc25b2ecda79c2976c0f6320066c4eb90ac04f0b3b970b7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19d45dbc3343f761bc25b2ecda79c2976c0f6320066c4eb90ac04f0b3b970b7b", kill_on_drop: false }` [INFO] [stdout] 19d45dbc3343f761bc25b2ecda79c2976c0f6320066c4eb90ac04f0b3b970b7b [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73563cabb719c231b80ca0f67362e0d47dea0e85eb97098f6551b8bd17265702 [INFO] running `Command { std: "docker" "start" "-a" "73563cabb719c231b80ca0f67362e0d47dea0e85eb97098f6551b8bd17265702", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling bitcoin v0.31.2 [INFO] [stderr] Checking bech32 v0.10.0-beta [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking miniscript v11.0.0 [INFO] [stderr] Checking bdk_chain v0.14.0 [INFO] [stderr] Checking bdk_persist v0.2.0 [INFO] [stderr] Checking bdk v1.0.0-alpha.11 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/descriptor/mod.rs (1 fix) [INFO] [stderr] Fixed src/descriptor/dsl.rs (53 fixes) [INFO] [stderr] Fixed src/descriptor/policy.rs (4 fixes) [INFO] [stderr] Fixed src/wallet/mod.rs (5 fixes) [INFO] [stderr] Fixed src/descriptor/template.rs (1 fix) [INFO] [stderr] Migrating tests/common.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/wallet.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bdk_file_store` [INFO] [stdout] --> tests/wallet.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | let db = bdk_file_store::Store::create_new(DB_MAGIC, &file_path).expect("must create db"); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `bdk_file_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/policy.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bdk_file_store` [INFO] [stdout] --> tests/wallet.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | let db = bdk_file_store::Store::open(DB_MAGIC, &file_path).expect("must recover db"); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `bdk_file_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bdk_file_store` [INFO] [stdout] --> tests/wallet.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | let db = bdk_file_store::Store::open(DB_MAGIC, &file_path).expect("must recover db"); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `bdk_file_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bdk_file_store` [INFO] [stdout] --> tests/wallet.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | let db = bdk_file_store::Store::open_or_create_new(DB_MAGIC, &file_path) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `bdk_file_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bdk_file_store` [INFO] [stdout] --> tests/wallet.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | bdk_file_store::Store::open_or_create_new(DB_MAGIC, &file_path).expect("must open db"); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `bdk_file_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bdk_file_store` [INFO] [stdout] --> tests/wallet.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | bdk_file_store::Store::open_or_create_new(DB_MAGIC, &file_path).expect("must open db"); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `bdk_file_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bdk_file_store` [INFO] [stdout] --> tests/wallet.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | bdk_file_store::Store::open_or_create_new(DB_MAGIC, &file_path).expect("must open db"); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `bdk_file_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bdk_file_store` [INFO] [stdout] --> tests/wallet.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | bdk_file_store::Store::open_or_create_new(DB_MAGIC, &file_path).expect("must open db"); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `bdk_file_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bdk_file_store` [INFO] [stdout] --> tests/wallet.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | bdk_file_store::Store::open_or_create_new(DB_MAGIC, &file_path).expect("must open db"); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `bdk_file_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/wallet.rs:336:12 [INFO] [stdout] | [INFO] [stdout] 336 | ($psbt:expr, $fees:expr, $fee_rate:expr $( ,@dust_change $( $dust_change:expr )* )* $( ,@add_signature $( $add_signature:expr )* )* )... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 336 | ($psbt:expr_2021, $fees:expr, $fee_rate:expr $( ,@dust_change $( $dust_change:expr )* )* $( ,@add_signature $( $add_signature:expr )* )* ) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/wallet.rs:336:24 [INFO] [stdout] | [INFO] [stdout] 336 | ($psbt:expr, $fees:expr, $fee_rate:expr $( ,@dust_change $( $dust_change:expr )* )* $( ,@add_signature $( $add_signature:expr )* )* )... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 336 | ($psbt:expr, $fees:expr_2021, $fee_rate:expr $( ,@dust_change $( $dust_change:expr )* )* $( ,@add_signature $( $add_signature:expr )* )* ) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/wallet.rs:336:40 [INFO] [stdout] | [INFO] [stdout] 336 | ($psbt:expr, $fees:expr, $fee_rate:expr $( ,@dust_change $( $dust_change:expr )* )* $( ,@add_signature $( $add_signature:expr )* )* )... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 336 | ($psbt:expr, $fees:expr, $fee_rate:expr_2021 $( ,@dust_change $( $dust_change:expr )* )* $( ,@add_signature $( $add_signature:expr )* )* ) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/wallet.rs:336:78 [INFO] [stdout] | [INFO] [stdout] 336 | ($psbt:expr, $fees:expr, $fee_rate:expr $( ,@dust_change $( $dust_change:expr )* )* $( ,@add_signature $( $add_signature:expr )* )* )... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 336 | ($psbt:expr, $fees:expr, $fee_rate:expr $( ,@dust_change $( $dust_change:expr_2021 )* )* $( ,@add_signature $( $add_signature:expr )* )* ) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/wallet.rs:336:126 [INFO] [stdout] | [INFO] [stdout] 336 | ($psbt:expr, $fees:expr, $fee_rate:expr $( ,@dust_change $( $dust_change:expr )* )* $( ,@add_signature $( $add_signature:expr )* )* )... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 336 | ($psbt:expr, $fees:expr, $fee_rate:expr $( ,@dust_change $( $dust_change:expr )* )* $( ,@add_signature $( $add_signature:expr_2021 )* )* ) => ({ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/wallet.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | ($e:expr, $t:ty) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 383 | ($e:expr_2021, $t:ty) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/wallet.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | ($e:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 388 | ($e:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/wallet.rs:630:14 [INFO] [stdout] | [INFO] [stdout] 630 | ($wallet:expr, $psbt: expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 630 | ($wallet:expr_2021, $psbt: expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/wallet.rs:630:27 [INFO] [stdout] | [INFO] [stdout] 630 | ($wallet:expr, $psbt: expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 630 | ($wallet:expr, $psbt: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/wallet.rs:3876:18 [INFO] [stdout] | [INFO] [stdout] 3876 | ($wallet:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3876 | ($wallet:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bdk` (test "wallet") due to 9 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Migrating tests/psbt.rs from 2021 edition to 2024 [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "73563cabb719c231b80ca0f67362e0d47dea0e85eb97098f6551b8bd17265702", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73563cabb719c231b80ca0f67362e0d47dea0e85eb97098f6551b8bd17265702", kill_on_drop: false }` [INFO] [stdout] 73563cabb719c231b80ca0f67362e0d47dea0e85eb97098f6551b8bd17265702