[INFO] cloning repository https://github.com/Srikarrao1/lightning-offline
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Srikarrao1/lightning-offline" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSrikarrao1%2Flightning-offline", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSrikarrao1%2Flightning-offline'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 173b14bd4f49431f6ead3bf65d739d171a898d3a
[INFO] checking Srikarrao1/lightning-offline against try#22cc29ba5b459fb386c0406b9baf3a49eb0fba39 for pr-146095-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSrikarrao1%2Flightning-offline" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  80% (1211/1510)
Updating files:  81% (1224/1510)
Updating files:  82% (1239/1510)
Updating files:  83% (1254/1510)
Updating files:  84% (1269/1510)
Updating files:  85% (1284/1510)
Updating files:  86% (1299/1510)
Updating files:  87% (1314/1510)
Updating files:  88% (1329/1510)
Updating files:  89% (1344/1510)
Updating files:  90% (1359/1510)
Updating files:  91% (1375/1510)
Updating files:  92% (1390/1510)
Updating files:  92% (1403/1510)
Updating files:  93% (1405/1510)
Updating files:  94% (1420/1510)
Updating files:  95% (1435/1510)
Updating files:  96% (1450/1510)
Updating files:  97% (1465/1510)
Updating files:  98% (1480/1510)
Updating files:  99% (1495/1510)
Updating files: 100% (1510/1510)
Updating files: 100% (1510/1510), done.
[INFO] started tweaking git repo https://github.com/Srikarrao1/lightning-offline
[INFO] finished tweaking git repo https://github.com/Srikarrao1/lightning-offline
[INFO] tweaked toml for git repo https://github.com/Srikarrao1/lightning-offline written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Srikarrao1/lightning-offline on toolchain 22cc29ba5b459fb386c0406b9baf3a49eb0fba39
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Srikarrao1/lightning-offline already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f4d160bc0a35f3a58eee676952f96ce12d7dcd3af44e2c6674fc675db42dab86
[INFO] running `Command { std: "docker" "start" "-a" "f4d160bc0a35f3a58eee676952f96ce12d7dcd3af44e2c6674fc675db42dab86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f4d160bc0a35f3a58eee676952f96ce12d7dcd3af44e2c6674fc675db42dab86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4d160bc0a35f3a58eee676952f96ce12d7dcd3af44e2c6674fc675db42dab86", kill_on_drop: false }`
[INFO] [stdout] f4d160bc0a35f3a58eee676952f96ce12d7dcd3af44e2c6674fc675db42dab86
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1080ad0cfe33f2d24f437935113459ae96a56bad04700a5aef6fe1c7019b11b4
[INFO] running `Command { std: "docker" "start" "-a" "1080ad0cfe33f2d24f437935113459ae96a56bad04700a5aef6fe1c7019b11b4", kill_on_drop: false }`
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling cc v1.2.34
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling thiserror v2.0.16
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling thiserror-impl v2.0.16
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking unsigned-varint v0.8.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking allocator-api2 v0.2.21
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking core2 v0.4.0
[INFO] [stderr]     Checking quick-protobuf v0.8.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling data-encoding-macro-internal v0.1.16
[INFO] [stderr]     Checking ed25519-dalek v2.2.0
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking multihash v0.19.3
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking base-x v0.2.11
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking data-encoding-macro v0.1.18
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking libp2p-identity v0.2.12
[INFO] [stderr]     Checking multibase v0.9.1
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]     Checking unsigned-varint v0.7.2
[INFO] [stderr]     Checking multiaddr v0.18.2
[INFO] [stderr]     Checking multistream-select v0.13.0
[INFO] [stderr]     Checking rw-stream-sink v0.4.0
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking libp2p-core v0.41.3
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]     Checking netlink-packet-utils v0.5.2
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]     Checking netlink-packet-core v0.7.0
[INFO] [stderr]    Compiling libp2p-swarm-derive v0.34.2
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]     Checking lru v0.12.5
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking libp2p-swarm v0.44.2
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking netlink-sys v0.8.7
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling bitcoin-io v0.1.3
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]     Checking netlink-proto v0.11.5
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]     Checking netlink-packet-route v0.17.1
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking asynchronous-codec v0.7.0
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling bitflags v2.9.3
[INFO] [stderr]    Compiling uuid v1.18.0
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling bitcoin-internals v0.3.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]     Checking hex-conservative v0.2.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rtnetlink v0.13.1
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling secp256k1-sys v0.10.1
[INFO] [stderr]    Compiling snow v0.9.6
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]    Compiling prometheus-client v0.22.3
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling tempfile v3.21.0
[INFO] [stderr]     Checking regex-automata v0.4.10
[INFO] [stderr]     Checking bitcoin_hashes v0.14.0
[INFO] [stderr]     Checking if-watch v3.2.1
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking quick-protobuf-codec v0.3.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]     Checking indexmap v2.11.0
[INFO] [stderr]    Compiling sqlx-sqlite v0.7.4
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling prometheus-client-derive-encode v0.4.2
[INFO] [stderr]     Checking dtoa v1.0.10
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling hex_lit v0.1.1
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking tungstenite v0.24.0
[INFO] [stderr]     Checking regex v1.11.2
[INFO] [stderr]     Checking hickory-proto v0.24.4
[INFO] [stderr]     Checking yamux v0.13.6
[INFO] [stderr]     Checking yamux v0.12.1
[INFO] [stderr]     Checking futures-ticker v0.0.3
[INFO] [stderr]     Checking futures-bounded v0.2.4
[INFO] [stderr]     Checking x25519-dalek v2.0.1
[INFO] [stderr]     Checking hex_fmt v0.3.0
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]    Compiling bitcoin v0.32.7
[INFO] [stderr]     Checking libp2p-yamux v0.45.2
[INFO] [stderr]     Checking libp2p-noise v0.44.0
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking libp2p-gossipsub v0.46.1
[INFO] [stderr]     Checking libp2p-identify v0.44.2
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]     Checking secp256k1 v0.29.1
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking hyper-util v0.1.16
[INFO] [stderr]     Checking tokio-tungstenite v0.24.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking base58ck v0.1.0
[INFO] [stderr]     Checking bitcoin-units v0.1.2
[INFO] [stderr]     Checking libp2p-tcp v0.41.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking libp2p-mdns v0.45.1
[INFO] [stderr]     Checking libp2p-allow-block-list v0.3.0
[INFO] [stderr]     Checking libp2p-connection-limits v0.3.1
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking bech32 v0.11.0
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking http-range-header v0.4.2
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking libp2p v0.53.2
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking lightning-offline v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/api.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sqlite`
[INFO] [stdout]  --> src/storage.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{Row, Sqlite, sqlite::SqlitePool};
[INFO] [stdout]   |                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/api.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sqlite`
[INFO] [stdout]  --> src/storage.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sqlx::{Row, Sqlite, sqlite::SqlitePool};
[INFO] [stdout]   |                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NetworkBehaviour`
[INFO] [stdout]  --> src/p2p.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     swarm::{NetworkBehaviour, SwarmEvent},
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compressed`
[INFO] [stdout]   --> src/crypto.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let compressed = CompressedPublicKey::from_slice(&public_key.serialize())?;
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bitcoin_private_key`
[INFO] [stdout]   --> src/crypto.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let bitcoin_private_key = PrivateKey::new(private_key, Network::Regtest);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bitcoin_private_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NetworkBehaviour`
[INFO] [stdout]  --> src/p2p.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     swarm::{NetworkBehaviour, SwarmEvent},
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2p_port`
[INFO] [stdout]   --> src/main.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |             let p2p_port = env::var("P2P_PORT").unwrap_or_else(|_| "4001".to_string());
[INFO] [stdout]    |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p2p_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `p2p_sender` is never read
[INFO] [stdout]   --> src/api.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct ApiServer {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 39 |     p2p_sender: Option<mpsc::UnboundedSender<crate::p2p::P2PMessage>>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `with_p2p_sender` is never used
[INFO] [stdout]   --> src/api.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl ApiServer {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn with_p2p_sender(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `key_manager` is never read
[INFO] [stdout]   --> src/p2p.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct P2PNode {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 50 |     swarm: Swarm<Behaviour>,
[INFO] [stdout] 51 |     key_manager: Arc<KeyManager>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `broadcast_message` and `get_connected_peers` are never used
[INFO] [stdout]    --> src/p2p.rs:178:18
[INFO] [stdout]     |
[INFO] [stdout]  56 | impl P2PNode {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub async fn broadcast_message(&mut self, message: P2PMessage) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     pub fn get_connected_peers(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compressed`
[INFO] [stdout]   --> src/crypto.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let compressed = CompressedPublicKey::from_slice(&public_key.serialize())?;
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bitcoin_private_key`
[INFO] [stdout]   --> src/crypto.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let bitcoin_private_key = PrivateKey::new(private_key, Network::Regtest);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bitcoin_private_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2p_port`
[INFO] [stdout]   --> src/main.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |             let p2p_port = env::var("P2P_PORT").unwrap_or_else(|_| "4001".to_string());
[INFO] [stdout]    |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p2p_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `p2p_sender` is never read
[INFO] [stdout]   --> src/api.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct ApiServer {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 39 |     p2p_sender: Option<mpsc::UnboundedSender<crate::p2p::P2PMessage>>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `with_p2p_sender` is never used
[INFO] [stdout]   --> src/api.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl ApiServer {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn with_p2p_sender(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `key_manager` is never read
[INFO] [stdout]   --> src/p2p.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct P2PNode {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 50 |     swarm: Swarm<Behaviour>,
[INFO] [stdout] 51 |     key_manager: Arc<KeyManager>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `broadcast_message` and `get_connected_peers` are never used
[INFO] [stdout]    --> src/p2p.rs:178:18
[INFO] [stdout]     |
[INFO] [stdout]  56 | impl P2PNode {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub async fn broadcast_message(&mut self, message: P2PMessage) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     pub fn get_connected_peers(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 00s
[INFO] running `Command { std: "docker" "inspect" "1080ad0cfe33f2d24f437935113459ae96a56bad04700a5aef6fe1c7019b11b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1080ad0cfe33f2d24f437935113459ae96a56bad04700a5aef6fe1c7019b11b4", kill_on_drop: false }`
[INFO] [stdout] 1080ad0cfe33f2d24f437935113459ae96a56bad04700a5aef6fe1c7019b11b4
