[INFO] cloning repository https://github.com/BP-WG/bp-wallet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BP-WG/bp-wallet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBP-WG%2Fbp-wallet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBP-WG%2Fbp-wallet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82daab2a967d6cbf362af25b747317c1d49627ba [INFO] checking BP-WG/bp-wallet against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBP-WG%2Fbp-wallet" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/BP-WG/bp-wallet [INFO] finished tweaking git repo https://github.com/BP-WG/bp-wallet [INFO] tweaked toml for git repo https://github.com/BP-WG/bp-wallet written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BP-WG/bp-wallet on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/BP-WG/bp-wallet 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2abe41e90ef4f718f75738c12efc062994a4fece12416e4136c5f06b222cdfd2 [INFO] running `Command { std: "docker" "start" "-a" "2abe41e90ef4f718f75738c12efc062994a4fece12416e4136c5f06b222cdfd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2abe41e90ef4f718f75738c12efc062994a4fece12416e4136c5f06b222cdfd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2abe41e90ef4f718f75738c12efc062994a4fece12416e4136c5f06b222cdfd2", kill_on_drop: false }` [INFO] [stdout] 2abe41e90ef4f718f75738c12efc062994a4fece12416e4136c5f06b222cdfd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5970b22bd94f1ff9b09e20aadb898741819b201bec417dce07418882bb5d28b4 [INFO] running `Command { std: "docker" "start" "-a" "5970b22bd94f1ff9b09e20aadb898741819b201bec417dce07418882bb5d28b4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking amplify_num v0.5.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking mnemonic v1.1.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking amplify_syn v2.0.1 [INFO] [stderr] Compiling amplify_derive v4.0.1 [INFO] [stderr] Compiling strict_encoding_derive v2.8.0 [INFO] [stderr] Checking secp256k1 v0.30.0 [INFO] [stderr] Checking amplify v4.9.0 [INFO] [stderr] Checking strict_encoding v2.9.1 [INFO] [stderr] Checking baid64 v0.4.2 [INFO] [stderr] Checking nonasync v0.1.3 [INFO] [stderr] Compiling commit_encoding_derive v0.12.0-rc.1 [INFO] [stderr] Checking vesper-lang v0.2.1 [INFO] [stderr] Checking strict_types v2.9.0 [INFO] [stderr] Checking commit_verify v0.12.0-rc.1 [INFO] [stderr] Checking bp-consensus v0.12.0-rc.2 [INFO] [stderr] Checking bp-invoice v0.12.0-rc.2 [INFO] [stderr] Checking bp-derive v0.12.0-rc.2 [INFO] [stderr] Checking descriptors v0.12.0-rc.2 [INFO] [stderr] Checking psbt v0.12.0-rc.2 [INFO] [stderr] Checking bp-std v0.12.0-rc.2 [INFO] [stderr] Checking bp-wallet v0.12.0-rc.2 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | generator: D, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | / #[getter(as_copy)] [INFO] [stdout] 107 | | network: Network, [INFO] [stdout] | |____________________^ [INFO] [stdout] ... [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | layer2: L2, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | _phantom: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn addresses(&self, keychain: impl Into) -> AddrIter { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wallet.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn addresses(&self, keychain: impl Into) -> AddrIter { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden 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] 136 | pub fn addresses(&self, keychain: impl Into) -> AddrIter<'_, K, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:621:21 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 621 | pub fn set_name(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:627:9 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 627 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:633:20 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn data_l2(&self) -> &L2::Data { &self.data.layer2 } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:634:21 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 634 | pub fn cache_l2(&self) -> &L2::Cache { &self.cache.layer2 } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 637 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:646:9 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 646 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 655 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:664:31 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 664 | pub fn update(&mut self, indexer: &I) -> MayError<(), Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:668:23 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 668 | pub fn to_deriver(&self) -> D [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:688:34 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 688 | pub fn last_derivation_index(&self, keychain: impl Into) -> NormalIndex { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:694:25 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 694 | pub fn next_address(&mut self, keychain: impl Into, shift: bool) -> Address { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:703:20 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 703 | pub fn balance(&self) -> Sats { self.cache.coins().map(|utxo| utxo.amount).sum::() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:706:25 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 706 | pub fn transactions(&self) -> &BTreeMap { &self.cache.tx } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:709:18 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 709 | pub fn coins(&self) -> impl Iterator::Coin>> + '_ { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:714:9 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 714 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:723:28 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 723 | pub fn address_balance(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:728:20 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 728 | pub fn history(&self) -> impl Iterator::Tx>> + '_ { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:732:25 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 732 | pub fn has_outpoint(&self, outpoint: Outpoint) -> bool { self.cache.has_outpoint(outpoint) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:733:23 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 733 | pub fn is_unspent(&self, outpoint: Outpoint) -> bool { self.cache.is_unspent(outpoint) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:736:9 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 736 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:742:17 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 742 | pub fn txos(&self) -> impl Iterator + '_ { self.cache.txos() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:743:18 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 743 | pub fn utxos(&self) -> impl Iterator + '_ { self.cache.utxos() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:746:9 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 746 | &'a self, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:786:19 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 786 | pub fn set_id(&mut self, id: &impl ToString) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:792:9 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 792 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:811:18 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 811 | pub fn store(&mut self) -> Result<(), PersistenceError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bp-wallet` (lib) due to 32 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | generator: D, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | / #[getter(as_copy)] [INFO] [stdout] 107 | | network: Network, [INFO] [stdout] | |____________________^ [INFO] [stdout] ... [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | layer2: L2, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | _phantom: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn addresses(&self, keychain: impl Into) -> AddrIter { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wallet.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn addresses(&self, keychain: impl Into) -> AddrIter { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden 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] 136 | pub fn addresses(&self, keychain: impl Into) -> AddrIter<'_, K, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:621:21 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 621 | pub fn set_name(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:627:9 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 627 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:633:20 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn data_l2(&self) -> &L2::Data { &self.data.layer2 } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:634:21 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 634 | pub fn cache_l2(&self) -> &L2::Cache { &self.cache.layer2 } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 637 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:646:9 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 646 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 655 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:664:31 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 664 | pub fn update(&mut self, indexer: &I) -> MayError<(), Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:668:23 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 668 | pub fn to_deriver(&self) -> D [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:688:34 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 688 | pub fn last_derivation_index(&self, keychain: impl Into) -> NormalIndex { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:694:25 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 694 | pub fn next_address(&mut self, keychain: impl Into, shift: bool) -> Address { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:703:20 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 703 | pub fn balance(&self) -> Sats { self.cache.coins().map(|utxo| utxo.amount).sum::() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:706:25 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 706 | pub fn transactions(&self) -> &BTreeMap { &self.cache.tx } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:709:18 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 709 | pub fn coins(&self) -> impl Iterator::Coin>> + '_ { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:714:9 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 714 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:723:28 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 723 | pub fn address_balance(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:728:20 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 728 | pub fn history(&self) -> impl Iterator::Tx>> + '_ { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:732:25 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 732 | pub fn has_outpoint(&self, outpoint: Outpoint) -> bool { self.cache.has_outpoint(outpoint) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:733:23 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 733 | pub fn is_unspent(&self, outpoint: Outpoint) -> bool { self.cache.is_unspent(outpoint) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:736:9 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 736 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:742:17 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 742 | pub fn txos(&self) -> impl Iterator + '_ { self.cache.txos() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:743:18 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 743 | pub fn utxos(&self) -> impl Iterator + '_ { self.cache.utxos() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:746:9 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 746 | &'a self, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:786:19 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 786 | pub fn set_id(&mut self, id: &impl ToString) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:792:9 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 792 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/wallet.rs:811:18 [INFO] [stdout] | [INFO] [stdout] 157 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 158 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 553 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 554 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 811 | pub fn store(&mut self) -> Result<(), PersistenceError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bp-wallet` (lib test) due to 32 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "5970b22bd94f1ff9b09e20aadb898741819b201bec417dce07418882bb5d28b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5970b22bd94f1ff9b09e20aadb898741819b201bec417dce07418882bb5d28b4", kill_on_drop: false }` [INFO] [stdout] 5970b22bd94f1ff9b09e20aadb898741819b201bec417dce07418882bb5d28b4