[INFO] cloning repository https://github.com/DhananjayPurohit/paygress [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DhananjayPurohit/paygress" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhananjayPurohit%2Fpaygress", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhananjayPurohit%2Fpaygress'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e93e09164ce4ffb30b5c403721d298e1e44f6ec [INFO] checking DhananjayPurohit/paygress against master#377656d3dd3f9c23a9c8713e163f4365a5261a84 for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhananjayPurohit%2Fpaygress" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DhananjayPurohit/paygress [INFO] finished tweaking git repo https://github.com/DhananjayPurohit/paygress [INFO] tweaked toml for git repo https://github.com/DhananjayPurohit/paygress written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DhananjayPurohit/paygress on toolchain 377656d3dd3f9c23a9c8713e163f4365a5261a84 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DhananjayPurohit/paygress 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" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nostr-sdk v0.33.0 [INFO] [stderr] Downloaded nwc v0.33.0 [INFO] [stderr] Downloaded rmcp-macros v0.2.1 [INFO] [stderr] Downloaded nostr-zapper v0.33.0 [INFO] [stderr] Downloaded negentropy v0.3.1 [INFO] [stderr] Downloaded atomic-destructor v0.2.0 [INFO] [stderr] Downloaded async-utility v0.2.0 [INFO] [stderr] Downloaded wasm-ws v0.2.1 [INFO] [stderr] Downloaded kube-derive v0.93.1 [INFO] [stderr] Downloaded async-wsocket v0.5.2 [INFO] [stderr] Downloaded hyper-http-proxy v1.1.0 [INFO] [stderr] Downloaded cdk-common v0.9.3 [INFO] [stderr] Downloaded nostr-signer v0.33.0 [INFO] [stderr] Downloaded json-patch v2.0.0 [INFO] [stderr] Downloaded cbor-diag v0.1.12 [INFO] [stderr] Downloaded cashu v0.9.3 [INFO] [stderr] Downloaded kube-client v0.93.1 [INFO] [stderr] Downloaded bip39 v2.2.0 [INFO] [stderr] Downloaded nostr v0.33.0 [INFO] [stderr] Downloaded rmcp v0.2.1 [INFO] [stderr] Downloaded fluent-uri v0.1.4 [INFO] [stderr] Downloaded bitcoin v0.31.2 [INFO] [stderr] Downloaded kube-core v0.93.1 [INFO] [stderr] Downloaded kube-runtime v0.93.1 [INFO] [stderr] Downloaded nostr-relay-pool v0.33.0 [INFO] [stderr] Downloaded bech32 v0.10.0-beta [INFO] [stderr] Downloaded security-framework v3.3.0 [INFO] [stderr] Downloaded lightning-types v0.1.0 [INFO] [stderr] Downloaded lightning-invoice v0.32.0 [INFO] [stderr] Downloaded cdk-redb v0.9.3 [INFO] [stderr] Downloaded jsonptr v0.4.7 [INFO] [stderr] Downloaded lnurl-pay v0.5.0 [INFO] [stderr] Downloaded nostr-database v0.33.1 [INFO] [stderr] Downloaded kube v0.93.1 [INFO] [stderr] Downloaded cdk v0.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d7d2c5bce6eebc11d3feba9e7e71c1f9c21e78433fe0f8f9fe09d9cf78a0eac [INFO] running `Command { std: "docker" "start" "-a" "8d7d2c5bce6eebc11d3feba9e7e71c1f9c21e78433fe0f8f9fe09d9cf78a0eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d7d2c5bce6eebc11d3feba9e7e71c1f9c21e78433fe0f8f9fe09d9cf78a0eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d7d2c5bce6eebc11d3feba9e7e71c1f9c21e78433fe0f8f9fe09d9cf78a0eac", kill_on_drop: false }` [INFO] [stdout] 8d7d2c5bce6eebc11d3feba9e7e71c1f9c21e78433fe0f8f9fe09d9cf78a0eac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 625e32435ba19f009a147dc66e257a8204cfedc6ab616fdcc86403b5c721b4d6 [INFO] running `Command { std: "docker" "start" "-a" "625e32435ba19f009a147dc66e257a8204cfedc6ab616fdcc86403b5c721b4d6", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hex-conservative v0.1.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking bech32 v0.10.0-beta [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Compiling bitcoin v0.31.2 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking negentropy v0.3.1 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling k8s-openapi v0.22.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking separator v0.4.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking deranged v0.5.3 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking redb v2.6.3 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking atomic-destructor v0.2.0 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking pest v2.8.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling rmcp-macros v0.2.1 [INFO] [stderr] Compiling kube-derive v0.93.1 [INFO] [stderr] Checking tungstenite v0.23.0 [INFO] [stderr] Checking tungstenite v0.26.2 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking compression-codecs v0.4.30 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking async-compression v0.4.30 [INFO] [stderr] Checking tokio-socks v0.5.2 [INFO] [stderr] Checking async-utility v0.2.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking tokio-tungstenite v0.23.1 [INFO] [stderr] Checking tokio-tungstenite v0.26.2 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking uuid v1.12.1 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking serde_with v3.14.0 [INFO] [stderr] Checking bitcoin-units v0.1.2 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking async-wsocket v0.5.2 [INFO] [stderr] Checking jsonptr v0.4.7 [INFO] [stderr] Checking jsonpath-rust v0.5.1 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking cbor-diag v0.1.12 [INFO] [stderr] Checking base58ck v0.1.0 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Checking json-patch v2.0.0 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking bip39 v2.2.0 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking rmcp v0.2.1 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking lnurl-pay v0.5.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking nostr v0.33.0 [INFO] [stderr] Checking lightning-types v0.1.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking lightning-invoice v0.32.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking cashu v0.9.3 [INFO] [stderr] Checking nostr-database v0.33.1 [INFO] [stderr] Checking nostr-zapper v0.33.0 [INFO] [stderr] Checking nostr-relay-pool v0.33.0 [INFO] [stderr] Checking cdk-common v0.9.3 [INFO] [stderr] Checking kube-core v0.93.1 [INFO] [stderr] Checking cdk v0.9.3 [INFO] [stderr] Checking cdk-redb v0.9.3 [INFO] [stderr] Checking kube-client v0.93.1 [INFO] [stderr] Checking nwc v0.33.0 [INFO] [stderr] Checking nostr-signer v0.33.0 [INFO] [stderr] Checking nostr-sdk v0.33.0 [INFO] [stderr] Checking kube-runtime v0.93.1 [INFO] [stderr] Checking kube v0.93.1 [INFO] [stderr] Checking paygress v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `MSAT_PER_SAT` is never used [INFO] [stdout] --> src/cashu.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const MSAT_PER_SAT: u64 = 1000; [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 `convert_event` is never used [INFO] [stdout] --> src/nostr.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl NostrRelaySubscriber { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 378 | fn convert_event(&self, event: &nostr_sdk::Event) -> NostrEvent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `range_start` and `range_end` are never read [INFO] [stdout] --> src/sidecar_service.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct PortPool { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | range_start: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 61 | range_end: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PortPool` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `setup_port_forward` is never used [INFO] [stdout] --> src/sidecar_service.rs:452:14 [INFO] [stdout] | [INFO] [stdout] 178 | impl PodManager { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 452 | async fn setup_port_forward( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_pod_simple` is never used [INFO] [stdout] --> src/sidecar_service.rs:921:10 [INFO] [stdout] | [INFO] [stdout] 921 | async fn spawn_pod_simple( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSAT_PER_SAT` is never used [INFO] [stdout] --> src/cashu.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const MSAT_PER_SAT: u64 = 1000; [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 `convert_event` is never used [INFO] [stdout] --> src/nostr.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl NostrRelaySubscriber { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 378 | fn convert_event(&self, event: &nostr_sdk::Event) -> NostrEvent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `range_start` and `range_end` are never read [INFO] [stdout] --> src/sidecar_service.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct PortPool { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | range_start: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 61 | range_end: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PortPool` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `setup_port_forward` is never used [INFO] [stdout] --> src/sidecar_service.rs:452:14 [INFO] [stdout] | [INFO] [stdout] 178 | impl PodManager { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 452 | async fn setup_port_forward( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_pod_simple` is never used [INFO] [stdout] --> src/sidecar_service.rs:921:10 [INFO] [stdout] | [INFO] [stdout] 921 | async fn spawn_pod_simple( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/interfaces/http_l402.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | use tracing::{info, error, warn}; [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: `Serialize` [INFO] [stdout] --> src/interfaces/http_l402.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/interfaces/http_l402.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | use tracing::{info, error, warn}; [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: `Serialize` [INFO] [stdout] --> src/interfaces/http_l402.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/interfaces/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | result = async { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/interfaces/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | result = async { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_interface_config` is never used [INFO] [stdout] --> src/interfaces/mod.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_interface_config() -> InterfaceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InterfaceConfig` is never constructed [INFO] [stdout] --> src/interfaces/mod.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct InterfaceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_config` is never used [INFO] [stdout] --> src/pod_provisioning.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl PodProvisioningService { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn get_config(&self) -> &SidecarConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_tools_call` is never used [INFO] [stdout] --> src/mcp/protocol.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn handle_tools_call(service: &PodProvisioningService, request: &Value) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_spawn_pod` is never used [INFO] [stdout] --> src/mcp/protocol.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | async fn call_spawn_pod(service: &PodProvisioningService, arguments: &Value) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_topup_pod` is never used [INFO] [stdout] --> src/mcp/protocol.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | async fn call_topup_pod(service: &PodProvisioningService, arguments: &Value) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_get_offers` is never used [INFO] [stdout] --> src/mcp/protocol.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | async fn call_get_offers(service: &PodProvisioningService) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_get_pod_status` is never used [INFO] [stdout] --> src/mcp/protocol.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | async fn call_get_pod_status(service: &PodProvisioningService, arguments: &Value) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSAT_PER_SAT` is never used [INFO] [stdout] --> src/cashu.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const MSAT_PER_SAT: u64 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RelayConfig` is never constructed [INFO] [stdout] --> src/nostr.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RelayConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NostrEvent` is never constructed [INFO] [stdout] --> src/nostr.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct NostrEvent { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NostrRelaySubscriber` is never constructed [INFO] [stdout] --> src/nostr.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct NostrRelaySubscriber { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/nostr.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 37 | impl NostrRelaySubscriber { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 38 | pub async fn new(config: RelayConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn subscribe_to_pod_events(&self, handler: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub async fn publish_offer(&self, offer: OfferEventContent) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub async fn send_access_details_private_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub async fn send_error_response_private_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub async fn send_topup_response_private_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | pub fn get_service_public_key(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | fn convert_event(&self, event: &nostr_sdk::Event) -> NostrEvent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_relay_config` is never used [INFO] [stdout] --> src/nostr.rs:394:8 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn default_relay_config() -> RelayConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `custom_relay_config` is never used [INFO] [stdout] --> src/nostr.rs:405:8 [INFO] [stdout] | [INFO] [stdout] 405 | pub fn custom_relay_config(relays: Vec, private_key: Option) -> RelayConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OfferEventContent` is never constructed [INFO] [stdout] --> src/nostr.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 420 | pub struct OfferEventContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccessDetailsContent` is never constructed [INFO] [stdout] --> src/nostr.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 427 | pub struct AccessDetailsContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorResponseContent` is never constructed [INFO] [stdout] --> src/nostr.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 439 | pub struct ErrorResponseContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TopUpResponseContent` is never constructed [INFO] [stdout] --> src/nostr.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 446 | pub struct TopUpResponseContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_provisioning_request_private_message` is never used [INFO] [stdout] --> src/nostr.rs:472:14 [INFO] [stdout] | [INFO] [stdout] 472 | pub async fn send_provisioning_request_private_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_private_message_content` is never used [INFO] [stdout] --> src/nostr.rs:487:8 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn parse_private_message_content(content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_image` and `enable_cleanup_task` are never read [INFO] [stdout] --> src/sidecar_service.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct SidecarConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub base_image: String, // Base image for pods [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub enable_cleanup_task: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SidecarConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `range_start` and `range_end` are never read [INFO] [stdout] --> src/sidecar_service.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct PortPool { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | range_start: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 61 | range_end: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PortPool` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `allocate_port`, `deallocate_port`, and `is_allocated` are never used [INFO] [stdout] --> src/sidecar_service.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl PortPool { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn allocate_port(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn deallocate_port(&mut self, port: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn is_allocated(&self, port: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpawnPodRequest` is never constructed [INFO] [stdout] --> src/sidecar_service.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct SpawnPodRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TopUpPodRequest` is never constructed [INFO] [stdout] --> src/sidecar_service.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct TopUpPodRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpawnPodResponse` is never constructed [INFO] [stdout] --> src/sidecar_service.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct SpawnPodResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TopUpPodResponse` is never constructed [INFO] [stdout] --> src/sidecar_service.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct TopUpPodResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthQuery` is never constructed [INFO] [stdout] --> src/sidecar_service.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct AuthQuery { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `setup_port_forward` and `delete_pod` are never used [INFO] [stdout] --> src/sidecar_service.rs:452:14 [INFO] [stdout] | [INFO] [stdout] 178 | impl PodManager { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 452 | async fn setup_port_forward( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 497 | pub async fn delete_pod(&self, namespace: &str, pod_name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `is_payment_sufficient`, `generate_password`, `validate_port_available`, `find_next_available_port`, `deallocate_ssh_port`, and `cleanup_expired_pods` are never used [INFO] [stdout] --> src/sidecar_service.rs:599:12 [INFO] [stdout] | [INFO] [stdout] 562 | impl SidecarState { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 599 | pub fn is_payment_sufficient(&self, payment_msats: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 605 | pub fn generate_password() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 618 | pub fn validate_port_available(&self, port: u16) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 647 | pub fn find_next_available_port(&self, start_port: u16, max_attempts: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 784 | pub fn deallocate_ssh_port(&self, port: u16) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 793 | pub async fn cleanup_expired_pods(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_sidecar_router` is never used [INFO] [stdout] --> src/sidecar_service.rs:850:8 [INFO] [stdout] | [INFO] [stdout] 850 | pub fn create_sidecar_router(state: SidecarState) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `health_check` is never used [INFO] [stdout] --> src/sidecar_service.rs:864:10 [INFO] [stdout] | [INFO] [stdout] 864 | async fn health_check(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_check` is never used [INFO] [stdout] --> src/sidecar_service.rs:883:10 [INFO] [stdout] | [INFO] [stdout] 883 | async fn auth_check( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_pod_simple` is never used [INFO] [stdout] --> src/sidecar_service.rs:921:10 [INFO] [stdout] | [INFO] [stdout] 921 | async fn spawn_pod_simple( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_pod_handler` is never used [INFO] [stdout] --> src/sidecar_service.rs:933:10 [INFO] [stdout] | [INFO] [stdout] 933 | async fn spawn_pod_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `top_up_pod_handler` is never used [INFO] [stdout] --> src/sidecar_service.rs:1056:14 [INFO] [stdout] | [INFO] [stdout] 1056 | pub async fn top_up_pod_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_pods` is never used [INFO] [stdout] --> src/sidecar_service.rs:1260:10 [INFO] [stdout] | [INFO] [stdout] 1260 | async fn list_pods(State(state): State) -> Json> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pod_info` is never used [INFO] [stdout] --> src/sidecar_service.rs:1266:10 [INFO] [stdout] | [INFO] [stdout] 1266 | async fn get_pod_info( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_port_forward_command` is never used [INFO] [stdout] --> src/sidecar_service.rs:1279:10 [INFO] [stdout] | [INFO] [stdout] 1279 | async fn get_port_forward_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_sidecar_service` is never used [INFO] [stdout] --> src/sidecar_service.rs:1319:14 [INFO] [stdout] | [INFO] [stdout] 1319 | pub async fn start_sidecar_service(bind_addr: &str, config: SidecarConfig) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_interface_config` is never used [INFO] [stdout] --> src/interfaces/mod.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_interface_config() -> InterfaceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InterfaceConfig` is never constructed [INFO] [stdout] --> src/interfaces/mod.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct InterfaceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_config` is never used [INFO] [stdout] --> src/pod_provisioning.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl PodProvisioningService { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn get_config(&self) -> &SidecarConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_tools_call` is never used [INFO] [stdout] --> src/mcp/protocol.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn handle_tools_call(service: &PodProvisioningService, request: &Value) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_spawn_pod` is never used [INFO] [stdout] --> src/mcp/protocol.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | async fn call_spawn_pod(service: &PodProvisioningService, arguments: &Value) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_topup_pod` is never used [INFO] [stdout] --> src/mcp/protocol.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | async fn call_topup_pod(service: &PodProvisioningService, arguments: &Value) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_get_offers` is never used [INFO] [stdout] --> src/mcp/protocol.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | async fn call_get_offers(service: &PodProvisioningService) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_get_pod_status` is never used [INFO] [stdout] --> src/mcp/protocol.rs:307:10 [INFO] [stdout] | [INFO] [stdout] 307 | async fn call_get_pod_status(service: &PodProvisioningService, arguments: &Value) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MSAT_PER_SAT` is never used [INFO] [stdout] --> src/cashu.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const MSAT_PER_SAT: u64 = 1000; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RelayConfig` is never constructed [INFO] [stdout] --> src/nostr.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RelayConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NostrEvent` is never constructed [INFO] [stdout] --> src/nostr.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct NostrEvent { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NostrRelaySubscriber` is never constructed [INFO] [stdout] --> src/nostr.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct NostrRelaySubscriber { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/nostr.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 37 | impl NostrRelaySubscriber { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 38 | pub async fn new(config: RelayConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn subscribe_to_pod_events(&self, handler: F) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub async fn publish_offer(&self, offer: OfferEventContent) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub async fn send_access_details_private_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub async fn send_error_response_private_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub async fn send_topup_response_private_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | pub fn get_service_public_key(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | fn convert_event(&self, event: &nostr_sdk::Event) -> NostrEvent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_relay_config` is never used [INFO] [stdout] --> src/nostr.rs:394:8 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn default_relay_config() -> RelayConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `custom_relay_config` is never used [INFO] [stdout] --> src/nostr.rs:405:8 [INFO] [stdout] | [INFO] [stdout] 405 | pub fn custom_relay_config(relays: Vec, private_key: Option) -> RelayConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OfferEventContent` is never constructed [INFO] [stdout] --> src/nostr.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 420 | pub struct OfferEventContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccessDetailsContent` is never constructed [INFO] [stdout] --> src/nostr.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 427 | pub struct AccessDetailsContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorResponseContent` is never constructed [INFO] [stdout] --> src/nostr.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 439 | pub struct ErrorResponseContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TopUpResponseContent` is never constructed [INFO] [stdout] --> src/nostr.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 446 | pub struct TopUpResponseContent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_provisioning_request_private_message` is never used [INFO] [stdout] --> src/nostr.rs:472:14 [INFO] [stdout] | [INFO] [stdout] 472 | pub async fn send_provisioning_request_private_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_private_message_content` is never used [INFO] [stdout] --> src/nostr.rs:487:8 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn parse_private_message_content(content: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_image` and `enable_cleanup_task` are never read [INFO] [stdout] --> src/sidecar_service.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct SidecarConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub base_image: String, // Base image for pods [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub enable_cleanup_task: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SidecarConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `range_start` and `range_end` are never read [INFO] [stdout] --> src/sidecar_service.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct PortPool { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | range_start: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 61 | range_end: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PortPool` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `allocate_port`, `deallocate_port`, and `is_allocated` are never used [INFO] [stdout] --> src/sidecar_service.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl PortPool { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn allocate_port(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn deallocate_port(&mut self, port: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn is_allocated(&self, port: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpawnPodRequest` is never constructed [INFO] [stdout] --> src/sidecar_service.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct SpawnPodRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TopUpPodRequest` is never constructed [INFO] [stdout] --> src/sidecar_service.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct TopUpPodRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpawnPodResponse` is never constructed [INFO] [stdout] --> src/sidecar_service.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct SpawnPodResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TopUpPodResponse` is never constructed [INFO] [stdout] --> src/sidecar_service.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct TopUpPodResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthQuery` is never constructed [INFO] [stdout] --> src/sidecar_service.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct AuthQuery { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `setup_port_forward` and `delete_pod` are never used [INFO] [stdout] --> src/sidecar_service.rs:452:14 [INFO] [stdout] | [INFO] [stdout] 178 | impl PodManager { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 452 | async fn setup_port_forward( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 497 | pub async fn delete_pod(&self, namespace: &str, pod_name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `is_payment_sufficient`, `generate_password`, `validate_port_available`, `find_next_available_port`, `deallocate_ssh_port`, and `cleanup_expired_pods` are never used [INFO] [stdout] --> src/sidecar_service.rs:599:12 [INFO] [stdout] | [INFO] [stdout] 562 | impl SidecarState { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 599 | pub fn is_payment_sufficient(&self, payment_msats: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 605 | pub fn generate_password() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 618 | pub fn validate_port_available(&self, port: u16) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 647 | pub fn find_next_available_port(&self, start_port: u16, max_attempts: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 784 | pub fn deallocate_ssh_port(&self, port: u16) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 793 | pub async fn cleanup_expired_pods(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_sidecar_router` is never used [INFO] [stdout] --> src/sidecar_service.rs:850:8 [INFO] [stdout] | [INFO] [stdout] 850 | pub fn create_sidecar_router(state: SidecarState) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `health_check` is never used [INFO] [stdout] --> src/sidecar_service.rs:864:10 [INFO] [stdout] | [INFO] [stdout] 864 | async fn health_check(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_check` is never used [INFO] [stdout] --> src/sidecar_service.rs:883:10 [INFO] [stdout] | [INFO] [stdout] 883 | async fn auth_check( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_pod_simple` is never used [INFO] [stdout] --> src/sidecar_service.rs:921:10 [INFO] [stdout] | [INFO] [stdout] 921 | async fn spawn_pod_simple( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_pod_handler` is never used [INFO] [stdout] --> src/sidecar_service.rs:933:10 [INFO] [stdout] | [INFO] [stdout] 933 | async fn spawn_pod_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `top_up_pod_handler` is never used [INFO] [stdout] --> src/sidecar_service.rs:1056:14 [INFO] [stdout] | [INFO] [stdout] 1056 | pub async fn top_up_pod_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_pods` is never used [INFO] [stdout] --> src/sidecar_service.rs:1260:10 [INFO] [stdout] | [INFO] [stdout] 1260 | async fn list_pods(State(state): State) -> Json> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pod_info` is never used [INFO] [stdout] --> src/sidecar_service.rs:1266:10 [INFO] [stdout] | [INFO] [stdout] 1266 | async fn get_pod_info( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_port_forward_command` is never used [INFO] [stdout] --> src/sidecar_service.rs:1279:10 [INFO] [stdout] | [INFO] [stdout] 1279 | async fn get_port_forward_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_sidecar_service` is never used [INFO] [stdout] --> src/sidecar_service.rs:1319:14 [INFO] [stdout] | [INFO] [stdout] 1319 | pub async fn start_sidecar_service(bind_addr: &str, config: SidecarConfig) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "625e32435ba19f009a147dc66e257a8204cfedc6ab616fdcc86403b5c721b4d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "625e32435ba19f009a147dc66e257a8204cfedc6ab616fdcc86403b5c721b4d6", kill_on_drop: false }` [INFO] [stdout] 625e32435ba19f009a147dc66e257a8204cfedc6ab616fdcc86403b5c721b4d6