Master branch of fails on latest nightly Sept 8th for cargo test --features=use-serde. These logs may help in debugging in the issue. The test works successfully on Aug31st nightly.
sanket1729@sanket-pc:~/rust-bitcoin$ RUST_BACKTRACE=1 cargo test --features=use-serde
Compiling bitcoin v0.23.0 (/home/sanket1729/rust-bitcoin)
error: failed to parse path: "::util::amount::serde::as_sat"
--> src/util/amount.rs:1290:28
|
1290 | #[serde(with = "::util::amount::serde::as_sat")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: failed to parse path: "::util::amount::serde::as_sat"
--> src/util/amount.rs:1292:28
|
1292 | #[serde(with = "::util::amount::serde::as_sat")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: failed to parse path: "::util::amount::serde::as_btc"
--> src/util/amount.rs:1322:28
|
1322 | #[serde(with = "::util::amount::serde::as_btc")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: failed to parse path: "::util::amount::serde::as_btc"
--> src/util/amount.rs:1324:28
|
1324 | #[serde(with = "::util::amount::serde::as_btc")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: failed to parse path: "::util::amount::serde::as_btc::opt"
--> src/util/amount.rs:1356:37
|
1356 | #[serde(default, with = "::util::amount::serde::as_btc::opt")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: failed to parse path: "::util::amount::serde::as_btc::opt"
--> src/util/amount.rs:1358:37
|
1358 | #[serde(default, with = "::util::amount::serde::as_btc::opt")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Master branch of fails on latest nightly Sept 8th for
cargo test --features=use-serde. These logs may help in debugging in the issue. The test works successfully on Aug31st nightly.