[INFO] fetching crate bdk 0.30.2... [INFO] checking bdk-0.30.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate bdk 0.30.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate bdk 0.30.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate bdk 0.30.2 [INFO] tweaked toml for crates.io crate bdk 0.30.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bdk 0.30.2 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bdk 0.30.2 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fc397c75aa5cbfd55fd14f52b933dbcfa58126666b5f7675d1987b31c966eaa [INFO] running `Command { std: "docker" "start" "-a" "6fc397c75aa5cbfd55fd14f52b933dbcfa58126666b5f7675d1987b31c966eaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fc397c75aa5cbfd55fd14f52b933dbcfa58126666b5f7675d1987b31c966eaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc397c75aa5cbfd55fd14f52b933dbcfa58126666b5f7675d1987b31c966eaa", kill_on_drop: false }` [INFO] [stdout] 6fc397c75aa5cbfd55fd14f52b933dbcfa58126666b5f7675d1987b31c966eaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fef67379c3dfed5acd00e6425ccddd29a86e83f0c89fc7afe26c7fe9ddf937ca [INFO] running `Command { std: "docker" "start" "-a" "fef67379c3dfed5acd00e6425ccddd29a86e83f0c89fc7afe26c7fe9ddf937ca", kill_on_drop: false }` [INFO] [stderr] Compiling ring v0.17.10 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling bitcoin v0.30.2 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling bzip2-sys v0.1.12+1.0.8 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling minreq v2.13.2 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling bitcoin_hashes v0.12.0 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Compiling bitcoind v0.30.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Checking tempfile v3.17.1 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling bdk-macros v0.6.0 [INFO] [stderr] Checking jsonrpc v0.13.0 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Compiling electrsd v0.24.0 [INFO] [stderr] Checking core-rpc-json v0.17.0 [INFO] [stderr] Checking miniscript v10.2.0 [INFO] [stderr] Checking electrum-client v0.18.0 [INFO] [stderr] Checking electrum-client v0.15.1 [INFO] [stderr] Checking bdk v0.30.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::testutils` [INFO] [stdout] --> src/wallet/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | use crate::testutils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/descriptor/policy.rs:1044:26 [INFO] [stdout] | [INFO] [stdout] 1044 | fn psbt_inputs_sat(psbt: &Psbt) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1044 | fn psbt_inputs_sat(psbt: &Psbt) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/testutils/mod.rs:196:73 [INFO] [stdout] | [INFO] [stdout] 196 | fn pk(&mut self, pk: &String) -> Result { [INFO] [stdout] | _________________________________________________________________________^ [INFO] [stdout] 197 | | match self.keys.get(pk.as_str()) { [INFO] [stdout] 198 | | Some((key, ext_path, int_path)) => { [INFO] [stdout] 199 | | let path = if self.is_internal { int_path } else { ext_path }; [INFO] [stdout] ... | [INFO] [stdout] 204 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/wallet/mod.rs:1835:23 [INFO] [stdout] | [INFO] [stdout] 1835 | let descriptors = testutils!(@descriptors (descriptor)); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `testutils` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/testutils/mod.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | / match self.keys.get(pk.as_str()) { [INFO] [stdout] 198 | | Some((key, ext_path, int_path)) => { [INFO] [stdout] 199 | | let path = if self.is_internal { int_path } else { ext_path }; [INFO] [stdout] 200 | | Ok(format!("{}{}", key, path.clone().unwrap_or_default())) [INFO] [stdout] 201 | | } [INFO] [stdout] 202 | | None => Ok(pk.clone()), [INFO] [stdout] 203 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/wallet/mod.rs:1835:23 [INFO] [stdout] | [INFO] [stdout] 1835 | let descriptors = testutils!(@descriptors (descriptor)); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testutils` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/testutils/mod.rs:198:56 [INFO] [stdout] | [INFO] [stdout] 198 | Some((key, ext_path, int_path)) => { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 199 | | let path = if self.is_internal { int_path } else { ext_path }; [INFO] [stdout] 200 | | Ok(format!("{}{}", key, path.clone().unwrap_or_default())) [INFO] [stdout] 201 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/wallet/mod.rs:1835:23 [INFO] [stdout] | [INFO] [stdout] 1835 | let descriptors = testutils!(@descriptors (descriptor)); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testutils` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/testutils/mod.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | Ok(format!("{}{}", key, path.clone().unwrap_or_default())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wallet/mod.rs:1835:23 [INFO] [stdout] | [INFO] [stdout] 1835 | let descriptors = testutils!(@descriptors (descriptor)); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testutils` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/testutils/mod.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | None => Ok(pk.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wallet/mod.rs:1835:23 [INFO] [stdout] | [INFO] [stdout] 1835 | let descriptors = testutils!(@descriptors (descriptor)); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testutils` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/testutils/mod.rs:205:81 [INFO] [stdout] | [INFO] [stdout] 205 | fn sha256(&mut self, sha256: &String) -> Result { Ok(sha256.clone()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wallet/mod.rs:1835:23 [INFO] [stdout] | [INFO] [stdout] 1835 | let descriptors = testutils!(@descriptors (descriptor)); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testutils` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/testutils/mod.rs:205:83 [INFO] [stdout] | [INFO] [stdout] 205 | fn sha256(&mut self, sha256: &String) -> Result { Ok(sha256.clone()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wallet/mod.rs:1835:23 [INFO] [stdout] | [INFO] [stdout] 1835 | let descriptors = testutils!(@descriptors (descriptor)); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testutils` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/testutils/mod.rs:206:83 [INFO] [stdout] | [INFO] [stdout] 206 | fn hash256(&mut self, hash256: &String) -> Result { Ok(hash256.clone()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wallet/mod.rs:1835:23 [INFO] [stdout] | [INFO] [stdout] 1835 | let descriptors = testutils!(@descriptors (descriptor)); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testutils` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/testutils/mod.rs:206:85 [INFO] [stdout] | [INFO] [stdout] 206 | fn hash256(&mut self, hash256: &String) -> Result { Ok(hash256.clone()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wallet/mod.rs:1835:23 [INFO] [stdout] | [INFO] [stdout] 1835 | let descriptors = testutils!(@descriptors (descriptor)); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testutils` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/testutils/mod.rs:207:87 [INFO] [stdout] | [INFO] [stdout] 207 | fn ripemd160(&mut self, ripemd160: &String) -> Result { Ok(ripemd160.clone()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wallet/mod.rs:1835:23 [INFO] [stdout] | [INFO] [stdout] 1835 | let descriptors = testutils!(@descriptors (descriptor)); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testutils` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/testutils/mod.rs:207:89 [INFO] [stdout] | [INFO] [stdout] 207 | fn ripemd160(&mut self, ripemd160: &String) -> Result { Ok(ripemd160.clone()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wallet/mod.rs:1835:23 [INFO] [stdout] | [INFO] [stdout] 1835 | let descriptors = testutils!(@descriptors (descriptor)); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testutils` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/testutils/mod.rs:208:83 [INFO] [stdout] | [INFO] [stdout] 208 | fn hash160(&mut self, hash160: &String) -> Result { Ok(hash160.clone()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wallet/mod.rs:1835:23 [INFO] [stdout] | [INFO] [stdout] 1835 | let descriptors = testutils!(@descriptors (descriptor)); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testutils` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/testutils/mod.rs:208:85 [INFO] [stdout] | [INFO] [stdout] 208 | fn hash160(&mut self, hash160: &String) -> Result { Ok(hash160.clone()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/wallet/mod.rs:1835:23 [INFO] [stdout] | [INFO] [stdout] 1835 | let descriptors = testutils!(@descriptors (descriptor)); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `testutils` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bdk` (lib) due to 13 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fef67379c3dfed5acd00e6425ccddd29a86e83f0c89fc7afe26c7fe9ddf937ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef67379c3dfed5acd00e6425ccddd29a86e83f0c89fc7afe26c7fe9ddf937ca", kill_on_drop: false }` [INFO] [stdout] fef67379c3dfed5acd00e6425ccddd29a86e83f0c89fc7afe26c7fe9ddf937ca