[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] a1874b091d355391ed760b5998bb0c4aecf51bfe [INFO] testing DhananjayPurohit/paygress against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhananjayPurohit%2Fpaygress" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DhananjayPurohit/paygress on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0a97d4a3c4cf50a47c8db9ae7510abc544acb3bb30ff8f388394d058f66802b [INFO] running `Command { std: "docker" "start" "-a" "c0a97d4a3c4cf50a47c8db9ae7510abc544acb3bb30ff8f388394d058f66802b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0a97d4a3c4cf50a47c8db9ae7510abc544acb3bb30ff8f388394d058f66802b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0a97d4a3c4cf50a47c8db9ae7510abc544acb3bb30ff8f388394d058f66802b", kill_on_drop: false }` [INFO] [stdout] c0a97d4a3c4cf50a47c8db9ae7510abc544acb3bb30ff8f388394d058f66802b [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6a39ba75e36e753d8986a5628b6c22dd8403491c435a8aa59924ba64cc434eb [INFO] running `Command { std: "docker" "start" "-a" "b6a39ba75e36e753d8986a5628b6c22dd8403491c435a8aa59924ba64cc434eb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling compression-core v0.4.29 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling iri-string v0.7.8 [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 tokio v1.47.1 [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 futures-util v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling compression-codecs v0.4.30 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling async-compression v0.4.30 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling bitcoin v0.31.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling bech32 v0.10.0-beta [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling scrypt v0.11.0 [INFO] [stderr] Compiling bip39 v2.2.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling negentropy v0.3.1 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling tungstenite v0.23.0 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling k8s-openapi v0.22.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling tokio-tungstenite v0.23.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling tokio-socks v0.5.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling jsonptr v0.4.7 [INFO] [stderr] Compiling async-utility v0.2.0 [INFO] [stderr] Compiling uuid v1.12.1 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling nostr v0.33.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling separator v0.4.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling cbor-diag v0.1.12 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling json-patch v2.0.0 [INFO] [stderr] Compiling lightning-types v0.1.0 [INFO] [stderr] Compiling async-wsocket v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling lightning-invoice v0.32.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling atomic-destructor v0.2.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling nostr-database v0.33.1 [INFO] [stderr] Compiling cashu v0.9.3 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling jsonpath-rust v0.5.1 [INFO] [stderr] Compiling nostr-relay-pool v0.33.0 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling redb v2.6.3 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling cdk-common v0.9.3 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling nostr-zapper v0.33.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling nwc v0.33.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling nostr-signer v0.33.0 [INFO] [stderr] Compiling rmcp-macros v0.2.1 [INFO] [stderr] Compiling kube-derive v0.93.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling lnurl-pay v0.5.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling kube-core v0.93.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling nostr-sdk v0.33.0 [INFO] [stderr] Compiling kube-client v0.93.1 [INFO] [stderr] Compiling rmcp v0.2.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling cdk v0.9.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling cdk-redb v0.9.3 [INFO] [stderr] Compiling kube-runtime v0.93.1 [INFO] [stderr] Compiling kube v0.93.1 [INFO] [stderr] Compiling 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:517:14 [INFO] [stdout] | [INFO] [stdout] 178 | impl PodManager { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 517 | 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:986:10 [INFO] [stdout] | [INFO] [stdout] 986 | 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 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:517:14 [INFO] [stdout] | [INFO] [stdout] 178 | impl PodManager { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 517 | async fn setup_port_forward( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | 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:664:12 [INFO] [stdout] | [INFO] [stdout] 627 | impl SidecarState { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 664 | pub fn is_payment_sufficient(&self, payment_msats: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 670 | pub fn generate_password() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 683 | pub fn validate_port_available(&self, port: u16) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 712 | pub fn find_next_available_port(&self, start_port: u16, max_attempts: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 849 | pub fn deallocate_ssh_port(&self, port: u16) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 858 | 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:915:8 [INFO] [stdout] | [INFO] [stdout] 915 | 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:929:10 [INFO] [stdout] | [INFO] [stdout] 929 | 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:948:10 [INFO] [stdout] | [INFO] [stdout] 948 | 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:986:10 [INFO] [stdout] | [INFO] [stdout] 986 | 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:998:10 [INFO] [stdout] | [INFO] [stdout] 998 | 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:1121:14 [INFO] [stdout] | [INFO] [stdout] 1121 | 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:1325:10 [INFO] [stdout] | [INFO] [stdout] 1325 | 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:1331:10 [INFO] [stdout] | [INFO] [stdout] 1331 | 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:1344:10 [INFO] [stdout] | [INFO] [stdout] 1344 | 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:1384:14 [INFO] [stdout] | [INFO] [stdout] 1384 | 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 7m 10s [INFO] running `Command { std: "docker" "inspect" "b6a39ba75e36e753d8986a5628b6c22dd8403491c435a8aa59924ba64cc434eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6a39ba75e36e753d8986a5628b6c22dd8403491c435a8aa59924ba64cc434eb", kill_on_drop: false }` [INFO] [stdout] b6a39ba75e36e753d8986a5628b6c22dd8403491c435a8aa59924ba64cc434eb [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a833b1f2f7dbec22150e7e17084ff0bf960b1d837f139f097fb032a41ee89f0 [INFO] running `Command { std: "docker" "start" "-a" "2a833b1f2f7dbec22150e7e17084ff0bf960b1d837f139f097fb032a41ee89f0", kill_on_drop: false }` [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:517:14 [INFO] [stdout] | [INFO] [stdout] 178 | impl PodManager { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 517 | 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:986:10 [INFO] [stdout] | [INFO] [stdout] 986 | async fn spawn_pod_simple( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling paygress v0.1.0 (/opt/rustwide/workdir) [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: 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:517:14 [INFO] [stdout] | [INFO] [stdout] 178 | impl PodManager { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 517 | 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:986:10 [INFO] [stdout] | [INFO] [stdout] 986 | async fn spawn_pod_simple( [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: 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:517:14 [INFO] [stdout] | [INFO] [stdout] 178 | impl PodManager { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 517 | async fn setup_port_forward( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | 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:664:12 [INFO] [stdout] | [INFO] [stdout] 627 | impl SidecarState { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 664 | pub fn is_payment_sufficient(&self, payment_msats: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 670 | pub fn generate_password() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 683 | pub fn validate_port_available(&self, port: u16) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 712 | pub fn find_next_available_port(&self, start_port: u16, max_attempts: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 849 | pub fn deallocate_ssh_port(&self, port: u16) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 858 | 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:915:8 [INFO] [stdout] | [INFO] [stdout] 915 | 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:929:10 [INFO] [stdout] | [INFO] [stdout] 929 | 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:948:10 [INFO] [stdout] | [INFO] [stdout] 948 | 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:986:10 [INFO] [stdout] | [INFO] [stdout] 986 | 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:998:10 [INFO] [stdout] | [INFO] [stdout] 998 | 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:1121:14 [INFO] [stdout] | [INFO] [stdout] 1121 | 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:1325:10 [INFO] [stdout] | [INFO] [stdout] 1325 | 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:1331:10 [INFO] [stdout] | [INFO] [stdout] 1331 | 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:1344:10 [INFO] [stdout] | [INFO] [stdout] 1344 | 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:1384:14 [INFO] [stdout] | [INFO] [stdout] 1384 | pub async fn start_sidecar_service(bind_addr: &str, config: SidecarConfig) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 29.85s [INFO] running `Command { std: "docker" "inspect" "2a833b1f2f7dbec22150e7e17084ff0bf960b1d837f139f097fb032a41ee89f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a833b1f2f7dbec22150e7e17084ff0bf960b1d837f139f097fb032a41ee89f0", kill_on_drop: false }` [INFO] [stdout] 2a833b1f2f7dbec22150e7e17084ff0bf960b1d837f139f097fb032a41ee89f0 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 88ee35819372743828616a95ceaca1287eed16099213ae122d7dca1c2ea7a139 [INFO] running `Command { std: "docker" "start" "-a" "88ee35819372743828616a95ceaca1287eed16099213ae122d7dca1c2ea7a139", kill_on_drop: false }` [INFO] [stderr] warning: constant `MSAT_PER_SAT` is never used [INFO] [stderr] --> src/cashu.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | const MSAT_PER_SAT: u64 = 1000; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `convert_event` is never used [INFO] [stderr] --> src/nostr.rs:378:8 [INFO] [stderr] | [INFO] [stderr] 37 | impl NostrRelaySubscriber { [INFO] [stderr] | ------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 378 | fn convert_event(&self, event: &nostr_sdk::Event) -> NostrEvent { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `range_start` and `range_end` are never read [INFO] [stderr] --> src/sidecar_service.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 57 | pub struct PortPool { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 60 | range_start: u16, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 61 | range_end: u16, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PortPool` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `setup_port_forward` is never used [INFO] [stderr] --> src/sidecar_service.rs:517:14 [INFO] [stderr] | [INFO] [stderr] 178 | impl PodManager { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 517 | async fn setup_port_forward( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `spawn_pod_simple` is never used [INFO] [stderr] --> src/sidecar_service.rs:986:10 [INFO] [stderr] | [INFO] [stderr] 986 | async fn spawn_pod_simple( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `paygress` (lib) generated 5 warnings [INFO] [stderr] warning: `paygress` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: unused import: `warn` [INFO] [stderr] --> src/interfaces/http_l402.rs:20:28 [INFO] [stderr] | [INFO] [stderr] 20 | use tracing::{info, error, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> src/interfaces/http_l402.rs:28:26 [INFO] [stderr] | [INFO] [stderr] 28 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/interfaces/mod.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | result = async { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_interface_config` is never used [INFO] [stderr] --> src/interfaces/mod.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn get_interface_config() -> InterfaceConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `InterfaceConfig` is never constructed [INFO] [stderr] --> src/interfaces/mod.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | pub struct InterfaceConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_config` is never used [INFO] [stderr] --> src/pod_provisioning.rs:104:12 [INFO] [stderr] | [INFO] [stderr] 95 | impl PodProvisioningService { [INFO] [stderr] | --------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 104 | pub fn get_config(&self) -> &SidecarConfig { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `handle_tools_call` is never used [INFO] [stderr] --> src/mcp/protocol.rs:94:14 [INFO] [stderr] | [INFO] [stderr] 94 | pub async fn handle_tools_call(service: &PodProvisioningService, request: &Value) -> Value { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `call_spawn_pod` is never used [INFO] [stderr] --> src/mcp/protocol.rs:126:10 [INFO] [stderr] | [INFO] [stderr] 126 | async fn call_spawn_pod(service: &PodProvisioningService, arguments: &Value) -> Value { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `call_topup_pod` is never used [INFO] [stderr] --> src/mcp/protocol.rs:195:10 [INFO] [stderr] | [INFO] [stderr] 195 | async fn call_topup_pod(service: &PodProvisioningService, arguments: &Value) -> Value { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `call_get_offers` is never used [INFO] [stderr] --> src/mcp/protocol.rs:251:10 [INFO] [stderr] | [INFO] [stderr] 251 | async fn call_get_offers(service: &PodProvisioningService) -> Value { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `call_get_pod_status` is never used [INFO] [stderr] --> src/mcp/protocol.rs:307:10 [INFO] [stderr] | [INFO] [stderr] 307 | async fn call_get_pod_status(service: &PodProvisioningService, arguments: &Value) -> Value { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MSAT_PER_SAT` is never used [INFO] [stderr] --> src/cashu.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | const MSAT_PER_SAT: u64 = 1000; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RelayConfig` is never constructed [INFO] [stderr] --> src/nostr.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct RelayConfig { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `NostrEvent` is never constructed [INFO] [stderr] --> src/nostr.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct NostrEvent { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `NostrRelaySubscriber` is never constructed [INFO] [stderr] --> src/nostr.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct NostrRelaySubscriber { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/nostr.rs:38:18 [INFO] [stderr] | [INFO] [stderr] 37 | impl NostrRelaySubscriber { [INFO] [stderr] | ------------------------- associated items in this implementation [INFO] [stderr] 38 | pub async fn new(config: RelayConfig) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | pub async fn subscribe_to_pod_events(&self, handler: F) -> Result<()> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 198 | pub async fn publish_offer(&self, offer: OfferEventContent) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 228 | pub async fn send_access_details_private_message( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 276 | pub async fn send_error_response_private_message( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 324 | pub async fn send_topup_response_private_message( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 374 | pub fn get_service_public_key(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 378 | fn convert_event(&self, event: &nostr_sdk::Event) -> NostrEvent { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `default_relay_config` is never used [INFO] [stderr] --> src/nostr.rs:394:8 [INFO] [stderr] | [INFO] [stderr] 394 | pub fn default_relay_config() -> RelayConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `custom_relay_config` is never used [INFO] [stderr] --> src/nostr.rs:405:8 [INFO] [stderr] | [INFO] [stderr] 405 | pub fn custom_relay_config(relays: Vec, private_key: Option) -> RelayConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OfferEventContent` is never constructed [INFO] [stderr] --> src/nostr.rs:420:12 [INFO] [stderr] | [INFO] [stderr] 420 | pub struct OfferEventContent { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AccessDetailsContent` is never constructed [INFO] [stderr] --> src/nostr.rs:427:12 [INFO] [stderr] | [INFO] [stderr] 427 | pub struct AccessDetailsContent { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ErrorResponseContent` is never constructed [INFO] [stderr] --> src/nostr.rs:439:12 [INFO] [stderr] | [INFO] [stderr] 439 | pub struct ErrorResponseContent { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TopUpResponseContent` is never constructed [INFO] [stderr] --> src/nostr.rs:446:12 [INFO] [stderr] | [INFO] [stderr] 446 | pub struct TopUpResponseContent { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `send_provisioning_request_private_message` is never used [INFO] [stderr] --> src/nostr.rs:472:14 [INFO] [stderr] | [INFO] [stderr] 472 | pub async fn send_provisioning_request_private_message( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_private_message_content` is never used [INFO] [stderr] --> src/nostr.rs:487:8 [INFO] [stderr] | [INFO] [stderr] 487 | pub fn parse_private_message_content(content: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `base_image` and `enable_cleanup_task` are never read [INFO] [stderr] --> src/sidecar_service.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct SidecarConfig { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 29 | pub base_image: String, // Base image for pods [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub enable_cleanup_task: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SidecarConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `allocate_port`, `deallocate_port`, and `is_allocated` are never used [INFO] [stderr] --> src/sidecar_service.rs:79:12 [INFO] [stderr] | [INFO] [stderr] 64 | impl PortPool { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn allocate_port(&mut self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 89 | pub fn deallocate_port(&mut self, port: u16) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 95 | pub fn is_allocated(&self, port: u16) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SpawnPodRequest` is never constructed [INFO] [stderr] --> src/sidecar_service.rs:136:12 [INFO] [stderr] | [INFO] [stderr] 136 | pub struct SpawnPodRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TopUpPodRequest` is never constructed [INFO] [stderr] --> src/sidecar_service.rs:145:12 [INFO] [stderr] | [INFO] [stderr] 145 | pub struct TopUpPodRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SpawnPodResponse` is never constructed [INFO] [stderr] --> src/sidecar_service.rs:152:12 [INFO] [stderr] | [INFO] [stderr] 152 | pub struct SpawnPodResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TopUpPodResponse` is never constructed [INFO] [stderr] --> src/sidecar_service.rs:160:12 [INFO] [stderr] | [INFO] [stderr] 160 | pub struct TopUpPodResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AuthQuery` is never constructed [INFO] [stderr] --> src/sidecar_service.rs:169:12 [INFO] [stderr] | [INFO] [stderr] 169 | pub struct AuthQuery { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `setup_port_forward` and `delete_pod` are never used [INFO] [stderr] --> src/sidecar_service.rs:517:14 [INFO] [stderr] | [INFO] [stderr] 178 | impl PodManager { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 517 | async fn setup_port_forward( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 562 | pub async fn delete_pod(&self, namespace: &str, pod_name: &str) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/sidecar_service.rs:664:12 [INFO] [stderr] | [INFO] [stderr] 627 | impl SidecarState { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 664 | pub fn is_payment_sufficient(&self, payment_msats: u64) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 670 | pub fn generate_password() -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 683 | pub fn validate_port_available(&self, port: u16) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 712 | pub fn find_next_available_port(&self, start_port: u16, max_attempts: u16) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 849 | pub fn deallocate_ssh_port(&self, port: u16) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 858 | pub async fn cleanup_expired_pods(&self) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_sidecar_router` is never used [INFO] [stderr] --> src/sidecar_service.rs:915:8 [INFO] [stderr] | [INFO] [stderr] 915 | pub fn create_sidecar_router(state: SidecarState) -> Router { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `health_check` is never used [INFO] [stderr] --> src/sidecar_service.rs:929:10 [INFO] [stderr] | [INFO] [stderr] 929 | async fn health_check(State(state): State) -> impl IntoResponse { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `auth_check` is never used [INFO] [stderr] --> src/sidecar_service.rs:948:10 [INFO] [stderr] | [INFO] [stderr] 948 | async fn auth_check( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `spawn_pod_handler` is never used [INFO] [stderr] --> src/sidecar_service.rs:998:10 [INFO] [stderr] | [INFO] [stderr] 998 | async fn spawn_pod_handler( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `top_up_pod_handler` is never used [INFO] [stderr] --> src/sidecar_service.rs:1121:14 [INFO] [stderr] | [INFO] [stderr] 1121 | pub async fn top_up_pod_handler( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `list_pods` is never used [INFO] [stderr] --> src/sidecar_service.rs:1325:10 [INFO] [stderr] | [INFO] [stderr] 1325 | async fn list_pods(State(state): State) -> Json> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_pod_info` is never used [INFO] [stderr] --> src/sidecar_service.rs:1331:10 [INFO] [stderr] | [INFO] [stderr] 1331 | async fn get_pod_info( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_port_forward_command` is never used [INFO] [stderr] --> src/sidecar_service.rs:1344:10 [INFO] [stderr] | [INFO] [stderr] 1344 | async fn get_port_forward_command( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `start_sidecar_service` is never used [INFO] [stderr] --> src/sidecar_service.rs:1384:14 [INFO] [stderr] | [INFO] [stderr] 1384 | pub async fn start_sidecar_service(bind_addr: &str, config: SidecarConfig) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `paygress` (bin "paygress" test) generated 44 warnings (2 duplicates) (run `cargo fix --bin "paygress" -p paygress --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/paygress-624650087b6969a8) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/paygress-9a2fc600baf9c9a7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Doc-tests paygress [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "88ee35819372743828616a95ceaca1287eed16099213ae122d7dca1c2ea7a139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88ee35819372743828616a95ceaca1287eed16099213ae122d7dca1c2ea7a139", kill_on_drop: false }` [INFO] [stdout] 88ee35819372743828616a95ceaca1287eed16099213ae122d7dca1c2ea7a139