[INFO] fetching crate lightning 0.0.118...
[INFO] checking lightning-0.0.118 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate lightning 0.0.118 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate lightning 0.0.118 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate lightning 0.0.118
[INFO] finished tweaking crates.io crate lightning 0.0.118
[INFO] tweaked toml for crates.io crate lightning 0.0.118 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded core2 v0.3.3
[INFO] [stderr]   Downloaded bitcoinconsensus v0.20.2-0.5.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 56693fffdaf04ae6ec27121943d59a3c9d15dfffd734f94a2f667e6c0fed301b
[INFO] running `Command { std: "docker" "start" "-a" "56693fffdaf04ae6ec27121943d59a3c9d15dfffd734f94a2f667e6c0fed301b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "56693fffdaf04ae6ec27121943d59a3c9d15dfffd734f94a2f667e6c0fed301b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56693fffdaf04ae6ec27121943d59a3c9d15dfffd734f94a2f667e6c0fed301b", kill_on_drop: false }`
[INFO] [stdout] 56693fffdaf04ae6ec27121943d59a3c9d15dfffd734f94a2f667e6c0fed301b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 87c57075d24bc4d966f0e79c5742e2968796e9ca6393344571b63a312465c1ba
[INFO] running `Command { std: "docker" "start" "-a" "87c57075d24bc4d966f0e79c5742e2968796e9ca6393344571b63a312465c1ba", kill_on_drop: false }`
[INFO] [stderr]    Compiling secp256k1-sys v0.6.1
[INFO] [stderr]    Compiling bitcoinconsensus v0.20.2-0.5.0
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking bitcoin_hashes v0.11.0
[INFO] [stderr]     Checking bech32 v0.9.1
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking secp256k1 v0.24.3
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking bitcoin v0.29.2
[INFO] [stderr]     Checking lightning v0.0.118 (/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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115: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:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | use core::marker::Sized;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Sized` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]   --> src/util/persist.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::alloc::string::ToString;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 | use crate::prelude::*;
[INFO] [stdout]    |     ----------------- the item `ToString` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `String` is imported redundantly
[INFO] [stdout]   --> src/util/string.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use alloc::string::String;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `String` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/util/indexed_map.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use alloc::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Ord` is imported redundantly
[INFO] [stdout]  --> src/util/indexed_map.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core::cmp::Ord;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Ord` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> for more information
[INFO] [stdout]     --> src/ln/channelmanager.rs:1418:8
[INFO] [stdout]      |
[INFO] [stdout] 1418 | #[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 <https://github.com/rust-lang/rust/issues/71800> for more information
[INFO] [stdout]     --> src/ln/channelmanager.rs:1424:8
[INFO] [stdout]      |
[INFO] [stdout] 1424 | #[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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115: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 <https://github.com/rust-lang/rust/issues/71800> for more information
[INFO] [stdout]     --> src/ln/peer_handler.rs:2407:9
[INFO] [stdout]      |
[INFO] [stdout] 2407 |     #[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:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 | use core::convert::{AsMut, TryInto};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsMut` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]    --> src/offers/invoice.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 | use core::convert::{AsRef, Infallible, TryFrom};
[INFO] [stdout]     |                     ^^^^^
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/offers/invoice_request.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 | use core::convert::{AsRef, Infallible, TryFrom};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/offers/merkle.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::convert::AsRef;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToOwned` is imported redundantly
[INFO] [stdout]    --> src/lib.rs:175:10
[INFO] [stdout]     |
[INFO] [stdout] 175 |     pub use alloc::borrow::ToOwned;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115: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:176:10
[INFO] [stdout]     |
[INFO] [stdout] 176 |     pub use alloc::string::ToString;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `ToString` is already defined here
[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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115: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:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | use core::marker::Sized;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Sized` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]   --> src/util/persist.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::alloc::string::ToString;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 | use crate::prelude::*;
[INFO] [stdout]    |     ----------------- the item `ToString` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Persist` is imported redundantly
[INFO] [stdout]    --> src/util/persist.rs:851:6
[INFO] [stdout]     |
[INFO] [stdout] 850 |     use super::*;
[INFO] [stdout]     |         -------- the item `Persist` is already imported here
[INFO] [stdout] 851 |     use crate::chain::chainmonitor::Persist;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `String` is imported redundantly
[INFO] [stdout]   --> src/util/string.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use alloc::string::String;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `String` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Context` is imported redundantly
[INFO] [stdout]    --> src/util/wakers.rs:293:19
[INFO] [stdout]     |
[INFO] [stdout] 290 |     use super::*;
[INFO] [stdout]     |         -------- the item `Context` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 293 |     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:293:28
[INFO] [stdout]     |
[INFO] [stdout] 290 |     use super::*;
[INFO] [stdout]     |         -------- the item `Poll` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 293 |     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:293:60
[INFO] [stdout]     |
[INFO] [stdout] 290 |     use super::*;
[INFO] [stdout]     |         -------- the item `Waker` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 293 |     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 `Vec` is imported redundantly
[INFO] [stdout]  --> src/util/indexed_map.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use alloc::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Ord` is imported redundantly
[INFO] [stdout]  --> src/util/indexed_map.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core::cmp::Ord;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Ord` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `regex` is imported redundantly
[INFO] [stdout]   --> src/util/test_utils.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | use regex;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:70:44
[INFO] [stdout]    |
[INFO] [stdout] 70 | #[cfg(any(test, 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:4494:6
[INFO] [stdout]      |
[INFO] [stdout] 4494 |     use hex;
[INFO] [stdout]      |         ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/lib.rs:69:44
[INFO] [stdout]      |
[INFO] [stdout] 69   | #[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:93:6
[INFO] [stdout]    |
[INFO] [stdout] 93 |     use hex;
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:69:44
[INFO] [stdout]    |
[INFO] [stdout] 69 | #[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 <https://github.com/rust-lang/rust/issues/71800> for more information
[INFO] [stdout]     --> src/ln/channelmanager.rs:1418:8
[INFO] [stdout]      |
[INFO] [stdout] 1418 | #[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 <https://github.com/rust-lang/rust/issues/71800> for more information
[INFO] [stdout]     --> src/ln/channelmanager.rs:1424:8
[INFO] [stdout]      |
[INFO] [stdout] 1424 | #[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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115: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:2720:6
[INFO] [stdout]      |
[INFO] [stdout] 2720 |     use hex;
[INFO] [stdout]      |         ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/lib.rs:69:44
[INFO] [stdout]      |
[INFO] [stdout] 69   | #[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 <https://github.com/rust-lang/rust/issues/71800> for more information
[INFO] [stdout]     --> src/ln/peer_handler.rs:2407:9
[INFO] [stdout]      |
[INFO] [stdout] 2407 |     #[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:1861:14
[INFO] [stdout]      |
[INFO] [stdout] 1861 |     use crate::{hex, chain};
[INFO] [stdout]      |                 ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/lib.rs:69:44
[INFO] [stdout]      |
[INFO] [stdout] 69   | #[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:552:6
[INFO] [stdout]     |
[INFO] [stdout] 552 |     use hex;
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:69:44
[INFO] [stdout]     |
[INFO] [stdout] 69  | #[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:7662:6
[INFO] [stdout]      |
[INFO] [stdout] 7662 |     use hex;
[INFO] [stdout]      |         ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/lib.rs:69:44
[INFO] [stdout]      |
[INFO] [stdout] 69   | #[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:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 | use core::convert::{AsMut, TryInto};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115: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:1029:6
[INFO] [stdout]      |
[INFO] [stdout] 1029 |     use hex;
[INFO] [stdout]      |         ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/lib.rs:69:44
[INFO] [stdout]      |
[INFO] [stdout] 69   | #[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:70:44
[INFO] [stdout]    |
[INFO] [stdout] 70 | #[cfg(any(test, 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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115: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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115: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:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use core::default::Default;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115: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:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | use core::default::Default;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115: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:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use regex;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:70:44
[INFO] [stdout]    |
[INFO] [stdout] 70 | #[cfg(any(test, 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:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use core::default::Default;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Default` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]    --> src/offers/invoice.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 | use core::convert::{AsRef, Infallible, TryFrom};
[INFO] [stdout]     |                     ^^^^^
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/offers/invoice_request.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 | use core::convert::{AsRef, Infallible, TryFrom};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/offers/merkle.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::convert::AsRef;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/offers/test_utils.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 | use core::convert::{AsRef, Infallible};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `msgs` is imported redundantly
[INFO] [stdout]    --> src/routing/utxo.rs:566:6
[INFO] [stdout]     |
[INFO] [stdout] 563 |     use super::*;
[INFO] [stdout]     |         -------- the item `msgs` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 566 |     use crate::ln::msgs;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `hex` is imported redundantly
[INFO] [stdout]     --> src/routing/gossip.rs:2094:6
[INFO] [stdout]      |
[INFO] [stdout] 2094 |     use hex;
[INFO] [stdout]      |         ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/lib.rs:69:44
[INFO] [stdout]      |
[INFO] [stdout] 69   | #[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:2839:6
[INFO] [stdout]      |
[INFO] [stdout] 2839 |     use hex;
[INFO] [stdout]      |         ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/lib.rs:69:44
[INFO] [stdout]      |
[INFO] [stdout] 69   | #[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 `Hash` is imported redundantly
[INFO] [stdout]     --> src/routing/router.rs:7923:6
[INFO] [stdout]      |
[INFO] [stdout] 7920 |     use super::*;
[INFO] [stdout]      |         -------- the item `Hash` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 7923 |     use bitcoin::hashes::Hash;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PublicKey` is imported redundantly
[INFO] [stdout]     --> src/routing/router.rs:7924:27
[INFO] [stdout]      |
[INFO] [stdout] 7920 |     use super::*;
[INFO] [stdout]      |         -------- the item `PublicKey` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 7924 |     use bitcoin::secp256k1::{PublicKey, Secp256k1, SecretKey};
[INFO] [stdout]      |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ChannelDetails` is imported redundantly
[INFO] [stdout]     --> src/routing/router.rs:7930:61
[INFO] [stdout]      |
[INFO] [stdout] 7920 |     use super::*;
[INFO] [stdout]      |         -------- the item `ChannelDetails` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 7930 |     use crate::ln::channelmanager::{self, ChannelCounterparty, ChannelDetails};
[INFO] [stdout]      |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Bolt11InvoiceFeatures` is imported redundantly
[INFO] [stdout]     --> src/routing/router.rs:7931:6
[INFO] [stdout]      |
[INFO] [stdout] 7920 |     use super::*;
[INFO] [stdout]      |         -------- the item `Bolt11InvoiceFeatures` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 7931 |     use crate::ln::features::Bolt11InvoiceFeatures;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `NetworkGraph` is imported redundantly
[INFO] [stdout]     --> src/routing/router.rs:7932:6
[INFO] [stdout]      |
[INFO] [stdout] 7920 |     use super::*;
[INFO] [stdout]      |         -------- the item `NetworkGraph` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 7932 |     use crate::routing::gossip::NetworkGraph;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ReadableArgs` is imported redundantly
[INFO] [stdout]     --> src/routing/router.rs:7934:6
[INFO] [stdout]      |
[INFO] [stdout] 7920 |     use super::*;
[INFO] [stdout]      |         -------- the item `ReadableArgs` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 7934 |     use crate::util::ser::ReadableArgs;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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:69:44
[INFO] [stdout]    |
[INFO] [stdout] 69 | #[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:175:10
[INFO] [stdout]     |
[INFO] [stdout] 175 |     pub use alloc::borrow::ToOwned;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115: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:176:10
[INFO] [stdout]     |
[INFO] [stdout] 176 |     pub use alloc::string::ToString;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `ToString` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lightning` (lib test); 49 warnings emitted
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/30f74ff0dc4d66debc8b50724c446f817e5f75f4/bin/rustc --crate-name lightning --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="grind_signatures"' --cfg 'feature="std"' -C metadata=82a548d91bd7f1fb -C extra-filename=-82a548d91bd7f1fb --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitcoin=/opt/rustwide/target/debug/deps/libbitcoin-9a4cc1f38cbc34a4.rmeta --extern hex=/opt/rustwide/target/debug/deps/libhex-4993bc98e929487d.rmeta --extern regex=/opt/rustwide/target/debug/deps/libregex-abed59eb8a3a24ad.rmeta --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/bitcoinconsensus-4b9f846b5b171363/out -L native=/opt/rustwide/target/debug/build/secp256k1-sys-a10f514b220f4594/out` (signal: 9, SIGKILL: kill)
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/blinded_path/payment.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 |     Forward(ForwardTlvs),
[INFO] [stdout]    |     ------- ^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 62 |     Forward(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/blinded_path/payment.rs:64:10
[INFO] [stdout]    |
[INFO] [stdout] 64 |     Receive(ReceiveTlvs),
[INFO] [stdout]    |     ------- ^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 64 |     Receive(()),
[INFO] [stdout]    |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 18 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "87c57075d24bc4d966f0e79c5742e2968796e9ca6393344571b63a312465c1ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87c57075d24bc4d966f0e79c5742e2968796e9ca6393344571b63a312465c1ba", kill_on_drop: false }`
[INFO] [stdout] 87c57075d24bc4d966f0e79c5742e2968796e9ca6393344571b63a312465c1ba
[INFO] checking lightning-0.0.118 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate lightning 0.0.118 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate lightning 0.0.118 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate lightning 0.0.118
[INFO] finished tweaking crates.io crate lightning 0.0.118
[INFO] tweaked toml for crates.io crate lightning 0.0.118 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fc8575d24836040fee83492f5c59313466e17d889409abbe722151b207a1346d
[INFO] running `Command { std: "docker" "start" "-a" "fc8575d24836040fee83492f5c59313466e17d889409abbe722151b207a1346d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc8575d24836040fee83492f5c59313466e17d889409abbe722151b207a1346d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc8575d24836040fee83492f5c59313466e17d889409abbe722151b207a1346d", kill_on_drop: false }`
[INFO] [stdout] fc8575d24836040fee83492f5c59313466e17d889409abbe722151b207a1346d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2ad95274a2df812f4e41af5897e3159f2ce724ba82af3ef93fdcea6b7430ed25
[INFO] running `Command { std: "docker" "start" "-a" "2ad95274a2df812f4e41af5897e3159f2ce724ba82af3ef93fdcea6b7430ed25", kill_on_drop: false }`
[INFO] [stderr]    Compiling secp256k1-sys v0.6.1
[INFO] [stderr]    Compiling bitcoinconsensus v0.20.2-0.5.0
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking bitcoin_hashes v0.11.0
[INFO] [stderr]     Checking bech32 v0.9.1
[INFO] [stderr]     Checking aho-corasick v1.1.3
[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 lightning v0.0.118 (/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/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115: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:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | use core::marker::Sized;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Sized` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]   --> src/util/persist.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::alloc::string::ToString;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 | use crate::prelude::*;
[INFO] [stdout]    |     ----------------- the item `ToString` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `String` is imported redundantly
[INFO] [stdout]   --> src/util/string.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use alloc::string::String;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `String` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/util/indexed_map.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use alloc::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Ord` is imported redundantly
[INFO] [stdout]  --> src/util/indexed_map.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core::cmp::Ord;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Ord` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 <https://github.com/rust-lang/rust/issues/71800> for more information
[INFO] [stdout]     --> src/ln/channelmanager.rs:1418:8
[INFO] [stdout]      |
[INFO] [stdout] 1418 | #[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 <https://github.com/rust-lang/rust/issues/71800> for more information
[INFO] [stdout]     --> src/ln/channelmanager.rs:1424:8
[INFO] [stdout]      |
[INFO] [stdout] 1424 | #[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/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115: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 <https://github.com/rust-lang/rust/issues/71800> for more information
[INFO] [stdout]     --> src/ln/peer_handler.rs:2407:9
[INFO] [stdout]      |
[INFO] [stdout] 2407 |     #[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:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 | use core::convert::{AsMut, TryInto};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsMut` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]    --> src/offers/invoice.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 | use core::convert::{AsRef, Infallible, TryFrom};
[INFO] [stdout]     |                     ^^^^^
[INFO] [stdout]    --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/offers/invoice_request.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 | use core::convert::{AsRef, Infallible, TryFrom};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/offers/merkle.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::convert::AsRef;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToOwned` is imported redundantly
[INFO] [stdout]    --> src/lib.rs:175:10
[INFO] [stdout]     |
[INFO] [stdout] 175 |     pub use alloc::borrow::ToOwned;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115: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:176:10
[INFO] [stdout]     |
[INFO] [stdout] 176 |     pub use alloc::string::ToString;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `ToString` is already defined here
[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/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115: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:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | use core::marker::Sized;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Sized` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]   --> src/util/persist.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::alloc::string::ToString;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 | use crate::prelude::*;
[INFO] [stdout]    |     ----------------- the item `ToString` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Persist` is imported redundantly
[INFO] [stdout]    --> src/util/persist.rs:851:6
[INFO] [stdout]     |
[INFO] [stdout] 850 |     use super::*;
[INFO] [stdout]     |         -------- the item `Persist` is already imported here
[INFO] [stdout] 851 |     use crate::chain::chainmonitor::Persist;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `String` is imported redundantly
[INFO] [stdout]   --> src/util/string.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use alloc::string::String;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `String` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Context` is imported redundantly
[INFO] [stdout]    --> src/util/wakers.rs:293:19
[INFO] [stdout]     |
[INFO] [stdout] 290 |     use super::*;
[INFO] [stdout]     |         -------- the item `Context` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 293 |     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:293:28
[INFO] [stdout]     |
[INFO] [stdout] 290 |     use super::*;
[INFO] [stdout]     |         -------- the item `Poll` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 293 |     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:293:60
[INFO] [stdout]     |
[INFO] [stdout] 290 |     use super::*;
[INFO] [stdout]     |         -------- the item `Waker` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 293 |     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 `Vec` is imported redundantly
[INFO] [stdout]  --> src/util/indexed_map.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use alloc::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Ord` is imported redundantly
[INFO] [stdout]  --> src/util/indexed_map.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core::cmp::Ord;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Ord` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `regex` is imported redundantly
[INFO] [stdout]   --> src/util/test_utils.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | use regex;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:70:44
[INFO] [stdout]    |
[INFO] [stdout] 70 | #[cfg(any(test, 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:4494:6
[INFO] [stdout]      |
[INFO] [stdout] 4494 |     use hex;
[INFO] [stdout]      |         ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/lib.rs:69:44
[INFO] [stdout]      |
[INFO] [stdout] 69   | #[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:93:6
[INFO] [stdout]    |
[INFO] [stdout] 93 |     use hex;
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:69:44
[INFO] [stdout]    |
[INFO] [stdout] 69 | #[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 <https://github.com/rust-lang/rust/issues/71800> for more information
[INFO] [stdout]     --> src/ln/channelmanager.rs:1418:8
[INFO] [stdout]      |
[INFO] [stdout] 1418 | #[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 <https://github.com/rust-lang/rust/issues/71800> for more information
[INFO] [stdout]     --> src/ln/channelmanager.rs:1424:8
[INFO] [stdout]      |
[INFO] [stdout] 1424 | #[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/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115: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:2720:6
[INFO] [stdout]      |
[INFO] [stdout] 2720 |     use hex;
[INFO] [stdout]      |         ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/lib.rs:69:44
[INFO] [stdout]      |
[INFO] [stdout] 69   | #[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 <https://github.com/rust-lang/rust/issues/71800> for more information
[INFO] [stdout]     --> src/ln/peer_handler.rs:2407:9
[INFO] [stdout]      |
[INFO] [stdout] 2407 |     #[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:1861:14
[INFO] [stdout]      |
[INFO] [stdout] 1861 |     use crate::{hex, chain};
[INFO] [stdout]      |                 ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/lib.rs:69:44
[INFO] [stdout]      |
[INFO] [stdout] 69   | #[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:552:6
[INFO] [stdout]     |
[INFO] [stdout] 552 |     use hex;
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:69:44
[INFO] [stdout]     |
[INFO] [stdout] 69  | #[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:7662:6
[INFO] [stdout]      |
[INFO] [stdout] 7662 |     use hex;
[INFO] [stdout]      |         ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/lib.rs:69:44
[INFO] [stdout]      |
[INFO] [stdout] 69   | #[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:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 | use core::convert::{AsMut, TryInto};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115: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:1029:6
[INFO] [stdout]      |
[INFO] [stdout] 1029 |     use hex;
[INFO] [stdout]      |         ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/lib.rs:69:44
[INFO] [stdout]      |
[INFO] [stdout] 69   | #[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:70:44
[INFO] [stdout]    |
[INFO] [stdout] 70 | #[cfg(any(test, 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/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115: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/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115: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:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use core::default::Default;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115: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:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | use core::default::Default;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115: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:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use regex;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:70:44
[INFO] [stdout]    |
[INFO] [stdout] 70 | #[cfg(any(test, 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:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use core::default::Default;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Default` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]    --> src/offers/invoice.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 108 | use core::convert::{AsRef, Infallible, TryFrom};
[INFO] [stdout]     |                     ^^^^^
[INFO] [stdout]    --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/offers/invoice_request.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 | use core::convert::{AsRef, Infallible, TryFrom};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/offers/merkle.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::convert::AsRef;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]   --> src/offers/test_utils.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 | use core::convert::{AsRef, Infallible};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `msgs` is imported redundantly
[INFO] [stdout]    --> src/routing/utxo.rs:566:6
[INFO] [stdout]     |
[INFO] [stdout] 563 |     use super::*;
[INFO] [stdout]     |         -------- the item `msgs` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 566 |     use crate::ln::msgs;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `hex` is imported redundantly
[INFO] [stdout]     --> src/routing/gossip.rs:2094:6
[INFO] [stdout]      |
[INFO] [stdout] 2094 |     use hex;
[INFO] [stdout]      |         ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/lib.rs:69:44
[INFO] [stdout]      |
[INFO] [stdout] 69   | #[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:2839:6
[INFO] [stdout]      |
[INFO] [stdout] 2839 |     use hex;
[INFO] [stdout]      |         ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/lib.rs:69:44
[INFO] [stdout]      |
[INFO] [stdout] 69   | #[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 `Hash` is imported redundantly
[INFO] [stdout]     --> src/routing/router.rs:7923:6
[INFO] [stdout]      |
[INFO] [stdout] 7920 |     use super::*;
[INFO] [stdout]      |         -------- the item `Hash` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 7923 |     use bitcoin::hashes::Hash;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `PublicKey` is imported redundantly
[INFO] [stdout]     --> src/routing/router.rs:7924:27
[INFO] [stdout]      |
[INFO] [stdout] 7920 |     use super::*;
[INFO] [stdout]      |         -------- the item `PublicKey` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 7924 |     use bitcoin::secp256k1::{PublicKey, Secp256k1, SecretKey};
[INFO] [stdout]      |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ChannelDetails` is imported redundantly
[INFO] [stdout]     --> src/routing/router.rs:7930:61
[INFO] [stdout]      |
[INFO] [stdout] 7920 |     use super::*;
[INFO] [stdout]      |         -------- the item `ChannelDetails` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 7930 |     use crate::ln::channelmanager::{self, ChannelCounterparty, ChannelDetails};
[INFO] [stdout]      |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Bolt11InvoiceFeatures` is imported redundantly
[INFO] [stdout]     --> src/routing/router.rs:7931:6
[INFO] [stdout]      |
[INFO] [stdout] 7920 |     use super::*;
[INFO] [stdout]      |         -------- the item `Bolt11InvoiceFeatures` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 7931 |     use crate::ln::features::Bolt11InvoiceFeatures;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `NetworkGraph` is imported redundantly
[INFO] [stdout]     --> src/routing/router.rs:7932:6
[INFO] [stdout]      |
[INFO] [stdout] 7920 |     use super::*;
[INFO] [stdout]      |         -------- the item `NetworkGraph` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 7932 |     use crate::routing::gossip::NetworkGraph;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ReadableArgs` is imported redundantly
[INFO] [stdout]     --> src/routing/router.rs:7934:6
[INFO] [stdout]      |
[INFO] [stdout] 7920 |     use super::*;
[INFO] [stdout]      |         -------- the item `ReadableArgs` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 7934 |     use crate::util::ser::ReadableArgs;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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:69:44
[INFO] [stdout]    |
[INFO] [stdout] 69 | #[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:175:10
[INFO] [stdout]     |
[INFO] [stdout] 175 |     pub use alloc::borrow::ToOwned;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115: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:176:10
[INFO] [stdout]     |
[INFO] [stdout] 176 |     pub use alloc::string::ToString;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `ToString` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lightning` (lib test); 49 warnings emitted
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/72eda894eb3548c7ba774079ce0afab42958d4ee/bin/rustc --crate-name lightning --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="grind_signatures"' --cfg 'feature="std"' -C metadata=82a548d91bd7f1fb -C extra-filename=-82a548d91bd7f1fb --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitcoin=/opt/rustwide/target/debug/deps/libbitcoin-9a4cc1f38cbc34a4.rmeta --extern hex=/opt/rustwide/target/debug/deps/libhex-4993bc98e929487d.rmeta --extern regex=/opt/rustwide/target/debug/deps/libregex-abed59eb8a3a24ad.rmeta --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/bitcoinconsensus-4b9f846b5b171363/out -L native=/opt/rustwide/target/debug/build/secp256k1-sys-a10f514b220f4594/out` (signal: 9, SIGKILL: kill)
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `lightning` (lib); 16 warnings emitted
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/72eda894eb3548c7ba774079ce0afab42958d4ee/bin/rustc --crate-name lightning --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="grind_signatures"' --cfg 'feature="std"' -C metadata=ec43b632260d17d4 -C extra-filename=-ec43b632260d17d4 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitcoin=/opt/rustwide/target/debug/deps/libbitcoin-9a4cc1f38cbc34a4.rmeta --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/bitcoinconsensus-4b9f846b5b171363/out -L native=/opt/rustwide/target/debug/build/secp256k1-sys-a10f514b220f4594/out` (signal: 9, SIGKILL: kill)
[INFO] running `Command { std: "docker" "inspect" "2ad95274a2df812f4e41af5897e3159f2ce724ba82af3ef93fdcea6b7430ed25", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ad95274a2df812f4e41af5897e3159f2ce724ba82af3ef93fdcea6b7430ed25", kill_on_drop: false }`
[INFO] [stdout] 2ad95274a2df812f4e41af5897e3159f2ce724ba82af3ef93fdcea6b7430ed25
