[INFO] fetching crate bp-wallet 0.12.0-rc.2... [INFO] checking bp-wallet-0.12.0-rc.2 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate bp-wallet 0.12.0-rc.2 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate bp-wallet 0.12.0-rc.2 [INFO] finished tweaking crates.io crate bp-wallet 0.12.0-rc.2 [INFO] tweaked toml for crates.io crate bp-wallet 0.12.0-rc.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bp-wallet 0.12.0-rc.2 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 crates.io crate bp-wallet 0.12.0-rc.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d605d8303b15243e0eb1d6649f7cd3c396ba404d24d1a7efb46aa917f569b213 [INFO] running `Command { std: "docker" "start" "-a" "d605d8303b15243e0eb1d6649f7cd3c396ba404d24d1a7efb46aa917f569b213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d605d8303b15243e0eb1d6649f7cd3c396ba404d24d1a7efb46aa917f569b213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d605d8303b15243e0eb1d6649f7cd3c396ba404d24d1a7efb46aa917f569b213", kill_on_drop: false }` [INFO] [stdout] d605d8303b15243e0eb1d6649f7cd3c396ba404d24d1a7efb46aa917f569b213 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 36a5df41fd22f1618a767ac051e673faa26ef0e1b5206e6c4f7a6eee2f29ce76 [INFO] running `Command { std: "docker" "start" "-a" "36a5df41fd22f1618a767ac051e673faa26ef0e1b5206e6c4f7a6eee2f29ce76", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking amplify_num v0.5.3 [INFO] [stderr] Checking mnemonic v1.1.1 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking amplify_syn v2.0.1 [INFO] [stderr] Checking secp256k1 v0.30.0 [INFO] [stderr] Compiling amplify_derive v4.0.1 [INFO] [stderr] Compiling strict_encoding_derive v2.8.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:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | generator: D, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | 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:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / #[getter(as_copy)] [INFO] [stdout] 105 | | network: Network, [INFO] [stdout] | |____________________^ [INFO] [stdout] ... [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | 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:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | layer2: L2, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | 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 | _phantom: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | 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:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn addresses(&self, keychain: impl Into) -> AddrIter { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | 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:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | 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] 134 | 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:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | 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:611:21 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 611 | 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:617:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 617 | &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:623:20 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 623 | 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:624:21 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 624 | 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:627:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | 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:636:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 636 | &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:645:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 645 | &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:654:31 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 654 | 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:658:23 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 658 | 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:678:34 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 678 | 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:684:25 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 684 | 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:693:20 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 693 | 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:696:25 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 696 | 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:699:18 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 699 | 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:704:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 704 | &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:713:28 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 713 | 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:718:20 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 718 | 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:722:25 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 722 | 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:723:23 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 723 | 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:726:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 726 | &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:732:17 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 732 | 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:733:18 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 733 | 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:736:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 736 | &'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:776:19 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 776 | 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:782:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 782 | &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:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | generator: D, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | 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:801:18 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 801 | pub fn store(&mut self) -> Result<(), PersistenceError> { [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:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / #[getter(as_copy)] [INFO] [stdout] 105 | | network: Network, [INFO] [stdout] | |____________________^ [INFO] [stdout] ... [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | 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:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | layer2: L2, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | 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 | _phantom: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | 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:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn addresses(&self, keychain: impl Into) -> AddrIter { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | 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:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | 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] 134 | 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:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | 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:611:21 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 611 | 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:617:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 617 | &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:623:20 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 623 | 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:624:21 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 624 | 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:627:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | 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:636:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 636 | &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:645:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 645 | &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:654:31 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 654 | 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:658:23 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 658 | 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:678:34 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 678 | 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:684:25 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 684 | 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:693:20 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 693 | 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:696:25 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 696 | 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:699:18 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 699 | 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:704:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 704 | &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:713:28 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 713 | 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:718:20 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 718 | 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:722:25 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 722 | 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:723:23 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 723 | 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:726:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 726 | &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:732:17 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 732 | 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:733:18 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 733 | 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:736:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 736 | &'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:776:19 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 776 | 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:782:9 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 782 | &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:801:18 [INFO] [stdout] | [INFO] [stdout] 155 | impl, L2: Layer2Descriptor> Deref for WalletDescr { [INFO] [stdout] | ------------------------------------------------------------------------------- trait implemented here [INFO] [stdout] 156 | type Target = D; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 543 | impl, L2: Layer2> Deref for Wallet { [INFO] [stdout] | ---------------------------------------------------------------- trait implemented here [INFO] [stdout] 544 | type Target = WalletDescr; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 801 | 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bp-wallet` (lib) due to 32 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "36a5df41fd22f1618a767ac051e673faa26ef0e1b5206e6c4f7a6eee2f29ce76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36a5df41fd22f1618a767ac051e673faa26ef0e1b5206e6c4f7a6eee2f29ce76", kill_on_drop: false }` [INFO] [stdout] 36a5df41fd22f1618a767ac051e673faa26ef0e1b5206e6c4f7a6eee2f29ce76