[INFO] fetching crate rgb-lightning 0.0.1... [INFO] checking rgb-lightning-0.0.1 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate rgb-lightning 0.0.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate rgb-lightning 0.0.1 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rgb-lightning 0.0.1 [INFO] finished tweaking crates.io crate rgb-lightning 0.0.1 [INFO] tweaked toml for crates.io crate rgb-lightning 0.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "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] Locking 27 packages [INFO] [stderr] Adding ahash v0.3.8 (latest: v0.8.11) [INFO] [stderr] Adding bech32 v0.9.1 (latest: v0.11.0) [INFO] [stderr] Adding bitcoin v0.29.2 (latest: v0.31.2) [INFO] [stderr] Adding bitcoin_hashes v0.11.0 (latest: v0.14.0) [INFO] [stderr] Adding bitcoinconsensus v0.20.2-0.5.0 (latest: v0.106.0+26.0) [INFO] [stderr] Adding core2 v0.3.3 (latest: v0.4.0) [INFO] [stderr] Adding hashbrown v0.8.2 (latest: v0.14.3) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding secp256k1 v0.24.3 (latest: v0.29.0) [INFO] [stderr] Adding secp256k1-sys v0.6.1 (latest: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoinconsensus v0.20.2-0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 138fbe9740685bb4af9406bb79906cddbf9f1dd4fcde0d5ae176f266da75e303 [INFO] running `Command { std: "docker" "start" "-a" "138fbe9740685bb4af9406bb79906cddbf9f1dd4fcde0d5ae176f266da75e303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "138fbe9740685bb4af9406bb79906cddbf9f1dd4fcde0d5ae176f266da75e303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "138fbe9740685bb4af9406bb79906cddbf9f1dd4fcde0d5ae176f266da75e303", kill_on_drop: false }` [INFO] [stdout] 138fbe9740685bb4af9406bb79906cddbf9f1dd4fcde0d5ae176f266da75e303 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e37bf5d5cc09b7aef05f37ecbe7b091e1f551b25ecdb9aa3e1e64426065c313 [INFO] running `Command { std: "docker" "start" "-a" "7e37bf5d5cc09b7aef05f37ecbe7b091e1f551b25ecdb9aa3e1e64426065c313", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking bitcoin_hashes v0.11.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling bitcoinconsensus v0.20.2-0.5.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Checking bitcoin v0.29.2 [INFO] [stderr] Checking rgb-lightning v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/util/errors.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sized` is imported redundantly [INFO] [stdout] --> src/util/ser.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use core::marker::Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Sized` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/ln/channelmanager.rs:1011:8 [INFO] [stdout] | [INFO] [stdout] 1011 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/ln/channelmanager.rs:1017:8 [INFO] [stdout] | [INFO] [stdout] 1017 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/ln/inbound_payment.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/ln/peer_handler.rs:1984:9 [INFO] [stdout] | [INFO] [stdout] 1984 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsMut` is imported redundantly [INFO] [stdout] --> src/ln/onion_utils.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | use core::convert::{AsMut, TryInto}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsMut` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/lib.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | pub use alloc::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/lib.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | pub use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLockWriteGuard` [INFO] [stdout] --> src/lib.rs:188:82 [INFO] [stdout] | [INFO] [stdout] 188 | pub use ::std::sync::{Arc, Mutex, Condvar, MutexGuard, RwLock, RwLockReadGuard, RwLockWriteGuard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/util/errors.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sized` is imported redundantly [INFO] [stdout] --> src/util/ser.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use core::marker::Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Sized` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/util/wakers.rs:233:19 [INFO] [stdout] | [INFO] [stdout] 230 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] ... [INFO] [stdout] 233 | use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/util/wakers.rs:233:28 [INFO] [stdout] | [INFO] [stdout] 230 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] ... [INFO] [stdout] 233 | use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Waker` is imported redundantly [INFO] [stdout] --> src/util/wakers.rs:233:60 [INFO] [stdout] | [INFO] [stdout] 230 | use super::*; [INFO] [stdout] | -------- the item `Waker` is already imported here [INFO] [stdout] ... [INFO] [stdout] 233 | use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Transaction` is imported redundantly [INFO] [stdout] --> src/util/transaction_utils.rs:74:40 [INFO] [stdout] | [INFO] [stdout] 72 | use super::*; [INFO] [stdout] | -------- the item `Transaction` is already imported here [INFO] [stdout] 73 | [INFO] [stdout] 74 | use bitcoin::blockdata::transaction::{Transaction, TxOut, TxIn, OutPoint}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TxOut` is imported redundantly [INFO] [stdout] --> src/util/transaction_utils.rs:74:53 [INFO] [stdout] | [INFO] [stdout] 72 | use super::*; [INFO] [stdout] | -------- the item `TxOut` is already imported here [INFO] [stdout] 73 | [INFO] [stdout] 74 | use bitcoin::blockdata::transaction::{Transaction, TxOut, TxIn, OutPoint}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Script` is imported redundantly [INFO] [stdout] --> src/util/transaction_utils.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 72 | use super::*; [INFO] [stdout] | -------- the item `Script` is already imported here [INFO] [stdout] ... [INFO] [stdout] 75 | use bitcoin::blockdata::script::{Script, Builder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/util/test_utils.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use regex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(any(test, fuzzing, feature = "_test_utils"))] extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/chain/channelmonitor.rs:3997:6 [INFO] [stdout] | [INFO] [stdout] 3997 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/chain/transaction.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/ln/channelmanager.rs:1011:8 [INFO] [stdout] | [INFO] [stdout] 1011 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/ln/channelmanager.rs:1017:8 [INFO] [stdout] | [INFO] [stdout] 1017 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/ln/inbound_payment.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/ln/msgs.rs:1937:6 [INFO] [stdout] | [INFO] [stdout] 1937 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/ln/peer_handler.rs:1984:9 [INFO] [stdout] | [INFO] [stdout] 1984 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/ln/chan_utils.rs:1633:14 [INFO] [stdout] | [INFO] [stdout] 1633 | use crate::{hex, chain}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/ln/peer_channel_encryptor.rs:528:6 [INFO] [stdout] | [INFO] [stdout] 528 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/ln/channel.rs:6793:6 [INFO] [stdout] | [INFO] [stdout] 6793 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsMut` is imported redundantly [INFO] [stdout] --> src/ln/onion_utils.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | use core::convert::{AsMut, TryInto}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsMut` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/ln/onion_utils.rs:889:6 [INFO] [stdout] | [INFO] [stdout] 889 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/ln/functional_tests.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use regex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(any(test, fuzzing, feature = "_test_utils"))] extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/ln/functional_tests.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/ln/priv_short_conf_tests.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/ln/reload_tests.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/ln/onion_route_tests.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/ln/shutdown_tests.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use regex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(any(test, fuzzing, feature = "_test_utils"))] extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/ln/shutdown_tests.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/routing/gossip.rs:1950:6 [INFO] [stdout] | [INFO] [stdout] 1950 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/routing/router.rs:2157:6 [INFO] [stdout] | [INFO] [stdout] 2157 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/routing/test_utils.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/lib.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | pub use alloc::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/lib.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | pub use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routing/router.rs:841:8 [INFO] [stdout] | [INFO] [stdout] 841 | let mut cur_hop = &mut self.hops.get_mut(i).unwrap().0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routing/router.rs:841:8 [INFO] [stdout] | [INFO] [stdout] 841 | let mut cur_hop = &mut self.hops.get_mut(i).unwrap().0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `channel_value_msat` and `pending_inbound_htlcs_amount_msat` are never read [INFO] [stdout] --> src/ln/channel.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct ChannelValueStat { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 56 | pub value_to_self_msat: u64, [INFO] [stdout] 57 | pub channel_value_msat: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub pending_inbound_htlcs_amount_msat: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&dyn BroadcasterInterface` instead of cloning the inner type [INFO] [stdout] --> src/ln/reload_tests.rs:373:108 [INFO] [stdout] | [INFO] [stdout] 373 | new_chain_monitor = test_utils::TestChainMonitor::new(Some(nodes[0].chain_source), nodes[0].tx_broadcaster.clone(), &logger, &fee_est... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ln/reload_tests.rs:400:42 [INFO] [stdout] | [INFO] [stdout] 400 | tx_broadcaster: nodes[0].tx_broadcaster.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `TestBroadcaster` does not implement `Clone`, so calling `clone` on `&TestBroadcaster` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 400 - tx_broadcaster: nodes[0].tx_broadcaster.clone(), [INFO] [stdout] 400 + tx_broadcaster: nodes[0].tx_broadcaster, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `TestBroadcaster`, implement `Clone` for it [INFO] [stdout] --> src/util/test_utils.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 234 + #[derive(Clone)] [INFO] [stdout] 235 | pub struct TestBroadcaster { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ln/reload_tests.rs:414:42 [INFO] [stdout] | [INFO] [stdout] 414 | tx_broadcaster: nodes[0].tx_broadcaster.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `TestBroadcaster` does not implement `Clone`, so calling `clone` on `&TestBroadcaster` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 414 - tx_broadcaster: nodes[0].tx_broadcaster.clone(), [INFO] [stdout] 414 + tx_broadcaster: nodes[0].tx_broadcaster, [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `TestBroadcaster`, implement `Clone` for it [INFO] [stdout] --> src/util/test_utils.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 234 + #[derive(Clone)] [INFO] [stdout] 235 | pub struct TestBroadcaster { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.41s [INFO] running `Command { std: "docker" "inspect" "7e37bf5d5cc09b7aef05f37ecbe7b091e1f551b25ecdb9aa3e1e64426065c313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e37bf5d5cc09b7aef05f37ecbe7b091e1f551b25ecdb9aa3e1e64426065c313", kill_on_drop: false }` [INFO] [stdout] 7e37bf5d5cc09b7aef05f37ecbe7b091e1f551b25ecdb9aa3e1e64426065c313 [INFO] checking rgb-lightning-0.0.1 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] extracting crate rgb-lightning 0.0.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate rgb-lightning 0.0.1 on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rgb-lightning 0.0.1 [INFO] finished tweaking crates.io crate rgb-lightning 0.0.1 [INFO] tweaked toml for crates.io crate rgb-lightning 0.0.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d78c416505b950f88d916677b565a8ad64141f1f6e37b79f0ede1812e8e5dca8 [INFO] running `Command { std: "docker" "start" "-a" "d78c416505b950f88d916677b565a8ad64141f1f6e37b79f0ede1812e8e5dca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d78c416505b950f88d916677b565a8ad64141f1f6e37b79f0ede1812e8e5dca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d78c416505b950f88d916677b565a8ad64141f1f6e37b79f0ede1812e8e5dca8", kill_on_drop: false }` [INFO] [stdout] d78c416505b950f88d916677b565a8ad64141f1f6e37b79f0ede1812e8e5dca8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d74d541e08d218df6453d164b4a776c3899c08fcdf3454643d79a74c0dd364ea [INFO] running `Command { std: "docker" "start" "-a" "d74d541e08d218df6453d164b4a776c3899c08fcdf3454643d79a74c0dd364ea", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking bitcoin_hashes v0.11.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling bitcoinconsensus v0.20.2-0.5.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Checking bitcoin v0.29.2 [INFO] [stderr] Checking rgb-lightning v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/util/errors.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sized` is imported redundantly [INFO] [stdout] --> src/util/ser.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use core::marker::Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Sized` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/ln/channelmanager.rs:1011:8 [INFO] [stdout] | [INFO] [stdout] 1011 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/ln/channelmanager.rs:1017:8 [INFO] [stdout] | [INFO] [stdout] 1017 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/ln/inbound_payment.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/ln/peer_handler.rs:1984:9 [INFO] [stdout] | [INFO] [stdout] 1984 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsMut` is imported redundantly [INFO] [stdout] --> src/ln/onion_utils.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | use core::convert::{AsMut, TryInto}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsMut` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/lib.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | pub use alloc::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/lib.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | pub use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLockWriteGuard` [INFO] [stdout] --> src/lib.rs:188:82 [INFO] [stdout] | [INFO] [stdout] 188 | pub use ::std::sync::{Arc, Mutex, Condvar, MutexGuard, RwLock, RwLockReadGuard, RwLockWriteGuard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/util/events.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / impl_writeable_tlv_based_enum!(PaymentPurpose, [INFO] [stdout] 78 | | (0, InvoicePayment) => { [INFO] [stdout] 79 | | (0, payment_preimage, option), [INFO] [stdout] 80 | | (2, payment_secret, required), [INFO] [stdout] 81 | | }; [INFO] [stdout] 82 | | (2, SpontaneousPayment) [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/util/events.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_writeable_tlv_based_enum_upgradable!(ClosureReason, [INFO] [stdout] 161 | | (0, CounterpartyForceClosed) => { (1, peer_msg, required) }, [INFO] [stdout] 162 | | (1, FundingTimedOut) => {}, [INFO] [stdout] 163 | | (2, HolderForceClosed) => {}, [INFO] [stdout] ... | [INFO] [stdout] 168 | | (12, OutdatedChannelManager) => {}, [INFO] [stdout] 169 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum_upgradable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/util/events.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / impl_writeable_tlv_based_enum_upgradable!(HTLCDestination, [INFO] [stdout] 209 | | (0, NextHopChannel) => { [INFO] [stdout] 210 | | (0, node_id, required), [INFO] [stdout] 211 | | (2, channel_id, required), [INFO] [stdout] ... | [INFO] [stdout] 221 | | }, [INFO] [stdout] 222 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum_upgradable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/util/events.rs:447:1 [INFO] [stdout] | [INFO] [stdout] 447 | / impl_writeable_tlv_based_enum!(InterceptNextHop, [INFO] [stdout] 448 | | (0, FakeScid) => { [INFO] [stdout] 449 | | (0, requested_next_hop_scid, required), [INFO] [stdout] 450 | | }; [INFO] [stdout] 451 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/util/events.rs:1162:6 [INFO] [stdout] | [INFO] [stdout] 1162 | / read_tlv_fields!(reader, { [INFO] [stdout] 1163 | | (0, payment_hash, required), [INFO] [stdout] 1164 | | (1, receiver_node_id, option), [INFO] [stdout] 1165 | | (2, payment_secret, option), [INFO] [stdout] ... | [INFO] [stdout] 1170 | | (8, payment_preimage, option), [INFO] [stdout] 1171 | | }); [INFO] [stdout] | |______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/util/config.rs:379:1 [INFO] [stdout] | [INFO] [stdout] 379 | / impl_writeable_tlv_based!(ChannelConfig, { [INFO] [stdout] 380 | | (0, forwarding_fee_proportional_millionths, required), [INFO] [stdout] 381 | | (2, forwarding_fee_base_msat, required), [INFO] [stdout] 382 | | (4, cltv_expiry_delta, required), [INFO] [stdout] ... | [INFO] [stdout] 387 | | (10, force_close_avoidance_max_fee_satoshis, required), [INFO] [stdout] 388 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/util/config.rs:439:3 [INFO] [stdout] | [INFO] [stdout] 439 | / read_tlv_fields!(reader, { [INFO] [stdout] 440 | | (0, forwarding_fee_proportional_millionths, required), [INFO] [stdout] 441 | | (1, max_dust_htlc_exposure_msat, (default_value, 5_000_000u64)), [INFO] [stdout] 442 | | (2, cltv_expiry_delta, required), [INFO] [stdout] ... | [INFO] [stdout] 446 | | (8, forwarding_fee_base_msat, required), [INFO] [stdout] 447 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | read_tlv_fields!(r, {}); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_writeable_tlv_based_enum_upgradable!(MonitorEvent, [INFO] [stdout] 161 | | // Note that Completed and UpdateFailed are currently never serialized to disk as they are [INFO] [stdout] 162 | | // generated only in ChainMonitor [INFO] [stdout] 163 | | (0, Completed) => { [INFO] [stdout] ... | [INFO] [stdout] 170 | | (6, UpdateFailed), [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum_upgradable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:183:1 [INFO] [stdout] | [INFO] [stdout] 183 | / impl_writeable_tlv_based!(HTLCUpdate, { [INFO] [stdout] 184 | | (0, payment_hash, required), [INFO] [stdout] 185 | | (1, htlc_value_satoshis, option), [INFO] [stdout] 186 | | (2, source, required), [INFO] [stdout] 187 | | (4, payment_preimage, option), [INFO] [stdout] 188 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:255:1 [INFO] [stdout] | [INFO] [stdout] 255 | / impl_writeable_tlv_based!(HolderSignedTx, { [INFO] [stdout] 256 | | (0, txid, required), [INFO] [stdout] 257 | | // Note that this is filled in with data from OnchainTxHandler if it's missing. [INFO] [stdout] 258 | | // For HolderSignedTx objects serialized with 0.0.100+, this should be filled in. [INFO] [stdout] ... | [INFO] [stdout] 266 | | (14, htlc_outputs, vec_type) [INFO] [stdout] 267 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:320:4 [INFO] [stdout] | [INFO] [stdout] 320 | / read_tlv_fields!(r, { [INFO] [stdout] 321 | | (0, counterparty_delayed_payment_base_key, required), [INFO] [stdout] 322 | | (2, counterparty_htlc_base_key, required), [INFO] [stdout] 323 | | (4, on_counterparty_tx_csv, required), [INFO] [stdout] 324 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:458:3 [INFO] [stdout] | [INFO] [stdout] 458 | / read_tlv_fields!(reader, { [INFO] [stdout] 459 | | (0, txid, required), [INFO] [stdout] 460 | | (1, transaction, option), [INFO] [stdout] 461 | | (2, height, required), [INFO] [stdout] 462 | | (3, block_hash, option), [INFO] [stdout] 463 | | (4, event, ignorable), [INFO] [stdout] 464 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:473:1 [INFO] [stdout] | [INFO] [stdout] 473 | / impl_writeable_tlv_based_enum_upgradable!(OnchainEvent, [INFO] [stdout] 474 | | (0, HTLCUpdate) => { [INFO] [stdout] 475 | | (0, source, required), [INFO] [stdout] 476 | | (1, htlc_value_satoshis, option), [INFO] [stdout] ... | [INFO] [stdout] 492 | | [INFO] [stdout] 493 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum_upgradable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:540:1 [INFO] [stdout] | [INFO] [stdout] 540 | / impl_writeable_tlv_based_enum_upgradable!(ChannelMonitorUpdateStep, [INFO] [stdout] 541 | | (0, LatestHolderCommitmentTXInfo) => { [INFO] [stdout] 542 | | (0, commitment_tx, required), [INFO] [stdout] 543 | | (2, htlc_outputs, vec_type), [INFO] [stdout] ... | [INFO] [stdout] 563 | | }, [INFO] [stdout] 564 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum_upgradable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:678:3 [INFO] [stdout] | [INFO] [stdout] 678 | / read_tlv_fields!(reader, { [INFO] [stdout] 679 | | (0, mapped_commitment_tx_output_idx, required), [INFO] [stdout] 680 | | (1, resolving_txid, option), [INFO] [stdout] 681 | | (2, payment_preimage, option), [INFO] [stdout] 682 | | (3, resolving_tx, option), [INFO] [stdout] 683 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:3911:3 [INFO] [stdout] | [INFO] [stdout] 3911 | / read_tlv_fields!(reader, { [INFO] [stdout] 3912 | | (1, funding_spend_confirmed, option), [INFO] [stdout] 3913 | | (3, htlcs_resolved_on_chain, vec_type), [INFO] [stdout] 3914 | | (5, pending_monitor_events, vec_type), [INFO] [stdout] ... | [INFO] [stdout] 3918 | | (13, spendable_txids_confirmed, vec_type), [INFO] [stdout] 3919 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/keysinterface.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | / impl_writeable_tlv_based!(DelayedPaymentOutputDescriptor, { [INFO] [stdout] 92 | | (0, outpoint, required), [INFO] [stdout] 93 | | (2, per_commitment_point, required), [INFO] [stdout] 94 | | (4, to_self_delay, required), [INFO] [stdout] ... | [INFO] [stdout] 98 | | (12, channel_value_satoshis, required), [INFO] [stdout] 99 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/keysinterface.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | / impl_writeable_tlv_based!(StaticPaymentOutputDescriptor, { [INFO] [stdout] 123 | | (0, outpoint, required), [INFO] [stdout] 124 | | (2, output, required), [INFO] [stdout] 125 | | (4, channel_keys_id, required), [INFO] [stdout] 126 | | (6, channel_value_satoshis, required), [INFO] [stdout] 127 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/keysinterface.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | / impl_writeable_tlv_based_enum!(SpendableOutputDescriptor, [INFO] [stdout] 206 | | (0, StaticOutput) => { [INFO] [stdout] 207 | | (0, outpoint, required), [INFO] [stdout] 208 | | (2, output, required), [INFO] [stdout] ... | [INFO] [stdout] 212 | | (2, StaticPaymentOutput), [INFO] [stdout] 213 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/keysinterface.rs:918:3 [INFO] [stdout] | [INFO] [stdout] 918 | read_tlv_fields!(reader, {}); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/onchaintx.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | / read_tlv_fields!(reader, { [INFO] [stdout] 111 | | (0, txid, required), [INFO] [stdout] 112 | | (1, block_hash, option), [INFO] [stdout] 113 | | (2, height, required), [INFO] [stdout] 114 | | (4, event, ignorable), [INFO] [stdout] 115 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/onchaintx.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / impl_writeable_tlv_based_enum_upgradable!(OnchainEvent, [INFO] [stdout] 125 | | (0, Claim) => { [INFO] [stdout] 126 | | (0, package_id, required), [INFO] [stdout] 127 | | }, [INFO] [stdout] ... | [INFO] [stdout] 130 | | }, [INFO] [stdout] 131 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum_upgradable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/onchaintx.rs:393:3 [INFO] [stdout] | [INFO] [stdout] 393 | read_tlv_fields!(reader, {}); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/package.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / impl_writeable_tlv_based!(RevokedOutput, { [INFO] [stdout] 118 | | (0, per_commitment_point, required), [INFO] [stdout] 119 | | (2, counterparty_delayed_payment_base_key, required), [INFO] [stdout] 120 | | (4, counterparty_htlc_base_key, required), [INFO] [stdout] ... | [INFO] [stdout] 124 | | (12, on_counterparty_tx_csv, required), [INFO] [stdout] 125 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/package.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | / impl_writeable_tlv_based!(RevokedHTLCOutput, { [INFO] [stdout] 162 | | (0, per_commitment_point, required), [INFO] [stdout] 163 | | (2, counterparty_delayed_payment_base_key, required), [INFO] [stdout] 164 | | (4, counterparty_htlc_base_key, required), [INFO] [stdout] ... | [INFO] [stdout] 168 | | (12, htlc, required), [INFO] [stdout] 169 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/package.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / impl_writeable_tlv_based!(CounterpartyOfferedHTLCOutput, { [INFO] [stdout] 205 | | (0, per_commitment_point, required), [INFO] [stdout] 206 | | (2, counterparty_delayed_payment_base_key, required), [INFO] [stdout] 207 | | (4, counterparty_htlc_base_key, required), [INFO] [stdout] ... | [INFO] [stdout] 210 | | (10, opt_anchors, option), [INFO] [stdout] 211 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/package.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | / impl_writeable_tlv_based!(CounterpartyReceivedHTLCOutput, { [INFO] [stdout] 243 | | (0, per_commitment_point, required), [INFO] [stdout] 244 | | (2, counterparty_delayed_payment_base_key, required), [INFO] [stdout] 245 | | (4, counterparty_htlc_base_key, required), [INFO] [stdout] 246 | | (6, htlc, required), [INFO] [stdout] 247 | | (8, opt_anchors, option), [INFO] [stdout] 248 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/package.rs:287:1 [INFO] [stdout] | [INFO] [stdout] 287 | / impl_writeable_tlv_based!(HolderHTLCOutput, { [INFO] [stdout] 288 | | (0, amount_msat, required), [INFO] [stdout] 289 | | (2, cltv_expiry, required), [INFO] [stdout] 290 | | (4, preimage, option), [INFO] [stdout] 291 | | (6, opt_anchors, option) [INFO] [stdout] 292 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/package.rs:319:1 [INFO] [stdout] | [INFO] [stdout] 319 | / impl_writeable_tlv_based!(HolderFundingOutput, { [INFO] [stdout] 320 | | (0, funding_redeemscript, required), [INFO] [stdout] 321 | | (2, opt_anchors, option), [INFO] [stdout] 322 | | (3, funding_amount, option), [INFO] [stdout] 323 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/util/errors.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sized` is imported redundantly [INFO] [stdout] --> src/util/ser.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use core::marker::Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Sized` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/util/wakers.rs:233:19 [INFO] [stdout] | [INFO] [stdout] 230 | use super::*; [INFO] [stdout] | -------- the item `Context` is already imported here [INFO] [stdout] ... [INFO] [stdout] 233 | use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/util/wakers.rs:233:28 [INFO] [stdout] | [INFO] [stdout] 230 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] ... [INFO] [stdout] 233 | use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Waker` is imported redundantly [INFO] [stdout] --> src/util/wakers.rs:233:60 [INFO] [stdout] | [INFO] [stdout] 230 | use super::*; [INFO] [stdout] | -------- the item `Waker` is already imported here [INFO] [stdout] ... [INFO] [stdout] 233 | use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Transaction` is imported redundantly [INFO] [stdout] --> src/util/transaction_utils.rs:74:40 [INFO] [stdout] | [INFO] [stdout] 72 | use super::*; [INFO] [stdout] | -------- the item `Transaction` is already imported here [INFO] [stdout] 73 | [INFO] [stdout] 74 | use bitcoin::blockdata::transaction::{Transaction, TxOut, TxIn, OutPoint}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TxOut` is imported redundantly [INFO] [stdout] --> src/util/transaction_utils.rs:74:53 [INFO] [stdout] | [INFO] [stdout] 72 | use super::*; [INFO] [stdout] | -------- the item `TxOut` is already imported here [INFO] [stdout] 73 | [INFO] [stdout] 74 | use bitcoin::blockdata::transaction::{Transaction, TxOut, TxIn, OutPoint}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Script` is imported redundantly [INFO] [stdout] --> src/util/transaction_utils.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 72 | use super::*; [INFO] [stdout] | -------- the item `Script` is already imported here [INFO] [stdout] ... [INFO] [stdout] 75 | use bitcoin::blockdata::script::{Script, Builder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/util/test_utils.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use regex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(any(test, fuzzing, feature = "_test_utils"))] extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/chain/channelmonitor.rs:3997:6 [INFO] [stdout] | [INFO] [stdout] 3997 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/chain/transaction.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/package.rs:858:3 [INFO] [stdout] | [INFO] [stdout] 858 | / read_tlv_fields!(reader, { [INFO] [stdout] 859 | | (0, soonest_conf_deadline, required), [INFO] [stdout] 860 | | (2, feerate_previous, required), [INFO] [stdout] 861 | | (4, height_original, required), [INFO] [stdout] 862 | | (6, height_timer, option), [INFO] [stdout] 863 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_tlv_fields` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/ln/channelmanager.rs:1011:8 [INFO] [stdout] | [INFO] [stdout] 1011 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/ln/channelmanager.rs:1017:8 [INFO] [stdout] | [INFO] [stdout] 1017 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/ln/inbound_payment.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/ln/msgs.rs:1937:6 [INFO] [stdout] | [INFO] [stdout] 1937 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/ln/peer_handler.rs:1984:9 [INFO] [stdout] | [INFO] [stdout] 1984 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:405:1 [INFO] [stdout] | [INFO] [stdout] 405 | / impl_writeable_tlv_based!(ClaimingPayment, { [INFO] [stdout] 406 | | (0, amount_msat, required), [INFO] [stdout] 407 | | (2, payment_purpose, required), [INFO] [stdout] 408 | | (4, receiver_node_id, required), [INFO] [stdout] 409 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/ln/chan_utils.rs:1633:14 [INFO] [stdout] | [INFO] [stdout] 1633 | use crate::{hex, chain}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/ln/peer_channel_encryptor.rs:528:6 [INFO] [stdout] | [INFO] [stdout] 528 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/ln/channel.rs:6793:6 [INFO] [stdout] | [INFO] [stdout] 6793 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsMut` is imported redundantly [INFO] [stdout] --> src/ln/onion_utils.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | use core::convert::{AsMut, TryInto}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsMut` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/ln/onion_utils.rs:889:6 [INFO] [stdout] | [INFO] [stdout] 889 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/ln/functional_tests.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use regex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(any(test, fuzzing, feature = "_test_utils"))] extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/ln/functional_tests.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/ln/priv_short_conf_tests.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/ln/reload_tests.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/ln/onion_route_tests.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/ln/shutdown_tests.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use regex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(any(test, fuzzing, feature = "_test_utils"))] extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/ln/shutdown_tests.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/routing/gossip.rs:1950:6 [INFO] [stdout] | [INFO] [stdout] 1950 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/routing/router.rs:2157:6 [INFO] [stdout] | [INFO] [stdout] 2157 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/routing/test_utils.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(any(test, feature = "_test_utils"))] extern crate hex; [INFO] [stdout] | ----------------- the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/lib.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | pub use alloc::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/lib.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | pub use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/ln/channelmanager.rs:5043:28 [INFO] [stdout] | [INFO] [stdout] 5043 | try_chan_entry!(self, Err(chan_err), chan); [INFO] [stdout] | ^^^ cannot infer type of the type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 5043 | try_chan_entry!(self, Err::(chan_err), chan); [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/ln/channelmanager.rs:5066:30 [INFO] [stdout] | [INFO] [stdout] 5066 | ... try_chan_entry!(self, Err(e), chan); [INFO] [stdout] | ^^^ cannot infer type of the type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 5066 | try_chan_entry!(self, Err::(e), chan); [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6568:1 [INFO] [stdout] | [INFO] [stdout] 6568 | / impl_writeable_tlv_based!(CounterpartyForwardingInfo, { [INFO] [stdout] 6569 | | (2, fee_base_msat, required), [INFO] [stdout] 6570 | | (4, fee_proportional_millionths, required), [INFO] [stdout] 6571 | | (6, cltv_expiry_delta, required), [INFO] [stdout] 6572 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6574:1 [INFO] [stdout] | [INFO] [stdout] 6574 | / impl_writeable_tlv_based!(ChannelCounterparty, { [INFO] [stdout] 6575 | | (2, node_id, required), [INFO] [stdout] 6576 | | (4, features, required), [INFO] [stdout] 6577 | | (6, unspendable_punishment_reserve, required), [INFO] [stdout] ... | [INFO] [stdout] 6580 | | (11, outbound_htlc_maximum_msat, option), [INFO] [stdout] 6581 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6624:3 [INFO] [stdout] | [INFO] [stdout] 6624 | / init_and_read_tlv_fields!(reader, { [INFO] [stdout] 6625 | | (1, inbound_scid_alias, option), [INFO] [stdout] 6626 | | (2, channel_id, required), [INFO] [stdout] 6627 | | (3, channel_type, option), [INFO] [stdout] ... | [INFO] [stdout] 6651 | | (37, user_channel_id_high_opt, option), [INFO] [stdout] 6652 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `init_and_read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6689:1 [INFO] [stdout] | [INFO] [stdout] 6689 | / impl_writeable_tlv_based!(PhantomRouteHints, { [INFO] [stdout] 6690 | | (2, channels, vec_type), [INFO] [stdout] 6691 | | (4, phantom_scid, required), [INFO] [stdout] 6692 | | (6, real_node_pubkey, required), [INFO] [stdout] 6693 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6695:1 [INFO] [stdout] | [INFO] [stdout] 6695 | / impl_writeable_tlv_based_enum!(PendingHTLCRouting, [INFO] [stdout] 6696 | | (0, Forward) => { [INFO] [stdout] 6697 | | (0, onion_packet, required), [INFO] [stdout] 6698 | | (2, short_channel_id, required), [INFO] [stdout] ... | [INFO] [stdout] 6708 | | }, [INFO] [stdout] 6709 | | ;); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6711:1 [INFO] [stdout] | [INFO] [stdout] 6711 | / impl_writeable_tlv_based!(PendingHTLCInfo, { [INFO] [stdout] 6712 | | (0, routing, required), [INFO] [stdout] 6713 | | (2, incoming_shared_secret, required), [INFO] [stdout] 6714 | | (4, payment_hash, required), [INFO] [stdout] ... | [INFO] [stdout] 6717 | | (9, incoming_amt_msat, option), [INFO] [stdout] 6718 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6793:1 [INFO] [stdout] | [INFO] [stdout] 6793 | / impl_writeable_tlv_based!(HTLCPreviousHopData, { [INFO] [stdout] 6794 | | (0, short_channel_id, required), [INFO] [stdout] 6795 | | (1, phantom_shared_secret, option), [INFO] [stdout] 6796 | | (2, outpoint, required), [INFO] [stdout] 6797 | | (4, htlc_id, required), [INFO] [stdout] 6798 | | (6, incoming_packet_shared_secret, required) [INFO] [stdout] 6799 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6827:3 [INFO] [stdout] | [INFO] [stdout] 6827 | / read_tlv_fields!(reader, { [INFO] [stdout] 6828 | | (0, prev_hop, required), [INFO] [stdout] 6829 | | (1, total_msat, option), [INFO] [stdout] 6830 | | (2, value, required), [INFO] [stdout] ... | [INFO] [stdout] 6833 | | (8, keysend_preimage, option) [INFO] [stdout] 6834 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6877:5 [INFO] [stdout] | [INFO] [stdout] 6877 | / read_tlv_fields!(reader, { [INFO] [stdout] 6878 | | (0, session_priv, required), [INFO] [stdout] 6879 | | (1, payment_id, option), [INFO] [stdout] 6880 | | (2, first_hop_htlc_msat, required), [INFO] [stdout] ... | [INFO] [stdout] 6883 | | (5, payment_params, option), [INFO] [stdout] 6884 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6929:1 [INFO] [stdout] | [INFO] [stdout] 6929 | / impl_writeable_tlv_based!(PendingAddHTLCInfo, { [INFO] [stdout] 6930 | | (0, forward_info, required), [INFO] [stdout] 6931 | | (1, prev_user_channel_id, (default_value, 0)), [INFO] [stdout] 6932 | | (2, prev_short_channel_id, required), [INFO] [stdout] 6933 | | (4, prev_htlc_id, required), [INFO] [stdout] 6934 | | (6, prev_funding_outpoint, required), [INFO] [stdout] 6935 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6937:1 [INFO] [stdout] | [INFO] [stdout] 6937 | / impl_writeable_tlv_based_enum!(HTLCForwardInfo, [INFO] [stdout] 6938 | | (1, FailHTLC) => { [INFO] [stdout] 6939 | | (0, htlc_id, required), [INFO] [stdout] 6940 | | (2, err_packet, required), [INFO] [stdout] 6941 | | }; [INFO] [stdout] 6942 | | (0, AddHTLC) [INFO] [stdout] 6943 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6945:1 [INFO] [stdout] | [INFO] [stdout] 6945 | / impl_writeable_tlv_based!(PendingInboundPayment, { [INFO] [stdout] 6946 | | (0, payment_secret, required), [INFO] [stdout] 6947 | | (2, expiry_time, required), [INFO] [stdout] 6948 | | (4, user_payment_id, required), [INFO] [stdout] 6949 | | (6, payment_preimage, required), [INFO] [stdout] 6950 | | (8, min_value_msat, required), [INFO] [stdout] 6951 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6953:1 [INFO] [stdout] | [INFO] [stdout] 6953 | / impl_writeable_tlv_based_enum_upgradable!(PendingOutboundPayment, [INFO] [stdout] 6954 | | (0, Legacy) => { [INFO] [stdout] 6955 | | (0, session_privs, required), [INFO] [stdout] 6956 | | }, [INFO] [stdout] ... | [INFO] [stdout] 6974 | | }, [INFO] [stdout] 6975 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum_upgradable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:7459:3 [INFO] [stdout] | [INFO] [stdout] 7459 | / read_tlv_fields!(reader, { [INFO] [stdout] 7460 | | (1, pending_outbound_payments_no_retry, option), [INFO] [stdout] 7461 | | (2, pending_intercepted_htlcs, option), [INFO] [stdout] 7462 | | (3, pending_outbound_payments, option), [INFO] [stdout] ... | [INFO] [stdout] 7467 | | (11, probing_cookie_secret, option), [INFO] [stdout] 7468 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1177:1 [INFO] [stdout] | [INFO] [stdout] 1177 | / impl_writeable_msg!(AcceptChannel, { [INFO] [stdout] 1178 | | temporary_channel_id, [INFO] [stdout] 1179 | | dust_limit_satoshis, [INFO] [stdout] 1180 | | max_htlc_value_in_flight_msat, [INFO] [stdout] ... | [INFO] [stdout] 1194 | | (1, channel_type, option), [INFO] [stdout] 1195 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1197:1 [INFO] [stdout] | [INFO] [stdout] 1197 | / impl_writeable_msg!(AnnouncementSignatures, { [INFO] [stdout] 1198 | | channel_id, [INFO] [stdout] 1199 | | short_channel_id, [INFO] [stdout] 1200 | | node_signature, [INFO] [stdout] 1201 | | bitcoin_signature [INFO] [stdout] 1202 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1241:1 [INFO] [stdout] | [INFO] [stdout] 1241 | / impl_writeable_msg!(ClosingSigned, [INFO] [stdout] 1242 | | { channel_id, fee_satoshis, signature }, [INFO] [stdout] 1243 | | { (1, fee_range, option) } [INFO] [stdout] 1244 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1251:1 [INFO] [stdout] | [INFO] [stdout] 1251 | / impl_writeable_msg!(CommitmentSigned, { [INFO] [stdout] 1252 | | channel_id, [INFO] [stdout] 1253 | | signature, [INFO] [stdout] 1254 | | htlc_signatures [INFO] [stdout] 1255 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1263:1 [INFO] [stdout] | [INFO] [stdout] 1263 | / impl_writeable_msg!(FundingCreated, { [INFO] [stdout] 1264 | | temporary_channel_id, [INFO] [stdout] 1265 | | funding_txid, [INFO] [stdout] 1266 | | funding_output_index, [INFO] [stdout] 1267 | | signature [INFO] [stdout] 1268 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1270:1 [INFO] [stdout] | [INFO] [stdout] 1270 | / impl_writeable_msg!(FundingSigned, { [INFO] [stdout] 1271 | | channel_id, [INFO] [stdout] 1272 | | signature [INFO] [stdout] 1273 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1275:1 [INFO] [stdout] | [INFO] [stdout] 1275 | / impl_writeable_msg!(ChannelReady, { [INFO] [stdout] 1276 | | channel_id, [INFO] [stdout] 1277 | | next_per_commitment_point, [INFO] [stdout] 1278 | | }, { [INFO] [stdout] 1279 | | (1, short_channel_id_alias, option), [INFO] [stdout] 1280 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1300:3 [INFO] [stdout] | [INFO] [stdout] 1300 | / decode_tlv_stream!(r, { [INFO] [stdout] 1301 | | (3, remote_network_address, option) [INFO] [stdout] 1302 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1310:1 [INFO] [stdout] | [INFO] [stdout] 1310 | / impl_writeable_msg!(OpenChannel, { [INFO] [stdout] 1311 | | chain_hash, [INFO] [stdout] 1312 | | temporary_channel_id, [INFO] [stdout] 1313 | | funding_satoshis, [INFO] [stdout] ... | [INFO] [stdout] 1331 | | (1, channel_type, option), [INFO] [stdout] 1332 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1334:1 [INFO] [stdout] | [INFO] [stdout] 1334 | / impl_writeable_msg!(RevokeAndACK, { [INFO] [stdout] 1335 | | channel_id, [INFO] [stdout] 1336 | | per_commitment_secret, [INFO] [stdout] 1337 | | next_per_commitment_point [INFO] [stdout] 1338 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1340:1 [INFO] [stdout] | [INFO] [stdout] 1340 | / impl_writeable_msg!(Shutdown, { [INFO] [stdout] 1341 | | channel_id, [INFO] [stdout] 1342 | | scriptpubkey [INFO] [stdout] 1343 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1345:1 [INFO] [stdout] | [INFO] [stdout] 1345 | / impl_writeable_msg!(UpdateFailHTLC, { [INFO] [stdout] 1346 | | channel_id, [INFO] [stdout] 1347 | | htlc_id, [INFO] [stdout] 1348 | | reason [INFO] [stdout] 1349 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1351:1 [INFO] [stdout] | [INFO] [stdout] 1351 | / impl_writeable_msg!(UpdateFailMalformedHTLC, { [INFO] [stdout] 1352 | | channel_id, [INFO] [stdout] 1353 | | htlc_id, [INFO] [stdout] 1354 | | sha256_of_onion, [INFO] [stdout] 1355 | | failure_code [INFO] [stdout] 1356 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1358:1 [INFO] [stdout] | [INFO] [stdout] 1358 | / impl_writeable_msg!(UpdateFee, { [INFO] [stdout] 1359 | | channel_id, [INFO] [stdout] 1360 | | feerate_per_kw [INFO] [stdout] 1361 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1363:1 [INFO] [stdout] | [INFO] [stdout] 1363 | / impl_writeable_msg!(UpdateFulfillHTLC, { [INFO] [stdout] 1364 | | channel_id, [INFO] [stdout] 1365 | | htlc_id, [INFO] [stdout] 1366 | | payment_preimage [INFO] [stdout] 1367 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1407:1 [INFO] [stdout] | [INFO] [stdout] 1407 | / impl_writeable_msg!(UpdateAddHTLC, { [INFO] [stdout] 1408 | | channel_id, [INFO] [stdout] 1409 | | htlc_id, [INFO] [stdout] 1410 | | amount_msat, [INFO] [stdout] ... | [INFO] [stdout] 1413 | | onion_routing_packet [INFO] [stdout] 1414 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1484:3 [INFO] [stdout] | [INFO] [stdout] 1484 | / read_tlv_fields!(r, { [INFO] [stdout] 1485 | | (2, amt, required), [INFO] [stdout] 1486 | | (4, cltv_value, required), [INFO] [stdout] 1487 | | (6, short_id, option), [INFO] [stdout] ... | [INFO] [stdout] 1490 | | (5482373484, keysend_preimage, option) [INFO] [stdout] 1491 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1847:1 [INFO] [stdout] | [INFO] [stdout] 1847 | / impl_writeable_msg!(ReplyShortChannelIdsEnd, { [INFO] [stdout] 1848 | | chain_hash, [INFO] [stdout] 1849 | | full_information, [INFO] [stdout] 1850 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1865:1 [INFO] [stdout] | [INFO] [stdout] 1865 | / impl_writeable_msg!(QueryChannelRange, { [INFO] [stdout] 1866 | | chain_hash, [INFO] [stdout] 1867 | | first_blocknum, [INFO] [stdout] 1868 | | number_of_blocks [INFO] [stdout] 1869 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1929:1 [INFO] [stdout] | [INFO] [stdout] 1929 | / impl_writeable_msg!(GossipTimestampFilter, { [INFO] [stdout] 1930 | | chain_hash, [INFO] [stdout] 1931 | | first_timestamp, [INFO] [stdout] 1932 | | timestamp_range, [INFO] [stdout] 1933 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/ln/peer_handler.rs:1196:70 [INFO] [stdout] | [INFO] [stdout] 1196 | ... try_potential_handleerror!(&mut peer_mutex.lock().unwrap(), Err(e)); [INFO] [stdout] | ^^^ cannot infer type of the type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 1196 | try_potential_handleerror!(&mut peer_mutex.lock().unwrap(), Err::(e)); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:325:3 [INFO] [stdout] | [INFO] [stdout] 325 | read_tlv_fields!(reader, {}); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | / impl_writeable_tlv_based!(TxCreationKeys, { [INFO] [stdout] 457 | | (0, per_commitment_point, required), [INFO] [stdout] 458 | | (2, revocation_key, required), [INFO] [stdout] 459 | | (4, broadcaster_htlc_key, required), [INFO] [stdout] 460 | | (6, countersignatory_htlc_key, required), [INFO] [stdout] 461 | | (8, broadcaster_delayed_payment_key, required), [INFO] [stdout] 462 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:488:1 [INFO] [stdout] | [INFO] [stdout] 488 | / impl_writeable_tlv_based!(ChannelPublicKeys, { [INFO] [stdout] 489 | | (0, funding_pubkey, required), [INFO] [stdout] 490 | | (2, revocation_basepoint, required), [INFO] [stdout] 491 | | (4, payment_point, required), [INFO] [stdout] 492 | | (6, delayed_payment_basepoint, required), [INFO] [stdout] 493 | | (8, htlc_basepoint, required), [INFO] [stdout] 494 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | / impl_writeable_tlv_based!(HTLCOutputInCommitment, { [INFO] [stdout] 568 | | (0, offered, required), [INFO] [stdout] 569 | | (2, amount_msat, required), [INFO] [stdout] 570 | | (4, cltv_expiry, required), [INFO] [stdout] 571 | | (6, payment_hash, required), [INFO] [stdout] 572 | | (8, transaction_output_index, option), [INFO] [stdout] 573 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:873:1 [INFO] [stdout] | [INFO] [stdout] 873 | / impl_writeable_tlv_based!(CounterpartyChannelTransactionParameters, { [INFO] [stdout] 874 | | (0, pubkeys, required), [INFO] [stdout] 875 | | (2, selected_contest_delay, required), [INFO] [stdout] 876 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:878:1 [INFO] [stdout] | [INFO] [stdout] 878 | / impl_writeable_tlv_based!(ChannelTransactionParameters, { [INFO] [stdout] 879 | | (0, holder_pubkeys, required), [INFO] [stdout] 880 | | (2, holder_selected_contest_delay, required), [INFO] [stdout] 881 | | (4, is_outbound_from_holder, required), [INFO] [stdout] ... | [INFO] [stdout] 885 | | (12, opt_non_zero_fee_anchors, option), [INFO] [stdout] 886 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:974:1 [INFO] [stdout] | [INFO] [stdout] 974 | / impl_writeable_tlv_based!(HolderCommitmentTransaction, { [INFO] [stdout] 975 | | (0, inner, required), [INFO] [stdout] 976 | | (2, counterparty_sig, required), [INFO] [stdout] 977 | | (4, holder_sig_first, required), [INFO] [stdout] 978 | | (6, counterparty_htlc_sigs, vec_type), [INFO] [stdout] 979 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:1062:1 [INFO] [stdout] | [INFO] [stdout] 1062 | / impl_writeable_tlv_based!(BuiltCommitmentTransaction, { [INFO] [stdout] 1063 | | (0, transaction, required), [INFO] [stdout] 1064 | | (2, txid, required), [INFO] [stdout] 1065 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:1249:1 [INFO] [stdout] | [INFO] [stdout] 1249 | / impl_writeable_tlv_based!(CommitmentTransaction, { [INFO] [stdout] 1250 | | (0, commitment_number, required), [INFO] [stdout] 1251 | | (2, to_broadcaster_value_sat, required), [INFO] [stdout] 1252 | | (4, to_countersignatory_value_sat, required), [INFO] [stdout] ... | [INFO] [stdout] 1258 | | (16, opt_non_zero_fee_anchors, option), [INFO] [stdout] 1259 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channel.rs:6594:3 [INFO] [stdout] | [INFO] [stdout] 6594 | / read_tlv_fields!(reader, { [INFO] [stdout] 6595 | | (0, announcement_sigs, option), [INFO] [stdout] 6596 | | (1, minimum_depth, option), [INFO] [stdout] 6597 | | (2, channel_type, option), [INFO] [stdout] ... | [INFO] [stdout] 6612 | | (27, channel_keys_id, option), [INFO] [stdout] 6613 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/onion_utils.rs:633:1 [INFO] [stdout] | [INFO] [stdout] 633 | / impl_writeable_tlv_based_enum!(HTLCFailReasonRepr, [INFO] [stdout] 634 | | (0, LightningError) => { [INFO] [stdout] 635 | | (0, err, required), [INFO] [stdout] 636 | | }, [INFO] [stdout] ... | [INFO] [stdout] 640 | | }, [INFO] [stdout] 641 | | ;); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/gossip.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | / impl_writeable_tlv_based_enum_upgradable!(NetworkUpdate, [INFO] [stdout] 198 | | (0, ChannelUpdateMessage) => { [INFO] [stdout] 199 | | (0, msg, required), [INFO] [stdout] 200 | | }, [INFO] [stdout] ... | [INFO] [stdout] 208 | | }, [INFO] [stdout] 209 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum_upgradable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 706 | decode_tlv_stream!(&mut s, {(2, a, required), (3, b, required), (4, c, option)}); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 770 | decode_tlv_stream!(&mut s, {(1, tlv1, option), (2, tlv2, option), (3, tlv3, option), (254, tlv4, option)}); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/gossip.rs:684:3 [INFO] [stdout] | [INFO] [stdout] 684 | / read_tlv_fields!(reader, { [INFO] [stdout] 685 | | (0, last_update, required), [INFO] [stdout] 686 | | (2, enabled, required), [INFO] [stdout] 687 | | (4, cltv_expiry_delta, required), [INFO] [stdout] ... | [INFO] [stdout] 691 | | (12, last_update_message, required) [INFO] [stdout] 692 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/gossip.rs:831:3 [INFO] [stdout] | [INFO] [stdout] 831 | / read_tlv_fields!(reader, { [INFO] [stdout] 832 | | (0, features, required), [INFO] [stdout] 833 | | (1, announcement_received_time, (default_value, 0)), [INFO] [stdout] 834 | | (2, node_one, required), [INFO] [stdout] ... | [INFO] [stdout] 839 | | (12, announcement_message, required), [INFO] [stdout] 840 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/util/events.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / impl_writeable_tlv_based_enum!(PaymentPurpose, [INFO] [stdout] 78 | | (0, InvoicePayment) => { [INFO] [stdout] 79 | | (0, payment_preimage, option), [INFO] [stdout] 80 | | (2, payment_secret, required), [INFO] [stdout] 81 | | }; [INFO] [stdout] 82 | | (2, SpontaneousPayment) [INFO] [stdout] 83 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/util/events.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_writeable_tlv_based_enum_upgradable!(ClosureReason, [INFO] [stdout] 161 | | (0, CounterpartyForceClosed) => { (1, peer_msg, required) }, [INFO] [stdout] 162 | | (1, FundingTimedOut) => {}, [INFO] [stdout] 163 | | (2, HolderForceClosed) => {}, [INFO] [stdout] ... | [INFO] [stdout] 168 | | (12, OutdatedChannelManager) => {}, [INFO] [stdout] 169 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum_upgradable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/gossip.rs:976:1 [INFO] [stdout] | [INFO] [stdout] 976 | / impl_writeable_tlv_based!(RoutingFees, { [INFO] [stdout] 977 | | (0, base_msat, required), [INFO] [stdout] 978 | | (2, proportional_millionths, required) [INFO] [stdout] 979 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/util/events.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / impl_writeable_tlv_based_enum_upgradable!(HTLCDestination, [INFO] [stdout] 209 | | (0, NextHopChannel) => { [INFO] [stdout] 210 | | (0, node_id, required), [INFO] [stdout] 211 | | (2, channel_id, required), [INFO] [stdout] ... | [INFO] [stdout] 221 | | }, [INFO] [stdout] 222 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum_upgradable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/util/events.rs:447:1 [INFO] [stdout] | [INFO] [stdout] 447 | / impl_writeable_tlv_based_enum!(InterceptNextHop, [INFO] [stdout] 448 | | (0, FakeScid) => { [INFO] [stdout] 449 | | (0, requested_next_hop_scid, required), [INFO] [stdout] 450 | | }; [INFO] [stdout] 451 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/gossip.rs:1004:1 [INFO] [stdout] | [INFO] [stdout] 1004 | / impl_writeable_tlv_based!(NodeAnnouncementInfo, { [INFO] [stdout] 1005 | | (0, features, required), [INFO] [stdout] 1006 | | (2, last_update, required), [INFO] [stdout] 1007 | | (4, rgb, required), [INFO] [stdout] ... | [INFO] [stdout] 1010 | | (10, addresses, vec_type), [INFO] [stdout] 1011 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> src/routing/gossip.rs:1098:5 [INFO] [stdout] | [INFO] [stdout] 1098 | return Ok(None) [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot satisfy `_ -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/gossip.rs:1110:3 [INFO] [stdout] | [INFO] [stdout] 1110 | / read_tlv_fields!(reader, { [INFO] [stdout] 1111 | | (0, lowest_inbound_channel_fees, option), [INFO] [stdout] 1112 | | (2, announcement_info_wrap, ignorable), [INFO] [stdout] 1113 | | (4, channels, vec_type), [INFO] [stdout] 1114 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/gossip.rs:1174:3 [INFO] [stdout] | [INFO] [stdout] 1174 | / read_tlv_fields!(reader, { [INFO] [stdout] 1175 | | (1, last_rapid_gossip_sync_timestamp, option), [INFO] [stdout] 1176 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/router.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / impl_writeable_tlv_based!(RouteHop, { [INFO] [stdout] 262 | | (0, pubkey, required), [INFO] [stdout] 263 | | (2, node_features, required), [INFO] [stdout] 264 | | (4, short_channel_id, required), [INFO] [stdout] ... | [INFO] [stdout] 267 | | (10, cltv_expiry_delta, required), [INFO] [stdout] 268 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/router.rs:352:3 [INFO] [stdout] | [INFO] [stdout] 352 | / read_tlv_fields!(reader, { [INFO] [stdout] 353 | | (1, payment_params, option), [INFO] [stdout] 354 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/router.rs:377:1 [INFO] [stdout] | [INFO] [stdout] 377 | / impl_writeable_tlv_based!(RouteParameters, { [INFO] [stdout] 378 | | (0, payment_params, required), [INFO] [stdout] 379 | | (2, final_value_msat, required), [INFO] [stdout] 380 | | (4, final_cltv_expiry_delta, required), [INFO] [stdout] 381 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/router.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | / impl_writeable_tlv_based!(PaymentParameters, { [INFO] [stdout] 457 | | (0, payee_pubkey, required), [INFO] [stdout] 458 | | (1, max_total_cltv_expiry_delta, (default_value, DEFAULT_MAX_TOTAL_CLTV_EXPIRY_DELTA)), [INFO] [stdout] 459 | | (2, features, option), [INFO] [stdout] ... | [INFO] [stdout] 464 | | (7, previously_failed_channels, vec_type), [INFO] [stdout] 465 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/router.rs:572:1 [INFO] [stdout] | [INFO] [stdout] 572 | / impl_writeable_tlv_based!(RouteHintHop, { [INFO] [stdout] 573 | | (0, src_node_id, required), [INFO] [stdout] 574 | | (1, htlc_minimum_msat, option), [INFO] [stdout] 575 | | (2, short_channel_id, required), [INFO] [stdout] ... | [INFO] [stdout] 578 | | (6, cltv_expiry_delta, required), [INFO] [stdout] 579 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/util/events.rs:1162:6 [INFO] [stdout] | [INFO] [stdout] 1162 | / read_tlv_fields!(reader, { [INFO] [stdout] 1163 | | (0, payment_hash, required), [INFO] [stdout] 1164 | | (1, receiver_node_id, option), [INFO] [stdout] 1165 | | (2, payment_secret, option), [INFO] [stdout] ... | [INFO] [stdout] 1170 | | (8, payment_preimage, option), [INFO] [stdout] 1171 | | }); [INFO] [stdout] | |______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/scoring.rs:314:3 [INFO] [stdout] | [INFO] [stdout] 314 | read_tlv_fields!(r, {}); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/scoring.rs:591:1 [INFO] [stdout] | [INFO] [stdout] 591 | impl_writeable_tlv_based!(HistoricalBucketRangeTracker, { (0, buckets, required) }); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/util/chacha20poly1305rfc.rs:343:2 [INFO] [stdout] | [INFO] [stdout] 343 | / impl_writeable_tlv_based!(TestWriteable, { [INFO] [stdout] 344 | | (1, field1, vec_type), [INFO] [stdout] 345 | | (2, field2, vec_type), [INFO] [stdout] 346 | | (3, field3, vec_type), [INFO] [stdout] 347 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/scoring.rs:1538:3 [INFO] [stdout] | [INFO] [stdout] 1538 | / read_tlv_fields!(r, { [INFO] [stdout] 1539 | | (0, channel_liquidities, required), [INFO] [stdout] 1540 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/util/chacha20poly1305rfc.rs:403:3 [INFO] [stdout] | [INFO] [stdout] 403 | / decode_tlv_stream!(&writer.0[..], { [INFO] [stdout] 404 | | (1, read_adapter, (option: LengthReadableArgs, rho)), [INFO] [stdout] 405 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/scoring.rs:1573:3 [INFO] [stdout] | [INFO] [stdout] 1573 | / read_tlv_fields!(r, { [INFO] [stdout] 1574 | | (0, min_liquidity_offset_msat, required), [INFO] [stdout] 1575 | | (1, min_liquidity_offset_history, option), [INFO] [stdout] 1576 | | (2, max_liquidity_offset_msat, required), [INFO] [stdout] 1577 | | (3, max_liquidity_offset_history, option), [INFO] [stdout] 1578 | | (4, duration_since_epoch, required), [INFO] [stdout] 1579 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/onion_message/packet.rs:212:3 [INFO] [stdout] | [INFO] [stdout] 212 | / decode_tlv_stream!(&mut rd, { [INFO] [stdout] 213 | | (2, reply_path, option), [INFO] [stdout] 214 | | (4, read_adapter, (option: LengthReadableArgs, rho)), [INFO] [stdout] 215 | | }, |msg_type, msg_reader| { [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/util/config.rs:379:1 [INFO] [stdout] | [INFO] [stdout] 379 | / impl_writeable_tlv_based!(ChannelConfig, { [INFO] [stdout] 380 | | (0, forwarding_fee_proportional_millionths, required), [INFO] [stdout] 381 | | (2, forwarding_fee_base_msat, required), [INFO] [stdout] 382 | | (4, cltv_expiry_delta, required), [INFO] [stdout] ... | [INFO] [stdout] 387 | | (10, force_close_avoidance_max_fee_satoshis, required), [INFO] [stdout] 388 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/onion_message/packet.rs:269:3 [INFO] [stdout] | [INFO] [stdout] 269 | / decode_tlv_stream!(&mut r, { [INFO] [stdout] 270 | | (1, _padding, option), [INFO] [stdout] 271 | | (2, _short_channel_id, option), [INFO] [stdout] 272 | | (4, next_node_id, option), [INFO] [stdout] 273 | | (6, path_id, option), [INFO] [stdout] 274 | | (8, next_blinding_override, option), [INFO] [stdout] 275 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/util/config.rs:439:3 [INFO] [stdout] | [INFO] [stdout] 439 | / read_tlv_fields!(reader, { [INFO] [stdout] 440 | | (0, forwarding_fee_proportional_millionths, required), [INFO] [stdout] 441 | | (1, max_dust_htlc_exposure_msat, (default_value, 5_000_000u64)), [INFO] [stdout] 442 | | (2, cltv_expiry_delta, required), [INFO] [stdout] ... | [INFO] [stdout] 446 | | (8, forwarding_fee_base_msat, required), [INFO] [stdout] 447 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | read_tlv_fields!(r, {}); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | / impl_writeable_tlv_based_enum_upgradable!(MonitorEvent, [INFO] [stdout] 161 | | // Note that Completed and UpdateFailed are currently never serialized to disk as they are [INFO] [stdout] 162 | | // generated only in ChainMonitor [INFO] [stdout] 163 | | (0, Completed) => { [INFO] [stdout] ... | [INFO] [stdout] 170 | | (6, UpdateFailed), [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum_upgradable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:183:1 [INFO] [stdout] | [INFO] [stdout] 183 | / impl_writeable_tlv_based!(HTLCUpdate, { [INFO] [stdout] 184 | | (0, payment_hash, required), [INFO] [stdout] 185 | | (1, htlc_value_satoshis, option), [INFO] [stdout] 186 | | (2, source, required), [INFO] [stdout] 187 | | (4, payment_preimage, option), [INFO] [stdout] 188 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:255:1 [INFO] [stdout] | [INFO] [stdout] 255 | / impl_writeable_tlv_based!(HolderSignedTx, { [INFO] [stdout] 256 | | (0, txid, required), [INFO] [stdout] 257 | | // Note that this is filled in with data from OnchainTxHandler if it's missing. [INFO] [stdout] 258 | | // For HolderSignedTx objects serialized with 0.0.100+, this should be filled in. [INFO] [stdout] ... | [INFO] [stdout] 266 | | (14, htlc_outputs, vec_type) [INFO] [stdout] 267 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:320:4 [INFO] [stdout] | [INFO] [stdout] 320 | / read_tlv_fields!(r, { [INFO] [stdout] 321 | | (0, counterparty_delayed_payment_base_key, required), [INFO] [stdout] 322 | | (2, counterparty_htlc_base_key, required), [INFO] [stdout] 323 | | (4, on_counterparty_tx_csv, required), [INFO] [stdout] 324 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:458:3 [INFO] [stdout] | [INFO] [stdout] 458 | / read_tlv_fields!(reader, { [INFO] [stdout] 459 | | (0, txid, required), [INFO] [stdout] 460 | | (1, transaction, option), [INFO] [stdout] 461 | | (2, height, required), [INFO] [stdout] 462 | | (3, block_hash, option), [INFO] [stdout] 463 | | (4, event, ignorable), [INFO] [stdout] 464 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:473:1 [INFO] [stdout] | [INFO] [stdout] 473 | / impl_writeable_tlv_based_enum_upgradable!(OnchainEvent, [INFO] [stdout] 474 | | (0, HTLCUpdate) => { [INFO] [stdout] 475 | | (0, source, required), [INFO] [stdout] 476 | | (1, htlc_value_satoshis, option), [INFO] [stdout] ... | [INFO] [stdout] 492 | | [INFO] [stdout] 493 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum_upgradable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:540:1 [INFO] [stdout] | [INFO] [stdout] 540 | / impl_writeable_tlv_based_enum_upgradable!(ChannelMonitorUpdateStep, [INFO] [stdout] 541 | | (0, LatestHolderCommitmentTXInfo) => { [INFO] [stdout] 542 | | (0, commitment_tx, required), [INFO] [stdout] 543 | | (2, htlc_outputs, vec_type), [INFO] [stdout] ... | [INFO] [stdout] 563 | | }, [INFO] [stdout] 564 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum_upgradable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:678:3 [INFO] [stdout] | [INFO] [stdout] 678 | / read_tlv_fields!(reader, { [INFO] [stdout] 679 | | (0, mapped_commitment_tx_output_idx, required), [INFO] [stdout] 680 | | (1, resolving_txid, option), [INFO] [stdout] 681 | | (2, payment_preimage, option), [INFO] [stdout] 682 | | (3, resolving_tx, option), [INFO] [stdout] 683 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/channelmonitor.rs:3911:3 [INFO] [stdout] | [INFO] [stdout] 3911 | / read_tlv_fields!(reader, { [INFO] [stdout] 3912 | | (1, funding_spend_confirmed, option), [INFO] [stdout] 3913 | | (3, htlcs_resolved_on_chain, vec_type), [INFO] [stdout] 3914 | | (5, pending_monitor_events, vec_type), [INFO] [stdout] ... | [INFO] [stdout] 3918 | | (13, spendable_txids_confirmed, vec_type), [INFO] [stdout] 3919 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/keysinterface.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | / impl_writeable_tlv_based!(DelayedPaymentOutputDescriptor, { [INFO] [stdout] 92 | | (0, outpoint, required), [INFO] [stdout] 93 | | (2, per_commitment_point, required), [INFO] [stdout] 94 | | (4, to_self_delay, required), [INFO] [stdout] ... | [INFO] [stdout] 98 | | (12, channel_value_satoshis, required), [INFO] [stdout] 99 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/keysinterface.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | / impl_writeable_tlv_based!(StaticPaymentOutputDescriptor, { [INFO] [stdout] 123 | | (0, outpoint, required), [INFO] [stdout] 124 | | (2, output, required), [INFO] [stdout] 125 | | (4, channel_keys_id, required), [INFO] [stdout] 126 | | (6, channel_value_satoshis, required), [INFO] [stdout] 127 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/keysinterface.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | / impl_writeable_tlv_based_enum!(SpendableOutputDescriptor, [INFO] [stdout] 206 | | (0, StaticOutput) => { [INFO] [stdout] 207 | | (0, outpoint, required), [INFO] [stdout] 208 | | (2, output, required), [INFO] [stdout] ... | [INFO] [stdout] 212 | | (2, StaticPaymentOutput), [INFO] [stdout] 213 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/keysinterface.rs:918:3 [INFO] [stdout] | [INFO] [stdout] 918 | read_tlv_fields!(reader, {}); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/onchaintx.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | / read_tlv_fields!(reader, { [INFO] [stdout] 111 | | (0, txid, required), [INFO] [stdout] 112 | | (1, block_hash, option), [INFO] [stdout] 113 | | (2, height, required), [INFO] [stdout] 114 | | (4, event, ignorable), [INFO] [stdout] 115 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/onchaintx.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / impl_writeable_tlv_based_enum_upgradable!(OnchainEvent, [INFO] [stdout] 125 | | (0, Claim) => { [INFO] [stdout] 126 | | (0, package_id, required), [INFO] [stdout] 127 | | }, [INFO] [stdout] ... | [INFO] [stdout] 130 | | }, [INFO] [stdout] 131 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum_upgradable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/onchaintx.rs:393:3 [INFO] [stdout] | [INFO] [stdout] 393 | read_tlv_fields!(reader, {}); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/package.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / impl_writeable_tlv_based!(RevokedOutput, { [INFO] [stdout] 118 | | (0, per_commitment_point, required), [INFO] [stdout] 119 | | (2, counterparty_delayed_payment_base_key, required), [INFO] [stdout] 120 | | (4, counterparty_htlc_base_key, required), [INFO] [stdout] ... | [INFO] [stdout] 124 | | (12, on_counterparty_tx_csv, required), [INFO] [stdout] 125 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/package.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | / impl_writeable_tlv_based!(RevokedHTLCOutput, { [INFO] [stdout] 162 | | (0, per_commitment_point, required), [INFO] [stdout] 163 | | (2, counterparty_delayed_payment_base_key, required), [INFO] [stdout] 164 | | (4, counterparty_htlc_base_key, required), [INFO] [stdout] ... | [INFO] [stdout] 168 | | (12, htlc, required), [INFO] [stdout] 169 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/package.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / impl_writeable_tlv_based!(CounterpartyOfferedHTLCOutput, { [INFO] [stdout] 205 | | (0, per_commitment_point, required), [INFO] [stdout] 206 | | (2, counterparty_delayed_payment_base_key, required), [INFO] [stdout] 207 | | (4, counterparty_htlc_base_key, required), [INFO] [stdout] ... | [INFO] [stdout] 210 | | (10, opt_anchors, option), [INFO] [stdout] 211 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/package.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | / impl_writeable_tlv_based!(CounterpartyReceivedHTLCOutput, { [INFO] [stdout] 243 | | (0, per_commitment_point, required), [INFO] [stdout] 244 | | (2, counterparty_delayed_payment_base_key, required), [INFO] [stdout] 245 | | (4, counterparty_htlc_base_key, required), [INFO] [stdout] 246 | | (6, htlc, required), [INFO] [stdout] 247 | | (8, opt_anchors, option), [INFO] [stdout] 248 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/package.rs:287:1 [INFO] [stdout] | [INFO] [stdout] 287 | / impl_writeable_tlv_based!(HolderHTLCOutput, { [INFO] [stdout] 288 | | (0, amount_msat, required), [INFO] [stdout] 289 | | (2, cltv_expiry, required), [INFO] [stdout] 290 | | (4, preimage, option), [INFO] [stdout] 291 | | (6, opt_anchors, option) [INFO] [stdout] 292 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/package.rs:319:1 [INFO] [stdout] | [INFO] [stdout] 319 | / impl_writeable_tlv_based!(HolderFundingOutput, { [INFO] [stdout] 320 | | (0, funding_redeemscript, required), [INFO] [stdout] 321 | | (2, opt_anchors, option), [INFO] [stdout] 322 | | (3, funding_amount, option), [INFO] [stdout] 323 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/chain/package.rs:858:3 [INFO] [stdout] | [INFO] [stdout] 858 | / read_tlv_fields!(reader, { [INFO] [stdout] 859 | | (0, soonest_conf_deadline, required), [INFO] [stdout] 860 | | (2, feerate_previous, required), [INFO] [stdout] 861 | | (4, height_original, required), [INFO] [stdout] 862 | | (6, height_timer, option), [INFO] [stdout] 863 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:405:1 [INFO] [stdout] | [INFO] [stdout] 405 | / impl_writeable_tlv_based!(ClaimingPayment, { [INFO] [stdout] 406 | | (0, amount_msat, required), [INFO] [stdout] 407 | | (2, payment_purpose, required), [INFO] [stdout] 408 | | (4, receiver_node_id, required), [INFO] [stdout] 409 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/ln/channelmanager.rs:5043:28 [INFO] [stdout] | [INFO] [stdout] 5043 | try_chan_entry!(self, Err(chan_err), chan); [INFO] [stdout] | ^^^ cannot infer type of the type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 5043 | try_chan_entry!(self, Err::(chan_err), chan); [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/ln/channelmanager.rs:5066:30 [INFO] [stdout] | [INFO] [stdout] 5066 | ... try_chan_entry!(self, Err(e), chan); [INFO] [stdout] | ^^^ cannot infer type of the type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 5066 | try_chan_entry!(self, Err::(e), chan); [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6568:1 [INFO] [stdout] | [INFO] [stdout] 6568 | / impl_writeable_tlv_based!(CounterpartyForwardingInfo, { [INFO] [stdout] 6569 | | (2, fee_base_msat, required), [INFO] [stdout] 6570 | | (4, fee_proportional_millionths, required), [INFO] [stdout] 6571 | | (6, cltv_expiry_delta, required), [INFO] [stdout] 6572 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6574:1 [INFO] [stdout] | [INFO] [stdout] 6574 | / impl_writeable_tlv_based!(ChannelCounterparty, { [INFO] [stdout] 6575 | | (2, node_id, required), [INFO] [stdout] 6576 | | (4, features, required), [INFO] [stdout] 6577 | | (6, unspendable_punishment_reserve, required), [INFO] [stdout] ... | [INFO] [stdout] 6580 | | (11, outbound_htlc_maximum_msat, option), [INFO] [stdout] 6581 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6624:3 [INFO] [stdout] | [INFO] [stdout] 6624 | / init_and_read_tlv_fields!(reader, { [INFO] [stdout] 6625 | | (1, inbound_scid_alias, option), [INFO] [stdout] 6626 | | (2, channel_id, required), [INFO] [stdout] 6627 | | (3, channel_type, option), [INFO] [stdout] ... | [INFO] [stdout] 6651 | | (37, user_channel_id_high_opt, option), [INFO] [stdout] 6652 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `init_and_read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6689:1 [INFO] [stdout] | [INFO] [stdout] 6689 | / impl_writeable_tlv_based!(PhantomRouteHints, { [INFO] [stdout] 6690 | | (2, channels, vec_type), [INFO] [stdout] 6691 | | (4, phantom_scid, required), [INFO] [stdout] 6692 | | (6, real_node_pubkey, required), [INFO] [stdout] 6693 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6695:1 [INFO] [stdout] | [INFO] [stdout] 6695 | / impl_writeable_tlv_based_enum!(PendingHTLCRouting, [INFO] [stdout] 6696 | | (0, Forward) => { [INFO] [stdout] 6697 | | (0, onion_packet, required), [INFO] [stdout] 6698 | | (2, short_channel_id, required), [INFO] [stdout] ... | [INFO] [stdout] 6708 | | }, [INFO] [stdout] 6709 | | ;); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6711:1 [INFO] [stdout] | [INFO] [stdout] 6711 | / impl_writeable_tlv_based!(PendingHTLCInfo, { [INFO] [stdout] 6712 | | (0, routing, required), [INFO] [stdout] 6713 | | (2, incoming_shared_secret, required), [INFO] [stdout] 6714 | | (4, payment_hash, required), [INFO] [stdout] ... | [INFO] [stdout] 6717 | | (9, incoming_amt_msat, option), [INFO] [stdout] 6718 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6793:1 [INFO] [stdout] | [INFO] [stdout] 6793 | / impl_writeable_tlv_based!(HTLCPreviousHopData, { [INFO] [stdout] 6794 | | (0, short_channel_id, required), [INFO] [stdout] 6795 | | (1, phantom_shared_secret, option), [INFO] [stdout] 6796 | | (2, outpoint, required), [INFO] [stdout] 6797 | | (4, htlc_id, required), [INFO] [stdout] 6798 | | (6, incoming_packet_shared_secret, required) [INFO] [stdout] 6799 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6827:3 [INFO] [stdout] | [INFO] [stdout] 6827 | / read_tlv_fields!(reader, { [INFO] [stdout] 6828 | | (0, prev_hop, required), [INFO] [stdout] 6829 | | (1, total_msat, option), [INFO] [stdout] 6830 | | (2, value, required), [INFO] [stdout] ... | [INFO] [stdout] 6833 | | (8, keysend_preimage, option) [INFO] [stdout] 6834 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6877:5 [INFO] [stdout] | [INFO] [stdout] 6877 | / read_tlv_fields!(reader, { [INFO] [stdout] 6878 | | (0, session_priv, required), [INFO] [stdout] 6879 | | (1, payment_id, option), [INFO] [stdout] 6880 | | (2, first_hop_htlc_msat, required), [INFO] [stdout] ... | [INFO] [stdout] 6883 | | (5, payment_params, option), [INFO] [stdout] 6884 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6929:1 [INFO] [stdout] | [INFO] [stdout] 6929 | / impl_writeable_tlv_based!(PendingAddHTLCInfo, { [INFO] [stdout] 6930 | | (0, forward_info, required), [INFO] [stdout] 6931 | | (1, prev_user_channel_id, (default_value, 0)), [INFO] [stdout] 6932 | | (2, prev_short_channel_id, required), [INFO] [stdout] 6933 | | (4, prev_htlc_id, required), [INFO] [stdout] 6934 | | (6, prev_funding_outpoint, required), [INFO] [stdout] 6935 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6937:1 [INFO] [stdout] | [INFO] [stdout] 6937 | / impl_writeable_tlv_based_enum!(HTLCForwardInfo, [INFO] [stdout] 6938 | | (1, FailHTLC) => { [INFO] [stdout] 6939 | | (0, htlc_id, required), [INFO] [stdout] 6940 | | (2, err_packet, required), [INFO] [stdout] 6941 | | }; [INFO] [stdout] 6942 | | (0, AddHTLC) [INFO] [stdout] 6943 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6945:1 [INFO] [stdout] | [INFO] [stdout] 6945 | / impl_writeable_tlv_based!(PendingInboundPayment, { [INFO] [stdout] 6946 | | (0, payment_secret, required), [INFO] [stdout] 6947 | | (2, expiry_time, required), [INFO] [stdout] 6948 | | (4, user_payment_id, required), [INFO] [stdout] 6949 | | (6, payment_preimage, required), [INFO] [stdout] 6950 | | (8, min_value_msat, required), [INFO] [stdout] 6951 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:6953:1 [INFO] [stdout] | [INFO] [stdout] 6953 | / impl_writeable_tlv_based_enum_upgradable!(PendingOutboundPayment, [INFO] [stdout] 6954 | | (0, Legacy) => { [INFO] [stdout] 6955 | | (0, session_privs, required), [INFO] [stdout] 6956 | | }, [INFO] [stdout] ... | [INFO] [stdout] 6974 | | }, [INFO] [stdout] 6975 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum_upgradable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channelmanager.rs:7459:3 [INFO] [stdout] | [INFO] [stdout] 7459 | / read_tlv_fields!(reader, { [INFO] [stdout] 7460 | | (1, pending_outbound_payments_no_retry, option), [INFO] [stdout] 7461 | | (2, pending_intercepted_htlcs, option), [INFO] [stdout] 7462 | | (3, pending_outbound_payments, option), [INFO] [stdout] ... | [INFO] [stdout] 7467 | | (11, probing_cookie_secret, option), [INFO] [stdout] 7468 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1177:1 [INFO] [stdout] | [INFO] [stdout] 1177 | / impl_writeable_msg!(AcceptChannel, { [INFO] [stdout] 1178 | | temporary_channel_id, [INFO] [stdout] 1179 | | dust_limit_satoshis, [INFO] [stdout] 1180 | | max_htlc_value_in_flight_msat, [INFO] [stdout] ... | [INFO] [stdout] 1194 | | (1, channel_type, option), [INFO] [stdout] 1195 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1197:1 [INFO] [stdout] | [INFO] [stdout] 1197 | / impl_writeable_msg!(AnnouncementSignatures, { [INFO] [stdout] 1198 | | channel_id, [INFO] [stdout] 1199 | | short_channel_id, [INFO] [stdout] 1200 | | node_signature, [INFO] [stdout] 1201 | | bitcoin_signature [INFO] [stdout] 1202 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1241:1 [INFO] [stdout] | [INFO] [stdout] 1241 | / impl_writeable_msg!(ClosingSigned, [INFO] [stdout] 1242 | | { channel_id, fee_satoshis, signature }, [INFO] [stdout] 1243 | | { (1, fee_range, option) } [INFO] [stdout] 1244 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1251:1 [INFO] [stdout] | [INFO] [stdout] 1251 | / impl_writeable_msg!(CommitmentSigned, { [INFO] [stdout] 1252 | | channel_id, [INFO] [stdout] 1253 | | signature, [INFO] [stdout] 1254 | | htlc_signatures [INFO] [stdout] 1255 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1263:1 [INFO] [stdout] | [INFO] [stdout] 1263 | / impl_writeable_msg!(FundingCreated, { [INFO] [stdout] 1264 | | temporary_channel_id, [INFO] [stdout] 1265 | | funding_txid, [INFO] [stdout] 1266 | | funding_output_index, [INFO] [stdout] 1267 | | signature [INFO] [stdout] 1268 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1270:1 [INFO] [stdout] | [INFO] [stdout] 1270 | / impl_writeable_msg!(FundingSigned, { [INFO] [stdout] 1271 | | channel_id, [INFO] [stdout] 1272 | | signature [INFO] [stdout] 1273 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1275:1 [INFO] [stdout] | [INFO] [stdout] 1275 | / impl_writeable_msg!(ChannelReady, { [INFO] [stdout] 1276 | | channel_id, [INFO] [stdout] 1277 | | next_per_commitment_point, [INFO] [stdout] 1278 | | }, { [INFO] [stdout] 1279 | | (1, short_channel_id_alias, option), [INFO] [stdout] 1280 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1300:3 [INFO] [stdout] | [INFO] [stdout] 1300 | / decode_tlv_stream!(r, { [INFO] [stdout] 1301 | | (3, remote_network_address, option) [INFO] [stdout] 1302 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routing/router.rs:841:8 [INFO] [stdout] | [INFO] [stdout] 841 | let mut cur_hop = &mut self.hops.get_mut(i).unwrap().0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1310:1 [INFO] [stdout] | [INFO] [stdout] 1310 | / impl_writeable_msg!(OpenChannel, { [INFO] [stdout] 1311 | | chain_hash, [INFO] [stdout] 1312 | | temporary_channel_id, [INFO] [stdout] 1313 | | funding_satoshis, [INFO] [stdout] ... | [INFO] [stdout] 1331 | | (1, channel_type, option), [INFO] [stdout] 1332 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1334:1 [INFO] [stdout] | [INFO] [stdout] 1334 | / impl_writeable_msg!(RevokeAndACK, { [INFO] [stdout] 1335 | | channel_id, [INFO] [stdout] 1336 | | per_commitment_secret, [INFO] [stdout] 1337 | | next_per_commitment_point [INFO] [stdout] 1338 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1340:1 [INFO] [stdout] | [INFO] [stdout] 1340 | / impl_writeable_msg!(Shutdown, { [INFO] [stdout] 1341 | | channel_id, [INFO] [stdout] 1342 | | scriptpubkey [INFO] [stdout] 1343 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1345:1 [INFO] [stdout] | [INFO] [stdout] 1345 | / impl_writeable_msg!(UpdateFailHTLC, { [INFO] [stdout] 1346 | | channel_id, [INFO] [stdout] 1347 | | htlc_id, [INFO] [stdout] 1348 | | reason [INFO] [stdout] 1349 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1351:1 [INFO] [stdout] | [INFO] [stdout] 1351 | / impl_writeable_msg!(UpdateFailMalformedHTLC, { [INFO] [stdout] 1352 | | channel_id, [INFO] [stdout] 1353 | | htlc_id, [INFO] [stdout] 1354 | | sha256_of_onion, [INFO] [stdout] 1355 | | failure_code [INFO] [stdout] 1356 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1358:1 [INFO] [stdout] | [INFO] [stdout] 1358 | / impl_writeable_msg!(UpdateFee, { [INFO] [stdout] 1359 | | channel_id, [INFO] [stdout] 1360 | | feerate_per_kw [INFO] [stdout] 1361 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1363:1 [INFO] [stdout] | [INFO] [stdout] 1363 | / impl_writeable_msg!(UpdateFulfillHTLC, { [INFO] [stdout] 1364 | | channel_id, [INFO] [stdout] 1365 | | htlc_id, [INFO] [stdout] 1366 | | payment_preimage [INFO] [stdout] 1367 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1407:1 [INFO] [stdout] | [INFO] [stdout] 1407 | / impl_writeable_msg!(UpdateAddHTLC, { [INFO] [stdout] 1408 | | channel_id, [INFO] [stdout] 1409 | | htlc_id, [INFO] [stdout] 1410 | | amount_msat, [INFO] [stdout] ... | [INFO] [stdout] 1413 | | onion_routing_packet [INFO] [stdout] 1414 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1484:3 [INFO] [stdout] | [INFO] [stdout] 1484 | / read_tlv_fields!(r, { [INFO] [stdout] 1485 | | (2, amt, required), [INFO] [stdout] 1486 | | (4, cltv_value, required), [INFO] [stdout] 1487 | | (6, short_id, option), [INFO] [stdout] ... | [INFO] [stdout] 1490 | | (5482373484, keysend_preimage, option) [INFO] [stdout] 1491 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1847:1 [INFO] [stdout] | [INFO] [stdout] 1847 | / impl_writeable_msg!(ReplyShortChannelIdsEnd, { [INFO] [stdout] 1848 | | chain_hash, [INFO] [stdout] 1849 | | full_information, [INFO] [stdout] 1850 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1865:1 [INFO] [stdout] | [INFO] [stdout] 1865 | / impl_writeable_msg!(QueryChannelRange, { [INFO] [stdout] 1866 | | chain_hash, [INFO] [stdout] 1867 | | first_blocknum, [INFO] [stdout] 1868 | | number_of_blocks [INFO] [stdout] 1869 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/msgs.rs:1929:1 [INFO] [stdout] | [INFO] [stdout] 1929 | / impl_writeable_msg!(GossipTimestampFilter, { [INFO] [stdout] 1930 | | chain_hash, [INFO] [stdout] 1931 | | first_timestamp, [INFO] [stdout] 1932 | | timestamp_range, [INFO] [stdout] 1933 | | }, {}); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_msg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/ln/peer_handler.rs:1196:70 [INFO] [stdout] | [INFO] [stdout] 1196 | ... try_potential_handleerror!(&mut peer_mutex.lock().unwrap(), Err(e)); [INFO] [stdout] | ^^^ cannot infer type of the type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 1196 | try_potential_handleerror!(&mut peer_mutex.lock().unwrap(), Err::(e)); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 99 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0284. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:325:3 [INFO] [stdout] | [INFO] [stdout] 325 | read_tlv_fields!(reader, {}); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_tlv_fields` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rgb-lightning` (lib) due to 100 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | / impl_writeable_tlv_based!(TxCreationKeys, { [INFO] [stdout] 457 | | (0, per_commitment_point, required), [INFO] [stdout] 458 | | (2, revocation_key, required), [INFO] [stdout] 459 | | (4, broadcaster_htlc_key, required), [INFO] [stdout] 460 | | (6, countersignatory_htlc_key, required), [INFO] [stdout] 461 | | (8, broadcaster_delayed_payment_key, required), [INFO] [stdout] 462 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:488:1 [INFO] [stdout] | [INFO] [stdout] 488 | / impl_writeable_tlv_based!(ChannelPublicKeys, { [INFO] [stdout] 489 | | (0, funding_pubkey, required), [INFO] [stdout] 490 | | (2, revocation_basepoint, required), [INFO] [stdout] 491 | | (4, payment_point, required), [INFO] [stdout] 492 | | (6, delayed_payment_basepoint, required), [INFO] [stdout] 493 | | (8, htlc_basepoint, required), [INFO] [stdout] 494 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:567:1 [INFO] [stdout] | [INFO] [stdout] 567 | / impl_writeable_tlv_based!(HTLCOutputInCommitment, { [INFO] [stdout] 568 | | (0, offered, required), [INFO] [stdout] 569 | | (2, amount_msat, required), [INFO] [stdout] 570 | | (4, cltv_expiry, required), [INFO] [stdout] 571 | | (6, payment_hash, required), [INFO] [stdout] 572 | | (8, transaction_output_index, option), [INFO] [stdout] 573 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:873:1 [INFO] [stdout] | [INFO] [stdout] 873 | / impl_writeable_tlv_based!(CounterpartyChannelTransactionParameters, { [INFO] [stdout] 874 | | (0, pubkeys, required), [INFO] [stdout] 875 | | (2, selected_contest_delay, required), [INFO] [stdout] 876 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:878:1 [INFO] [stdout] | [INFO] [stdout] 878 | / impl_writeable_tlv_based!(ChannelTransactionParameters, { [INFO] [stdout] 879 | | (0, holder_pubkeys, required), [INFO] [stdout] 880 | | (2, holder_selected_contest_delay, required), [INFO] [stdout] 881 | | (4, is_outbound_from_holder, required), [INFO] [stdout] ... | [INFO] [stdout] 885 | | (12, opt_non_zero_fee_anchors, option), [INFO] [stdout] 886 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:974:1 [INFO] [stdout] | [INFO] [stdout] 974 | / impl_writeable_tlv_based!(HolderCommitmentTransaction, { [INFO] [stdout] 975 | | (0, inner, required), [INFO] [stdout] 976 | | (2, counterparty_sig, required), [INFO] [stdout] 977 | | (4, holder_sig_first, required), [INFO] [stdout] 978 | | (6, counterparty_htlc_sigs, vec_type), [INFO] [stdout] 979 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:1062:1 [INFO] [stdout] | [INFO] [stdout] 1062 | / impl_writeable_tlv_based!(BuiltCommitmentTransaction, { [INFO] [stdout] 1063 | | (0, transaction, required), [INFO] [stdout] 1064 | | (2, txid, required), [INFO] [stdout] 1065 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/chan_utils.rs:1249:1 [INFO] [stdout] | [INFO] [stdout] 1249 | / impl_writeable_tlv_based!(CommitmentTransaction, { [INFO] [stdout] 1250 | | (0, commitment_number, required), [INFO] [stdout] 1251 | | (2, to_broadcaster_value_sat, required), [INFO] [stdout] 1252 | | (4, to_countersignatory_value_sat, required), [INFO] [stdout] ... | [INFO] [stdout] 1258 | | (16, opt_non_zero_fee_anchors, option), [INFO] [stdout] 1259 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/channel.rs:6594:3 [INFO] [stdout] | [INFO] [stdout] 6594 | / read_tlv_fields!(reader, { [INFO] [stdout] 6595 | | (0, announcement_sigs, option), [INFO] [stdout] 6596 | | (1, minimum_depth, option), [INFO] [stdout] 6597 | | (2, channel_type, option), [INFO] [stdout] ... | [INFO] [stdout] 6612 | | (27, channel_keys_id, option), [INFO] [stdout] 6613 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/ln/onion_utils.rs:633:1 [INFO] [stdout] | [INFO] [stdout] 633 | / impl_writeable_tlv_based_enum!(HTLCFailReasonRepr, [INFO] [stdout] 634 | | (0, LightningError) => { [INFO] [stdout] 635 | | (0, err, required), [INFO] [stdout] 636 | | }, [INFO] [stdout] ... | [INFO] [stdout] 640 | | }, [INFO] [stdout] 641 | | ;); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/gossip.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | / impl_writeable_tlv_based_enum_upgradable!(NetworkUpdate, [INFO] [stdout] 198 | | (0, ChannelUpdateMessage) => { [INFO] [stdout] 199 | | (0, msg, required), [INFO] [stdout] 200 | | }, [INFO] [stdout] ... | [INFO] [stdout] 208 | | }, [INFO] [stdout] 209 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based_enum_upgradable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/gossip.rs:684:3 [INFO] [stdout] | [INFO] [stdout] 684 | / read_tlv_fields!(reader, { [INFO] [stdout] 685 | | (0, last_update, required), [INFO] [stdout] 686 | | (2, enabled, required), [INFO] [stdout] 687 | | (4, cltv_expiry_delta, required), [INFO] [stdout] ... | [INFO] [stdout] 691 | | (12, last_update_message, required) [INFO] [stdout] 692 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/gossip.rs:831:3 [INFO] [stdout] | [INFO] [stdout] 831 | / read_tlv_fields!(reader, { [INFO] [stdout] 832 | | (0, features, required), [INFO] [stdout] 833 | | (1, announcement_received_time, (default_value, 0)), [INFO] [stdout] 834 | | (2, node_one, required), [INFO] [stdout] ... | [INFO] [stdout] 839 | | (12, announcement_message, required), [INFO] [stdout] 840 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/gossip.rs:976:1 [INFO] [stdout] | [INFO] [stdout] 976 | / impl_writeable_tlv_based!(RoutingFees, { [INFO] [stdout] 977 | | (0, base_msat, required), [INFO] [stdout] 978 | | (2, proportional_millionths, required) [INFO] [stdout] 979 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/gossip.rs:1004:1 [INFO] [stdout] | [INFO] [stdout] 1004 | / impl_writeable_tlv_based!(NodeAnnouncementInfo, { [INFO] [stdout] 1005 | | (0, features, required), [INFO] [stdout] 1006 | | (2, last_update, required), [INFO] [stdout] 1007 | | (4, rgb, required), [INFO] [stdout] ... | [INFO] [stdout] 1010 | | (10, addresses, vec_type), [INFO] [stdout] 1011 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> src/routing/gossip.rs:1098:5 [INFO] [stdout] | [INFO] [stdout] 1098 | return Ok(None) [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot satisfy `_ -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/gossip.rs:1110:3 [INFO] [stdout] | [INFO] [stdout] 1110 | / read_tlv_fields!(reader, { [INFO] [stdout] 1111 | | (0, lowest_inbound_channel_fees, option), [INFO] [stdout] 1112 | | (2, announcement_info_wrap, ignorable), [INFO] [stdout] 1113 | | (4, channels, vec_type), [INFO] [stdout] 1114 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/gossip.rs:1174:3 [INFO] [stdout] | [INFO] [stdout] 1174 | / read_tlv_fields!(reader, { [INFO] [stdout] 1175 | | (1, last_rapid_gossip_sync_timestamp, option), [INFO] [stdout] 1176 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/router.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / impl_writeable_tlv_based!(RouteHop, { [INFO] [stdout] 262 | | (0, pubkey, required), [INFO] [stdout] 263 | | (2, node_features, required), [INFO] [stdout] 264 | | (4, short_channel_id, required), [INFO] [stdout] ... | [INFO] [stdout] 267 | | (10, cltv_expiry_delta, required), [INFO] [stdout] 268 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/router.rs:352:3 [INFO] [stdout] | [INFO] [stdout] 352 | / read_tlv_fields!(reader, { [INFO] [stdout] 353 | | (1, payment_params, option), [INFO] [stdout] 354 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/router.rs:377:1 [INFO] [stdout] | [INFO] [stdout] 377 | / impl_writeable_tlv_based!(RouteParameters, { [INFO] [stdout] 378 | | (0, payment_params, required), [INFO] [stdout] 379 | | (2, final_value_msat, required), [INFO] [stdout] 380 | | (4, final_cltv_expiry_delta, required), [INFO] [stdout] 381 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/router.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | / impl_writeable_tlv_based!(PaymentParameters, { [INFO] [stdout] 457 | | (0, payee_pubkey, required), [INFO] [stdout] 458 | | (1, max_total_cltv_expiry_delta, (default_value, DEFAULT_MAX_TOTAL_CLTV_EXPIRY_DELTA)), [INFO] [stdout] 459 | | (2, features, option), [INFO] [stdout] ... | [INFO] [stdout] 464 | | (7, previously_failed_channels, vec_type), [INFO] [stdout] 465 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/router.rs:572:1 [INFO] [stdout] | [INFO] [stdout] 572 | / impl_writeable_tlv_based!(RouteHintHop, { [INFO] [stdout] 573 | | (0, src_node_id, required), [INFO] [stdout] 574 | | (1, htlc_minimum_msat, option), [INFO] [stdout] 575 | | (2, short_channel_id, required), [INFO] [stdout] ... | [INFO] [stdout] 578 | | (6, cltv_expiry_delta, required), [INFO] [stdout] 579 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/scoring.rs:314:3 [INFO] [stdout] | [INFO] [stdout] 314 | read_tlv_fields!(r, {}); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/scoring.rs:591:1 [INFO] [stdout] | [INFO] [stdout] 591 | impl_writeable_tlv_based!(HistoricalBucketRangeTracker, { (0, buckets, required) }); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `impl_writeable_tlv_based` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/scoring.rs:1538:3 [INFO] [stdout] | [INFO] [stdout] 1538 | / read_tlv_fields!(r, { [INFO] [stdout] 1539 | | (0, channel_liquidities, required), [INFO] [stdout] 1540 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/routing/scoring.rs:1573:3 [INFO] [stdout] | [INFO] [stdout] 1573 | / read_tlv_fields!(r, { [INFO] [stdout] 1574 | | (0, min_liquidity_offset_msat, required), [INFO] [stdout] 1575 | | (1, min_liquidity_offset_history, option), [INFO] [stdout] 1576 | | (2, max_liquidity_offset_msat, required), [INFO] [stdout] 1577 | | (3, max_liquidity_offset_history, option), [INFO] [stdout] 1578 | | (4, duration_since_epoch, required), [INFO] [stdout] 1579 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` which comes from the expansion of the macro `read_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] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/onion_message/packet.rs:212:3 [INFO] [stdout] | [INFO] [stdout] 212 | / decode_tlv_stream!(&mut rd, { [INFO] [stdout] 213 | | (2, reply_path, option), [INFO] [stdout] 214 | | (4, read_adapter, (option: LengthReadableArgs, rho)), [INFO] [stdout] 215 | | }, |msg_type, msg_reader| { [INFO] [stdout] ... | [INFO] [stdout] 228 | | } [INFO] [stdout] 229 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util/ser_macros.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let rewind = |_, _| { unreachable!() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/onion_message/packet.rs:269:3 [INFO] [stdout] | [INFO] [stdout] 269 | / decode_tlv_stream!(&mut r, { [INFO] [stdout] 270 | | (1, _padding, option), [INFO] [stdout] 271 | | (2, _short_channel_id, option), [INFO] [stdout] 272 | | (4, next_node_id, option), [INFO] [stdout] 273 | | (6, path_id, option), [INFO] [stdout] 274 | | (8, next_blinding_override, option), [INFO] [stdout] 275 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `decode_tlv_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/routing/router.rs:841:8 [INFO] [stdout] | [INFO] [stdout] 841 | let mut cur_hop = &mut self.hops.get_mut(i).unwrap().0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 103 previous errors; 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0284. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rgb-lightning` (lib test) due to 104 previous errors; 34 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d74d541e08d218df6453d164b4a776c3899c08fcdf3454643d79a74c0dd364ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d74d541e08d218df6453d164b4a776c3899c08fcdf3454643d79a74c0dd364ea", kill_on_drop: false }` [INFO] [stdout] d74d541e08d218df6453d164b4a776c3899c08fcdf3454643d79a74c0dd364ea