[INFO] fetching crate liana 5.0.0... [INFO] testing liana-5.0.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate liana 5.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate liana 5.0.0 [INFO] finished tweaking crates.io crate liana 5.0.0 [INFO] tweaked toml for crates.io crate liana 5.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate liana 5.0.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate liana 5.0.0 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pkg-config v0.3.28 [INFO] [stderr] Downloaded hex_lit v0.1.1 [INFO] [stderr] Downloaded hex-conservative v0.1.1 [INFO] [stderr] Downloaded bitcoin-internals v0.2.0 [INFO] [stderr] Downloaded rdrand v0.8.3 [INFO] [stderr] Downloaded dirs v5.0.0 [INFO] [stderr] Downloaded bitcoin-private v0.1.0 [INFO] [stderr] Downloaded serde_derive v1.0.194 [INFO] [stderr] Downloaded proc-macro2 v1.0.74 [INFO] [stderr] Downloaded getrandom v0.2.11 [INFO] [stderr] Downloaded bitcoin_hashes v0.11.0 [INFO] [stderr] Downloaded bdk_coin_select v0.1.1 [INFO] [stderr] Downloaded minreq v2.11.0 [INFO] [stderr] Downloaded bech32 v0.10.0-beta [INFO] [stderr] Downloaded base64 v0.21.5 [INFO] [stderr] Downloaded jsonrpc v0.17.0 [INFO] [stderr] Downloaded serde v1.0.194 [INFO] [stderr] Downloaded bitcoin_hashes v0.13.0 [INFO] [stderr] Downloaded allocator-api2 v0.2.10 [INFO] [stderr] Downloaded bitcoin_hashes v0.12.0 [INFO] [stderr] Downloaded serde_json v1.0.110 [INFO] [stderr] Downloaded bip39 v2.0.0 [INFO] [stderr] Downloaded secp256k1 v0.28.0 [INFO] [stderr] Downloaded rusqlite v0.30.0 [INFO] [stderr] Downloaded syn v2.0.46 [INFO] [stderr] Downloaded fern v0.6.2 [INFO] [stderr] Downloaded bitcoin v0.31.0 [INFO] [stderr] Downloaded miniscript v11.0.0 [INFO] [stderr] Downloaded libc v0.2.151 [INFO] [stderr] Downloaded secp256k1-sys v0.9.1 [INFO] [stderr] Downloaded libsqlite3-sys v0.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 642584164bb51b7a47b02724411ca4b8ebeab8986389764d6ebb260cb0348455 [INFO] running `Command { std: "docker" "start" "-a" "642584164bb51b7a47b02724411ca4b8ebeab8986389764d6ebb260cb0348455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "642584164bb51b7a47b02724411ca4b8ebeab8986389764d6ebb260cb0348455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "642584164bb51b7a47b02724411ca4b8ebeab8986389764d6ebb260cb0348455", kill_on_drop: false }` [INFO] [stdout] 642584164bb51b7a47b02724411ca4b8ebeab8986389764d6ebb260cb0348455 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02158d0b7051bdcbb9781c49a598b651fdfb5535378d67f87eaff507fd28d19c [INFO] running `Command { std: "docker" "start" "-a" "02158d0b7051bdcbb9781c49a598b651fdfb5535378d67f87eaff507fd28d19c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.110 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bitcoin_hashes v0.12.0 [INFO] [stderr] Compiling bitcoin v0.31.0 [INFO] [stderr] Compiling hex-conservative v0.1.1 [INFO] [stderr] Compiling allocator-api2 v0.2.10 [INFO] [stderr] Compiling minreq v2.11.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling bech32 v0.10.0-beta [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling object v0.31.1 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling bitcoin_hashes v0.11.0 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling secp256k1-sys v0.9.1 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling rdrand v0.8.3 [INFO] [stderr] Compiling dirs v5.0.0 [INFO] [stderr] Compiling fern v0.6.2 [INFO] [stderr] Compiling bdk_coin_select v0.1.1 [INFO] [stderr] Compiling addr2line v0.20.0 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling secp256k1 v0.28.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling bip39 v2.0.0 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling jsonrpc v0.17.0 [INFO] [stderr] Compiling rusqlite v0.30.0 [INFO] [stderr] Compiling miniscript v11.0.0 [INFO] [stderr] Compiling liana v5.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/spend.rs:429:11 [INFO] [stdout] | [INFO] [stdout] 429 | #[cfg(debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [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: field `id` is never read [INFO] [stdout] --> src/database/sqlite/schema.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct DbWallet { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 124 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbWallet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "02158d0b7051bdcbb9781c49a598b651fdfb5535378d67f87eaff507fd28d19c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02158d0b7051bdcbb9781c49a598b651fdfb5535378d67f87eaff507fd28d19c", kill_on_drop: false }` [INFO] [stdout] 02158d0b7051bdcbb9781c49a598b651fdfb5535378d67f87eaff507fd28d19c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f40a9bdfdf906d878f0197ca34b0f541dbe66f0af10fb520a96d1f6f864f22d [INFO] running `Command { std: "docker" "start" "-a" "7f40a9bdfdf906d878f0197ca34b0f541dbe66f0af10fb520a96d1f6f864f22d", kill_on_drop: false }` [INFO] [stderr] Compiling liana v5.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/spend.rs:429:11 [INFO] [stdout] | [INFO] [stdout] 429 | #[cfg(debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [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: field `id` is never read [INFO] [stdout] --> src/database/sqlite/schema.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct DbWallet { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 124 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbWallet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/spend.rs:429:11 [INFO] [stdout] | [INFO] [stdout] 429 | #[cfg(debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [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: field `id` is never read [INFO] [stdout] --> src/database/sqlite/schema.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct DbWallet { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 124 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbWallet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/testutils.rs:450:19 [INFO] [stdout] | [INFO] [stdout] 450 | let uid = COUNTER.load(sync::atomic::Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/testutils.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | COUNTER.fetch_add(1, sync::atomic::Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.22s [INFO] running `Command { std: "docker" "inspect" "7f40a9bdfdf906d878f0197ca34b0f541dbe66f0af10fb520a96d1f6f864f22d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f40a9bdfdf906d878f0197ca34b0f541dbe66f0af10fb520a96d1f6f864f22d", kill_on_drop: false }` [INFO] [stdout] 7f40a9bdfdf906d878f0197ca34b0f541dbe66f0af10fb520a96d1f6f864f22d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 145afbd53a25d96da33a04f997f607650b9570a5c2d30435cb04ec454ae39365 [INFO] running `Command { std: "docker" "start" "-a" "145afbd53a25d96da33a04f997f607650b9570a5c2d30435cb04ec454ae39365", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `debug` [INFO] [stderr] --> src/spend.rs:429:11 [INFO] [stderr] | [INFO] [stderr] 429 | #[cfg(debug)] [INFO] [stdout] [INFO] [stderr] | ^^^^^ [INFO] [stdout] running 51 tests [INFO] [stderr] | [INFO] [stdout] test bitcoin::d::utils::tests::bitcoind_roundup_progress ... ok [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] test bitcoin::d::utils::tests::blk_before_time ... ok [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/database/sqlite/schema.rs:124:9 [INFO] [stderr] | [INFO] [stderr] 123 | pub struct DbWallet { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 124 | pub id: i64, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `DbWallet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/testutils.rs:450:19 [INFO] [stderr] | [INFO] [stderr] 450 | let uid = COUNTER.load(sync::atomic::Ordering::Relaxed); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/testutils.rs:451:9 [INFO] [stderr] | [INFO] [stderr] 451 | COUNTER.fetch_add(1, sync::atomic::Ordering::Relaxed); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `liana` (lib) generated 2 warnings [INFO] [stderr] warning: `liana` (lib test) generated 4 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/liana-61a42ab2b9e00e0f) [INFO] [stdout] test commands::tests::getinfo ... ok [INFO] [stdout] test commands::tests::rbf_psbt ... ok [INFO] [stdout] test commands::tests::list_transactions ... ok [INFO] [stdout] test config::tests::toml_bitcoind_config ... ok [INFO] [stdout] test commands::tests::create_spend ... ok [INFO] [stdout] test commands::tests::getnewaddress ... ok [INFO] [stdout] test commands::tests::update_spend ... ok [INFO] [stdout] test commands::tests::list_confirmed_transactions ... ok [INFO] [stdout] test config::tests::config_directory ... FAILED [INFO] [stdout] test commands::tests::listaddresses ... ok [INFO] [stdout] test config::tests::toml_config ... ok [INFO] [stdout] test database::sqlite::tests::db_labels_update ... ok [INFO] [stdout] test database::sqlite::tests::db_rescan ... ok [INFO] [stdout] test database::sqlite::tests::sqlite_list_txids ... ok [INFO] [stdout] test database::sqlite::tests::db_coins_update ... ok [INFO] [stdout] test database::sqlite::tests::db_coins ... ok [INFO] [stdout] test database::tests::coin_status_as_arg ... ok [INFO] [stdout] test descriptors::keys::tests::derived_pubkey_roundtrip ... ok [INFO] [stdout] test database::sqlite::tests::db_tip_update ... ok [INFO] [stdout] test descriptors::tests::change_detection ... ok [INFO] [stdout] test database::sqlite::tests::sqlite_addresses_cache ... ok [INFO] [stdout] test descriptors::tests::descriptor_unspendable_internal_key ... ok [INFO] [stdout] test database::sqlite::tests::v3_to_v4_migration ... ok [INFO] [stdout] test descriptors::tests::inheritance_descriptor_derivation ... ok [INFO] [stdout] test database::sqlite::tests::sqlite_tip_rollback ... ok [INFO] [stdout] test descriptors::tests::inheritance_descriptor_sat_size ... ok [INFO] [stdout] test database::sqlite::tests::v0_to_v2_migration ... ok [INFO] [stdout] test database::sqlite::tests::v0_to_v4_migration ... ok [INFO] [stdout] test descriptors::tests::inheritance_descriptor_tl_value ... ok [INFO] [stdout] test descriptors::tests::unliftable_miniscript ... ok [INFO] [stdout] test jsonrpc::server::tests::command_read_linebreak ... ok [INFO] [stdout] test descriptors::tests::descriptor_creation ... ok [INFO] [stdout] test jsonrpc::server::tests::command_read_multiple ... ok [INFO] [stdout] test jsonrpc::server::tests::command_read_single ... ok [INFO] [stdout] test jsonrpc::server::tests::server_sanity_check ... ok [INFO] [stdout] test random::tests::randomness_sanity_check ... ok [INFO] [stdout] test database::sqlite::tests::db_startup_sanity_checks ... ok [INFO] [stdout] test descriptors::tests::bip32_derivs_pruning ... ok [INFO] [stdout] test signer::tests::hot_signer_gen ... ok [INFO] [stdout] test signer::tests::hot_signer_sign_p2wsh ... ok [INFO] [stdout] test signer::tests::signer_set_net ... ok [INFO] [stdout] test signer::tests::hot_signer_sign_taproot ... ok [INFO] [stdout] test descriptors::tests::roundtrip_descriptor ... ok [INFO] [stdout] test jsonrpc::server::tests::command_read_parts ... ok [INFO] [stdout] test signer::tests::hot_signer_storage ... ok [INFO] [stdout] test descriptors::tests::partial_spend_info_taproot ... ok [INFO] [stdout] test tests::daemon_startup ... ok [INFO] [stdout] test descriptors::tests::liana_desc_keys ... ok [INFO] [stdout] test descriptors::tests::partial_spend_info_p2wsh ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- config::tests::config_directory stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'config::tests::config_directory' panicked at src/config.rs:482:13: [INFO] [stdout] assertion failed: filepath.as_path().starts_with("/home/") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x60157f4fb1b2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60157f4fb1b2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60157f4fb1b2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60157f4fb1b2 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60157f526e23 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60157f526e23 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x60157f4f6823 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60157f4f6823 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60157f4fb002 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60157f4fca79 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x60157f4fc8ae - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x60157efde794 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x60157efde794 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60157f4fd54e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x60157f4fd54e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x60157f4fd1e6 - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x60157f4fb6b9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60157f4fcead - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x60157f524d50 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x60157f524ddc - core::panicking::panic::h89a5f2df32b0508a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x60157ec448d0 - liana::config::tests::config_directory::h28fda53829977563 [INFO] [stdout] at /opt/rustwide/workdir/src/config.rs:482:13 [INFO] [stdout] 21: 0x60157ec447f7 - liana::config::tests::config_directory::{{closure}}::h477edc4a6b107bde [INFO] [stdout] at /opt/rustwide/workdir/src/config.rs:477:26 [INFO] [stdout] 22: 0x60157ebf9526 - core::ops::function::FnOnce::call_once::he5cb25308eb9f246 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 23: 0x60157efe3ffb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x60157efe3ffb - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 25: 0x60157efe3135 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 26: 0x60157efe3135 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x60157efe3135 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x60157efe3135 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x60157efe3135 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x60157efe3135 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 31: 0x60157efe3135 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 32: 0x60157efa6d34 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 33: 0x60157efa6d34 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x60157efaa70a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x60157efaa70a - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x60157efaa70a - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 37: 0x60157efaa70a - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 38: 0x60157efaa70a - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x60157efaa70a - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x60157efaa70a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 41: 0x60157f50061f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 42: 0x60157f50061f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 43: 0x7b406c62aaa4 - [INFO] [stdout] 44: 0x7b406c6b7a34 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] config::tests::config_directory [INFO] [stdout] [INFO] [stdout] test result: FAILED. 50 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 27.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "145afbd53a25d96da33a04f997f607650b9570a5c2d30435cb04ec454ae39365", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "145afbd53a25d96da33a04f997f607650b9570a5c2d30435cb04ec454ae39365", kill_on_drop: false }` [INFO] [stdout] 145afbd53a25d96da33a04f997f607650b9570a5c2d30435cb04ec454ae39365