[INFO] fetching crate lightning-rapid-gossip-sync 0.0.125...
[INFO] testing lightning-rapid-gossip-sync-0.0.125 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate lightning-rapid-gossip-sync 0.0.125 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate lightning-rapid-gossip-sync 0.0.125 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate lightning-rapid-gossip-sync 0.0.125
[INFO] finished tweaking crates.io crate lightning-rapid-gossip-sync 0.0.125
[INFO] tweaked toml for crates.io crate lightning-rapid-gossip-sync 0.0.125 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 76 packages to latest compatible versions
[INFO] [stderr]       Adding criterion v0.4.0 (available: v0.5.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 568caf719ca19c97355aec85d06c7addc47b176e70c9ce9ce86c6344a0726925
[INFO] running `Command { std: "docker" "start" "-a" "568caf719ca19c97355aec85d06c7addc47b176e70c9ce9ce86c6344a0726925", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "568caf719ca19c97355aec85d06c7addc47b176e70c9ce9ce86c6344a0726925", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "568caf719ca19c97355aec85d06c7addc47b176e70c9ce9ce86c6344a0726925", kill_on_drop: false }`
[INFO] [stdout] 568caf719ca19c97355aec85d06c7addc47b176e70c9ce9ce86c6344a0726925
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2035277e2e09723cd548af176518473cdb4f7634b89c897076e71dbb5b4a3200
[INFO] running `Command { std: "docker" "start" "-a" "2035277e2e09723cd548af176518473cdb4f7634b89c897076e71dbb5b4a3200", kill_on_drop: false }`
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling bitcoin-internals v0.3.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling bitcoin-io v0.1.2
[INFO] [stderr]    Compiling hex_lit v0.1.1
[INFO] [stderr]    Compiling bitcoin v0.32.4
[INFO] [stderr]    Compiling bech32 v0.11.0
[INFO] [stderr]    Compiling bech32 v0.9.1
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling hex-conservative v0.2.1
[INFO] [stderr]    Compiling bitcoin-units v0.1.2
[INFO] [stderr]    Compiling bitcoin_hashes v0.14.0
[INFO] [stderr]    Compiling secp256k1-sys v0.10.1
[INFO] [stderr]    Compiling base58ck v0.1.0
[INFO] [stderr]    Compiling secp256k1 v0.29.1
[INFO] [stderr]    Compiling lightning-types v0.1.0
[INFO] [stderr]    Compiling lightning-invoice v0.32.0
[INFO] [stderr]    Compiling lightning v0.0.125
[INFO] [stdout] error[E0463]: can't find crate for `libm`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/lib.rs:73:30
[INFO] [stdout]    |
[INFO] [stdout] 73 | #[cfg(not(feature = "std"))] extern crate libm;
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: at least one of the `std` or `no-std` features must be enabled
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/lib.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | compile_error!("at least one of the `std` or `no-std` features must be enabled");
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/util/hash_tables.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub use std::collections::hash_map::RandomState;
[INFO] [stdout]    |             ^^^ use of undeclared crate or module `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/util/hash_tables.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub use std::collections::HashMap;
[INFO] [stdout]    |             ^^^ use of undeclared crate or module `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/util/hash_tables.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub(crate) use std::collections::{hash_map, HashSet};
[INFO] [stdout]    |                    ^^^ use of undeclared crate or module `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/util/hash_tables.rs:24:3
[INFO] [stdout]    |
[INFO] [stdout] 24 |         std::collections::hash_map::OccupiedEntry<'a, K, V>;
[INFO] [stdout]    |         ^^^ use of undeclared crate or module `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/util/hash_tables.rs:26:3
[INFO] [stdout]    |
[INFO] [stdout] 26 |         std::collections::hash_map::VacantEntry<'a, K, V>;
[INFO] [stdout]    |         ^^^ use of undeclared crate or module `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `0` on type `&_`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/chainmonitor.rs:738:35
[INFO] [stdout]     |
[INFO] [stdout] 738 |         txids.sort_unstable_by(|a, b| a.0.cmp(&b.0).then(b.1.cmp(&a.1)));
[INFO] [stdout]     |                                         ^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:1113:34
[INFO] [stdout]      |
[INFO] [stdout] 1113 |             writer.write_all(&(htlc_infos.len() as u64).to_be_bytes())?;
[INFO] [stdout]      |                                           ^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:1115:31
[INFO] [stdout]      |
[INFO] [stdout] 1115 |                 debug_assert!(htlc_source.is_none() || Some(**txid) == self.current_counterparty_commitment_txid
[INFO] [stdout]      |                                           ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `offered` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:1102:37
[INFO] [stdout]      |
[INFO] [stdout] 1102 |                 writer.write_all(&[$htlc_output.offered as u8; 1])?;
[INFO] [stdout]      |                                                 ^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 1118 |                 serialize_htlc_in_commitment!(htlc_output);
[INFO] [stdout]      |                 ------------------------------------------ in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `serialize_htlc_in_commitment` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `0` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:1131:35
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             writer.write_all(&payment_hash.0[..])?;
[INFO] [stdout]      |                                            ^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2467:61
[INFO] [stdout]      |
[INFO] [stdout] 2467 |                     for &(ref htlc, ref source_option) in latest_outpoints.iter() {
[INFO] [stdout]      |                                                                            ^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 2477 |             walk_counterparty_commitment!(txid);
[INFO] [stdout]      |             ----------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `walk_counterparty_commitment` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2469:45
[INFO] [stdout]      |
[INFO] [stdout] 2469 |                             res.insert((**source).clone(), (htlc.clone(),
[INFO] [stdout]      |                                                                  ^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 2477 |             walk_counterparty_commitment!(txid);
[INFO] [stdout]      |             ----------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `walk_counterparty_commitment` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2467:61
[INFO] [stdout]      |
[INFO] [stdout] 2467 |                     for &(ref htlc, ref source_option) in latest_outpoints.iter() {
[INFO] [stdout]      |                                                                            ^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 2480 |             walk_counterparty_commitment!(txid);
[INFO] [stdout]      |             ----------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `walk_counterparty_commitment` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2469:45
[INFO] [stdout]      |
[INFO] [stdout] 2469 |                             res.insert((**source).clone(), (htlc.clone(),
[INFO] [stdout]      |                                                                  ^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 2480 |             walk_counterparty_commitment!(txid);
[INFO] [stdout]      |             ----------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `walk_counterparty_commitment` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2600:61
[INFO] [stdout]      |
[INFO] [stdout] 2600 |                       for &(ref htlc, ref source_option) in latest_outpoints.iter() {
[INFO] [stdout]      |                                                                              ^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 3492 | /                     fail_unbroadcast_htlcs!(self, "revoked_counterparty", commitment_txid, tx, height,
[INFO] [stdout] 3493 | |                         block_hash, per_commitment_claimable_data.iter().map(|(htlc, htlc_source)|
[INFO] [stdout] 3494 | |                             (htlc, htlc_source.as_ref().map(|htlc_source| htlc_source.as_ref()))
[INFO] [stdout] 3495 | |                         ), logger);
[INFO] [stdout]      | |__________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `transaction_output_index` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2615:27
[INFO] [stdout]      |
[INFO] [stdout] 2615 |                                   if broadcast_htlc.transaction_output_index.is_some() &&
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 3492 | /                     fail_unbroadcast_htlcs!(self, "revoked_counterparty", commitment_txid, tx, height,
[INFO] [stdout] 3493 | |                         block_hash, per_commitment_claimable_data.iter().map(|(htlc, htlc_source)|
[INFO] [stdout] 3494 | |                             (htlc, htlc_source.as_ref().map(|htlc_source| htlc_source.as_ref()))
[INFO] [stdout] 3495 | |                         ), logger);
[INFO] [stdout]      | |__________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2617:29
[INFO] [stdout]      |
[INFO] [stdout] 2617 |                                        (broadcast_source.is_none() &&
[INFO] [stdout]      |                                                          ^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 3492 | /                     fail_unbroadcast_htlcs!(self, "revoked_counterparty", commitment_txid, tx, height,
[INFO] [stdout] 3493 | |                         block_hash, per_commitment_claimable_data.iter().map(|(htlc, htlc_source)|
[INFO] [stdout] 3494 | |                             (htlc, htlc_source.as_ref().map(|htlc_source| htlc_source.as_ref()))
[INFO] [stdout] 3495 | |                         ), logger);
[INFO] [stdout]      | |__________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `payment_hash` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2618:48
[INFO] [stdout]      |
[INFO] [stdout] 2618 |                                         broadcast_htlc.payment_hash == htlc.payment_hash &&
[INFO] [stdout]      |                                                                             ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 3492 | /                     fail_unbroadcast_htlcs!(self, "revoked_counterparty", commitment_txid, tx, height,
[INFO] [stdout] 3493 | |                         block_hash, per_commitment_claimable_data.iter().map(|(htlc, htlc_source)|
[INFO] [stdout] 3494 | |                             (htlc, htlc_source.as_ref().map(|htlc_source| htlc_source.as_ref()))
[INFO] [stdout] 3495 | |                         ), logger);
[INFO] [stdout]      | |__________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2600:61
[INFO] [stdout]      |
[INFO] [stdout] 2600 |                       for &(ref htlc, ref source_option) in latest_outpoints.iter() {
[INFO] [stdout]      |                                                                              ^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 3492 | /                     fail_unbroadcast_htlcs!(self, "revoked_counterparty", commitment_txid, tx, height,
[INFO] [stdout] 3493 | |                         block_hash, per_commitment_claimable_data.iter().map(|(htlc, htlc_source)|
[INFO] [stdout] 3494 | |                             (htlc, htlc_source.as_ref().map(|htlc_source| htlc_source.as_ref()))
[INFO] [stdout] 3495 | |                         ), logger);
[INFO] [stdout]      | |__________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `transaction_output_index` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2615:27
[INFO] [stdout]      |
[INFO] [stdout] 2615 |                                   if broadcast_htlc.transaction_output_index.is_some() &&
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 3492 | /                     fail_unbroadcast_htlcs!(self, "revoked_counterparty", commitment_txid, tx, height,
[INFO] [stdout] 3493 | |                         block_hash, per_commitment_claimable_data.iter().map(|(htlc, htlc_source)|
[INFO] [stdout] 3494 | |                             (htlc, htlc_source.as_ref().map(|htlc_source| htlc_source.as_ref()))
[INFO] [stdout] 3495 | |                         ), logger);
[INFO] [stdout]      | |__________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2617:29
[INFO] [stdout]      |
[INFO] [stdout] 2617 |                                        (broadcast_source.is_none() &&
[INFO] [stdout]      |                                                          ^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 3492 | /                     fail_unbroadcast_htlcs!(self, "revoked_counterparty", commitment_txid, tx, height,
[INFO] [stdout] 3493 | |                         block_hash, per_commitment_claimable_data.iter().map(|(htlc, htlc_source)|
[INFO] [stdout] 3494 | |                             (htlc, htlc_source.as_ref().map(|htlc_source| htlc_source.as_ref()))
[INFO] [stdout] 3495 | |                         ), logger);
[INFO] [stdout]      | |__________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `payment_hash` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2618:48
[INFO] [stdout]      |
[INFO] [stdout] 2618 |                                         broadcast_htlc.payment_hash == htlc.payment_hash &&
[INFO] [stdout]      |                                                                             ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 3492 | /                     fail_unbroadcast_htlcs!(self, "revoked_counterparty", commitment_txid, tx, height,
[INFO] [stdout] 3493 | |                         block_hash, per_commitment_claimable_data.iter().map(|(htlc, htlc_source)|
[INFO] [stdout] 3494 | |                             (htlc, htlc_source.as_ref().map(|htlc_source| htlc_source.as_ref()))
[INFO] [stdout] 3495 | |                         ), logger);
[INFO] [stdout]      | |__________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2600:61
[INFO] [stdout]      |
[INFO] [stdout] 2600 |                       for &(ref htlc, ref source_option) in latest_outpoints.iter() {
[INFO] [stdout]      |                                                                              ^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 3502 | /                     fail_unbroadcast_htlcs!(self, "revoked counterparty", commitment_txid, tx, height,
[INFO] [stdout] 3503 | |                         block_hash, [].iter().map(|reference| *reference), logger);
[INFO] [stdout]      | |__________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `payment_hash` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2618:48
[INFO] [stdout]      |
[INFO] [stdout] 2618 |                                         broadcast_htlc.payment_hash == htlc.payment_hash &&
[INFO] [stdout]      |                                                                             ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 3502 | /                     fail_unbroadcast_htlcs!(self, "revoked counterparty", commitment_txid, tx, height,
[INFO] [stdout] 3503 | |                         block_hash, [].iter().map(|reference| *reference), logger);
[INFO] [stdout]      | |__________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2600:61
[INFO] [stdout]      |
[INFO] [stdout] 2600 |                       for &(ref htlc, ref source_option) in latest_outpoints.iter() {
[INFO] [stdout]      |                                                                              ^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 3502 | /                     fail_unbroadcast_htlcs!(self, "revoked counterparty", commitment_txid, tx, height,
[INFO] [stdout] 3503 | |                         block_hash, [].iter().map(|reference| *reference), logger);
[INFO] [stdout]      | |__________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `payment_hash` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2618:48
[INFO] [stdout]      |
[INFO] [stdout] 2618 |                                         broadcast_htlc.payment_hash == htlc.payment_hash &&
[INFO] [stdout]      |                                                                             ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 3502 | /                     fail_unbroadcast_htlcs!(self, "revoked counterparty", commitment_txid, tx, height,
[INFO] [stdout] 3503 | |                         block_hash, [].iter().map(|reference| *reference), logger);
[INFO] [stdout]      | |__________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2600:61
[INFO] [stdout]      |
[INFO] [stdout] 2600 |                       for &(ref htlc, ref source_option) in latest_outpoints.iter() {
[INFO] [stdout]      |                                                                              ^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 3517 | /             fail_unbroadcast_htlcs!(self, "counterparty", commitment_txid, tx, height, block_hash,
[INFO] [stdout] 3518 | |                 per_commitment_claimable_data.iter().map(|(htlc, htlc_source)|
[INFO] [stdout] 3519 | |                     (htlc, htlc_source.as_ref().map(|htlc_source| htlc_source.as_ref()))
[INFO] [stdout] 3520 | |                 ), logger);
[INFO] [stdout]      | |__________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `transaction_output_index` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2615:27
[INFO] [stdout]      |
[INFO] [stdout] 2615 |                                   if broadcast_htlc.transaction_output_index.is_some() &&
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 3517 | /             fail_unbroadcast_htlcs!(self, "counterparty", commitment_txid, tx, height, block_hash,
[INFO] [stdout] 3518 | |                 per_commitment_claimable_data.iter().map(|(htlc, htlc_source)|
[INFO] [stdout] 3519 | |                     (htlc, htlc_source.as_ref().map(|htlc_source| htlc_source.as_ref()))
[INFO] [stdout] 3520 | |                 ), logger);
[INFO] [stdout]      | |__________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2617:29
[INFO] [stdout]      |
[INFO] [stdout] 2617 |                                        (broadcast_source.is_none() &&
[INFO] [stdout]      |                                                          ^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 3517 | /             fail_unbroadcast_htlcs!(self, "counterparty", commitment_txid, tx, height, block_hash,
[INFO] [stdout] 3518 | |                 per_commitment_claimable_data.iter().map(|(htlc, htlc_source)|
[INFO] [stdout] 3519 | |                     (htlc, htlc_source.as_ref().map(|htlc_source| htlc_source.as_ref()))
[INFO] [stdout] 3520 | |                 ), logger);
[INFO] [stdout]      | |__________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `payment_hash` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2618:48
[INFO] [stdout]      |
[INFO] [stdout] 2618 |                                         broadcast_htlc.payment_hash == htlc.payment_hash &&
[INFO] [stdout]      |                                                                             ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 3517 | /             fail_unbroadcast_htlcs!(self, "counterparty", commitment_txid, tx, height, block_hash,
[INFO] [stdout] 3518 | |                 per_commitment_claimable_data.iter().map(|(htlc, htlc_source)|
[INFO] [stdout] 3519 | |                     (htlc, htlc_source.as_ref().map(|htlc_source| htlc_source.as_ref()))
[INFO] [stdout] 3520 | |                 ), logger);
[INFO] [stdout]      | |__________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2600:61
[INFO] [stdout]      |
[INFO] [stdout] 2600 |                       for &(ref htlc, ref source_option) in latest_outpoints.iter() {
[INFO] [stdout]      |                                                                              ^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 3517 | /             fail_unbroadcast_htlcs!(self, "counterparty", commitment_txid, tx, height, block_hash,
[INFO] [stdout] 3518 | |                 per_commitment_claimable_data.iter().map(|(htlc, htlc_source)|
[INFO] [stdout] 3519 | |                     (htlc, htlc_source.as_ref().map(|htlc_source| htlc_source.as_ref()))
[INFO] [stdout] 3520 | |                 ), logger);
[INFO] [stdout]      | |__________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `transaction_output_index` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2615:27
[INFO] [stdout]      |
[INFO] [stdout] 2615 |                                   if broadcast_htlc.transaction_output_index.is_some() &&
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 3517 | /             fail_unbroadcast_htlcs!(self, "counterparty", commitment_txid, tx, height, block_hash,
[INFO] [stdout] 3518 | |                 per_commitment_claimable_data.iter().map(|(htlc, htlc_source)|
[INFO] [stdout] 3519 | |                     (htlc, htlc_source.as_ref().map(|htlc_source| htlc_source.as_ref()))
[INFO] [stdout] 3520 | |                 ), logger);
[INFO] [stdout]      | |__________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2617:29
[INFO] [stdout]      |
[INFO] [stdout] 2617 |                                        (broadcast_source.is_none() &&
[INFO] [stdout]      |                                                          ^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 3517 | /             fail_unbroadcast_htlcs!(self, "counterparty", commitment_txid, tx, height, block_hash,
[INFO] [stdout] 3518 | |                 per_commitment_claimable_data.iter().map(|(htlc, htlc_source)|
[INFO] [stdout] 3519 | |                     (htlc, htlc_source.as_ref().map(|htlc_source| htlc_source.as_ref()))
[INFO] [stdout] 3520 | |                 ), logger);
[INFO] [stdout]      | |__________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `payment_hash` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2618:48
[INFO] [stdout]      |
[INFO] [stdout] 2618 |                                         broadcast_htlc.payment_hash == htlc.payment_hash &&
[INFO] [stdout]      |                                                                             ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 3517 | /             fail_unbroadcast_htlcs!(self, "counterparty", commitment_txid, tx, height, block_hash,
[INFO] [stdout] 3518 | |                 per_commitment_claimable_data.iter().map(|(htlc, htlc_source)|
[INFO] [stdout] 3519 | |                     (htlc, htlc_source.as_ref().map(|htlc_source| htlc_source.as_ref()))
[INFO] [stdout] 3520 | |                 ), logger);
[INFO] [stdout]      | |__________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2600:61
[INFO] [stdout]      |
[INFO] [stdout] 2600 |                       for &(ref htlc, ref source_option) in latest_outpoints.iter() {
[INFO] [stdout]      |                                                                              ^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 3734 | /             fail_unbroadcast_htlcs!(self, "latest holder", commitment_txid, tx, height,
[INFO] [stdout] 3735 | |                 block_hash, self.current_holder_commitment_tx.htlc_outputs.iter()
[INFO] [stdout] 3736 | |                 .map(|(htlc, _, htlc_source)| (htlc, htlc_source.as_ref())), logger);
[INFO] [stdout]      | |____________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `payment_hash` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2618:48
[INFO] [stdout]      |
[INFO] [stdout] 2618 |                                         broadcast_htlc.payment_hash == htlc.payment_hash &&
[INFO] [stdout]      |                                                                             ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 3734 | /             fail_unbroadcast_htlcs!(self, "latest holder", commitment_txid, tx, height,
[INFO] [stdout] 3735 | |                 block_hash, self.current_holder_commitment_tx.htlc_outputs.iter()
[INFO] [stdout] 3736 | |                 .map(|(htlc, _, htlc_source)| (htlc, htlc_source.as_ref())), logger);
[INFO] [stdout]      | |____________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2600:61
[INFO] [stdout]      |
[INFO] [stdout] 2600 |                       for &(ref htlc, ref source_option) in latest_outpoints.iter() {
[INFO] [stdout]      |                                                                              ^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 3734 | /             fail_unbroadcast_htlcs!(self, "latest holder", commitment_txid, tx, height,
[INFO] [stdout] 3735 | |                 block_hash, self.current_holder_commitment_tx.htlc_outputs.iter()
[INFO] [stdout] 3736 | |                 .map(|(htlc, _, htlc_source)| (htlc, htlc_source.as_ref())), logger);
[INFO] [stdout]      | |____________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `payment_hash` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2618:48
[INFO] [stdout]      |
[INFO] [stdout] 2618 |                                         broadcast_htlc.payment_hash == htlc.payment_hash &&
[INFO] [stdout]      |                                                                             ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 3734 | /             fail_unbroadcast_htlcs!(self, "latest holder", commitment_txid, tx, height,
[INFO] [stdout] 3735 | |                 block_hash, self.current_holder_commitment_tx.htlc_outputs.iter()
[INFO] [stdout] 3736 | |                 .map(|(htlc, _, htlc_source)| (htlc, htlc_source.as_ref())), logger);
[INFO] [stdout]      | |____________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2600:61
[INFO] [stdout]      |
[INFO] [stdout] 2600 |                       for &(ref htlc, ref source_option) in latest_outpoints.iter() {
[INFO] [stdout]      |                                                                              ^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 3744 | /                 fail_unbroadcast_htlcs!(self, "previous holder", commitment_txid, tx, height, block_hash,
[INFO] [stdout] 3745 | |                     holder_tx.htlc_outputs.iter().map(|(htlc, _, htlc_source)| (htlc, htlc_source.as_ref())),
[INFO] [stdout] 3746 | |                     logger);
[INFO] [stdout]      | |___________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `payment_hash` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2618:48
[INFO] [stdout]      |
[INFO] [stdout] 2618 |                                         broadcast_htlc.payment_hash == htlc.payment_hash &&
[INFO] [stdout]      |                                                                             ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 3744 | /                 fail_unbroadcast_htlcs!(self, "previous holder", commitment_txid, tx, height, block_hash,
[INFO] [stdout] 3745 | |                     holder_tx.htlc_outputs.iter().map(|(htlc, _, htlc_source)| (htlc, htlc_source.as_ref())),
[INFO] [stdout] 3746 | |                     logger);
[INFO] [stdout]      | |___________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2600:61
[INFO] [stdout]      |
[INFO] [stdout] 2600 |                       for &(ref htlc, ref source_option) in latest_outpoints.iter() {
[INFO] [stdout]      |                                                                              ^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 3744 | /                 fail_unbroadcast_htlcs!(self, "previous holder", commitment_txid, tx, height, block_hash,
[INFO] [stdout] 3745 | |                     holder_tx.htlc_outputs.iter().map(|(htlc, _, htlc_source)| (htlc, htlc_source.as_ref())),
[INFO] [stdout] 3746 | |                     logger);
[INFO] [stdout]      | |___________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `payment_hash` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:2618:48
[INFO] [stdout]      |
[INFO] [stdout] 2618 |                                         broadcast_htlc.payment_hash == htlc.payment_hash &&
[INFO] [stdout]      |                                                                             ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 3744 | /                 fail_unbroadcast_htlcs!(self, "previous holder", commitment_txid, tx, height, block_hash,
[INFO] [stdout] 3745 | |                     holder_tx.htlc_outputs.iter().map(|(htlc, _, htlc_source)| (htlc, htlc_source.as_ref())),
[INFO] [stdout] 3746 | |                     logger);
[INFO] [stdout]      | |___________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_fails` which comes from the expansion of the macro `fail_unbroadcast_htlcs` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:4345:35
[INFO] [stdout]      |
[INFO] [stdout] 4345 |                 scan_commitment!(htlc_outputs.iter().map(|&(ref a, _)| a), false);
[INFO] [stdout]      |                                               ^^^^ cannot infer type for type parameter `T` declared on the enum `Option`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `offered` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:4331:45
[INFO] [stdout]      |
[INFO] [stdout] 4331 |                     let htlc_outbound = $holder_tx == htlc.offered;
[INFO] [stdout]      |                                                            ^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 4345 |                 scan_commitment!(htlc_outputs.iter().map(|&(ref a, _)| a), false);
[INFO] [stdout]      |                 ----------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `scan_commitment` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:4350:35
[INFO] [stdout]      |
[INFO] [stdout] 4350 |                 scan_commitment!(htlc_outputs.iter().map(|&(ref a, _)| a), false);
[INFO] [stdout]      |                                               ^^^^ cannot infer type for type parameter `T` declared on the enum `Option`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `offered` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:4331:45
[INFO] [stdout]      |
[INFO] [stdout] 4331 |                     let htlc_outbound = $holder_tx == htlc.offered;
[INFO] [stdout]      |                                                            ^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 4350 |                 scan_commitment!(htlc_outputs.iter().map(|&(ref a, _)| a), false);
[INFO] [stdout]      |                 ----------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `scan_commitment` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `payment_hash` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:4411:24
[INFO] [stdout]      |
[INFO] [stdout] 4411 |                               if pending_htlc.payment_hash == $htlc_output.payment_hash && pending_htlc.amount_msat == $h...
[INFO] [stdout]      |                                               ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 4469 | /                 scan_commitment!(self.current_holder_commitment_tx.htlc_outputs.iter().map(|&(ref a, _, ref b)| (a, b.as_ref())),
[INFO] [stdout] 4470 | |                     "our latest holder commitment tx", true);
[INFO] [stdout]      | |____________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_valid_counterparty` which comes from the expansion of the macro `scan_commitment` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `payment_hash` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:4411:24
[INFO] [stdout]      |
[INFO] [stdout] 4411 |                               if pending_htlc.payment_hash == $htlc_output.payment_hash && pending_htlc.amount_msat == $h...
[INFO] [stdout]      |                                               ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 4469 | /                 scan_commitment!(self.current_holder_commitment_tx.htlc_outputs.iter().map(|&(ref a, _, ref b)| (a, b.as_ref())),
[INFO] [stdout] 4470 | |                     "our latest holder commitment tx", true);
[INFO] [stdout]      | |____________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_valid_counterparty` which comes from the expansion of the macro `scan_commitment` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `payment_hash` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:4411:24
[INFO] [stdout]      |
[INFO] [stdout] 4411 |                               if pending_htlc.payment_hash == $htlc_output.payment_hash && pending_htlc.amount_msat == $h...
[INFO] [stdout]      |                                               ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 4474 | /                     scan_commitment!(prev_holder_signed_commitment_tx.htlc_outputs.iter().map(|&(ref a, _, ref b)| (a, b.as_ref())),
[INFO] [stdout] 4475 | |                         "our previous holder commitment tx", true);
[INFO] [stdout]      | |__________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_valid_counterparty` which comes from the expansion of the macro `scan_commitment` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `payment_hash` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:4411:24
[INFO] [stdout]      |
[INFO] [stdout] 4411 |                               if pending_htlc.payment_hash == $htlc_output.payment_hash && pending_htlc.amount_msat == $h...
[INFO] [stdout]      |                                               ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 4474 | /                     scan_commitment!(prev_holder_signed_commitment_tx.htlc_outputs.iter().map(|&(ref a, _, ref b)| (a, b.as_ref())),
[INFO] [stdout] 4475 | |                         "our previous holder commitment tx", true);
[INFO] [stdout]      | |__________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_valid_counterparty` which comes from the expansion of the macro `scan_commitment` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:4479:35
[INFO] [stdout]      |
[INFO] [stdout] 4479 |                 scan_commitment!(htlc_outputs.iter().map(|&(ref a, ref b)| (a, b.as_ref().map(|boxed| &**boxed))),
[INFO] [stdout]      |                                               ^^^^ cannot infer type for type parameter `T` declared on the enum `Option`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&(_, _)`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:4479:47
[INFO] [stdout]      |
[INFO] [stdout] 4479 |                 scan_commitment!(htlc_outputs.iter().map(|&(ref a, ref b)| (a, b.as_ref().map(|boxed| &**boxed))),
[INFO] [stdout]      |                                                           ^^^^^^^^^^^^^^^        ------ type must be known at this point
[INFO] [stdout]      |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified
[INFO] [stdout]      |
[INFO] [stdout] 4479 |                 scan_commitment!(htlc_outputs.iter().map(|&(ref a, ref b): &(_, _)| (a, b.as_ref().map(|boxed| &**boxed))),
[INFO] [stdout]      |                                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `transaction_output_index` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:4425:58
[INFO] [stdout]      |
[INFO] [stdout] 4425 |                           if Some(input.previous_output.vout) == htlc_output.transaction_output_index {
[INFO] [stdout]      |                                                                              ^^^^^^^^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 4479 | /                 scan_commitment!(htlc_outputs.iter().map(|&(ref a, ref b)| (a, b.as_ref().map(|boxed| &**boxed))),
[INFO] [stdout] 4480 | |                     "counterparty commitment tx", false);
[INFO] [stdout]      | |________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `scan_commitment` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `payment_hash` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:4411:24
[INFO] [stdout]      |
[INFO] [stdout] 4411 |                               if pending_htlc.payment_hash == $htlc_output.payment_hash && pending_htlc.amount_msat == $h...
[INFO] [stdout]      |                                               ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 4479 | /                 scan_commitment!(htlc_outputs.iter().map(|&(ref a, ref b)| (a, b.as_ref().map(|boxed| &**boxed))),
[INFO] [stdout] 4480 | |                     "counterparty commitment tx", false);
[INFO] [stdout]      | |________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_valid_counterparty` which comes from the expansion of the macro `scan_commitment` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `payment_hash` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/channelmonitor.rs:4411:24
[INFO] [stdout]      |
[INFO] [stdout] 4411 |                               if pending_htlc.payment_hash == $htlc_output.payment_hash && pending_htlc.amount_msat == $h...
[INFO] [stdout]      |                                               ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 4479 | /                 scan_commitment!(htlc_outputs.iter().map(|&(ref a, ref b)| (a, b.as_ref().map(|boxed| &**boxed))),
[INFO] [stdout] 4480 | |                     "counterparty commitment tx", false);
[INFO] [stdout]      | |________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `check_htlc_valid_counterparty` which comes from the expansion of the macro `scan_commitment` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/onchaintx.rs:324:24
[INFO] [stdout]     |
[INFO] [stdout] 324 |             ancestor_claim_txid.write(writer)?;
[INFO] [stdout]     |                                 ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/onchaintx.rs:330:9
[INFO] [stdout]     |
[INFO] [stdout] 330 |             outp.write(writer)?;
[INFO] [stdout]     |                  ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `0` on type `&_`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/onchaintx.rs:331:21
[INFO] [stdout]     |
[INFO] [stdout] 331 |             claim_and_height.0.write(writer)?;
[INFO] [stdout]     |                              ^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `1` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/chain/onchaintx.rs:1141:9
[INFO] [stdout]      |
[INFO] [stdout] 1141 |             if v.1 >= height {
[INFO] [stdout]      |                  ^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `types::payment::PaymentHash` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3342:21
[INFO] [stdout]      |
[INFO] [stdout] 3342 |                         payment_hash: *payment_hash,
[INFO] [stdout]      |                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3343:19
[INFO] [stdout]      |
[INFO] [stdout] 3343 |                         total_msat: *total_msat,
[INFO] [stdout]      |                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `types::payment::PaymentHash` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3347:84
[INFO] [stdout]      |
[INFO] [stdout] 3347 |                     Some(RecentPaymentDetails::Abandoned { payment_id: *payment_id, payment_hash: *payment_hash })
[INFO] [stdout]      |                                                                                                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Option<types::payment::PaymentHash>` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3350:84
[INFO] [stdout]      |
[INFO] [stdout] 3350 |                     Some(RecentPaymentDetails::Fulfilled { payment_id: *payment_id, payment_hash: *payment_hash })
[INFO] [stdout]      |                                                                                                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3395:54
[INFO] [stdout]      |
[INFO] [stdout] 2812 |             if let Ok(msg) = $self.get_channel_update_for_unicast($chan) {
[INFO] [stdout]      |                                    ------------------------------ arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 3395 |                                 peer_state_lock, peer_state, per_peer_state, chan);
[INFO] [stdout]      |                                                                              ^^^^ expected `&Channel<SP>`, found `Channel<SP>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<_>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3976:5
[INFO] [stdout]      |
[INFO] [stdout] 3976 |     fn get_channel_update_for_unicast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 3395 |                                 peer_state_lock, peer_state, per_peer_state, &chan);
[INFO] [stdout]      |                                                                              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3395:54
[INFO] [stdout]      |
[INFO] [stdout] 2823 |         let (htlc_forwards, decode_update_add_htlcs) = $self.handle_channel_resumption(
[INFO] [stdout]      |                                                              ------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 3395 |                                 peer_state_lock, peer_state, per_peer_state, chan);
[INFO] [stdout]      |                                                                              ^^^^ expected `&mut Channel<SP>`, found `Channel<SP>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected mutable reference `&mut Channel<_>`
[INFO] [stdout]                            found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7014:5
[INFO] [stdout]      |
[INFO] [stdout] 7014 |     fn handle_channel_resumption(&self, pending_msg_events: &mut Vec<MessageSendEvent>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7015 |         channel: &mut Channel<SP>, raa: Option<msgs::RevokeAndACK>,
[INFO] [stdout]      |         -------------------------
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 3395 |                                 peer_state_lock, peer_state, per_peer_state, &mut chan);
[INFO] [stdout]      |                                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 | ...han_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                                                      -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 | ...onvert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                        ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 4087 | ...       match break_chan_phase_entry!(self, send_res, chan_phase_entry) {
[INFO] [stdout]      |                 --------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `break_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:4089:122
[INFO] [stdout]      |
[INFO] [stdout] 2812 |             if let Ok(msg) = $self.get_channel_update_for_unicast($chan) {
[INFO] [stdout]      |                                    ------------------------------ arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 4089 |                                 match handle_new_monitor_update!(self, funding_txo, monitor_update, peer_state_lock, peer_sta...
[INFO] [stdout]      |                                                                                                                                                  ^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3976:5
[INFO] [stdout]      |
[INFO] [stdout] 3976 |     fn get_channel_update_for_unicast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 4089 |                                 match handle_new_monitor_update!(self, funding_txo, monitor_update, peer_state_lock, peer_state, per_peer_state, &chan) {
[INFO] [stdout]      |                                                                                                                                                  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:4089:122
[INFO] [stdout]      |
[INFO] [stdout] 2823 |         let (htlc_forwards, decode_update_add_htlcs) = $self.handle_channel_resumption(
[INFO] [stdout]      |                                                              ------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 4089 |                                 match handle_new_monitor_update!(self, funding_txo, monitor_update, peer_state_lock, peer_sta...
[INFO] [stdout]      |                                                                                                                                                  ^^^^ expected `&mut Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected mutable reference `&mut Channel<SP>`
[INFO] [stdout]                            found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7014:5
[INFO] [stdout]      |
[INFO] [stdout] 7014 |     fn handle_channel_resumption(&self, pending_msg_events: &mut Vec<MessageSendEvent>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7015 |         channel: &mut Channel<SP>, raa: Option<msgs::RevokeAndACK>,
[INFO] [stdout]      |         -------------------------
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 4089 |                                 match handle_new_monitor_update!(self, funding_txo, monitor_update, peer_state_lock, peer_state, per_peer_state, &mut chan) {
[INFO] [stdout]      |                                                                                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:4855:61
[INFO] [stdout]      |
[INFO] [stdout] 4855 |                     if let Ok(msg) = self.get_channel_update_for_broadcast(channel) {
[INFO] [stdout]      |                                           -------------------------------- ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |                                           |
[INFO] [stdout]      |                                           arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 4855 |                     if let Ok(msg) = self.get_channel_update_for_broadcast(&channel) {
[INFO] [stdout]      |                                                                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:4858:66
[INFO] [stdout]      |
[INFO] [stdout] 4858 |                     } else if let Ok(msg) = self.get_channel_update_for_unicast(channel) {
[INFO] [stdout]      |                                                  ------------------------------ ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |                                                  |
[INFO] [stdout]      |                                                  arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3976:5
[INFO] [stdout]      |
[INFO] [stdout] 3976 |     fn get_channel_update_for_unicast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 4858 |                     } else if let Ok(msg) = self.get_channel_update_for_unicast(&channel) {
[INFO] [stdout]      |                                                                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:5094:7
[INFO] [stdout]      |
[INFO] [stdout] 5093 |                     chan.can_accept_incoming_htlc(
[INFO] [stdout]      |                          ------------------------ arguments to this method are incorrect
[INFO] [stdout] 5094 |                         update_add_htlc, &self.fee_estimator, &logger,
[INFO] [stdout]      |                         ^^^^^^^^^^^^^^^ expected `&UpdateAddHTLC`, found `UpdateAddHTLC`
[INFO] [stdout]      |
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channel.rs:6393:9
[INFO] [stdout]      |
[INFO] [stdout] 6393 |     pub fn can_accept_incoming_htlc<F: Deref, L: Deref>(
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 6394 |         &self, msg: &msgs::UpdateAddHTLC, fee_estimator: &LowerBoundedFeeEstimator<F>, logger: L
[INFO] [stdout]      |                -------------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 5094 |                         &update_add_htlc, &self.fee_estimator, &logger,
[INFO] [stdout]      |                         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<ClaimablePayments>`, but its trait bounds were not satisfied
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:5563:64
[INFO] [stdout]      |
[INFO] [stdout] 775  | struct ClaimablePayments {
[INFO] [stdout]      | ------------------------ doesn't satisfy `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 5563 |                                         let mut claimable_payments = self.claimable_payments.lock().unwrap();
[INFO] [stdout]      |                                                                                              ^^^^ method cannot be called on `Mutex<ClaimablePayments>` due to unsatisfied trait bounds
[INFO] [stdout] ...
[INFO] [stdout] 5681 |                                                 check_total_value!(purpose);
[INFO] [stdout]      |                                                 --------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]      |
[INFO] [stdout] 8    | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]      | --------------------------- method `lock` not found for this struct
[INFO] [stdout]      |
[INFO] [stdout]      = note: the following trait bounds were not satisfied:
[INFO] [stdout]              `{type error}: core::marker::Sized`
[INFO] [stdout]              which is required by `ClaimablePayments: core::marker::Sized`
[INFO] [stdout]      = note: this error originates in the macro `check_total_value` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<ClaimablePayments>`, but its trait bounds were not satisfied
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:5563:64
[INFO] [stdout]      |
[INFO] [stdout] 775  | struct ClaimablePayments {
[INFO] [stdout]      | ------------------------ doesn't satisfy `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 5563 |                                         let mut claimable_payments = self.claimable_payments.lock().unwrap();
[INFO] [stdout]      |                                                                                              ^^^^ method cannot be called on `Mutex<ClaimablePayments>` due to unsatisfied trait bounds
[INFO] [stdout] ...
[INFO] [stdout] 5685 |                                                 check_total_value!(purpose);
[INFO] [stdout]      |                                                 --------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]      |
[INFO] [stdout] 8    | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]      | --------------------------- method `lock` not found for this struct
[INFO] [stdout]      |
[INFO] [stdout]      = note: the following trait bounds were not satisfied:
[INFO] [stdout]              `{type error}: core::marker::Sized`
[INFO] [stdout]              which is required by `ClaimablePayments: core::marker::Sized`
[INFO] [stdout]      = note: this error originates in the macro `check_total_value` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<ClaimablePayments>`, but its trait bounds were not satisfied
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:5563:64
[INFO] [stdout]      |
[INFO] [stdout] 775  | struct ClaimablePayments {
[INFO] [stdout]      | ------------------------ doesn't satisfy `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 5563 |                                         let mut claimable_payments = self.claimable_payments.lock().unwrap();
[INFO] [stdout]      |                                                                                              ^^^^ method cannot be called on `Mutex<ClaimablePayments>` due to unsatisfied trait bounds
[INFO] [stdout] ...
[INFO] [stdout] 5708 |                                             let payment_claimable_generated = check_total_value!(purpose);
[INFO] [stdout]      |                                                                               --------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]      |
[INFO] [stdout] 8    | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]      | --------------------------- method `lock` not found for this struct
[INFO] [stdout]      |
[INFO] [stdout]      = note: the following trait bounds were not satisfied:
[INFO] [stdout]              `{type error}: core::marker::Sized`
[INFO] [stdout]              which is required by `ClaimablePayments: core::marker::Sized`
[INFO] [stdout]      = note: this error originates in the macro `check_total_value` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:5779:57
[INFO] [stdout]      |
[INFO] [stdout] 2812 |             if let Ok(msg) = $self.get_channel_update_for_unicast($chan) {
[INFO] [stdout]      |                                    ------------------------------ arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 5779 |                                             peer_state_lock, peer_state, per_peer_state, chan);
[INFO] [stdout]      |                                                                                          ^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3976:5
[INFO] [stdout]      |
[INFO] [stdout] 3976 |     fn get_channel_update_for_unicast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 5779 |                                             peer_state_lock, peer_state, per_peer_state, &chan);
[INFO] [stdout]      |                                                                                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:5779:57
[INFO] [stdout]      |
[INFO] [stdout] 2823 |         let (htlc_forwards, decode_update_add_htlcs) = $self.handle_channel_resumption(
[INFO] [stdout]      |                                                              ------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 5779 |                                             peer_state_lock, peer_state, per_peer_state, chan);
[INFO] [stdout]      |                                                                                          ^^^^ expected `&mut Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected mutable reference `&mut Channel<SP>`
[INFO] [stdout]                            found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7014:5
[INFO] [stdout]      |
[INFO] [stdout] 7014 |     fn handle_channel_resumption(&self, pending_msg_events: &mut Vec<MessageSendEvent>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7015 |         channel: &mut Channel<SP>, raa: Option<msgs::RevokeAndACK>,
[INFO] [stdout]      |         -------------------------
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 5779 |                                             peer_state_lock, peer_state, per_peer_state, &mut chan);
[INFO] [stdout]      |                                                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:5799:93
[INFO] [stdout]      |
[INFO] [stdout] 2812 |             if let Ok(msg) = $self.get_channel_update_for_unicast($chan) {
[INFO] [stdout]      |                                    ------------------------------ arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 5799 |                             handle_monitor_update_completion!(self, peer_state_lock, peer_state, per_peer_state, chan);
[INFO] [stdout]      |                                                                                                                  ^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3976:5
[INFO] [stdout]      |
[INFO] [stdout] 3976 |     fn get_channel_update_for_unicast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 5799 |                             handle_monitor_update_completion!(self, peer_state_lock, peer_state, per_peer_state, &chan);
[INFO] [stdout]      |                                                                                                                  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:5799:93
[INFO] [stdout]      |
[INFO] [stdout] 2823 |         let (htlc_forwards, decode_update_add_htlcs) = $self.handle_channel_resumption(
[INFO] [stdout]      |                                                              ------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 5799 |                             handle_monitor_update_completion!(self, peer_state_lock, peer_state, per_peer_state, chan);
[INFO] [stdout]      |                                                                                                                  ^^^^ expected `&mut Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected mutable reference `&mut Channel<SP>`
[INFO] [stdout]                            found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7014:5
[INFO] [stdout]      |
[INFO] [stdout] 7014 |     fn handle_channel_resumption(&self, pending_msg_events: &mut Vec<MessageSendEvent>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7015 |         channel: &mut Channel<SP>, raa: Option<msgs::RevokeAndACK>,
[INFO] [stdout]      |         -------------------------
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 5799 |                             handle_monitor_update_completion!(self, peer_state_lock, peer_state, per_peer_state, &mut chan);
[INFO] [stdout]      |                                                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:5952:67
[INFO] [stdout]      |
[INFO] [stdout] 5952 | ...                   let chan_needs_persist = self.update_channel_fee(chan_id, chan, new_feerate);
[INFO] [stdout]      |                                                     ------------------          ^^^^ expected `&mut Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |                                                     |
[INFO] [stdout]      |                                                     arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected mutable reference `&mut Channel<SP>`
[INFO] [stdout]                            found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:5821:5
[INFO] [stdout]      |
[INFO] [stdout] 5821 |     fn update_channel_fee(&self, chan_id: &ChannelId, chan: &mut Channel<SP>, new_feerate: u32) -> NotifyOption {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^                             ----------------------
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 5952 |                                 let chan_needs_persist = self.update_channel_fee(chan_id, &mut chan, new_feerate);
[INFO] [stdout]      |                                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:5956:68
[INFO] [stdout]      |
[INFO] [stdout] 2663 | ...d, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                      -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 5956 | ...ert_chan_phase_err!(self, e, chan, chan_id, FUNDED_CHANNEL);
[INFO] [stdout]      |                                 ^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 5956 |                                     let (needs_close, err) = convert_chan_phase_err!(self, e, &chan, chan_id, FUNDED_CHANNEL);
[INFO] [stdout]      |                                                                                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<ClaimablePayments>`, but its trait bounds were not satisfied
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:6090:28
[INFO] [stdout]      |
[INFO] [stdout] 775  | struct ClaimablePayments {
[INFO] [stdout]      | ------------------------ doesn't satisfy `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 6090 |             self.claimable_payments.lock().unwrap().claimable_payments.retain(|payment_hash, payment| {
[INFO] [stdout]      |                                     ^^^^ method cannot be called on `Mutex<ClaimablePayments>` due to unsatisfied trait bounds
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]      |
[INFO] [stdout] 8    | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]      | --------------------------- method `lock` not found for this struct
[INFO] [stdout]      |
[INFO] [stdout]      = note: the following trait bounds were not satisfied:
[INFO] [stdout]              `{type error}: core::marker::Sized`
[INFO] [stdout]              which is required by `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<ClaimablePayments>`, but its trait bounds were not satisfied
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:6180:48
[INFO] [stdout]      |
[INFO] [stdout] 775  | struct ClaimablePayments {
[INFO] [stdout]      | ------------------------ doesn't satisfy `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 6180 |         let removed_source = self.claimable_payments.lock().unwrap().claimable_payments.remove(payment_hash);
[INFO] [stdout]      |                                                      ^^^^ method cannot be called on `Mutex<ClaimablePayments>` due to unsatisfied trait bounds
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]      |
[INFO] [stdout] 8    | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]      | --------------------------- method `lock` not found for this struct
[INFO] [stdout]      |
[INFO] [stdout]      = note: the following trait bounds were not satisfied:
[INFO] [stdout]              `{type error}: core::marker::Sized`
[INFO] [stdout]              which is required by `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<ClaimablePayments>`, but its trait bounds were not satisfied
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:6425:57
[INFO] [stdout]      |
[INFO] [stdout] 775  | struct ClaimablePayments {
[INFO] [stdout]      | ------------------------ doesn't satisfy `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 6425 |             let mut claimable_payments = self.claimable_payments.lock().unwrap();
[INFO] [stdout]      |                                                                  ^^^^ method cannot be called on `Mutex<ClaimablePayments>` due to unsatisfied trait bounds
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]      |
[INFO] [stdout] 8    | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]      | --------------------------- method `lock` not found for this struct
[INFO] [stdout]      |
[INFO] [stdout]      = note: the following trait bounds were not satisfied:
[INFO] [stdout]              `{type error}: core::marker::Sized`
[INFO] [stdout]              which is required by `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<ClaimablePayments>`, but its trait bounds were not satisfied
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:6508:28
[INFO] [stdout]      |
[INFO] [stdout] 775  | struct ClaimablePayments {
[INFO] [stdout]      | ------------------------ doesn't satisfy `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 6508 |             self.claimable_payments.lock().unwrap().pending_claiming_payments.remove(&payment_hash);
[INFO] [stdout]      |                                     ^^^^ method cannot be called on `Mutex<ClaimablePayments>` due to unsatisfied trait bounds
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]      |
[INFO] [stdout] 8    | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]      | --------------------------- method `lock` not found for this struct
[INFO] [stdout]      |
[INFO] [stdout]      = note: the following trait bounds were not satisfied:
[INFO] [stdout]              `{type error}: core::marker::Sized`
[INFO] [stdout]              which is required by `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<ClaimablePayments>`, but its trait bounds were not satisfied
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:6513:28
[INFO] [stdout]      |
[INFO] [stdout] 775  | struct ClaimablePayments {
[INFO] [stdout]      | ------------------------ doesn't satisfy `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 6513 |             self.claimable_payments.lock().unwrap().pending_claiming_payments.remove(&payment_hash);
[INFO] [stdout]      |                                     ^^^^ method cannot be called on `Mutex<ClaimablePayments>` due to unsatisfied trait bounds
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]      |
[INFO] [stdout] 8    | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]      | --------------------------- method `lock` not found for this struct
[INFO] [stdout]      |
[INFO] [stdout]      = note: the following trait bounds were not satisfied:
[INFO] [stdout]              `{type error}: core::marker::Sized`
[INFO] [stdout]              which is required by `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<ClaimablePayments>`, but its trait bounds were not satisfied
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:6566:28
[INFO] [stdout]      |
[INFO] [stdout] 775  | struct ClaimablePayments {
[INFO] [stdout]      | ------------------------ doesn't satisfy `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 6566 |             self.claimable_payments.lock().unwrap().pending_claiming_payments.remove(&payment_hash);
[INFO] [stdout]      |                                     ^^^^ method cannot be called on `Mutex<ClaimablePayments>` due to unsatisfied trait bounds
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]      |
[INFO] [stdout] 8    | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]      | --------------------------- method `lock` not found for this struct
[INFO] [stdout]      |
[INFO] [stdout]      = note: the following trait bounds were not satisfied:
[INFO] [stdout]              `{type error}: core::marker::Sized`
[INFO] [stdout]              which is required by `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `held_by_thread` exists for struct `Mutex<ClaimablePayments>`, but its trait bounds were not satisfied
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:6592:44
[INFO] [stdout]      |
[INFO] [stdout] 775  | struct ClaimablePayments {
[INFO] [stdout]      | ------------------------ doesn't satisfy `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 6592 |         debug_assert_ne!(self.claimable_payments.held_by_thread(), LockHeldState::HeldByThread);
[INFO] [stdout]      |                                                  ^^^^^^^^^^^^^^ method cannot be called on `Mutex<ClaimablePayments>` due to unsatisfied trait bounds
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]      |
[INFO] [stdout] 8    | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]      | --------------------------- method `held_by_thread` not found for this struct because it doesn't satisfy `_: LockTestExt<'_>`
[INFO] [stdout]      |
[INFO] [stdout] note: trait bound `ClaimablePayments: core::marker::Sized` was not satisfied
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:45:10
[INFO] [stdout]      |
[INFO] [stdout] 45   | impl<'a, T: 'a> LockTestExt<'a> for Mutex<T> {
[INFO] [stdout]      |          ^      ---------------     --------
[INFO] [stdout]      |          |
[INFO] [stdout]      |          unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `core::marker::Sized` must be implemented
[INFO] [stdout]     --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/marker.rs:146:1
[INFO] [stdout]      = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `LockTestExt` defines an item `held_by_thread`, perhaps you need to implement it
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/mod.rs:10:1
[INFO] [stdout]      |
[INFO] [stdout] 10   | pub(crate) trait LockTestExt<'a> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider relaxing the type parameter's implicit `Sized` bound
[INFO] [stdout]     -->  /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:45:12
[INFO] [stdout]      |
[INFO] [stdout] 45   | impl<'a, T: ?Sized + 'a> LockTestExt<'a> for Mutex<T> {
[INFO] [stdout]      |             ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:6629:39
[INFO] [stdout]      |
[INFO] [stdout] 2812 |             if let Ok(msg) = $self.get_channel_update_for_unicast($chan) {
[INFO] [stdout]      |                                    ------------------------------ arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 6629 |                                         peer_state, per_peer_state, chan);
[INFO] [stdout]      |                                                                     ^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3976:5
[INFO] [stdout]      |
[INFO] [stdout] 3976 |     fn get_channel_update_for_unicast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 6629 |                                         peer_state, per_peer_state, &chan);
[INFO] [stdout]      |                                                                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:6629:39
[INFO] [stdout]      |
[INFO] [stdout] 2823 |         let (htlc_forwards, decode_update_add_htlcs) = $self.handle_channel_resumption(
[INFO] [stdout]      |                                                              ------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 6629 |                                         peer_state, per_peer_state, chan);
[INFO] [stdout]      |                                                                     ^^^^ expected `&mut Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected mutable reference `&mut Channel<SP>`
[INFO] [stdout]                            found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7014:5
[INFO] [stdout]      |
[INFO] [stdout] 7014 |     fn handle_channel_resumption(&self, pending_msg_events: &mut Vec<MessageSendEvent>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7015 |         channel: &mut Channel<SP>, raa: Option<msgs::RevokeAndACK>,
[INFO] [stdout]      |         -------------------------
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 6629 |                                         peer_state, per_peer_state, &mut chan);
[INFO] [stdout]      |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `held_by_thread` exists for struct `Mutex<ClaimablePayments>`, but its trait bounds were not satisfied
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:6922:44
[INFO] [stdout]      |
[INFO] [stdout] 775  | struct ClaimablePayments {
[INFO] [stdout]      | ------------------------ doesn't satisfy `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 6922 |         debug_assert_ne!(self.claimable_payments.held_by_thread(), LockHeldState::HeldByThread);
[INFO] [stdout]      |                                                  ^^^^^^^^^^^^^^ method cannot be called on `Mutex<ClaimablePayments>` due to unsatisfied trait bounds
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]      |
[INFO] [stdout] 8    | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]      | --------------------------- method `held_by_thread` not found for this struct because it doesn't satisfy `_: LockTestExt<'_>`
[INFO] [stdout]      |
[INFO] [stdout] note: trait bound `ClaimablePayments: core::marker::Sized` was not satisfied
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:45:10
[INFO] [stdout]      |
[INFO] [stdout] 45   | impl<'a, T: 'a> LockTestExt<'a> for Mutex<T> {
[INFO] [stdout]      |          ^      ---------------     --------
[INFO] [stdout]      |          |
[INFO] [stdout]      |          unsatisfied trait bound introduced here
[INFO] [stdout] note: the trait `core::marker::Sized` must be implemented
[INFO] [stdout]     --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/marker.rs:146:1
[INFO] [stdout]      = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `LockTestExt` defines an item `held_by_thread`, perhaps you need to implement it
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/mod.rs:10:1
[INFO] [stdout]      |
[INFO] [stdout] 10   | pub(crate) trait LockTestExt<'a> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider relaxing the type parameter's implicit `Sized` bound
[INFO] [stdout]     -->  /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:45:12
[INFO] [stdout]      |
[INFO] [stdout] 45   | impl<'a, T: ?Sized + 'a> LockTestExt<'a> for Mutex<T> {
[INFO] [stdout]      |             ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:6936:28
[INFO] [stdout]      |
[INFO] [stdout] 6936 | ...                   blockers.get_mut().retain(|blocker|
[INFO] [stdout]      |                                          ^^^^^^ cannot infer type for type parameter `V` declared on the enum `Entry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `PendingMPPClaimPointer` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:6938:14
[INFO] [stdout]      |
[INFO] [stdout] 6938 | ...                   if *pending_claim == claim_ptr {
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<ClaimablePayments>`, but its trait bounds were not satisfied
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:6963:44
[INFO] [stdout]      |
[INFO] [stdout] 775  | struct ClaimablePayments {
[INFO] [stdout]      | ------------------------ doesn't satisfy `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 6963 |                     let payment = self.claimable_payments.lock().unwrap().pending_claiming_payments.remove(&payment_hash);
[INFO] [stdout]      |                                                           ^^^^ method cannot be called on `Mutex<ClaimablePayments>` due to unsatisfied trait bounds
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]      |
[INFO] [stdout] 8    | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]      | --------------------------- method `lock` not found for this struct
[INFO] [stdout]      |
[INFO] [stdout]      = note: the following trait bounds were not satisfied:
[INFO] [stdout]              `{type error}: core::marker::Sized`
[INFO] [stdout]              which is required by `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7156:88
[INFO] [stdout]      |
[INFO] [stdout] 2812 |             if let Ok(msg) = $self.get_channel_update_for_unicast($chan) {
[INFO] [stdout]      |                                    ------------------------------ arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 7156 |         handle_monitor_update_completion!(self, peer_state_lock, peer_state, per_peer_state, channel);
[INFO] [stdout]      |                                                                                              ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3976:5
[INFO] [stdout]      |
[INFO] [stdout] 3976 |     fn get_channel_update_for_unicast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 7156 |         handle_monitor_update_completion!(self, peer_state_lock, peer_state, per_peer_state, &channel);
[INFO] [stdout]      |                                                                                              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7156:88
[INFO] [stdout]      |
[INFO] [stdout] 2823 |         let (htlc_forwards, decode_update_add_htlcs) = $self.handle_channel_resumption(
[INFO] [stdout]      |                                                              ------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 7156 |         handle_monitor_update_completion!(self, peer_state_lock, peer_state, per_peer_state, channel);
[INFO] [stdout]      |                                                                                              ^^^^^^^ expected `&mut Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected mutable reference `&mut Channel<SP>`
[INFO] [stdout]                            found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7014:5
[INFO] [stdout]      |
[INFO] [stdout] 7014 |     fn handle_channel_resumption(&self, pending_msg_events: &mut Vec<MessageSendEvent>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7015 |         channel: &mut Channel<SP>, raa: Option<msgs::RevokeAndACK>,
[INFO] [stdout]      |         -------------------------
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 7156 |         handle_monitor_update_completion!(self, peer_state_lock, peer_state, per_peer_state, &mut channel);
[INFO] [stdout]      |                                                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 | ...e_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                                              -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 | ...han_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 7505 | ...   try_chan_phase_entry!(self, chan.accept_channel(&msg, &self.default_configuration.channel_handshake_limits, &peer_state.latest_features), phas...
[INFO] [stdout]      |       ------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7608:26
[INFO] [stdout]      |
[INFO] [stdout] 2812 |             if let Ok(msg) = $self.get_channel_update_for_unicast($chan) {
[INFO] [stdout]      |                                    ------------------------------ arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 7608 |                                     per_peer_state, chan, INITIAL_MONITOR);
[INFO] [stdout]      |                                                     ^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3976:5
[INFO] [stdout]      |
[INFO] [stdout] 3976 |     fn get_channel_update_for_unicast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 7608 |                                     per_peer_state, &chan, INITIAL_MONITOR);
[INFO] [stdout]      |                                                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7608:26
[INFO] [stdout]      |
[INFO] [stdout] 2823 |         let (htlc_forwards, decode_update_add_htlcs) = $self.handle_channel_resumption(
[INFO] [stdout]      |                                                              ------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 7608 |                                     per_peer_state, chan, INITIAL_MONITOR);
[INFO] [stdout]      |                                                     ^^^^ expected `&mut Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected mutable reference `&mut Channel<SP>`
[INFO] [stdout]                            found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7014:5
[INFO] [stdout]      |
[INFO] [stdout] 7014 |     fn handle_channel_resumption(&self, pending_msg_events: &mut Vec<MessageSendEvent>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7015 |         channel: &mut Channel<SP>, raa: Option<msgs::RevokeAndACK>,
[INFO] [stdout]      |         -------------------------
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 7608 |                                     per_peer_state, &mut chan, INITIAL_MONITOR);
[INFO] [stdout]      |                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 |   ...r, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                               -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 |   ...elf, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                 ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 7700 |   ...opt = try_chan_phase_entry!(self, chan.channel_ready(&msg, &self.node_signer,
[INFO] [stdout]      |  __________-
[INFO] [stdout] 7701 | | ...self.default_configuration, &self.best_block.read().unwrap(), &&logger), chan_phase_entry);
[INFO] [stdout]      | |_____________________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7715:60
[INFO] [stdout]      |
[INFO] [stdout] 7715 |                         if let Ok(msg) = self.get_channel_update_for_unicast(chan) {
[INFO] [stdout]      |                                               ------------------------------ ^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |                                               |
[INFO] [stdout]      |                                               arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3976:5
[INFO] [stdout]      |
[INFO] [stdout] 3976 |     fn get_channel_update_for_unicast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 7715 |                         if let Ok(msg) = self.get_channel_update_for_unicast(&chan) {
[INFO] [stdout]      |                                                                              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 |   ...vert_chan_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok(...
[INFO] [stdout]      |                                                                                              -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 |   ...     convert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 7730 | / ...         try_chan_phase_entry!(self, Err(ChannelError::close(
[INFO] [stdout] 7731 | | ...             "Got a channel_ready message for an unfunded channel!".into())), chan_phase_entry)
[INFO] [stdout]      | |__________________________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 |   ...$channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                            -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 |   ..., $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |              ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 7764 |   ...r_update_opt, htlcs) = try_chan_phase_entry!(self,
[INFO] [stdout]      |  ___________________________-
[INFO] [stdout] 7765 | | ...lf.signer_provider, &peer_state.latest_features, &msg), chan_phase_entry);
[INFO] [stdout]      | |____________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7780:54
[INFO] [stdout]      |
[INFO] [stdout] 2812 |             if let Ok(msg) = $self.get_channel_update_for_unicast($chan) {
[INFO] [stdout]      |                                    ------------------------------ arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 7780 |                                 peer_state_lock, peer_state, per_peer_state, chan);
[INFO] [stdout]      |                                                                              ^^^^ expected `&Channel<SP>`, found `Channel<SP>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<_>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3976:5
[INFO] [stdout]      |
[INFO] [stdout] 3976 |     fn get_channel_update_for_unicast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 7780 |                                 peer_state_lock, peer_state, per_peer_state, &chan);
[INFO] [stdout]      |                                                                              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7780:54
[INFO] [stdout]      |
[INFO] [stdout] 2823 |         let (htlc_forwards, decode_update_add_htlcs) = $self.handle_channel_resumption(
[INFO] [stdout]      |                                                              ------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 7780 |                                 peer_state_lock, peer_state, per_peer_state, chan);
[INFO] [stdout]      |                                                                              ^^^^ expected `&mut Channel<SP>`, found `Channel<SP>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected mutable reference `&mut Channel<_>`
[INFO] [stdout]                            found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7014:5
[INFO] [stdout]      |
[INFO] [stdout] 7014 |     fn handle_channel_resumption(&self, pending_msg_events: &mut Vec<MessageSendEvent>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7015 |         channel: &mut Channel<SP>, raa: Option<msgs::RevokeAndACK>,
[INFO] [stdout]      |         -------------------------
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 7780 |                                 peer_state_lock, peer_state, per_peer_state, &mut chan);
[INFO] [stdout]      |                                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 | ...channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                         -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 | ... $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |           ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 7829 | ...x, shutdown_result) = try_chan_phase_entry!(self, chan.closing_signed(&self.fee_estimator, &msg, &&logger), chan_phase_entry);
[INFO] [stdout]      |                          ------------------------------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 |   ...an_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                                                       -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 |   ...nvert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                         ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 7846 |   ...      return try_chan_phase_entry!(self, Err(ChannelError::close(
[INFO] [stdout]      |  _________________-
[INFO] [stdout] 7847 | | ...          "Got a closing_signed message for an unfunded channel!".into())), chan_phase_entry);
[INFO] [stdout]      | |________________________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7928:98
[INFO] [stdout]      |
[INFO] [stdout] 7928 | ...                   let (real_code, error_data) = self.get_htlc_inbound_temp_fail_err_and_data(error_code, chan);
[INFO] [stdout]      |                                                          ---------------------------------------             ^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |                                                          |
[INFO] [stdout]      |                                                          arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:6216:5
[INFO] [stdout]      |
[INFO] [stdout] 6216 |     fn get_htlc_inbound_temp_fail_err_and_data(&self, desired_err_code: u16, chan: &Channel<SP>) -> (u16, Vec<u8>) {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                               ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 7928 |                                         let (real_code, error_data) = self.get_htlc_inbound_temp_fail_err_and_data(error_code, &chan);
[INFO] [stdout]      |                                                                                                                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 | ...rt_chan_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                                                          -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 | ...   convert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                            ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 7944 | ...       try_chan_phase_entry!(self, chan.update_add_htlc(&msg, pending_forward_info, &self.fee_estimator), chan_phase_entry);
[INFO] [stdout]      |           -------------------------------------------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 |   ...chan_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                                                         -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 |   ...convert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                           ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 7946 |   ...    return try_chan_phase_entry!(self, Err(ChannelError::close(
[INFO] [stdout]      |  _______________-
[INFO] [stdout] 7947 | | ...        "Got an update_add_htlc message for an unfunded channel!".into())), chan_phase_entry);
[INFO] [stdout]      | |________________________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 | ...n_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                                                    -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 | ...vert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                      ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 7970 | ...     let res = try_chan_phase_entry!(self, chan.update_fulfill_htlc(&msg), chan_phase_entry);
[INFO] [stdout]      |                   ----------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 |   ...an_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                                                       -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 |   ...nvert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                         ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 7990 |   ...      return try_chan_phase_entry!(self, Err(ChannelError::close(
[INFO] [stdout]      |  _________________-
[INFO] [stdout] 7991 | | ...          "Got an update_fulfill_htlc message for an unfunded channel!".into())), chan_phase_entry);
[INFO] [stdout]      | |______________________________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 | ...vert_chan_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok(...
[INFO] [stdout]      |                                                                                            -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 | ...     convert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                              ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 8019 | ...         try_chan_phase_entry!(self, chan.update_fail_htlc(&msg, HTLCFailReason::from_msg(msg)), chan_phase_entry);
[INFO] [stdout]      |             --------------------------------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 |   ...chan_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                                                         -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 |   ...convert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                           ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 8021 |   ...    return try_chan_phase_entry!(self, Err(ChannelError::close(
[INFO] [stdout]      |  _______________-
[INFO] [stdout] 8022 | | ...        "Got an update_fail_htlc message for an unfunded channel!".into())), chan_phase_entry);
[INFO] [stdout]      | |_________________________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 | ...vert_chan_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok(...
[INFO] [stdout]      |                                                                                            -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 | ...     convert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                              ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 8045 | ...         try_chan_phase_entry!(self, Err(chan_err), chan_phase_entry);
[INFO] [stdout]      |             ------------------------------------------------------------ in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 | ...han_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                                                      -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 | ...onvert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                        ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 8048 | ...   try_chan_phase_entry!(self, chan.update_fail_malformed_htlc(&msg, HTLCFailReason::reason(msg.failure_code, msg.sha256_of_onion.to_vec())), chan_phase_entr...
[INFO] [stdout]      |       ------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 |   ...chan_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                                                         -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 |   ...convert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                           ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 8050 |   ...    return try_chan_phase_entry!(self, Err(ChannelError::close(
[INFO] [stdout]      |  _______________-
[INFO] [stdout] 8051 | | ...        "Got an update_fail_malformed_htlc message for an unfunded channel!".into())), chan_phase_entry);
[INFO] [stdout]      | |___________________________________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 | ...rr, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                              -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 | ...self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 8073 | ...t = try_chan_phase_entry!(self, chan.commitment_signed(&msg, &&logger), chan_phase_entry);
[INFO] [stdout]      |        ------------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:8076:36
[INFO] [stdout]      |
[INFO] [stdout] 2812 |             if let Ok(msg) = $self.get_channel_update_for_unicast($chan) {
[INFO] [stdout]      |                                    ------------------------------ arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 8076 |                             peer_state, per_peer_state, chan);
[INFO] [stdout]      |                                                         ^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3976:5
[INFO] [stdout]      |
[INFO] [stdout] 3976 |     fn get_channel_update_for_unicast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 8076 |                             peer_state, per_peer_state, &chan);
[INFO] [stdout]      |                                                         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:8076:36
[INFO] [stdout]      |
[INFO] [stdout] 2823 |         let (htlc_forwards, decode_update_add_htlcs) = $self.handle_channel_resumption(
[INFO] [stdout]      |                                                              ------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 8076 |                             peer_state, per_peer_state, chan);
[INFO] [stdout]      |                                                         ^^^^ expected `&mut Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected mutable reference `&mut Channel<SP>`
[INFO] [stdout]                            found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7014:5
[INFO] [stdout]      |
[INFO] [stdout] 7014 |     fn handle_channel_resumption(&self, pending_msg_events: &mut Vec<MessageSendEvent>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7015 |         channel: &mut Channel<SP>, raa: Option<msgs::RevokeAndACK>,
[INFO] [stdout]      |         -------------------------
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 8076 |                             peer_state, per_peer_state, &mut chan);
[INFO] [stdout]      |                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 |   ...chan_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                                                         -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 |   ...convert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                           ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 8080 |   ...    return try_chan_phase_entry!(self, Err(ChannelError::close(
[INFO] [stdout]      |  _______________-
[INFO] [stdout] 8081 | | ...        "Got a commitment_signed message for an unfunded channel!".into())), chan_phase_entry);
[INFO] [stdout]      | |_________________________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 |   ...$channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                            -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 |   ..., $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |              ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 8273 |   ...onitor_update_opt) = try_chan_phase_entry!(self,
[INFO] [stdout]      |  _________________________-
[INFO] [stdout] 8274 | | ...ck(&msg, &self.fee_estimator, &&logger, mon_update_blocked), chan_phase_entry);
[INFO] [stdout]      | |_________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:8279:54
[INFO] [stdout]      |
[INFO] [stdout] 2812 |             if let Ok(msg) = $self.get_channel_update_for_unicast($chan) {
[INFO] [stdout]      |                                    ------------------------------ arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 8279 |                                 peer_state_lock, peer_state, per_peer_state, chan);
[INFO] [stdout]      |                                                                              ^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3976:5
[INFO] [stdout]      |
[INFO] [stdout] 3976 |     fn get_channel_update_for_unicast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 8279 |                                 peer_state_lock, peer_state, per_peer_state, &chan);
[INFO] [stdout]      |                                                                              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:8279:54
[INFO] [stdout]      |
[INFO] [stdout] 2823 |         let (htlc_forwards, decode_update_add_htlcs) = $self.handle_channel_resumption(
[INFO] [stdout]      |                                                              ------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 8279 |                                 peer_state_lock, peer_state, per_peer_state, chan);
[INFO] [stdout]      |                                                                              ^^^^ expected `&mut Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected mutable reference `&mut Channel<SP>`
[INFO] [stdout]                            found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7014:5
[INFO] [stdout]      |
[INFO] [stdout] 7014 |     fn handle_channel_resumption(&self, pending_msg_events: &mut Vec<MessageSendEvent>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7015 |         channel: &mut Channel<SP>, raa: Option<msgs::RevokeAndACK>,
[INFO] [stdout]      |         -------------------------
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 8279 |                                 peer_state_lock, peer_state, per_peer_state, &mut chan);
[INFO] [stdout]      |                                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 |   ...an_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                                                       -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 |   ...nvert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                         ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 8283 |   ...      return try_chan_phase_entry!(self, Err(ChannelError::close(
[INFO] [stdout]      |  _________________-
[INFO] [stdout] 8284 | | ...          "Got a revoke_and_ack message for an unfunded channel!".into())), chan_phase_entry);
[INFO] [stdout]      | |________________________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 | ...vert_chan_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok(...
[INFO] [stdout]      |                                                                                            -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 | ...     convert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                              ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 8307 | ...         try_chan_phase_entry!(self, chan.update_fee(&self.fee_estimator, &msg, &&logger), chan_phase_entry);
[INFO] [stdout]      |             --------------------------------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 |   ...chan_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                                                         -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 |   ...convert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                           ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 8309 |   ...    return try_chan_phase_entry!(self, Err(ChannelError::close(
[INFO] [stdout]      |  _______________-
[INFO] [stdout] 8310 | | ...        "Got an update_fee message for an unfunded channel!".into())), chan_phase_entry);
[INFO] [stdout]      | |___________________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 |           convert_chan_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($chan...
[INFO] [stdout]      |                                                                                                      -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 |                   convert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                        ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 8335 |                           msg: try_chan_phase_entry!(self, chan.announcement_signatures(
[INFO] [stdout]      |  ______________________________-
[INFO] [stdout] 8336 | |                             &self.node_signer, self.chain_hash, self.best_block.read().unwrap().height,
[INFO] [stdout] 8337 | |                             msg, &self.default_configuration
[INFO] [stdout] 8338 | |                         ), chan_phase_entry),
[INFO] [stdout]      | |____________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:8341:62
[INFO] [stdout]      |
[INFO] [stdout] 8341 |                         update_msg: Some(self.get_channel_update_for_broadcast(chan).unwrap()),
[INFO] [stdout]      |                                               -------------------------------- ^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |                                               |
[INFO] [stdout]      |                                               arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 8341 |                         update_msg: Some(self.get_channel_update_for_broadcast(&chan).unwrap()),
[INFO] [stdout]      |                                                                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 |   ...chan_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                                                         -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 |   ...convert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                           ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 8344 |   ...    return try_chan_phase_entry!(self, Err(ChannelError::close(
[INFO] [stdout]      |  _______________-
[INFO] [stdout] 8345 | | ...        "Got an announcement_signatures message for an unfunded channel!".into())), chan_phase_entry);
[INFO] [stdout]      | |________________________________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 | ...se_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                                               -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 | ...chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                 ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 8388 | ...let did_change = try_chan_phase_entry!(self, chan.channel_update(&msg), chan_phase_entry);
[INFO] [stdout]      |                     ------------------------------------------------------------------------ in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 |   ...chan_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                                                         -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 |   ...convert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                           ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 8396 |   ...    return try_chan_phase_entry!(self, Err(ChannelError::close(
[INFO] [stdout]      |  _______________-
[INFO] [stdout] 8397 | | ...        "Got a channel_update for an unfunded channel!".into())), chan_phase_entry);
[INFO] [stdout]      | |______________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 |           convert_chan_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($chan...
[INFO] [stdout]      |                                                                                                      -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 |                   convert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                        ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 8427 |                           let responses = try_chan_phase_entry!(self, chan.channel_reestablish(
[INFO] [stdout]      |  _________________________________________-
[INFO] [stdout] 8428 | |                             msg, &&logger, &self.node_signer, self.chain_hash,
[INFO] [stdout] 8429 | |                             &self.default_configuration, &*self.best_block.read().unwrap()), chan_phase_entry);
[INFO] [stdout]      | |______________________________________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:8440:61
[INFO] [stdout]      |
[INFO] [stdout] 8440 | ...                   if let Ok(msg) = self.get_channel_update_for_unicast(chan) {
[INFO] [stdout]      |                                             ------------------------------ ^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3976:5
[INFO] [stdout]      |
[INFO] [stdout] 3976 |     fn get_channel_update_for_unicast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 8440 |                             if let Ok(msg) = self.get_channel_update_for_unicast(&chan) {
[INFO] [stdout]      |                                                                                  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:8449:44
[INFO] [stdout]      |
[INFO] [stdout] 8448 |                         let (htlc_forwards, decode_update_add_htlcs) = self.handle_channel_resumption(
[INFO] [stdout]      |                                                                             ------------------------- arguments to this method are incorrect
[INFO] [stdout] 8449 |                             &mut peer_state.pending_msg_events, chan, responses.raa, responses.commitment_update, responses.order,
[INFO] [stdout]      |                                                                 ^^^^ expected `&mut Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected mutable reference `&mut Channel<SP>`
[INFO] [stdout]                            found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7014:5
[INFO] [stdout]      |
[INFO] [stdout] 7014 |     fn handle_channel_resumption(&self, pending_msg_events: &mut Vec<MessageSendEvent>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7015 |         channel: &mut Channel<SP>, raa: Option<msgs::RevokeAndACK>,
[INFO] [stdout]      |         -------------------------
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 8449 |                             &mut peer_state.pending_msg_events, &mut chan, responses.raa, responses.commitment_update, responses.order,
[INFO] [stdout]      |                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:2671:42
[INFO] [stdout]      |
[INFO] [stdout] 2663 |   ...an_phase_err!($self, $err, $channel, $channel_id, MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                                                                       -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 2671 |   ...nvert_chan_phase_err!($self, $err, channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                         ^^^^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout] ...
[INFO] [stdout] 8458 |   ...      return try_chan_phase_entry!(self, Err(ChannelError::close(
[INFO] [stdout]      |  _________________-
[INFO] [stdout] 8459 | | ...          "Got a channel_reestablish message for an unfunded channel!".into())), chan_phase_entry);
[INFO] [stdout]      | |_____________________________________________________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout]      = note: this error originates in the macro `convert_chan_phase_err` which comes from the expansion of the macro `try_chan_phase_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 2671 |                 convert_chan_phase_err!($self, $err, &channel, $channel_id, FUNDED_CHANNEL)
[INFO] [stdout]      |                                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:8795:70
[INFO] [stdout]      |
[INFO] [stdout] 2663 | ..., MANUAL_CHANNEL_UPDATE, { $self.get_channel_update_for_broadcast($channel).ok() })
[INFO] [stdout]      |                                     -------------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 8795 | ...vert_chan_phase_err!(self, e, chan, channel_id, FUNDED_CHANNEL);
[INFO] [stdout]      |                                  ^^^^ expected `&Channel<SP>`, found `Channel<SP>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<_>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 8795 |                                     let (close_channel, res) = convert_chan_phase_err!(self, e, &chan, channel_id, FUNDED_CHANNEL);
[INFO] [stdout]      |                                                                                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:9492:35
[INFO] [stdout]      |
[INFO] [stdout] 9492 |                         inflight_htlcs.process_path(path, self.get_our_node_id());
[INFO] [stdout]      |                                        ------------ ^^^^ expected `&Path`, found `Path`
[INFO] [stdout]      |                                        |
[INFO] [stdout]      |                                        arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/router.rs:315:9
[INFO] [stdout]      |
[INFO] [stdout] 315  |     pub fn process_path(&mut self, path: &Path, payer_node_id: PublicKey) {
[INFO] [stdout]      |            ^^^^^^^^^^^^            -----------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 9492 |                         inflight_htlcs.process_path(&path, self.get_our_node_id());
[INFO] [stdout]      |                                                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:9574:53
[INFO] [stdout]      |
[INFO] [stdout] 2812 |             if let Ok(msg) = $self.get_channel_update_for_unicast($chan) {
[INFO] [stdout]      |                                    ------------------------------ arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 9574 |                                 peer_state_lck, peer_state, per_peer_state, chan);
[INFO] [stdout]      |                                                                             ^^^^ expected `&Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<SP>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3976:5
[INFO] [stdout]      |
[INFO] [stdout] 3976 |     fn get_channel_update_for_unicast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 9574 |                                 peer_state_lck, peer_state, per_peer_state, &chan);
[INFO] [stdout]      |                                                                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:9574:53
[INFO] [stdout]      |
[INFO] [stdout] 2823 |         let (htlc_forwards, decode_update_add_htlcs) = $self.handle_channel_resumption(
[INFO] [stdout]      |                                                              ------------------------- arguments to this method are incorrect
[INFO] [stdout] ...
[INFO] [stdout] 9574 |                                 peer_state_lck, peer_state, per_peer_state, chan);
[INFO] [stdout]      |                                                                             ^^^^ expected `&mut Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected mutable reference `&mut Channel<SP>`
[INFO] [stdout]                            found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:7014:5
[INFO] [stdout]      |
[INFO] [stdout] 7014 |     fn handle_channel_resumption(&self, pending_msg_events: &mut Vec<MessageSendEvent>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7015 |         channel: &mut Channel<SP>, raa: Option<msgs::RevokeAndACK>,
[INFO] [stdout]      |         -------------------------
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 9574 |                                 peer_state_lck, peer_state, per_peer_state, &mut chan);
[INFO] [stdout]      |                                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:9923:20
[INFO] [stdout]      |
[INFO] [stdout] 9923 | ...                   let res = f(channel);
[INFO] [stdout]      |                                 - ^^^^^^^ expected `&mut Channel<SP>`, found `Channel<_>`
[INFO] [stdout]      |                                 |
[INFO] [stdout]      |                                 arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected mutable reference `&mut Channel<SP>`
[INFO] [stdout]                            found struct `Channel<_>`
[INFO] [stdout] note: callable defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:9900:24
[INFO] [stdout]      |
[INFO] [stdout] 9900 | ...N: Fn(&mut Channel<SP>) -> Result<(Option<msgs::ChannelReady>, Vec<(HTLCSource, PaymentHash)>, Option<msgs::AnnouncementSignatures>), ClosureReaso...
[INFO] [stdout]      |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 9923 |                             let res = f(&mut channel);
[INFO] [stdout]      |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:9935:64
[INFO] [stdout]      |
[INFO] [stdout] 9935 | ...                   if let Ok(msg) = self.get_channel_update_for_unicast(channel) {
[INFO] [stdout]      |                                             ------------------------------ ^^^^^^^ expected `&Channel<SP>`, found `Channel<SP>`
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<_>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3976:5
[INFO] [stdout]      |
[INFO] [stdout] 3976 |     fn get_channel_update_for_unicast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 9935 |                                         if let Ok(msg) = self.get_channel_update_for_unicast(&channel) {
[INFO] [stdout]      |                                                                                              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:9963:68
[INFO] [stdout]      |
[INFO] [stdout] 9963 | ...                   update_msg: Some(self.get_channel_update_for_broadcast(channel).unwrap()),
[INFO] [stdout]      |                                             -------------------------------- ^^^^^^^ expected `&Channel<SP>`, found `Channel<SP>`
[INFO] [stdout]      |                                             |
[INFO] [stdout]      |                                             arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected reference `&Channel<_>`
[INFO] [stdout]                    found struct `Channel<_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:3950:5
[INFO] [stdout]      |
[INFO] [stdout] 3950 |     fn get_channel_update_for_broadcast(&self, chan: &Channel<SP>) -> Result<msgs::ChannelUpdate, LightningError> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ------------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 9963 |                                                 update_msg: Some(self.get_channel_update_for_broadcast(&channel).unwrap()),
[INFO] [stdout]      |                                                                                                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<ClaimablePayments>`, but its trait bounds were not satisfied
[INFO] [stdout]      --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:10014:28
[INFO] [stdout]       |
[INFO] [stdout] 775   | struct ClaimablePayments {
[INFO] [stdout]       | ------------------------ doesn't satisfy `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 10014 |             self.claimable_payments.lock().unwrap().claimable_payments.retain(|payment_hash, payment| {
[INFO] [stdout]       |                                     ^^^^ method cannot be called on `Mutex<ClaimablePayments>` due to unsatisfied trait bounds
[INFO] [stdout]       |
[INFO] [stdout]      ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]       |
[INFO] [stdout] 8     | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]       | --------------------------- method `lock` not found for this struct
[INFO] [stdout]       |
[INFO] [stdout]       = note: the following trait bounds were not satisfied:
[INFO] [stdout]               `{type error}: core::marker::Sized`
[INFO] [stdout]               which is required by `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<ClaimablePayments>`, but its trait bounds were not satisfied
[INFO] [stdout]      --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:11529:52
[INFO] [stdout]       |
[INFO] [stdout] 775   | struct ClaimablePayments {
[INFO] [stdout]       | ------------------------ doesn't satisfy `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 11529 |         let claimable_payments = self.claimable_payments.lock().unwrap();
[INFO] [stdout]       |                                                          ^^^^ method cannot be called on `Mutex<ClaimablePayments>` due to unsatisfied trait bounds
[INFO] [stdout]       |
[INFO] [stdout]      ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]       |
[INFO] [stdout] 8     | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]       | --------------------------- method `lock` not found for this struct
[INFO] [stdout]       |
[INFO] [stdout]       = note: the following trait bounds were not satisfied:
[INFO] [stdout]               `{type error}: core::marker::Sized`
[INFO] [stdout]               which is required by `ClaimablePayments: core::marker::Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]      --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/util/ser_macros.rs:204:26
[INFO] [stdout]       |
[INFO] [stdout] 204   |               let field_len = field.serialized_length();
[INFO] [stdout]       |                                     ^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]       |
[INFO] [stdout]      ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:11664:3
[INFO] [stdout]       |
[INFO] [stdout] 11664 | /         write_tlv_fields!(writer, {
[INFO] [stdout] 11665 | |             (1, pending_outbound_payments_no_retry, required),
[INFO] [stdout] 11666 | |             (2, pending_intercepted_htlcs, option),
[INFO] [stdout] 11667 | |             (3, pending_outbound_payments, required),
[INFO] [stdout] ...     |
[INFO] [stdout] 11677 | |             (14, decode_update_add_htlcs_opt, option),
[INFO] [stdout] 11678 | |         });
[INFO] [stdout]       | |__________- in this macro invocation
[INFO] [stdout]       |
[INFO] [stdout]       = note: this error originates in the macro `$crate::_get_varint_length_prefixed_tlv_length` which comes from the expansion of the macro `write_tlv_fields` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]      --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/util/ser_macros.rs:204:26
[INFO] [stdout]       |
[INFO] [stdout] 204   |               let field_len = field.serialized_length();
[INFO] [stdout]       |                                     ^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]       |
[INFO] [stdout]      ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:11664:3
[INFO] [stdout]       |
[INFO] [stdout] 11664 | /         write_tlv_fields!(writer, {
[INFO] [stdout] 11665 | |             (1, pending_outbound_payments_no_retry, required),
[INFO] [stdout] 11666 | |             (2, pending_intercepted_htlcs, option),
[INFO] [stdout] 11667 | |             (3, pending_outbound_payments, required),
[INFO] [stdout] ...     |
[INFO] [stdout] 11677 | |             (14, decode_update_add_htlcs_opt, option),
[INFO] [stdout] 11678 | |         });
[INFO] [stdout]       | |__________- in this macro invocation
[INFO] [stdout]       |
[INFO] [stdout]       = note: this error originates in the macro `$crate::_get_varint_length_prefixed_tlv_length` which comes from the expansion of the macro `write_tlv_fields` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]      --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/util/ser_macros.rs:53:18
[INFO] [stdout]       |
[INFO] [stdout] 53    |               BigSize(field.serialized_length() as u64).write($stream)?;
[INFO] [stdout]       |                             ^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]       |
[INFO] [stdout]      ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:11664:3
[INFO] [stdout]       |
[INFO] [stdout] 11664 | /         write_tlv_fields!(writer, {
[INFO] [stdout] 11665 | |             (1, pending_outbound_payments_no_retry, required),
[INFO] [stdout] 11666 | |             (2, pending_intercepted_htlcs, option),
[INFO] [stdout] 11667 | |             (3, pending_outbound_payments, required),
[INFO] [stdout] ...     |
[INFO] [stdout] 11677 | |             (14, decode_update_add_htlcs_opt, option),
[INFO] [stdout] 11678 | |         });
[INFO] [stdout]       | |__________- in this macro invocation
[INFO] [stdout]       |
[INFO] [stdout]       = note: this error originates in the macro `$crate::_encode_tlv` which comes from the expansion of the macro `write_tlv_fields` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]      --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/util/ser_macros.rs:53:18
[INFO] [stdout]       |
[INFO] [stdout] 53    |               BigSize(field.serialized_length() as u64).write($stream)?;
[INFO] [stdout]       |                             ^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout]       |
[INFO] [stdout]      ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:11664:3
[INFO] [stdout]       |
[INFO] [stdout] 11664 | /         write_tlv_fields!(writer, {
[INFO] [stdout] 11665 | |             (1, pending_outbound_payments_no_retry, required),
[INFO] [stdout] 11666 | |             (2, pending_intercepted_htlcs, option),
[INFO] [stdout] 11667 | |             (3, pending_outbound_payments, required),
[INFO] [stdout] ...     |
[INFO] [stdout] 11677 | |             (14, decode_update_add_htlcs_opt, option),
[INFO] [stdout] 11678 | |         });
[INFO] [stdout]       | |__________- in this macro invocation
[INFO] [stdout]       |
[INFO] [stdout]       = note: this error originates in the macro `$crate::_encode_tlv` which comes from the expansion of the macro `write_tlv_fields` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]      --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:11905:73
[INFO] [stdout]       |
[INFO] [stdout] 11905 |                 if channel.get_cur_holder_commitment_transaction_number() > monitor.get_cur_holder_commitment_number() ||
[INFO] [stdout]       |                                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `PaymentPreimage` cannot be dereferenced
[INFO] [stdout]      --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/channelmanager.rs:12533:50
[INFO] [stdout]       |
[INFO] [stdout] 12533 |                         events::PaymentPurpose::SpontaneousPayment(*payment_preimage),
[INFO] [stdout]       |                                                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/peer_handler.rs:1200:13
[INFO] [stdout]      |
[INFO] [stdout] 1200 | ...                   self.enqueue_message(peer, &next_onion_message);
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^ cannot infer type for type parameter `Descriptor`
[INFO] [stdout]      |
[INFO] [stdout]      = note: cannot satisfy `_: SocketDescriptor`
[INFO] [stdout] note: required by a bound in `PeerManager::<Descriptor, CM, RM, OM, L, CMH, NS>::enqueue_message`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/peer_handler.rs:959:18
[INFO] [stdout]      |
[INFO] [stdout] 959  | impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: Deref, L: Deref, CMH: Deref, NS: Deref> PeerManager<Descriptor, CM, RM, OM, ...
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^ required by this bound in `PeerManager::<Descriptor, CM, RM, OM, L, CMH, NS>::enqueue_message`
[INFO] [stdout] ...
[INFO] [stdout] 1344 |     fn enqueue_message<M: wire::Type>(&self, peer: &mut Peer, message: &M) {
[INFO] [stdout]      |        --------------- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/peer_handler.rs:1620:28
[INFO] [stdout]      |
[INFO] [stdout] 1620 |         let message = match self.do_handle_message_holding_peer_lock(peer_lock, message, &their_node_id, &logger)? {
[INFO] [stdout]      |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `Descriptor`
[INFO] [stdout]      |
[INFO] [stdout]      = note: cannot satisfy `_: SocketDescriptor`
[INFO] [stdout] note: required by a bound in `PeerManager::<Descriptor, CM, RM, OM, L, CMH, NS>::do_handle_message_holding_peer_lock`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/peer_handler.rs:959:18
[INFO] [stdout]      |
[INFO] [stdout] 959  | impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: Deref, L: Deref, CMH: Deref, NS: Deref> PeerManager<Descriptor, CM, RM, OM, ...
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^ required by this bound in `PeerManager::<Descriptor, CM, RM, OM, L, CMH, NS>::do_handle_message_holding_peer_lock`
[INFO] [stdout] ...
[INFO] [stdout] 1632 |     fn do_handle_message_holding_peer_lock<'a>(
[INFO] [stdout]      |        ----------------------------------- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/peer_handler.rs:1663:28
[INFO] [stdout]      |
[INFO] [stdout] 1663 |             let our_features = self.init_features(&their_node_id);
[INFO] [stdout]      |                                     ^^^^^^^^^^^^^ cannot infer type for type parameter `Descriptor`
[INFO] [stdout]      |
[INFO] [stdout]      = note: cannot satisfy `_: SocketDescriptor`
[INFO] [stdout] note: required by a bound in `PeerManager::<Descriptor, CM, RM, OM, L, CMH, NS>::init_features`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/peer_handler.rs:959:18
[INFO] [stdout]      |
[INFO] [stdout] 959  | impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: Deref, L: Deref, CMH: Deref, NS: Deref> PeerManager<Descriptor, CM, RM, OM, ...
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^ required by this bound in `PeerManager::<Descriptor, CM, RM, OM, L, CMH, NS>::init_features`
[INFO] [stdout] ...
[INFO] [stdout] 1061 |     fn init_features(&self, their_node_id: &PublicKey) -> InitFeatures {
[INFO] [stdout]      |        ------------- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/peer_handler.rs:1771:11
[INFO] [stdout]      |
[INFO] [stdout] 1771 |                     self.enqueue_message(&mut *peer_mutex.lock().unwrap(), &resp);
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^ cannot infer type for type parameter `Descriptor`
[INFO] [stdout]      |
[INFO] [stdout]      = note: cannot satisfy `_: SocketDescriptor`
[INFO] [stdout] note: required by a bound in `PeerManager::<Descriptor, CM, RM, OM, L, CMH, NS>::enqueue_message`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/peer_handler.rs:959:18
[INFO] [stdout]      |
[INFO] [stdout] 959  | impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: Deref, L: Deref, CMH: Deref, NS: Deref> PeerManager<Descriptor, CM, RM, OM, ...
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^ required by this bound in `PeerManager::<Descriptor, CM, RM, OM, L, CMH, NS>::enqueue_message`
[INFO] [stdout] ...
[INFO] [stdout] 1344 |     fn enqueue_message<M: wire::Type>(&self, peer: &mut Peer, message: &M) {
[INFO] [stdout]      |        --------------- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/peer_handler.rs:2520:9
[INFO] [stdout]      |
[INFO] [stdout] 2520 |             self.enqueue_message(peer, &ping);
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^ cannot infer type for type parameter `Descriptor`
[INFO] [stdout]      |
[INFO] [stdout]      = note: cannot satisfy `_: SocketDescriptor`
[INFO] [stdout] note: required by a bound in `PeerManager::<Descriptor, CM, RM, OM, L, CMH, NS>::enqueue_message`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/peer_handler.rs:959:18
[INFO] [stdout]      |
[INFO] [stdout] 959  | impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: Deref, L: Deref, CMH: Deref, NS: Deref> PeerManager<Descriptor, CM, RM, OM, ...
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^ required by this bound in `PeerManager::<Descriptor, CM, RM, OM, L, CMH, NS>::enqueue_message`
[INFO] [stdout] ...
[INFO] [stdout] 1344 |     fn enqueue_message<M: wire::Type>(&self, peer: &mut Peer, message: &M) {
[INFO] [stdout]      |        --------------- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Retry` cannot be dereferenced
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:794:28
[INFO] [stdout]     |
[INFO] [stdout] 794 |                     retry_strategy = Some(*retry);
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Option<u64>` cannot be dereferenced
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:795:35
[INFO] [stdout]     |
[INFO] [stdout] 795 |                     max_total_routing_fee_msat = *max_total_fee;
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Retry` cannot be dereferenced
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:798:23
[INFO] [stdout]     |
[INFO] [stdout] 798 |                         retry_strategy: *retry,
[INFO] [stdout]     |                                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `types::payment::PaymentHash` cannot be dereferenced
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:922:38
[INFO] [stdout]     |
[INFO] [stdout] 922 | ...                   retry_id_route_params = Some((*payment_hash, *pmt_id, RouteParameters {
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:923:27
[INFO] [stdout]     |
[INFO] [stdout] 923 | ...                   final_value_msat: *total_msat - *pending_amt_msat,
[INFO] [stdout]     |                                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:923:41
[INFO] [stdout]     |
[INFO] [stdout] 923 | ...                   final_value_msat: *total_msat - *pending_amt_msat,
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Option<u64>` cannot be dereferenced
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:925:37
[INFO] [stdout]     |
[INFO] [stdout] 925 | ...                   max_total_routing_fee_msat: *remaining_max_total_routing_fee_msat,
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `types::payment::PaymentHash` cannot be dereferenced
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:946:26
[INFO] [stdout]     |
[INFO] [stdout] 946 |                         payment_hash: Some(*payment_hash),
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Option<PaymentFailureReason>` cannot be dereferenced
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:947:15
[INFO] [stdout]     |
[INFO] [stdout] 947 |                         reason: *reason,
[INFO] [stdout]     |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:1131:28
[INFO] [stdout]      |
[INFO] [stdout] 1131 | ...                   if retry_amt_msat + *pending_amt_msat > *total_msat * (100 + RETRY_OVERFLOW_PERCENTAGE) / 100 {
[INFO] [stdout]      |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:1131:48
[INFO] [stdout]      |
[INFO] [stdout] 1131 | ...                   if retry_amt_msat + *pending_amt_msat > *total_msat * (100 + RETRY_OVERFLOW_PERCENTAGE) / 100 {
[INFO] [stdout]      |                                                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Option<PaymentFailureReason>` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:1113:16
[INFO] [stdout]      |
[INFO] [stdout] 1113 | ...                   reason: *reason,
[INFO] [stdout]      |                               ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1133 | ...                       abandon_with_entry!(payment, PaymentFailureReason::UnexpectedError);
[INFO] [stdout]      |                           ------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `abandon_with_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Option<PaymentFailureReason>` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:1113:16
[INFO] [stdout]      |
[INFO] [stdout] 1113 | ...                   reason: *reason,
[INFO] [stdout]      |                               ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1139 | ...                       abandon_with_entry!(payment, PaymentFailureReason::RetriesExhausted);
[INFO] [stdout]      |                           -------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `abandon_with_entry` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:1143:25
[INFO] [stdout]      |
[INFO] [stdout] 1143 | ...                   let total_msat = *total_msat;
[INFO] [stdout]      |                                        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Option<lightning_invoice::PaymentSecret>` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:1145:25
[INFO] [stdout]      |
[INFO] [stdout] 1145 | ...                   payment_secret: *payment_secret,
[INFO] [stdout]      |                                       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Option<PaymentPreimage>` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:1149:31
[INFO] [stdout]      |
[INFO] [stdout] 1149 | ...                   let keysend_preimage = *keysend_preimage;
[INFO] [stdout]      |                                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u8` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:1671:6
[INFO] [stdout]      |
[INFO] [stdout] 1671 |                     *timer_ticks_without_htlcs += 1;
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u8` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:1672:6
[INFO] [stdout]      |
[INFO] [stdout] 1672 |                     *timer_ticks_without_htlcs <= IDEMPOTENCY_TIMEOUT_TICKS
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u8` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:1674:6
[INFO] [stdout]      |
[INFO] [stdout] 1674 |                     *timer_ticks_without_htlcs = 0;
[INFO] [stdout]      |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Duration` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:1681:7
[INFO] [stdout]      |
[INFO] [stdout] 1681 |                         *absolute_expiry <= duration_since_epoch
[INFO] [stdout]      |                         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:1684:10
[INFO] [stdout]      |
[INFO] [stdout] 1684 |                         if *timer_ticks_remaining > 0 {
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:1685:8
[INFO] [stdout]      |
[INFO] [stdout] 1685 | ...                   *timer_ticks_remaining -= 1;
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `types::payment::PaymentHash` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:1783:27
[INFO] [stdout]      |
[INFO] [stdout] 1783 | ...                   payment_hash: Some(*payment_hash),
[INFO] [stdout]      |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Option<PaymentFailureReason>` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:1784:16
[INFO] [stdout]      |
[INFO] [stdout] 1784 | ...                   reason: *reason,
[INFO] [stdout]      |                               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `types::payment::PaymentHash` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:1852:26
[INFO] [stdout]      |
[INFO] [stdout] 1852 |                         payment_hash: Some(*payment_hash),
[INFO] [stdout]      |                                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `Option<PaymentFailureReason>` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/ln/outbound_payment.rs:1853:15
[INFO] [stdout]      |
[INFO] [stdout] 1853 |                         reason: *reason,
[INFO] [stdout]      |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<PendingChecksContext>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/utxo.rs:192:59
[INFO] [stdout]     |
[INFO] [stdout] 192 |             let mut pending_checks = graph.pending_checks.internal.lock().unwrap();
[INFO] [stdout]     |                                                                    ^^^^ method cannot be called on `Mutex<PendingChecksContext>` due to unsatisfied trait bounds
[INFO] [stdout] ...
[INFO] [stdout] 277 | struct PendingChecksContext {
[INFO] [stdout]     | --------------------------- doesn't satisfy `PendingChecksContext: core::marker::Sized`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]     |
[INFO] [stdout] 8   | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]     | --------------------------- method `lock` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: core::marker::Sized`
[INFO] [stdout]             which is required by `PendingChecksContext: core::marker::Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<PendingChecksContext>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/utxo.rs:320:42
[INFO] [stdout]     |
[INFO] [stdout] 277 | struct PendingChecksContext {
[INFO] [stdout]     | --------------------------- doesn't satisfy `PendingChecksContext: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 320 |         let mut pending_checks = self.internal.lock().unwrap();
[INFO] [stdout]     |                                                ^^^^ method cannot be called on `Mutex<PendingChecksContext>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]     |
[INFO] [stdout] 8   | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]     | --------------------------- method `lock` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: core::marker::Sized`
[INFO] [stdout]             which is required by `PendingChecksContext: core::marker::Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/utxo.rs:323:10
[INFO] [stdout]     |
[INFO] [stdout] 323 |             match Weak::upgrade(e.get()) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `Weak`
[INFO] [stdout] 324 |                 Some(msgs_ref) => {
[INFO] [stdout] 325 |                     let mut messages = msgs_ref.lock().unwrap();
[INFO] [stdout]     |                                                 ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying the generic arguments
[INFO] [stdout]     |
[INFO] [stdout] 323 |             match Weak::<T, A>::upgrade(e.get()) {
[INFO] [stdout]     |                       ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<PendingChecksContext>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/utxo.rs:356:42
[INFO] [stdout]     |
[INFO] [stdout] 277 | struct PendingChecksContext {
[INFO] [stdout]     | --------------------------- doesn't satisfy `PendingChecksContext: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 356 |         let mut pending_checks = self.internal.lock().unwrap();
[INFO] [stdout]     |                                                ^^^^ method cannot be called on `Mutex<PendingChecksContext>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]     |
[INFO] [stdout] 8   | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]     | --------------------------- method `lock` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: core::marker::Sized`
[INFO] [stdout]             which is required by `PendingChecksContext: core::marker::Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `alloc::sync::Weak<_, _>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/utxo.rs:359:24
[INFO] [stdout]     |
[INFO] [stdout] 359 |             e.get_mut().retain(|node_msgs| {
[INFO] [stdout]     |                                 ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |                         let mut chan_msgs = chan_mtx.lock().unwrap();
[INFO] [stdout]     |                                                      ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the type for type parameter `T` is specified
[INFO] [stdout]     |
[INFO] [stdout] 359 |             e.get_mut().retain(|node_msgs: alloc::sync::Weak<T, A>| {
[INFO] [stdout]     |                                          +++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/utxo.rs:407:11
[INFO] [stdout]     |
[INFO] [stdout] 407 |                 match Weak::upgrade(&e.get()) {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `Weak`
[INFO] [stdout] ...
[INFO] [stdout] 412 |                         let pending_matches = match &pending_msgs.unsafe_well_ordered_double_lock_self().channel_announce {
[INFO] [stdout]     |                                                                   ------------------------------------ type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying the generic arguments
[INFO] [stdout]     |
[INFO] [stdout] 407 |                 match Weak::<T, A>::upgrade(&e.get()) {
[INFO] [stdout]     |                           ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/utxo.rs:413:77
[INFO] [stdout]     |
[INFO] [stdout] 413 | ...                   Some(ChannelAnnouncement::Full(pending_msg)) => Some(pending_msg) == full_msg,
[INFO] [stdout]     |                                                                                            ^^^^^^^^ expected `Option<ChannelAnnouncement>`, found `Option<&ChannelAnnouncement>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<msgs::ChannelAnnouncement>`
[INFO] [stdout]                found enum `Option<&msgs::ChannelAnnouncement>`
[INFO] [stdout] help: use `Option::cloned` to clone the value inside the `Option`
[INFO] [stdout]     |
[INFO] [stdout] 413 |                             Some(ChannelAnnouncement::Full(pending_msg)) => Some(pending_msg) == full_msg.cloned(),
[INFO] [stdout]     |                                                                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/utxo.rs:414:75
[INFO] [stdout]     |
[INFO] [stdout] 414 | ...                   Some(ChannelAnnouncement::Unsigned(pending_msg)) => pending_msg == msg,
[INFO] [stdout]     |                                                                           -----------    ^^^ expected `UnsignedChannelAnnouncement`, found `&UnsignedChannelAnnouncement`
[INFO] [stdout]     |                                                                           |
[INFO] [stdout]     |                                                                           expected because this is `UnsignedChannelAnnouncement`
[INFO] [stdout]     |
[INFO] [stdout] help: consider dereferencing the borrow
[INFO] [stdout]     |
[INFO] [stdout] 414 |                             Some(ChannelAnnouncement::Unsigned(pending_msg)) => pending_msg == *msg,
[INFO] [stdout]     |                                                                                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<PendingChecksContext>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/utxo.rs:491:23
[INFO] [stdout]     |
[INFO] [stdout] 277 | struct PendingChecksContext {
[INFO] [stdout]     | --------------------------- doesn't satisfy `PendingChecksContext: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 491 |             &mut self.internal.lock().unwrap().channels)?;
[INFO] [stdout]     |                                ^^^^ method cannot be called on `Mutex<PendingChecksContext>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]     |
[INFO] [stdout] 8   | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]     | --------------------------- method `lock` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: core::marker::Sized`
[INFO] [stdout]             which is required by `PendingChecksContext: core::marker::Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<PendingChecksContext>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/utxo.rs:502:46
[INFO] [stdout]     |
[INFO] [stdout] 277 | struct PendingChecksContext {
[INFO] [stdout]     | --------------------------- doesn't satisfy `PendingChecksContext: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 502 |                         let mut pending_checks = self.internal.lock().unwrap();
[INFO] [stdout]     |                                                                ^^^^ method cannot be called on `Mutex<PendingChecksContext>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]     |
[INFO] [stdout] 8   | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]     | --------------------------- method `lock` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: core::marker::Sized`
[INFO] [stdout]             which is required by `PendingChecksContext: core::marker::Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `lock` exists for struct `Mutex<PendingChecksContext>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/utxo.rs:543:42
[INFO] [stdout]     |
[INFO] [stdout] 277 | struct PendingChecksContext {
[INFO] [stdout]     | --------------------------- doesn't satisfy `PendingChecksContext: core::marker::Sized`
[INFO] [stdout] ...
[INFO] [stdout] 543 |         let mut pending_checks = self.internal.lock().unwrap();
[INFO] [stdout]     |                                                ^^^^ method cannot be called on `Mutex<PendingChecksContext>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/sync/nostd_sync.rs:8:1
[INFO] [stdout]     |
[INFO] [stdout] 8   | pub struct Mutex<T: ?Sized> {
[INFO] [stdout]     | --------------------------- method `lock` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: core::marker::Sized`
[INFO] [stdout]             which is required by `PendingChecksContext: core::marker::Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:1528:14
[INFO] [stdout]      |
[INFO] [stdout] 1528 |             chan_info.write(writer)?;
[INFO] [stdout]      |                       ^^^^^ cannot infer type for type parameter `V`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:1534:14
[INFO] [stdout]      |
[INFO] [stdout] 1534 |             node_info.write(writer)?;
[INFO] [stdout]      |                       ^^^^^ cannot infer type for type parameter `V`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `node_counter` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:1573:65
[INFO] [stdout]      |
[INFO] [stdout] 1573 |                 nodes.get(&chan.node_one).ok_or(DecodeError::InvalidValue)?.node_counter;
[INFO] [stdout]      |                                                                             ^^^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `node_counter` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:1575:65
[INFO] [stdout]      |
[INFO] [stdout] 1575 |                 nodes.get(&chan.node_two).ok_or(DecodeError::InvalidValue)?.node_counter;
[INFO] [stdout]      |                                                                             ^^^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:1602:21
[INFO] [stdout]      |
[INFO] [stdout] 1602 |         for (key, val) in self.channels.read().unwrap().unordered_iter() {
[INFO] [stdout]      |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `V`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:1661:14
[INFO] [stdout]      |
[INFO] [stdout] 1661 |                 assert!((node.node_counter as usize) < next_counter);
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `V`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `node_counter` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:1661:19
[INFO] [stdout]      |
[INFO] [stdout] 1661 |                 assert!((node.node_counter as usize) < next_counter);
[INFO] [stdout]      |                               ^^^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `node_one_counter` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:1677:21
[INFO] [stdout]      |
[INFO] [stdout] 1677 |                 assert_eq!(chan.node_one_counter, nodes.get(&chan.node_one).unwrap().node_counter);
[INFO] [stdout]      |                                 ^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `node_counter` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:1677:74
[INFO] [stdout]      |
[INFO] [stdout] 1677 |                 assert_eq!(chan.node_one_counter, nodes.get(&chan.node_one).unwrap().node_counter);
[INFO] [stdout]      |                                                                                      ^^^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `node_counter` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:1678:74
[INFO] [stdout]      |
[INFO] [stdout] 1678 |                 assert_eq!(chan.node_two_counter, nodes.get(&chan.node_two).unwrap().node_counter);
[INFO] [stdout]      |                                                                                      ^^^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&mut _`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:1894:10
[INFO] [stdout]      |
[INFO] [stdout] 1894 |                     let node = node_entry.into_mut();
[INFO] [stdout]      |                         ^^^^
[INFO] [stdout] 1895 |                     node.channels.push(short_channel_id);
[INFO] [stdout]      |                     ------------- type must be known at this point
[INFO] [stdout]      |
[INFO] [stdout] help: consider giving `node` an explicit type, where the type for type parameter `V` is specified
[INFO] [stdout]      |
[INFO] [stdout] 1894 |                     let node: &mut V = node_entry.into_mut();
[INFO] [stdout]      |                             ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `channels` on type `&mut _`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:1895:11
[INFO] [stdout]      |
[INFO] [stdout] 1895 |                     node.channels.push(short_channel_id);
[INFO] [stdout]      |                          ^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:1937:8
[INFO] [stdout]      |
[INFO] [stdout] 1937 |                 if chan.capacity_sats.is_some() {
[INFO] [stdout]      |                    ^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `V`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `capacity_sats` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:1937:13
[INFO] [stdout]      |
[INFO] [stdout] 1937 |                 if chan.capacity_sats.is_some() {
[INFO] [stdout]      |                         ^^^^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `channels` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:2055:33
[INFO] [stdout]      |
[INFO] [stdout] 2055 |                         if other_node_entry.get().channels.is_empty() {
[INFO] [stdout]      |                                                   ^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `node_counter` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:2056:58
[INFO] [stdout]      |
[INFO] [stdout] 2056 | ...                   removed_node_counters.push(other_node_entry.get().node_counter);
[INFO] [stdout]      |                                                                         ^^^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:2336:9
[INFO] [stdout]      |
[INFO] [stdout] 2336 |                     if entry.get().channels.is_empty() {
[INFO] [stdout]      |                        ^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] ...
[INFO] [stdout] 2346 |         remove_from_node!(chan.node_one);
[INFO] [stdout]      |         -------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `remove_from_node` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `channels` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:2336:21
[INFO] [stdout]      |
[INFO] [stdout] 2336 |                     if entry.get().channels.is_empty() {
[INFO] [stdout]      |                                    ^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 2346 |         remove_from_node!(chan.node_one);
[INFO] [stdout]      |         -------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `remove_from_node` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `node_counter` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:2337:67
[INFO] [stdout]      |
[INFO] [stdout] 2337 |                         self.removed_node_counters.lock().unwrap().push(entry.get().node_counter);
[INFO] [stdout]      |                                                                                     ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 2346 |         remove_from_node!(chan.node_one);
[INFO] [stdout]      |         -------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `remove_from_node` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `channels` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:2336:21
[INFO] [stdout]      |
[INFO] [stdout] 2336 |                     if entry.get().channels.is_empty() {
[INFO] [stdout]      |                                    ^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 2347 |         remove_from_node!(chan.node_two);
[INFO] [stdout]      |         -------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `remove_from_node` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `node_counter` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:2337:67
[INFO] [stdout]      |
[INFO] [stdout] 2337 |                         self.removed_node_counters.lock().unwrap().push(entry.get().node_counter);
[INFO] [stdout]      |                                                                                     ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 2347 |         remove_from_node!(chan.node_two);
[INFO] [stdout]      |         -------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `remove_from_node` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:2393:15
[INFO] [stdout]      |
[INFO] [stdout] 2393 |             .and_then(|node| node.announcement_info.as_ref().map(|ann| ann.addresses().to_vec()))
[INFO] [stdout]      |                        ^^^^  ---------------------- type must be known at this point
[INFO] [stdout]      |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the type for type parameter `V` is specified
[INFO] [stdout]      |
[INFO] [stdout] 2393 |             .and_then(|node: &V| node.announcement_info.as_ref().map(|ann| ann.addresses().to_vec()))
[INFO] [stdout]      |                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `announcement_info` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/gossip.rs:2393:26
[INFO] [stdout]      |
[INFO] [stdout] 2393 |             .and_then(|node| node.announcement_info.as_ref().map(|ann| ann.addresses().to_vec()))
[INFO] [stdout]      |                                   ^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/router.rs:117:4
[INFO] [stdout]     |
[INFO] [stdout] 117 |             network_graph.nodes().contains_key(&NodeId::from_pubkey(&recipient));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `V`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/router.rs:1613:10
[INFO] [stdout]      |
[INFO] [stdout] 1613 |             .map(|node| node.node_counter)
[INFO] [stdout]      |                   ^^^^  ----------------- type must be known at this point
[INFO] [stdout]      |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the type for type parameter `V` is specified
[INFO] [stdout]      |
[INFO] [stdout] 1613 |             .map(|node: &V| node.node_counter)
[INFO] [stdout]      |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `node_counter` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/router.rs:1613:21
[INFO] [stdout]      |
[INFO] [stdout] 1613 |             .map(|node| node.node_counter)
[INFO] [stdout]      |                              ^^^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `node_counter` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/router.rs:1638:44
[INFO] [stdout]      |
[INFO] [stdout] 1638 |                     .map(|(node_id, node)| (node_id, node.node_counter))
[INFO] [stdout]      |                                                           ^^^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `announcement_info` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/router.rs:2202:55
[INFO] [stdout]      |
[INFO] [stdout] 2202 |         network_nodes.get(&payee).map_or(false, |node| node.announcement_info.as_ref().map_or(false,
[INFO] [stdout]      |                                                             ^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `node_counter` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/router.rs:2680:56
[INFO] [stdout]      |
[INFO] [stdout] 2680 |             let skip_node = if let Some(elem) = &mut dist[$node.node_counter as usize] {
[INFO] [stdout]      |                                                                 ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 2814 |                 add_entries_to_cheapest_to_target_node!(node, payee, path_value_msat, 0, 0);
[INFO] [stdout]      |                 --------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `add_entries_to_cheapest_to_target_node` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `features` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/router.rs:2727:16
[INFO] [stdout]      |
[INFO] [stdout] 2727 |                         if !chan.features.requires_unknown_bits() {
[INFO] [stdout]      |                                  ^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 2814 |                 add_entries_to_cheapest_to_target_node!(node, payee, path_value_msat, 0, 0);
[INFO] [stdout]      |                 --------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `add_entries_to_cheapest_to_target_node` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/router.rs:2910:18
[INFO] [stdout]      |
[INFO] [stdout] 2910 |                         .and_then(|channel| channel.as_directed_to(target))
[INFO] [stdout]      |                                    ^^^^^^^          -------------- type must be known at this point
[INFO] [stdout]      |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the type for type parameter `V` is specified
[INFO] [stdout]      |
[INFO] [stdout] 2910 |                         .and_then(|channel: &V| channel.as_directed_to(target))
[INFO] [stdout]      |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `announcement_info` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/router.rs:3070:38
[INFO] [stdout]      |
[INFO] [stdout] 3070 | ...                   if let Some(node_info) = node.announcement_info.as_ref() {
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `node_counter` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/router.rs:2680:56
[INFO] [stdout]      |
[INFO] [stdout] 2680 |               let skip_node = if let Some(elem) = &mut dist[$node.node_counter as usize] {
[INFO] [stdout]      |                                                                   ^^^^^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 3180 | /                     add_entries_to_cheapest_to_target_node!(node, node_id,
[INFO] [stdout] 3181 | |                         value_contribution_msat,
[INFO] [stdout] 3182 | |                         total_cltv_delta, path_length_to_node);
[INFO] [stdout]      | |______________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `add_entries_to_cheapest_to_target_node` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `features` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/router.rs:2727:16
[INFO] [stdout]      |
[INFO] [stdout] 2727 |                           if !chan.features.requires_unknown_bits() {
[INFO] [stdout]      |                                    ^^^^^^^^ unknown field
[INFO] [stdout] ...
[INFO] [stdout] 3180 | /                     add_entries_to_cheapest_to_target_node!(node, node_id,
[INFO] [stdout] 3181 | |                         value_contribution_msat,
[INFO] [stdout] 3182 | |                         total_cltv_delta, path_length_to_node);
[INFO] [stdout]      | |______________________________________________________________- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout]      = note: this error originates in the macro `add_entries_to_cheapest_to_target_node` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/router.rs:3441:20
[INFO] [stdout]      |
[INFO] [stdout] 3441 |                         .checked_rem(cur_node.channels.len())
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `V`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `channels` on type `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/router.rs:3441:29
[INFO] [stdout]      |
[INFO] [stdout] 3441 |                         .checked_rem(cur_node.channels.len())
[INFO] [stdout]      |                                               ^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `Option<&_>`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/router.rs:3443:17
[INFO] [stdout]      |
[INFO] [stdout] 3443 |                         .and_then(|id| network_channels.get(id)) {
[INFO] [stdout]      |                                   ^^^^
[INFO] [stdout] 3444 |                             random_channel.as_directed_from(&cur_node_id).map(|(dir_info, next_id)| {
[INFO] [stdout]      |                                            ---------------- type must be known at this point
[INFO] [stdout]      |
[INFO] [stdout] help: try giving this closure an explicit return type
[INFO] [stdout]      |
[INFO] [stdout] 3443 |                         .and_then(|id| -> Option<&V> { network_channels.get(id) }) {
[INFO] [stdout]      |                                        +++++++++++++++                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/scoring.rs:846:51
[INFO] [stdout]     |
[INFO] [stdout] 846 |                     if let Some((directed_info, _)) = chan_debug.as_directed_to(target) {
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^ cannot infer type for type parameter `V`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/scoring.rs:898:49
[INFO] [stdout]     |
[INFO] [stdout] 898 |                 if let Some((directed_info, source)) = chan.as_directed_to(target) {
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^ cannot infer type for type parameter `V`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/scoring.rs:940:49
[INFO] [stdout]     |
[INFO] [stdout] 940 |                 if let Some((directed_info, source)) = chan.as_directed_to(target) {
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^ cannot infer type for type parameter `V`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/scoring.rs:971:49
[INFO] [stdout]     |
[INFO] [stdout] 971 |                 if let Some((directed_info, source)) = chan.as_directed_to(target) {
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^ cannot infer type for type parameter `V`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/scoring.rs:1377:16
[INFO] [stdout]      |
[INFO] [stdout] 1377 |                 .and_then(|channel| channel.as_directed_to(&target));
[INFO] [stdout]      |                            ^^^^^^^          -------------- type must be known at this point
[INFO] [stdout]      |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the type for type parameter `V` is specified
[INFO] [stdout]      |
[INFO] [stdout] 1377 |                 .and_then(|channel: &V| channel.as_directed_to(&target));
[INFO] [stdout]      |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&_`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/scoring.rs:1419:16
[INFO] [stdout]      |
[INFO] [stdout] 1419 |                 .and_then(|channel| channel.as_directed_to(&target));
[INFO] [stdout]      |                            ^^^^^^^          -------------- type must be known at this point
[INFO] [stdout]      |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the type for type parameter `V` is specified
[INFO] [stdout]      |
[INFO] [stdout] 1419 |                 .and_then(|channel: &V| channel.as_directed_to(&target));
[INFO] [stdout]      |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/onion_message/messenger.rs:520:4
[INFO] [stdout]     |
[INFO] [stdout] 520 |             network_graph.nodes().contains_key(&NodeId::from_pubkey(&recipient));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `V`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/onion_message/messenger.rs:1719:64
[INFO] [stdout]      |
[INFO] [stdout] 1719 |             OnionMessageRecipient::PendingConnection(_, None, ticks) => *ticks < MAX_TIMER_TICKS,
[INFO] [stdout]      |                                                                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/onion_message/messenger.rs:1728:5
[INFO] [stdout]      |
[INFO] [stdout] 1728 |                 *ticks += 1;
[INFO] [stdout]      |                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `(&NodeId, &_)`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/blinded_path/mod.rs:116:56
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 network_graph.nodes().get_key_value(&node_id).map(|(key, _)| key)
[INFO] [stdout]     |                 ---------------------------------------------      ^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the type for type parameter `V` is specified
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 network_graph.nodes().get_key_value(&node_id).map(|(key, _): (&NodeId, &V)| key)
[INFO] [stdout]     |                                                                            +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0283, E0308, E0433, E0463, E0599, E0609, E0614.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lightning` (lib) due to 241 previous errors
[INFO] running `Command { std: "docker" "inspect" "2035277e2e09723cd548af176518473cdb4f7634b89c897076e71dbb5b4a3200", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2035277e2e09723cd548af176518473cdb4f7634b89c897076e71dbb5b4a3200", kill_on_drop: false }`
[INFO] [stdout] 2035277e2e09723cd548af176518473cdb4f7634b89c897076e71dbb5b4a3200
