[INFO] cloning repository https://github.com/Decentralised-Autonomous-Institutions/Rust-UHI-Server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Decentralised-Autonomous-Institutions/Rust-UHI-Server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDecentralised-Autonomous-Institutions%2FRust-UHI-Server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDecentralised-Autonomous-Institutions%2FRust-UHI-Server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f22bfb5f01fd7c1319e3f53d46250cdf6d1ed6c [INFO] checking Decentralised-Autonomous-Institutions/Rust-UHI-Server against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDecentralised-Autonomous-Institutions%2FRust-UHI-Server" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Decentralised-Autonomous-Institutions/Rust-UHI-Server [INFO] finished tweaking git repo https://github.com/Decentralised-Autonomous-Institutions/Rust-UHI-Server [INFO] tweaked toml for git repo https://github.com/Decentralised-Autonomous-Institutions/Rust-UHI-Server written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Decentralised-Autonomous-Institutions/Rust-UHI-Server on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Decentralised-Autonomous-Institutions/Rust-UHI-Server 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mutually_exclusive_features v0.1.0 [INFO] [stderr] Downloaded mockall v0.12.1 [INFO] [stderr] Downloaded tracing-actix-web v0.7.18 [INFO] [stderr] Downloaded mockall_derive v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c2e92fdff500d6156c7b6102c98ccac8d9c1f03cdfadde457bc861407c3179b [INFO] running `Command { std: "docker" "start" "-a" "5c2e92fdff500d6156c7b6102c98ccac8d9c1f03cdfadde457bc861407c3179b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c2e92fdff500d6156c7b6102c98ccac8d9c1f03cdfadde457bc861407c3179b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c2e92fdff500d6156c7b6102c98ccac8d9c1f03cdfadde457bc861407c3179b", kill_on_drop: false }` [INFO] [stdout] 5c2e92fdff500d6156c7b6102c98ccac8d9c1f03cdfadde457bc861407c3179b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d15ab9ab7a3c0e9f0ea53ffdd9b635652c923a8795e2d11b33b436d37f02b40 [INFO] running `Command { std: "docker" "start" "-a" "9d15ab9ab7a3c0e9f0ea53ffdd9b635652c923a8795e2d11b33b436d37f02b40", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking brotli-decompressor v4.0.3 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking brotli v7.0.0 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Checking actix-server v2.5.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking mutually_exclusive_features v0.1.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking fragile v2.0.1 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking actix-http v3.10.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking mockall v0.12.1 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking actix-web v4.10.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking tracing-actix-web v0.7.18 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking rust-uhi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LookupResponse` [INFO] [stdout] --> src/handlers/network_registry.rs:4:54 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::network_registry::{LookupRequest, LookupResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/handlers/search.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/handlers/status.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/services/catalog.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeSlot` [INFO] [stdout] --> src/services/fulfillment.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::fulfillment::{Fulfillment, TimeSlot, State}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Datelike` and `Timelike` [INFO] [stdout] --> src/services/fulfillment.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Datelike, Duration, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/services/network_registry.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ECDSA_P256_SHA256_ASN1` [INFO] [stdout] --> src/services/network_registry.rs:7:73 [INFO] [stdout] | [INFO] [stdout] 7 | use ring::signature::{self, UnparsedPublicKey, KeyPair, Ed25519KeyPair, ECDSA_P256_SHA256_ASN1}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CONTENT_TYPE`, `HeaderMap`, and `HeaderValue` [INFO] [stdout] --> src/services/network_registry.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use reqwest::header::{HeaderMap, HeaderValue, CONTENT_TYPE}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Circle`, `Location`, and `ServiceArea` [INFO] [stdout] --> src/services/provider.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::provider::{Circle, Location, Provider, ServiceArea}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/services/provider.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, Datelike, Duration, NaiveTime, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/storage/memory/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/storage/memory/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Item` [INFO] [stdout] --> src/storage/memory/mod.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | catalog::{Catalog, Item, SearchRequest, SearchResponse}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Item` [INFO] [stdout] --> src/storage/mod.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | catalog::{Catalog, Item, SearchRequest, SearchResponse}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/storage/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/storage/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LookupResponse` [INFO] [stdout] --> src/handlers/network_registry.rs:4:54 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::network_registry::{LookupRequest, LookupResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/handlers/search.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/handlers/status.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/services/catalog.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeSlot` [INFO] [stdout] --> src/services/fulfillment.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::fulfillment::{Fulfillment, TimeSlot, State}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/services/network_registry.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ECDSA_P256_SHA256_ASN1` [INFO] [stdout] --> src/services/network_registry.rs:7:73 [INFO] [stdout] | [INFO] [stdout] 7 | use ring::signature::{self, UnparsedPublicKey, KeyPair, Ed25519KeyPair, ECDSA_P256_SHA256_ASN1}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CONTENT_TYPE`, `HeaderMap`, and `HeaderValue` [INFO] [stdout] --> src/services/network_registry.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use reqwest::header::{HeaderMap, HeaderValue, CONTENT_TYPE}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/services/order.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Circle`, `Location`, and `ServiceArea` [INFO] [stdout] --> src/services/provider.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::provider::{Circle, Location, Provider, ServiceArea}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/storage/memory/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/storage/memory/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Item` [INFO] [stdout] --> src/storage/memory/mod.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | catalog::{Catalog, Item, SearchRequest, SearchResponse}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Item` [INFO] [stdout] --> src/storage/mod.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | catalog::{Catalog, Item, SearchRequest, SearchResponse}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/storage/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/storage/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers/confirm.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn confirm(payload: web::Json) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers/confirm.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn on_confirm(payload: web::Json) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers/init.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn init(payload: web::Json) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers/init.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn on_init(payload: web::Json) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers/confirm.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn confirm(payload: web::Json) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers/confirm.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn on_confirm(payload: web::Json) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers/init.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn init(payload: web::Json) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers/init.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn on_init(payload: web::Json) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers/select.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn select(payload: web::Json) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers/select.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn on_select(payload: web::Json) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/handlers/status.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(status) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers/select.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn select(payload: web::Json) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers/select.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn on_select(payload: web::Json) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/handlers/status.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | Ok(status) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/storage/memory/mod.rs:194:36 [INFO] [stdout] | [INFO] [stdout] 194 | async fn search_catalog(&self, request: SearchRequest) -> StorageResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url`, `max_connections`, and `min_connections` are never read [INFO] [stdout] --> src/config.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DatabaseConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 14 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub max_connections: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub min_connections: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database` is never read [INFO] [stdout] --> src/config.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct AppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 27 | pub server: ServerConfig, [INFO] [stdout] 28 | pub database: DatabaseConfig, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AuthError` and `ForbiddenError` are never constructed [INFO] [stdout] --> src/errors.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | AuthError(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | ForbiddenError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_request_span` is never used [INFO] [stdout] --> src/logging.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn create_request_span(transaction_id: &str, message_id: &str) -> tracing::Span { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_error` is never used [INFO] [stdout] --> src/logging.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn log_error(error: &E, context: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Invoice` is never constructed [INFO] [stdout] --> src/models/billing.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Invoice { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tax` is never constructed [INFO] [stdout] --> src/models/billing.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Tax { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ItemResponse` is never constructed [INFO] [stdout] --> src/models/catalog.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct ItemResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/models/context.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `create_response_context` are never used [INFO] [stdout] --> src/models/context.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Context { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 46 | /// Create a new context with mandatory fields [INFO] [stdout] 47 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn create_response_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WithContext` is never used [INFO] [stdout] --> src/models/context.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | pub trait WithContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParticipantType` is never used [INFO] [stdout] --> src/models/network_registry.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ParticipantType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParticipantStatus` is never used [INFO] [stdout] --> src/models/network_registry.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ParticipantStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NetworkRegistryLookup` is never constructed [INFO] [stdout] --> src/models/network_registry.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct NetworkRegistryLookup { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegistrationRequest` is never constructed [INFO] [stdout] --> src/models/network_registry.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct RegistrationRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegistrationResponse` is never constructed [INFO] [stdout] --> src/models/network_registry.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct RegistrationResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subscription` is never constructed [INFO] [stdout] --> src/models/network_registry.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct Subscription { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderInitRequest` is never constructed [INFO] [stdout] --> src/models/order.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct OrderInitRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderInitResponse` is never constructed [INFO] [stdout] --> src/models/order.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct OrderInitResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderConfirmRequest` is never constructed [INFO] [stdout] --> src/models/order.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct OrderConfirmRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderConfirmResponse` is never constructed [INFO] [stdout] --> src/models/order.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct OrderConfirmResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PaymentStatus` is never used [INFO] [stdout] --> src/models/payment.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum PaymentStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PaymentType` is never used [INFO] [stdout] --> src/models/payment.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum PaymentType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PaymentDetails` is never constructed [INFO] [stdout] --> src/models/payment.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct PaymentDetails { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Card` is never constructed [INFO] [stdout] --> src/models/payment.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Card { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BankAccount` is never constructed [INFO] [stdout] --> src/models/payment.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct BankAccount { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Circle` is never constructed [INFO] [stdout] --> src/models/provider.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Circle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServiceArea` is never constructed [INFO] [stdout] --> src/models/provider.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct ServiceArea { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `catalog_ttl_default`, `quotation_ttl_default`, `max_items_per_selection`, `enable_dynamic_pricing`, and `price_precision` are never read [INFO] [stdout] --> src/services/catalog.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CatalogServiceConfig { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 12 | /// Default time-to-live for catalogs (in hours) [INFO] [stdout] 13 | pub catalog_ttl_default: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | /// Default time-to-live for quotations (in minutes) [INFO] [stdout] 15 | pub quotation_ttl_default: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | /// Maximum items that can be selected in one request [INFO] [stdout] 17 | pub max_items_per_selection: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | /// Toggle for dynamic pricing capabilities [INFO] [stdout] 19 | pub enable_dynamic_pricing: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | /// Decimal precision for price calculations [INFO] [stdout] 21 | pub price_precision: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `storage`, `fulfillment_service`, and `config` are never read [INFO] [stdout] --> src/services/catalog.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct CatalogService { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 38 | /// Storage implementation injected via constructor [INFO] [stdout] 39 | storage: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | /// Fulfillment service for availability checking [INFO] [stdout] 41 | fulfillment_service: FulfillmentService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | /// Configuration parameters [INFO] [stdout] 43 | config: CatalogServiceConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/services/catalog.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl CatalogService { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn with_config(storage: Arc, config: CatalogServiceConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub async fn create_catalog( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub async fn get_catalog(&self, provider_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub async fn update_catalog( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub async fn select( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub async fn on_select( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub async fn check_availability( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | async fn check_item_availability( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | fn validate_catalog(&self, catalog: &Catalog) -> Result<(), ServiceError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExternalService` is never constructed [INFO] [stdout] --> src/services/error.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ServiceError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | ExternalService(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `provider_service` is never read [INFO] [stdout] --> src/services/fulfillment.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct FulfillmentService { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | provider_service: ProviderService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_fulfillment`, `update_fulfillment`, `list_fulfillments_by_provider`, and `check_availability` are never used [INFO] [stdout] --> src/services/fulfillment.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl FulfillmentService { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub async fn create_fulfillment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn update_fulfillment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn list_fulfillments_by_provider( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub async fn check_availability( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `http_client` is never read [INFO] [stdout] --> src/services/network_registry.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct NetworkRegistryService { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | http_client: Client, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/services/network_registry.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl NetworkRegistryService { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub async fn register_subscriber( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn lookup_subscriber( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub async fn list_subscribers(&self) -> Result, ServiceError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn generate_test_keypair() -> Result<(String, String), ServiceError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | async fn verify_domain_ownership(&self, subscriber: &Subscriber) -> Result<(), ServiceError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn generate_verification_token(&self, subscriber_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | fn validate_subscriber(&self, subscriber: &Subscriber) -> Result<(), ServiceError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_order`, `update_order`, `init`, `on_init`, `confirm`, and `on_confirm` are never used [INFO] [stdout] --> src/services/order.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl OrderService { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub async fn create_order(&self, order: Order) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub async fn update_order(&self, order: Order) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn init(&self, order: Order) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn on_init( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn confirm(&self, order_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn on_confirm( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TimeRange` is never constructed [INFO] [stdout] --> src/services/provider.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TimeRange { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkingHours` is never constructed [INFO] [stdout] --> src/services/provider.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct WorkingHours { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_times` and `contains_time` are never used [INFO] [stdout] --> src/services/provider.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl TimeRange { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 35 | /// Parse the time range into NaiveTime objects [INFO] [stdout] 36 | fn parse_times(&self) -> Result<(NaiveTime, NaiveTime), ServiceError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn contains_time(&self, hour: u32, minute: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/services/provider.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl ProviderService { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn register_provider(&self, provider: Provider) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn update_provider(&self, provider: Provider) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn delete_provider(&self, id: &str) -> Result<(), ServiceError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn get_default_working_hours(&self, provider_id: &str) -> WorkingHours { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub async fn get_working_hours(&self, provider_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub async fn check_provider_availability( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub async fn find_providers_by_specialty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | fn parse_gps_coordinates(&self, gps: &str) -> Result<(f64, f64), ServiceError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | fn calculate_distance(&self, lat1: f64, lng1: f64, lat2: f64, lng2: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | pub async fn find_providers_by_location( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `search_timeout`, `min_providers_for_results`, and `concurrent_search_limit` are never read [INFO] [stdout] --> src/services/search.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct SearchServiceConfig { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 44 | /// Maximum time to wait for provider responses (in seconds) [INFO] [stdout] 45 | pub search_timeout: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub min_providers_for_results: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | /// Maximum number of concurrent searches [INFO] [stdout] 51 | pub concurrent_search_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_config`, `get_search_transaction`, and `merge_search_results` are never used [INFO] [stdout] --> src/services/search.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl SearchService { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn with_config(storage: Arc, config: SearchServiceConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub async fn get_search_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | fn merge_search_results( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Duplicate` and `InvalidOperation` are never constructed [INFO] [stdout] --> src/storage/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum StorageError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Duplicate(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | InvalidOperation(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/storage/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Storage: Send + Sync + 'static { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 36 | // Provider operations [INFO] [stdout] 37 | async fn create_provider(&self, provider: Provider) -> StorageResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | async fn get_provider(&self, id: &str) -> StorageResult; [INFO] [stdout] 39 | async fn update_provider(&self, provider: Provider) -> StorageResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | async fn delete_provider(&self, id: &str) -> StorageResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | async fn create_catalog(&self, provider_id: &str, catalog: Catalog) -> StorageResult; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 45 | async fn get_catalog(&self, provider_id: &str) -> StorageResult; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 46 | async fn update_catalog(&self, provider_id: &str, catalog: Catalog) -> StorageResult; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | async fn create_order(&self, order: Order) -> StorageResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | async fn list_orders_by_provider(&self, provider_id: &str) -> StorageResult>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | async fn list_orders_by_customer(&self, customer_id: &str) -> StorageResult>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | async fn create_fulfillment(&self, fulfillment: Fulfillment) -> StorageResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | async fn list_fulfillments_by_provider( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | async fn register_subscriber(&self, subscriber: Subscriber) -> StorageResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | async fn get_subscriber(&self, id: &str) -> StorageResult; [INFO] [stdout] 68 | async fn lookup_subscriber(&self, lookup: NetworkRegistryLookup) -> StorageResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | async fn get_transaction(&self, transaction_id: &str) -> StorageResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `empty` and `with_mock_data` are never used [INFO] [stdout] --> src/storage/memory/mod.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl MemoryStorage { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn empty() -> Arc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn with_mock_data() -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `created_fulfillment` [INFO] [stdout] --> src/services/order.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | let created_fulfillment = fulfillment_service.create_fulfillment(fulfillment).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created_fulfillment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `created_order` [INFO] [stdout] --> src/services/order.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | let created_order = order_service.create_order(order).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/storage/memory/mod.rs:194:36 [INFO] [stdout] | [INFO] [stdout] 194 | async fn search_catalog(&self, request: SearchRequest) -> StorageResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url`, `max_connections`, and `min_connections` are never read [INFO] [stdout] --> src/config.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DatabaseConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 14 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub max_connections: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub min_connections: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database` is never read [INFO] [stdout] --> src/config.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct AppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 27 | pub server: ServerConfig, [INFO] [stdout] 28 | pub database: DatabaseConfig, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AuthError` and `ForbiddenError` are never constructed [INFO] [stdout] --> src/errors.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | AuthError(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | ForbiddenError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_request_span` is never used [INFO] [stdout] --> src/logging.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn create_request_span(transaction_id: &str, message_id: &str) -> tracing::Span { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_error` is never used [INFO] [stdout] --> src/logging.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn log_error(error: &E, context: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Invoice` is never constructed [INFO] [stdout] --> src/models/billing.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Invoice { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tax` is never constructed [INFO] [stdout] --> src/models/billing.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Tax { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ItemResponse` is never constructed [INFO] [stdout] --> src/models/catalog.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct ItemResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> src/models/context.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `create_response_context` are never used [INFO] [stdout] --> src/models/context.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Context { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 46 | /// Create a new context with mandatory fields [INFO] [stdout] 47 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn create_response_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WithContext` is never used [INFO] [stdout] --> src/models/context.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | pub trait WithContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParticipantType` is never used [INFO] [stdout] --> src/models/network_registry.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ParticipantType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParticipantStatus` is never used [INFO] [stdout] --> src/models/network_registry.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ParticipantStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegistrationRequest` is never constructed [INFO] [stdout] --> src/models/network_registry.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct RegistrationRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegistrationResponse` is never constructed [INFO] [stdout] --> src/models/network_registry.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct RegistrationResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subscription` is never constructed [INFO] [stdout] --> src/models/network_registry.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct Subscription { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderInitRequest` is never constructed [INFO] [stdout] --> src/models/order.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct OrderInitRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderInitResponse` is never constructed [INFO] [stdout] --> src/models/order.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct OrderInitResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderConfirmRequest` is never constructed [INFO] [stdout] --> src/models/order.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct OrderConfirmRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderConfirmResponse` is never constructed [INFO] [stdout] --> src/models/order.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct OrderConfirmResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PaymentStatus` is never used [INFO] [stdout] --> src/models/payment.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum PaymentStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PaymentType` is never used [INFO] [stdout] --> src/models/payment.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum PaymentType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PaymentDetails` is never constructed [INFO] [stdout] --> src/models/payment.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct PaymentDetails { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Card` is never constructed [INFO] [stdout] --> src/models/payment.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Card { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BankAccount` is never constructed [INFO] [stdout] --> src/models/payment.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct BankAccount { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Circle` is never constructed [INFO] [stdout] --> src/models/provider.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Circle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServiceArea` is never constructed [INFO] [stdout] --> src/models/provider.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct ServiceArea { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enable_dynamic_pricing` is never read [INFO] [stdout] --> src/services/catalog.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CatalogServiceConfig { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub enable_dynamic_pricing: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_config`, `get_catalog`, `update_catalog`, and `check_availability` are never used [INFO] [stdout] --> src/services/catalog.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl CatalogService { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn with_config(storage: Arc, config: CatalogServiceConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub async fn get_catalog(&self, provider_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub async fn update_catalog( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub async fn check_availability( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExternalService` is never constructed [INFO] [stdout] --> src/services/error.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ServiceError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | ExternalService(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceError` 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 `update_fulfillment` and `list_fulfillments_by_provider` are never used [INFO] [stdout] --> src/services/fulfillment.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl FulfillmentService { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn update_fulfillment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn list_fulfillments_by_provider( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list_subscribers` and `generate_verification_token` are never used [INFO] [stdout] --> src/services/network_registry.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl NetworkRegistryService { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub async fn list_subscribers(&self) -> Result, ServiceError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn generate_verification_token(&self, subscriber_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_order`, `init`, `on_init`, `confirm`, and `on_confirm` are never used [INFO] [stdout] --> src/services/order.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl OrderService { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub async fn update_order(&self, order: Order) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn init(&self, order: Order) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn on_init( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub async fn confirm(&self, order_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn on_confirm( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `search_timeout`, `min_providers_for_results`, and `concurrent_search_limit` are never read [INFO] [stdout] --> src/services/search.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct SearchServiceConfig { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 44 | /// Maximum time to wait for provider responses (in seconds) [INFO] [stdout] 45 | pub search_timeout: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub min_providers_for_results: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | /// Maximum number of concurrent searches [INFO] [stdout] 51 | pub concurrent_search_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_config` and `merge_search_results` are never used [INFO] [stdout] --> src/services/search.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl SearchService { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn with_config(storage: Arc, config: SearchServiceConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | fn merge_search_results( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidOperation` is never constructed [INFO] [stdout] --> src/storage/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum StorageError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | InvalidOperation(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageError` 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 `update_catalog`, `list_orders_by_provider`, and `list_orders_by_customer` are never used [INFO] [stdout] --> src/storage/mod.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Storage: Send + Sync + 'static { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 46 | async fn update_catalog(&self, provider_id: &str, catalog: Catalog) -> StorageResult; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | async fn list_orders_by_provider(&self, provider_id: &str) -> StorageResult>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | async fn list_orders_by_customer(&self, customer_id: &str) -> StorageResult>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_mock_data` is never used [INFO] [stdout] --> src/storage/memory/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl MemoryStorage { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn with_mock_data() -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.94s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "9d15ab9ab7a3c0e9f0ea53ffdd9b635652c923a8795e2d11b33b436d37f02b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d15ab9ab7a3c0e9f0ea53ffdd9b635652c923a8795e2d11b33b436d37f02b40", kill_on_drop: false }` [INFO] [stdout] 9d15ab9ab7a3c0e9f0ea53ffdd9b635652c923a8795e2d11b33b436d37f02b40