[INFO] cloning repository https://github.com/YOU54F/hello_cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YOU54F/hello_cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYOU54F%2Fhello_cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYOU54F%2Fhello_cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f68a71b5293074ea6fa5dce43b5fcb73ca71296 [INFO] checking YOU54F/hello_cli/8f68a71b5293074ea6fa5dce43b5fcb73ca71296 against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYOU54F%2Fhello_cli" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YOU54F/hello_cli on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/YOU54F/hello_cli [INFO] finished tweaking git repo https://github.com/YOU54F/hello_cli [INFO] tweaked toml for git repo https://github.com/YOU54F/hello_cli written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/YOU54F/hello_cli 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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded snapbox-macros v0.3.8 [INFO] [stderr] Downloaded toml v0.8.11 [INFO] [stderr] Downloaded lenient_semver_version_builder v0.4.2 [INFO] [stderr] Downloaded similar v2.4.0 [INFO] [stderr] Downloaded junit-report v0.8.3 [INFO] [stderr] Downloaded expectest v0.12.0 [INFO] [stderr] Downloaded test-log-macros v0.2.15 [INFO] [stderr] Downloaded tree_magic_mini v3.1.3 [INFO] [stderr] Downloaded clap_complete v4.5.1 [INFO] [stderr] Downloaded pact_mock_server v1.2.5 [INFO] [stderr] Downloaded clap v4.5.2 [INFO] [stderr] Downloaded pact_verifier v1.1.0 [INFO] [stderr] Downloaded toml_edit v0.22.7 [INFO] [stderr] Downloaded requestty v0.5.0 [INFO] [stderr] Downloaded serde_with v3.7.0 [INFO] [stderr] Downloaded reqwest v0.11.26 [INFO] [stderr] Downloaded pact-plugin-driver v0.5.1 [INFO] [stderr] Downloaded pact_matching v1.1.10 [INFO] [stderr] Downloaded sxd-document v0.3.2 [INFO] [stderr] Downloaded requestty-ui v0.5.0 [INFO] [stderr] Downloaded lenient_semver v0.4.2 [INFO] [stderr] Downloaded serde_with_macros v3.7.0 [INFO] [stderr] Downloaded webmachine-rust v0.3.0 [INFO] [stderr] Downloaded pact_models v1.1.18 [INFO] [stderr] Downloaded derive-getters v0.3.0 [INFO] [stderr] Downloaded ariadne v0.3.0 [INFO] [stderr] Downloaded snapbox v0.5.9 [INFO] [stderr] Downloaded gregorian v0.2.4 [INFO] [stderr] Downloaded indextree v4.6.0 [INFO] [stderr] Downloaded trycmd v0.15.0 [INFO] [stderr] Downloaded lenient_semver_parser v0.4.2 [INFO] [stderr] Downloaded rand_regex v0.15.1 [INFO] [stderr] Downloaded peresil v0.3.0 [INFO] [stderr] Downloaded typed-arena v1.7.0 [INFO] [stderr] Downloaded test-log v0.2.15 [INFO] [stderr] Downloaded os_pipe v1.1.5 [INFO] [stderr] Downloaded winsplit v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 348b02f898d3a6f2b92453a9321c287a48d77d31f1191a0ecf74beb38f38fae9 [INFO] running `Command { std: "docker" "start" "-a" "348b02f898d3a6f2b92453a9321c287a48d77d31f1191a0ecf74beb38f38fae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "348b02f898d3a6f2b92453a9321c287a48d77d31f1191a0ecf74beb38f38fae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "348b02f898d3a6f2b92453a9321c287a48d77d31f1191a0ecf74beb38f38fae9", kill_on_drop: false }` [INFO] [stdout] 348b02f898d3a6f2b92453a9321c287a48d77d31f1191a0ecf74beb38f38fae9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27138e2e22e1e04787f620879f5c1540bf327e9243bd0939f0f3c2f22af16900 [INFO] running `Command { std: "docker" "start" "-a" "27138e2e22e1e04787f620879f5c1540bf327e9243bd0939f0f3c2f22af16900", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling prost-types v0.12.3 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Checking lenient_semver_version_builder v0.4.2 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling tonic-build v0.10.2 [INFO] [stderr] Compiling pact_models v1.1.18 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking lenient_semver_parser v0.4.2 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking toml_edit v0.22.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking peresil v0.3.0 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking sxd-document v0.3.2 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking rand_regex v0.15.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking hashers v1.0.1 [INFO] [stderr] Compiling pact-plugin-driver v0.5.1 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking lenient_semver v0.4.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Checking ariadne v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking async-compression v0.4.6 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking gregorian v0.2.4 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking indextree v4.6.0 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking toml v0.8.11 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking sysinfo v0.30.7 [INFO] [stderr] Checking os_info v3.8.2 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Checking tree_magic_mini v3.1.3 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling serde_with_macros v3.7.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking textwrap v0.15.2 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking requestty-ui v0.5.0 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking serde_with v3.7.0 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking requestty v0.5.0 [INFO] [stderr] Checking tower-http v0.4.4 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking snapbox-macros v0.3.8 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking os_pipe v1.1.5 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking similar v2.4.0 [INFO] [stderr] Checking humantime-serde v1.1.1 [INFO] [stderr] Compiling test-log-macros v0.2.15 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking clap v4.5.2 [INFO] [stderr] Checking clap_complete v4.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking snapbox v0.5.9 [INFO] [stderr] Checking test-log v0.2.15 [INFO] [stderr] Checking expectest v0.12.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking comfy-table v7.1.0 [INFO] [stderr] Checking trycmd v0.15.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking webmachine-rust v0.3.0 [INFO] [stderr] Checking reqwest v0.11.26 [INFO] [stderr] Checking tonic v0.10.2 [INFO] [stderr] Checking pact_matching v1.1.10 [INFO] [stderr] Checking pact_mock_server v1.2.5 [INFO] [stderr] Checking pact_verifier v1.1.0 [INFO] [stderr] Checking pact_cli v0.0.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(not(feature = "tls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:240:11 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(not(feature = "tls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:240:11 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main/reports.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(feature = "junit")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main/reports.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "junit")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main/reports.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "junit")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:405:19 [INFO] [stdout] | [INFO] [stdout] 405 | #[cfg(feature = "junit")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:413:23 [INFO] [stdout] | [INFO] [stdout] 413 | #[cfg(not(feature = "junit"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/cli/cli_extension.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main/reports.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(feature = "junit")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main/reports.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "junit")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main/reports.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "junit")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:405:19 [INFO] [stdout] | [INFO] [stdout] 405 | #[cfg(feature = "junit")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:413:23 [INFO] [stdout] | [INFO] [stdout] 413 | #[cfg(not(feature = "junit"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/cli/cli_extension.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(not(feature = "tls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:240:11 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main/reports.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(feature = "junit")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main/reports.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "junit")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main/reports.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "junit")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:405:19 [INFO] [stdout] | [INFO] [stdout] 405 | #[cfg(feature = "junit")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:413:23 [INFO] [stdout] | [INFO] [stdout] 413 | #[cfg(not(feature = "junit"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/cli/cli_extension.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(not(feature = "tls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:240:11 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main/reports.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(feature = "junit")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main/reports.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "junit")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main/reports.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(feature = "junit")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:405:19 [INFO] [stdout] | [INFO] [stdout] 405 | #[cfg(feature = "junit")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `junit` [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:413:23 [INFO] [stdout] | [INFO] [stdout] 413 | #[cfg(not(feature = "junit"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `junit-report` [INFO] [stdout] = help: consider adding `junit` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/cli/cli_extension.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_true` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn is_true(object: &serde_json::Map, field: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_string` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn as_string(json: &Value) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_entry` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn find_entry(map: &serde_json::Map, key: &str) -> Option<(String, Value)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_json` and `as_json` are never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl Link { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 156 | /// Create a link from serde JSON data [INFO] [stdout] 157 | pub fn from_json(link: &str, link_data: &serde_json::Map) -> Link { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn as_json(&self) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path_info` is never read [INFO] [stdout] --> src/cli/pact_broker/main.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct HALClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 205 | path_info: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HALClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 210 | impl HALClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | fn update_path_info(self, path_info: serde_json::Value) -> HALClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub async fn navigate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | fn find_link(&self, link: &'static str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | async fn fetch_link( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | pub fn iter_links(&self, link: &str) -> Result, PactBrokerError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 526 | pub async fn put_json( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 598 | fn with_doc_context(self, doc_attributes: &[Link]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `links_from_json` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:663:8 [INFO] [stdout] | [INFO] [stdout] 663 | pub fn links_from_json(json: &Value) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_pacts_from_broker` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:683:14 [INFO] [stdout] | [INFO] [stdout] 683 | pub async fn fetch_pacts_from_broker( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_pacts_dynamically_from_broker` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:760:14 [INFO] [stdout] | [INFO] [stdout] 760 | pub async fn fetch_pacts_dynamically_from_broker( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_pact_from_url` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:925:14 [INFO] [stdout] | [INFO] [stdout] 925 | pub async fn fetch_pact_from_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_provider_tags` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:991:10 [INFO] [stdout] | [INFO] [stdout] 991 | async fn publish_provider_tags( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_provider_branch` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:1038:10 [INFO] [stdout] | [INFO] [stdout] 1038 | async fn publish_provider_branch( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_safe_ref` is never used [INFO] [stdout] --> src/cli/pact_broker/main/utils.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn as_safe_ref( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `display_name`, `production`, and `created_at` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:1797:17 [INFO] [stdout] | [INFO] [stdout] 1793 | struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1797 | display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1798 | production: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1799 | #[serde(rename = "createdAt")] [INFO] [stdout] 1800 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Environment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `display_name`, `production`, and `created_at` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2165:21 [INFO] [stdout] | [INFO] [stdout] 2161 | struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 2165 | display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2166 | production: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 2167 | #[serde(rename = "createdAt")] [INFO] [stdout] 2168 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Environment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reason`, `success`, `failed`, and `unknown` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2293:17 [INFO] [stdout] | [INFO] [stdout] 2291 | struct Summary { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 2292 | deployable: Option, [INFO] [stdout] 2293 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2294 | success: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2295 | failed: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2296 | unknown: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Summary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `branch`, `branches`, `branch_versions`, `environments`, and `tags` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2309:17 [INFO] [stdout] | [INFO] [stdout] 2307 | struct Version { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 2308 | number: String, [INFO] [stdout] 2309 | branch: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2310 | branches: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2311 | #[serde(rename = "branchVersions")] [INFO] [stdout] 2312 | branch_versions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2313 | environments: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2314 | _links: Links, [INFO] [stdout] 2315 | tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Version` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `latest` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2320:17 [INFO] [stdout] | [INFO] [stdout] 2319 | struct Branch { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2320 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2321 | latest: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Branch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `latest` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2327:17 [INFO] [stdout] | [INFO] [stdout] 2326 | struct BranchVersion { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 2327 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2328 | latest: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BranchVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `name`, `display_name`, `production`, and `created_at` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2334:17 [INFO] [stdout] | [INFO] [stdout] 2333 | struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 2334 | uuid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2335 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2336 | #[serde(rename = "displayName")] [INFO] [stdout] 2337 | display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2338 | production: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 2339 | #[serde(rename = "createdAt")] [INFO] [stdout] 2340 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Environment` 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 `self_link` is never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2347:17 [INFO] [stdout] | [INFO] [stdout] 2345 | struct Links { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 2346 | #[serde(rename = "self")] [INFO] [stdout] 2347 | self_link: SelfLink, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Links` 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 `href` is never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2352:17 [INFO] [stdout] | [INFO] [stdout] 2351 | struct SelfLink { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 2352 | href: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelfLink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `latest` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2357:17 [INFO] [stdout] | [INFO] [stdout] 2356 | struct Tag { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 2357 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2358 | latest: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tag` 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 `created_at` is never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2379:17 [INFO] [stdout] | [INFO] [stdout] 2377 | struct Pact { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 2378 | #[serde(rename = "createdAt")] [INFO] [stdout] 2379 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pact` 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 `verified_at` is never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2387:17 [INFO] [stdout] | [INFO] [stdout] 2384 | struct VerificationResult { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 2387 | verified_at: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerificationResult` 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 `pact` is never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2395:17 [INFO] [stdout] | [INFO] [stdout] 2392 | struct MatrixItem { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 2395 | pact: Pact, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatrixItem` 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 `main` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_command_args` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | pub async fn handle_command_args() -> Result<(), i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Github` is never constructed [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 403 | pub enum InstallationSource { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 404 | /// Install the plugin from a Github release page. [INFO] [stdout] 405 | Github, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstallationSource` 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: function `main` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | async fn main() -> Result<(), ExitCode> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unknown` is never constructed [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub enum PactSource { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 154 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PactSource` 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: function `handle_command_args` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:243:10 [INFO] [stdout] | [INFO] [stdout] 243 | async fn handle_command_args(args: Vec) -> Result<(), ExitCode> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_cli` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:293:14 [INFO] [stdout] | [INFO] [stdout] 293 | pub async fn handle_cli(version: &'static str) -> Result<(), i32> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:701:4 [INFO] [stdout] | [INFO] [stdout] 701 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_windows` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:733:4 [INFO] [stdout] | [INFO] [stdout] 733 | fn init_windows() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_loggers` is never used [INFO] [stdout] --> src/cli/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn setup_loggers(level: &str) -> Result<(), SetLoggerError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_cli` is never used [INFO] [stdout] --> src/cli.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn build_cli() -> Command { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_output_arguments` is never used [INFO] [stdout] --> src/cli.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn add_output_arguments( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_verbose_arguments` is never used [INFO] [stdout] --> src/cli.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn add_verbose_arguments() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_completions_subcommand` is never used [INFO] [stdout] --> src/cli.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn add_completions_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_examples_subcommand` is never used [INFO] [stdout] --> src/cli.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn add_examples_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_project_subcommand` is never used [INFO] [stdout] --> src/cli.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn add_project_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_true` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn is_true(object: &serde_json::Map, field: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_string` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn as_string(json: &Value) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_entry` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn find_entry(map: &serde_json::Map, key: &str) -> Option<(String, Value)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_json` and `as_json` are never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl Link { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 156 | /// Create a link from serde JSON data [INFO] [stdout] 157 | pub fn from_json(link: &str, link_data: &serde_json::Map) -> Link { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn as_json(&self) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path_info` is never read [INFO] [stdout] --> src/cli/pact_broker/main.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct HALClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 205 | path_info: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HALClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 210 | impl HALClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | fn update_path_info(self, path_info: serde_json::Value) -> HALClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub async fn navigate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | fn find_link(&self, link: &'static str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | async fn fetch_link( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | pub async fn delete(self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | pub fn iter_links(&self, link: &str) -> Result, PactBrokerError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | pub async fn post_json( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 526 | pub async fn put_json( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | pub async fn patch_json( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 545 | async fn send_document( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 598 | fn with_doc_context(self, doc_attributes: &[Link]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `links_from_json` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:663:8 [INFO] [stdout] | [INFO] [stdout] 663 | pub fn links_from_json(json: &Value) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_pacts_from_broker` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:683:14 [INFO] [stdout] | [INFO] [stdout] 683 | pub async fn fetch_pacts_from_broker( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_pacts_dynamically_from_broker` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:760:14 [INFO] [stdout] | [INFO] [stdout] 760 | pub async fn fetch_pacts_dynamically_from_broker( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_pact_from_url` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:925:14 [INFO] [stdout] | [INFO] [stdout] 925 | pub async fn fetch_pact_from_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_provider_tags` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:991:10 [INFO] [stdout] | [INFO] [stdout] 991 | async fn publish_provider_tags( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_provider_branch` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:1038:10 [INFO] [stdout] | [INFO] [stdout] 1038 | async fn publish_provider_branch( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_matches` is never used [INFO] [stdout] --> src/cli/pact_broker/main/pact_publish.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn handle_matches(args: &ArgMatches) -> Result, i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_git_branch` is never used [INFO] [stdout] --> src/cli/pact_broker/main/pact_publish.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn get_git_branch() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_git_commit` is never used [INFO] [stdout] --> src/cli/pact_broker/main/pact_publish.rs:193:4 [INFO] [stdout] | [INFO] [stdout] 193 | fn get_git_commit() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_pacts` is never used [INFO] [stdout] --> src/cli/pact_broker/main/pact_publish.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn publish_pacts(args: &ArgMatches) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_files` is never used [INFO] [stdout] --> src/cli/pact_broker/main/pact_publish.rs:460:8 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn load_files(args: &ArgMatches) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_pact` is never used [INFO] [stdout] --> src/cli/pact_broker/main/pact_publish.rs:511:4 [INFO] [stdout] | [INFO] [stdout] 511 | fn fetch_pact(url: &str, args: &ArgMatches) -> anyhow::Result<(String, Value)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_file` is never used [INFO] [stdout] --> src/cli/pact_broker/main/pact_publish.rs:528:4 [INFO] [stdout] | [INFO] [stdout] 528 | fn load_file(file_name: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_files_from_dir` is never used [INFO] [stdout] --> src/cli/pact_broker/main/pact_publish.rs:533:8 [INFO] [stdout] | [INFO] [stdout] 533 | pub fn load_files_from_dir(dir: &str) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_safe_ref` is never used [INFO] [stdout] --> src/cli/pact_broker/main/utils.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn as_safe_ref( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_broker_url` is never used [INFO] [stdout] --> src/cli/pact_broker/main/utils.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | pub(crate) fn get_broker_url(args: &clap::ArgMatches) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_auth` is never used [INFO] [stdout] --> src/cli/pact_broker/main/utils.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) fn get_auth(args: &clap::ArgMatches) -> HttpAuth { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_error` is never used [INFO] [stdout] --> src/cli/pact_broker/main/utils.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | pub(crate) fn handle_error(err: PactBrokerError) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_errors` is never used [INFO] [stdout] --> src/cli/pact_broker/main/verification/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl VerificationResult { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 25 | pub fn has_errors(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cli/pact_broker/main/verification/mod.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl VerificationResult { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new(source: &String, results: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_json` is never used [INFO] [stdout] --> src/cli/pact_broker/main/verification/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn verify_json( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_results` is never used [INFO] [stdout] --> src/cli/pact_broker/main/verification/mod.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn display_results(result: &Vec, output_type: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_output` is never used [INFO] [stdout] --> src/cli/pact_broker/main/verification/mod.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn display_output(results: &Vec) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_json_output` is never used [INFO] [stdout] --> src/cli/pact_broker/main/verification/mod.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn generate_json_output(results: &Vec) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_pact_broker_client_command` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn add_pact_broker_client_command() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_broker_auth_arguments` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn add_broker_auth_arguments() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_publish_pacts_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn add_publish_pacts_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_list_latest_pact_versions_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:210:4 [INFO] [stdout] | [INFO] [stdout] 210 | fn add_list_latest_pact_versions_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_create_environment_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn add_create_environment_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_update_environment_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn add_update_environment_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_describe_environment_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn add_describe_environment_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_delete_environment_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:298:4 [INFO] [stdout] | [INFO] [stdout] 298 | fn add_delete_environment_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_list_environments_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:313:4 [INFO] [stdout] | [INFO] [stdout] 313 | fn add_list_environments_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_record_deployment_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:323:4 [INFO] [stdout] | [INFO] [stdout] 323 | fn add_record_deployment_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_record_undeployment_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:360:4 [INFO] [stdout] | [INFO] [stdout] 360 | fn add_record_undeployment_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_record_release_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:392:4 [INFO] [stdout] | [INFO] [stdout] 392 | fn add_record_release_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_record_support_ended_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:425:4 [INFO] [stdout] | [INFO] [stdout] 425 | fn add_record_support_ended_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_can_i_deploy_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:458:4 [INFO] [stdout] | [INFO] [stdout] 458 | fn add_can_i_deploy_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_can_i_merge_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:592:4 [INFO] [stdout] | [INFO] [stdout] 592 | fn add_can_i_merge_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_create_or_update_pacticipant_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:625:4 [INFO] [stdout] | [INFO] [stdout] 625 | fn add_create_or_update_pacticipant_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_describe_pacticipant_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:660:4 [INFO] [stdout] | [INFO] [stdout] 660 | fn add_describe_pacticipant_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_list_pacticipants_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:677:4 [INFO] [stdout] | [INFO] [stdout] 677 | fn add_list_pacticipants_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_create_webhook_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:687:4 [INFO] [stdout] | [INFO] [stdout] 687 | fn add_create_webhook_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_create_or_update_webhook_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:761:4 [INFO] [stdout] | [INFO] [stdout] 761 | fn add_create_or_update_webhook_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_test_webhook_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:839:4 [INFO] [stdout] | [INFO] [stdout] 839 | fn add_test_webhook_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_delete_branch_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:853:4 [INFO] [stdout] | [INFO] [stdout] 853 | fn add_delete_branch_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_create_version_tag_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:870:4 [INFO] [stdout] | [INFO] [stdout] 870 | fn add_create_version_tag_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_describe_version_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:909:4 [INFO] [stdout] | [INFO] [stdout] 909 | fn add_describe_version_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_create_or_update_version_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:930:4 [INFO] [stdout] | [INFO] [stdout] 930 | fn add_create_or_update_version_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_generate_uuid_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:968:4 [INFO] [stdout] | [INFO] [stdout] 968 | fn add_generate_uuid_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:973:8 [INFO] [stdout] | [INFO] [stdout] 973 | pub fn run(args: &ArgMatches) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `name`, `display_name`, `production`, and `created_at` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:1463:33 [INFO] [stdout] | [INFO] [stdout] 1462 | ... struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 1463 | ... uuid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1464 | ... name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1465 | ... #[serde(rename = "displayName")] [INFO] [stdout] 1466 | ... display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1467 | ... production: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1468 | ... #[serde(rename = "createdAt")] [INFO] [stdout] 1469 | ... created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Environment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `name`, `display_name`, `production`, and `created_at` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:1794:17 [INFO] [stdout] | [INFO] [stdout] 1793 | struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 1794 | uuid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1795 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1796 | #[serde(rename = "displayName")] [INFO] [stdout] 1797 | display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1798 | production: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1799 | #[serde(rename = "createdAt")] [INFO] [stdout] 1800 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Environment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `name`, `display_name`, `production`, and `created_at` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2162:21 [INFO] [stdout] | [INFO] [stdout] 2161 | struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 2162 | uuid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2163 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2164 | #[serde(rename = "displayName")] [INFO] [stdout] 2165 | display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2166 | production: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 2167 | #[serde(rename = "createdAt")] [INFO] [stdout] 2168 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Environment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `deployable`, `reason`, `success`, `failed`, and `unknown` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2292:17 [INFO] [stdout] | [INFO] [stdout] 2291 | struct Summary { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 2292 | deployable: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 2293 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2294 | success: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2295 | failed: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2296 | unknown: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Summary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `notice_type` and `text` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2302:17 [INFO] [stdout] | [INFO] [stdout] 2300 | struct Notice { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2301 | #[serde(rename = "type")] [INFO] [stdout] 2302 | notice_type: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 2303 | text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Notice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number`, `branch`, `branches`, `branch_versions`, `environments`, and `tags` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2308:17 [INFO] [stdout] | [INFO] [stdout] 2307 | struct Version { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 2308 | number: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2309 | branch: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2310 | branches: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2311 | #[serde(rename = "branchVersions")] [INFO] [stdout] 2312 | branch_versions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2313 | environments: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2314 | _links: Links, [INFO] [stdout] 2315 | tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Version` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `latest` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2320:17 [INFO] [stdout] | [INFO] [stdout] 2319 | struct Branch { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2320 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2321 | latest: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Branch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `latest` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2327:17 [INFO] [stdout] | [INFO] [stdout] 2326 | struct BranchVersion { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 2327 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2328 | latest: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BranchVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `name`, `display_name`, `production`, and `created_at` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2334:17 [INFO] [stdout] | [INFO] [stdout] 2333 | struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 2334 | uuid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2335 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2336 | #[serde(rename = "displayName")] [INFO] [stdout] 2337 | display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2338 | production: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 2339 | #[serde(rename = "createdAt")] [INFO] [stdout] 2340 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Environment` 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 `self_link` is never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2347:17 [INFO] [stdout] | [INFO] [stdout] 2345 | struct Links { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 2346 | #[serde(rename = "self")] [INFO] [stdout] 2347 | self_link: SelfLink, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Links` 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 `href` is never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2352:17 [INFO] [stdout] | [INFO] [stdout] 2351 | struct SelfLink { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 2352 | href: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelfLink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `latest` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2357:17 [INFO] [stdout] | [INFO] [stdout] 2356 | struct Tag { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 2357 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2358 | latest: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `version` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2364:17 [INFO] [stdout] | [INFO] [stdout] 2363 | struct Consumer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 2364 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2365 | version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Consumer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `version` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2371:17 [INFO] [stdout] | [INFO] [stdout] 2370 | struct Provider { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 2371 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2372 | version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Provider` 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 `created_at` is never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2379:17 [INFO] [stdout] | [INFO] [stdout] 2377 | struct Pact { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 2378 | #[serde(rename = "createdAt")] [INFO] [stdout] 2379 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pact` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success` and `verified_at` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2385:17 [INFO] [stdout] | [INFO] [stdout] 2384 | struct VerificationResult { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 2385 | success: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2386 | #[serde(rename = "verifiedAt")] [INFO] [stdout] 2387 | verified_at: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerificationResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `consumer`, `provider`, `pact`, and `verification_result` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2393:17 [INFO] [stdout] | [INFO] [stdout] 2392 | struct MatrixItem { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 2393 | consumer: Consumer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2394 | provider: Provider, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2395 | pact: Pact, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2396 | #[serde(rename = "verificationResult")] [INFO] [stdout] 2397 | verification_result: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatrixItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `summary`, `notices`, and `matrix` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2402:17 [INFO] [stdout] | [INFO] [stdout] 2401 | struct Data { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 2402 | summary: Summary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2403 | notices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2404 | matrix: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` 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 `add_docker_broker_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_docker.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn add_docker_broker_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/cli/pact_broker_docker.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn run(args: &ArgMatches) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_standalone_broker_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_standalone.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn add_standalone_broker_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/cli/pact_broker_standalone.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn run(args: &ArgMatches) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_error` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn display_error(error: String, usage: &str) -> (std::string::String, &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_error` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn handle_error(error: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_version` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn print_version() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_loggers` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn setup_loggers( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `integer_value` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn integer_value(v: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uuid_value` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn uuid_value(v: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `output_path`, `base_port`, and `server_key` are never read [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) struct ServerOpts { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 110 | pub output_path: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 111 | pub base_port: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 112 | pub server_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerOpts` 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: function `handle_command_args` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | pub async fn handle_command_args() -> Result<(), i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_matches` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | pub async fn handle_matches(matches: &ArgMatches) -> Result<(), i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_args` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn setup_args() -> Command { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_mock_server` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/create_mock.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn create_mock_server( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `json2string` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/list.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn json2string(json: Option<&Value>) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_mock_servers` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/list.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn list_mock_servers(host: &str, port: u16, usage: &str) -> Result<(), i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `json_error` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn json_error(error: String) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_port` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_next_port(base_port: Option) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_provider` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn start_provider(context: &mut WebmachineContext, options: ServerOpts) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_param_set` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn query_param_set(context: &mut WebmachineContext, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_mock_server_request` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn verify_mock_server_request(context: &mut WebmachineContext) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shutdown_resource` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn shutdown_resource<'a>() -> WebmachineResource<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mock_server_resource` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:263:4 [INFO] [stdout] | [INFO] [stdout] 263 | fn mock_server_resource<'a>() -> WebmachineResource<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dispatcher` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:363:4 [INFO] [stdout] | [INFO] [stdout] 363 | fn dispatcher() -> WebmachineDispatcher<'static> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_server` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:433:14 [INFO] [stdout] | [INFO] [stdout] 433 | pub async fn start_server(port: u16) -> Result<(), i32> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shutdown_mock_server` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/shutdown.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn shutdown_mock_server( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shutdown_master_server` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/shutdown.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn shutdown_master_server( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_mock_server` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/verify.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn verify_mock_server( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_port` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/verify.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn validate_port(port: u16, server_manager: &Mutex) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_uuid` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/verify.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn validate_uuid(id: &str, server_manager: &Mutex) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_id` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/verify.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn validate_id(id: &str, server_manager: &Mutex) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_verification_errors` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/verify.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn display_verification_errors(id: &str, port: u64, json: &serde_json::Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_plugin_cli_subcommand` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn add_plugin_cli_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Github` is never constructed [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 403 | pub enum InstallationSource { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 404 | /// Install the plugin from a Github release page. [INFO] [stdout] 405 | Github, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstallationSource` 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: function `run` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn run(args: &ArgMatches) -> Result<(), ExitCode> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_plugin` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:513:4 [INFO] [stdout] | [INFO] [stdout] 513 | fn remove_plugin( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_delete` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:552:4 [INFO] [stdout] | [INFO] [stdout] 552 | fn prompt_delete(manifest: &PactPluginManifest) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disable_plugin` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:572:4 [INFO] [stdout] | [INFO] [stdout] 572 | fn disable_plugin(name: &String, version: &Option) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_plugin` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:610:4 [INFO] [stdout] | [INFO] [stdout] 610 | fn find_plugin( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enable_plugin` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:628:4 [INFO] [stdout] | [INFO] [stdout] 628 | fn enable_plugin(name: &String, version: &Option) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_env` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:666:4 [INFO] [stdout] | [INFO] [stdout] 666 | fn print_env() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_plugin_dir` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:685:4 [INFO] [stdout] | [INFO] [stdout] 685 | fn resolve_plugin_dir() -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install_plugin` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/install.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn install_plugin( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install_known_plugin` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/install.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | async fn install_known_plugin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install_plugin_from_url` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/install.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | async fn install_plugin_from_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_json_from_url` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/install.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | pub(crate) async fn fetch_json_from_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `already_installed` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/install.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn already_installed(manifest: &PactPluginManifest) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_plugin_dir` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/install.rs:193:4 [INFO] [stdout] | [INFO] [stdout] 193 | fn create_plugin_dir( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_continue` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/install.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn prompt_continue(manifest: &PactPluginManifest) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `json_to_string` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/install.rs:248:15 [INFO] [stdout] | [INFO] [stdout] 248 | pub(crate) fn json_to_string(value: &Value) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_plugins` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/list.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn list_plugins(command: &ArgMatches) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_known_plugins` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/list.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn list_known_plugins(show_all_versions: &bool) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_installed_plugins` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/list.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn list_installed_plugins() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plugin_list` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/list.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn plugin_list() -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `manifest_sort_fn` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/list.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn manifest_sort_fn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_INDEX` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) const DEFAULT_INDEX: &str = include_str!("../repository.index"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_command` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn handle_command(command: &ArgMatches) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_repository` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn new_repository(filename: &Option, overwrite: bool) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_repository_file` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn validate_repository_file(filename: &String) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_add_plugin_command` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn handle_add_plugin_command(command: &ArgMatches) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_manifest_to_index` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn add_manifest_to_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_index_file` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:246:4 [INFO] [stdout] | [INFO] [stdout] 246 | fn write_index_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_manifest_from_github` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn download_manifest_from_github(source: &String) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_sha_digest` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:310:4 [INFO] [stdout] | [INFO] [stdout] 310 | fn generate_sha_digest(repository_file: &PathBuf) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_filename` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:319:4 [INFO] [stdout] | [INFO] [stdout] 319 | fn validate_filename(filename: &str, file_description: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_versions` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:333:4 [INFO] [stdout] | [INFO] [stdout] 333 | fn list_versions(filename: &String, plugin_name: &String) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_entries` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:357:4 [INFO] [stdout] | [INFO] [stdout] 357 | fn list_entries(filename: &String) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `APP_USER_AGENT` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 380 | pub static APP_USER_AGENT: &str = concat!(env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION")); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_add_all_versions` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | fn handle_add_all_versions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | async fn main() -> Result<(), ExitCode> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_version` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn print_version() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `integer_value` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn integer_value(v: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `regex_value` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn regex_value(v: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `File`, `Dir`, `URL`, `Broker`, and `Unknown` are never constructed [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub enum PactSource { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 136 | /// Load the pact from a pact file [INFO] [stdout] 137 | File(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 138 | /// Load all the pacts from a Directory [INFO] [stdout] 139 | Dir(String), [INFO] [stdout] | ^^^ [INFO] [stdout] 140 | /// Load the pact from a URL [INFO] [stdout] 141 | URL(String, Option), [INFO] [stdout] | ^^^ [INFO] [stdout] 142 | /// Load all pacts from a Pact Broker [INFO] [stdout] 143 | Broker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PactSource` 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: function `pact_source` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn pact_source(matches: &ArgMatches) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_command_args` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:243:10 [INFO] [stdout] | [INFO] [stdout] 243 | async fn handle_command_args(args: Vec) -> Result<(), ExitCode> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_matches` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | pub async fn handle_matches(matches: &ArgMatches) -> Result<(), ExitCode> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_args` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn build_args() -> Command { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_logger` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:434:4 [INFO] [stdout] | [INFO] [stdout] 434 | fn setup_logger(level: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `with_path` are never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main/loading.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl PactError { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 29 | fn new(str: String) -> PactError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn with_path(&self, path: &Path) -> PactError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walkdir` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main/loading.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn walkdir( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pact_from_url` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main/loading.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | async fn pact_from_url( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_pacts` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main/loading.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | pub async fn load_pacts( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_providers` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main/loading.rs:238:4 [INFO] [stdout] | [INFO] [stdout] 238 | fn filter_providers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_consumers` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main/loading.rs:255:4 [INFO] [stdout] | [INFO] [stdout] 255 | fn filter_consumers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main/server.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl ServerHandlerFactory { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 46 | pub fn new(handler: ServerHandler) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `start_server` are never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main/server.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl ServerHandler { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 73 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn start_server(self, port: u16) -> Result<(), ExitCode> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_args` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn build_args() -> Command { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_cli` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:293:14 [INFO] [stdout] | [INFO] [stdout] 293 | pub async fn handle_cli(version: &'static str) -> Result<(), i32> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_matches` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 314 | pub async fn handle_matches(matches: &ArgMatches) -> Result<(), i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_output` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:425:4 [INFO] [stdout] | [INFO] [stdout] 425 | fn setup_output(matches: &ArgMatches) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_compact_log` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:450:4 [INFO] [stdout] | [INFO] [stdout] 450 | fn setup_compact_log(level: &str, coloured_output: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_default_log` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:465:4 [INFO] [stdout] | [INFO] [stdout] 465 | fn setup_default_log(level: &str, coloured_output: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_pretty_log` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:479:4 [INFO] [stdout] | [INFO] [stdout] 479 | fn setup_pretty_log(level: &str, coloured_output: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `configure_provider` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:495:15 [INFO] [stdout] | [INFO] [stdout] 495 | pub(crate) fn configure_provider(matches: &ArgMatches) -> ProviderInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_version` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:533:8 [INFO] [stdout] | [INFO] [stdout] 533 | pub fn print_version(version: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pact_source` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:545:4 [INFO] [stdout] | [INFO] [stdout] 545 | fn pact_source(matches: &ArgMatches) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interaction_filter` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:669:4 [INFO] [stdout] | [INFO] [stdout] 669 | fn interaction_filter(matches: &ArgMatches) -> FilterInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:701:4 [INFO] [stdout] | [INFO] [stdout] 701 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_windows` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:733:4 [INFO] [stdout] | [INFO] [stdout] 733 | fn init_windows() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `port_value` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main/args.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn port_value(v: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `integer_value` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main/args.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn integer_value(v: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_regex` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main/args.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn validate_regex(val: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transport_value` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main/args.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn transport_value(v: &str) -> Result<(String, u16), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_app` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main/args.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn setup_app() -> Command { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_json_report` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main/reports.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn write_json_report( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_pactflow_client_command` is never used [INFO] [stdout] --> src/cli/pactflow_client.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn add_pactflow_client_command() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_publish_provider_contract_subcommand` is never used [INFO] [stdout] --> src/cli/pactflow_client.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn add_publish_provider_contract_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/cli/pactflow_client.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn run(args:&ArgMatches) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_cli_extensions_subcommand` is never used [INFO] [stdout] --> src/cli/cli_extension.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn add_cli_extensions_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/cli/cli_extension.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn main(_arg: &ArgMatches) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_loggers` is never used [INFO] [stdout] --> src/cli/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn setup_loggers(level: &str) -> Result<(), SetLoggerError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `glob_value` is never used [INFO] [stdout] --> src/cli/utils.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn glob_value(v: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_cli` is never used [INFO] [stdout] --> src/cli.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn build_cli() -> Command { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_output_arguments` is never used [INFO] [stdout] --> src/cli.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn add_output_arguments( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_verbose_arguments` is never used [INFO] [stdout] --> src/cli.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn add_verbose_arguments() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_completions_subcommand` is never used [INFO] [stdout] --> src/cli.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn add_completions_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_examples_subcommand` is never used [INFO] [stdout] --> src/cli.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn add_examples_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_project_subcommand` is never used [INFO] [stdout] --> src/cli.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn add_project_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_true` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn is_true(object: &serde_json::Map, field: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_string` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn as_string(json: &Value) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_entry` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn find_entry(map: &serde_json::Map, key: &str) -> Option<(String, Value)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_json` and `as_json` are never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl Link { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 156 | /// Create a link from serde JSON data [INFO] [stdout] 157 | pub fn from_json(link: &str, link_data: &serde_json::Map) -> Link { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn as_json(&self) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path_info` is never read [INFO] [stdout] --> src/cli/pact_broker/main.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct HALClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 205 | path_info: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HALClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 210 | impl HALClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | fn update_path_info(self, path_info: serde_json::Value) -> HALClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub async fn navigate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | fn find_link(&self, link: &'static str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | async fn fetch_link( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | pub async fn delete(self, path: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | pub fn iter_links(&self, link: &str) -> Result, PactBrokerError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | pub async fn post_json( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 526 | pub async fn put_json( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | pub async fn patch_json( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 545 | async fn send_document( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 598 | fn with_doc_context(self, doc_attributes: &[Link]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `links_from_json` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:663:8 [INFO] [stdout] | [INFO] [stdout] 663 | pub fn links_from_json(json: &Value) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_pacts_from_broker` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:683:14 [INFO] [stdout] | [INFO] [stdout] 683 | pub async fn fetch_pacts_from_broker( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_pacts_dynamically_from_broker` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:760:14 [INFO] [stdout] | [INFO] [stdout] 760 | pub async fn fetch_pacts_dynamically_from_broker( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_pact_from_url` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:925:14 [INFO] [stdout] | [INFO] [stdout] 925 | pub async fn fetch_pact_from_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_provider_tags` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:991:10 [INFO] [stdout] | [INFO] [stdout] 991 | async fn publish_provider_tags( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_provider_branch` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:1038:10 [INFO] [stdout] | [INFO] [stdout] 1038 | async fn publish_provider_branch( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_matches` is never used [INFO] [stdout] --> src/cli/pact_broker/main/pact_publish.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn handle_matches(args: &ArgMatches) -> Result, i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_git_branch` is never used [INFO] [stdout] --> src/cli/pact_broker/main/pact_publish.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn get_git_branch() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_git_commit` is never used [INFO] [stdout] --> src/cli/pact_broker/main/pact_publish.rs:193:4 [INFO] [stdout] | [INFO] [stdout] 193 | fn get_git_commit() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_pacts` is never used [INFO] [stdout] --> src/cli/pact_broker/main/pact_publish.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn publish_pacts(args: &ArgMatches) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_files` is never used [INFO] [stdout] --> src/cli/pact_broker/main/pact_publish.rs:460:8 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn load_files(args: &ArgMatches) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_pact` is never used [INFO] [stdout] --> src/cli/pact_broker/main/pact_publish.rs:511:4 [INFO] [stdout] | [INFO] [stdout] 511 | fn fetch_pact(url: &str, args: &ArgMatches) -> anyhow::Result<(String, Value)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_file` is never used [INFO] [stdout] --> src/cli/pact_broker/main/pact_publish.rs:528:4 [INFO] [stdout] | [INFO] [stdout] 528 | fn load_file(file_name: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_files_from_dir` is never used [INFO] [stdout] --> src/cli/pact_broker/main/pact_publish.rs:533:8 [INFO] [stdout] | [INFO] [stdout] 533 | pub fn load_files_from_dir(dir: &str) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_safe_ref` is never used [INFO] [stdout] --> src/cli/pact_broker/main/utils.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn as_safe_ref( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_broker_url` is never used [INFO] [stdout] --> src/cli/pact_broker/main/utils.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | pub(crate) fn get_broker_url(args: &clap::ArgMatches) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_auth` is never used [INFO] [stdout] --> src/cli/pact_broker/main/utils.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) fn get_auth(args: &clap::ArgMatches) -> HttpAuth { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_error` is never used [INFO] [stdout] --> src/cli/pact_broker/main/utils.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | pub(crate) fn handle_error(err: PactBrokerError) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_errors` is never used [INFO] [stdout] --> src/cli/pact_broker/main/verification/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl VerificationResult { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 25 | pub fn has_errors(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cli/pact_broker/main/verification/mod.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl VerificationResult { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new(source: &String, results: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_json` is never used [INFO] [stdout] --> src/cli/pact_broker/main/verification/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn verify_json( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_results` is never used [INFO] [stdout] --> src/cli/pact_broker/main/verification/mod.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn display_results(result: &Vec, output_type: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_output` is never used [INFO] [stdout] --> src/cli/pact_broker/main/verification/mod.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn display_output(results: &Vec) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_json_output` is never used [INFO] [stdout] --> src/cli/pact_broker/main/verification/mod.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn generate_json_output(results: &Vec) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_pact_broker_client_command` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn add_pact_broker_client_command() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_broker_auth_arguments` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn add_broker_auth_arguments() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_publish_pacts_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn add_publish_pacts_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_list_latest_pact_versions_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:210:4 [INFO] [stdout] | [INFO] [stdout] 210 | fn add_list_latest_pact_versions_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_create_environment_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn add_create_environment_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_update_environment_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn add_update_environment_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_describe_environment_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn add_describe_environment_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_delete_environment_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:298:4 [INFO] [stdout] | [INFO] [stdout] 298 | fn add_delete_environment_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_list_environments_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:313:4 [INFO] [stdout] | [INFO] [stdout] 313 | fn add_list_environments_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_record_deployment_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:323:4 [INFO] [stdout] | [INFO] [stdout] 323 | fn add_record_deployment_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_record_undeployment_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:360:4 [INFO] [stdout] | [INFO] [stdout] 360 | fn add_record_undeployment_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_record_release_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:392:4 [INFO] [stdout] | [INFO] [stdout] 392 | fn add_record_release_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_record_support_ended_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:425:4 [INFO] [stdout] | [INFO] [stdout] 425 | fn add_record_support_ended_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_can_i_deploy_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:458:4 [INFO] [stdout] | [INFO] [stdout] 458 | fn add_can_i_deploy_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_can_i_merge_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:592:4 [INFO] [stdout] | [INFO] [stdout] 592 | fn add_can_i_merge_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_create_or_update_pacticipant_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:625:4 [INFO] [stdout] | [INFO] [stdout] 625 | fn add_create_or_update_pacticipant_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_describe_pacticipant_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:660:4 [INFO] [stdout] | [INFO] [stdout] 660 | fn add_describe_pacticipant_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_list_pacticipants_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:677:4 [INFO] [stdout] | [INFO] [stdout] 677 | fn add_list_pacticipants_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_create_webhook_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:687:4 [INFO] [stdout] | [INFO] [stdout] 687 | fn add_create_webhook_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_create_or_update_webhook_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:761:4 [INFO] [stdout] | [INFO] [stdout] 761 | fn add_create_or_update_webhook_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_test_webhook_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:839:4 [INFO] [stdout] | [INFO] [stdout] 839 | fn add_test_webhook_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_delete_branch_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:853:4 [INFO] [stdout] | [INFO] [stdout] 853 | fn add_delete_branch_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_create_version_tag_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:870:4 [INFO] [stdout] | [INFO] [stdout] 870 | fn add_create_version_tag_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_describe_version_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:909:4 [INFO] [stdout] | [INFO] [stdout] 909 | fn add_describe_version_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_create_or_update_version_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:930:4 [INFO] [stdout] | [INFO] [stdout] 930 | fn add_create_or_update_version_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_generate_uuid_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:968:4 [INFO] [stdout] | [INFO] [stdout] 968 | fn add_generate_uuid_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/cli/pact_broker_client.rs:973:8 [INFO] [stdout] | [INFO] [stdout] 973 | pub fn run(args: &ArgMatches) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `name`, `display_name`, `production`, and `created_at` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:1463:33 [INFO] [stdout] | [INFO] [stdout] 1462 | ... struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 1463 | ... uuid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1464 | ... name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1465 | ... #[serde(rename = "displayName")] [INFO] [stdout] 1466 | ... display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1467 | ... production: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1468 | ... #[serde(rename = "createdAt")] [INFO] [stdout] 1469 | ... created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Environment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `name`, `display_name`, `production`, and `created_at` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:1794:17 [INFO] [stdout] | [INFO] [stdout] 1793 | struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 1794 | uuid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1795 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1796 | #[serde(rename = "displayName")] [INFO] [stdout] 1797 | display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1798 | production: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1799 | #[serde(rename = "createdAt")] [INFO] [stdout] 1800 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Environment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `name`, `display_name`, `production`, and `created_at` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2162:21 [INFO] [stdout] | [INFO] [stdout] 2161 | struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 2162 | uuid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2163 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2164 | #[serde(rename = "displayName")] [INFO] [stdout] 2165 | display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2166 | production: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 2167 | #[serde(rename = "createdAt")] [INFO] [stdout] 2168 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Environment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `deployable`, `reason`, `success`, `failed`, and `unknown` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2292:17 [INFO] [stdout] | [INFO] [stdout] 2291 | struct Summary { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 2292 | deployable: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 2293 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2294 | success: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2295 | failed: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2296 | unknown: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Summary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `notice_type` and `text` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2302:17 [INFO] [stdout] | [INFO] [stdout] 2300 | struct Notice { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2301 | #[serde(rename = "type")] [INFO] [stdout] 2302 | notice_type: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 2303 | text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Notice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number`, `branch`, `branches`, `branch_versions`, `environments`, and `tags` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2308:17 [INFO] [stdout] | [INFO] [stdout] 2307 | struct Version { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 2308 | number: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2309 | branch: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2310 | branches: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2311 | #[serde(rename = "branchVersions")] [INFO] [stdout] 2312 | branch_versions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2313 | environments: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2314 | _links: Links, [INFO] [stdout] 2315 | tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Version` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `latest` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2320:17 [INFO] [stdout] | [INFO] [stdout] 2319 | struct Branch { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2320 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2321 | latest: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Branch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `latest` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2327:17 [INFO] [stdout] | [INFO] [stdout] 2326 | struct BranchVersion { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 2327 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2328 | latest: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BranchVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `name`, `display_name`, `production`, and `created_at` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2334:17 [INFO] [stdout] | [INFO] [stdout] 2333 | struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 2334 | uuid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2335 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2336 | #[serde(rename = "displayName")] [INFO] [stdout] 2337 | display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2338 | production: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 2339 | #[serde(rename = "createdAt")] [INFO] [stdout] 2340 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Environment` 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 `self_link` is never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2347:17 [INFO] [stdout] | [INFO] [stdout] 2345 | struct Links { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 2346 | #[serde(rename = "self")] [INFO] [stdout] 2347 | self_link: SelfLink, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Links` 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 `href` is never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2352:17 [INFO] [stdout] | [INFO] [stdout] 2351 | struct SelfLink { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 2352 | href: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelfLink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `latest` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2357:17 [INFO] [stdout] | [INFO] [stdout] 2356 | struct Tag { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 2357 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2358 | latest: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `version` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2364:17 [INFO] [stdout] | [INFO] [stdout] 2363 | struct Consumer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 2364 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2365 | version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Consumer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `version` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2371:17 [INFO] [stdout] | [INFO] [stdout] 2370 | struct Provider { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 2371 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2372 | version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Provider` 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 `created_at` is never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2379:17 [INFO] [stdout] | [INFO] [stdout] 2377 | struct Pact { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 2378 | #[serde(rename = "createdAt")] [INFO] [stdout] 2379 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pact` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success` and `verified_at` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2385:17 [INFO] [stdout] | [INFO] [stdout] 2384 | struct VerificationResult { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 2385 | success: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2386 | #[serde(rename = "verifiedAt")] [INFO] [stdout] 2387 | verified_at: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerificationResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `consumer`, `provider`, `pact`, and `verification_result` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2393:17 [INFO] [stdout] | [INFO] [stdout] 2392 | struct MatrixItem { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 2393 | consumer: Consumer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2394 | provider: Provider, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2395 | pact: Pact, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2396 | #[serde(rename = "verificationResult")] [INFO] [stdout] 2397 | verification_result: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatrixItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `summary`, `notices`, and `matrix` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2402:17 [INFO] [stdout] | [INFO] [stdout] 2401 | struct Data { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 2402 | summary: Summary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2403 | notices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2404 | matrix: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` 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 `add_docker_broker_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_docker.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn add_docker_broker_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/cli/pact_broker_docker.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn run(args: &ArgMatches) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_standalone_broker_subcommand` is never used [INFO] [stdout] --> src/cli/pact_broker_standalone.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn add_standalone_broker_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/cli/pact_broker_standalone.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn run(args: &ArgMatches) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_error` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn display_error(error: String, usage: &str) -> (std::string::String, &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_error` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn handle_error(error: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_version` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn print_version() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_loggers` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn setup_loggers( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `output_path`, `base_port`, and `server_key` are never read [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) struct ServerOpts { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 110 | pub output_path: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 111 | pub base_port: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 112 | pub server_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerOpts` 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: function `handle_command_args` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | pub async fn handle_command_args() -> Result<(), i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_matches` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | pub async fn handle_matches(matches: &ArgMatches) -> Result<(), i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_mock_server` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/create_mock.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn create_mock_server( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `json2string` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/list.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn json2string(json: Option<&Value>) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_mock_servers` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/list.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn list_mock_servers(host: &str, port: u16, usage: &str) -> Result<(), i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `json_error` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn json_error(error: String) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_port` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_next_port(base_port: Option) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_provider` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn start_provider(context: &mut WebmachineContext, options: ServerOpts) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_param_set` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn query_param_set(context: &mut WebmachineContext, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_mock_server_request` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn verify_mock_server_request(context: &mut WebmachineContext) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shutdown_resource` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn shutdown_resource<'a>() -> WebmachineResource<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mock_server_resource` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:263:4 [INFO] [stdout] | [INFO] [stdout] 263 | fn mock_server_resource<'a>() -> WebmachineResource<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dispatcher` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:363:4 [INFO] [stdout] | [INFO] [stdout] 363 | fn dispatcher() -> WebmachineDispatcher<'static> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_server` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/server.rs:433:14 [INFO] [stdout] | [INFO] [stdout] 433 | pub async fn start_server(port: u16) -> Result<(), i32> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shutdown_mock_server` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/shutdown.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn shutdown_mock_server( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shutdown_master_server` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/shutdown.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn shutdown_master_server( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_mock_server` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/verify.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn verify_mock_server( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_port` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/verify.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn validate_port(port: u16, server_manager: &Mutex) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_uuid` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/verify.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn validate_uuid(id: &str, server_manager: &Mutex) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_id` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/verify.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn validate_id(id: &str, server_manager: &Mutex) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_verification_errors` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main/verify.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn display_verification_errors(id: &str, port: u64, json: &serde_json::Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_plugin_cli_subcommand` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn add_plugin_cli_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Github` is never constructed [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 403 | pub enum InstallationSource { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 404 | /// Install the plugin from a Github release page. [INFO] [stdout] 405 | Github, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstallationSource` 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: function `run` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn run(args: &ArgMatches) -> Result<(), ExitCode> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_plugin` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:513:4 [INFO] [stdout] | [INFO] [stdout] 513 | fn remove_plugin( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_delete` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:552:4 [INFO] [stdout] | [INFO] [stdout] 552 | fn prompt_delete(manifest: &PactPluginManifest) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disable_plugin` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:572:4 [INFO] [stdout] | [INFO] [stdout] 572 | fn disable_plugin(name: &String, version: &Option) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_plugin` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:610:4 [INFO] [stdout] | [INFO] [stdout] 610 | fn find_plugin( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enable_plugin` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:628:4 [INFO] [stdout] | [INFO] [stdout] 628 | fn enable_plugin(name: &String, version: &Option) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_env` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:666:4 [INFO] [stdout] | [INFO] [stdout] 666 | fn print_env() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_plugin_dir` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:685:4 [INFO] [stdout] | [INFO] [stdout] 685 | fn resolve_plugin_dir() -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install_plugin` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/install.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn install_plugin( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install_known_plugin` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/install.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | async fn install_known_plugin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install_plugin_from_url` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/install.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | async fn install_plugin_from_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_json_from_url` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/install.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | pub(crate) async fn fetch_json_from_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `already_installed` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/install.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn already_installed(manifest: &PactPluginManifest) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_plugin_dir` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/install.rs:193:4 [INFO] [stdout] | [INFO] [stdout] 193 | fn create_plugin_dir( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt_continue` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/install.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn prompt_continue(manifest: &PactPluginManifest) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `json_to_string` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/install.rs:248:15 [INFO] [stdout] | [INFO] [stdout] 248 | pub(crate) fn json_to_string(value: &Value) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_plugins` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/list.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn list_plugins(command: &ArgMatches) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_known_plugins` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/list.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn list_known_plugins(show_all_versions: &bool) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_installed_plugins` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/list.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn list_installed_plugins() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plugin_list` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/list.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn plugin_list() -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `manifest_sort_fn` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/list.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn manifest_sort_fn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_INDEX` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) const DEFAULT_INDEX: &str = include_str!("../repository.index"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_command` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn handle_command(command: &ArgMatches) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_repository_file` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn validate_repository_file(filename: &String) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_add_plugin_command` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn handle_add_plugin_command(command: &ArgMatches) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_manifest_from_github` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn download_manifest_from_github(source: &String) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_filename` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:319:4 [INFO] [stdout] | [INFO] [stdout] 319 | fn validate_filename(filename: &str, file_description: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_versions` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:333:4 [INFO] [stdout] | [INFO] [stdout] 333 | fn list_versions(filename: &String, plugin_name: &String) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_entries` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:357:4 [INFO] [stdout] | [INFO] [stdout] 357 | fn list_entries(filename: &String) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `APP_USER_AGENT` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 380 | pub static APP_USER_AGENT: &str = concat!(env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION")); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_add_all_versions` is never used [INFO] [stdout] --> src/cli/pact_plugin_cli/main/repository.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | fn handle_add_all_versions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | async fn main() -> Result<(), ExitCode> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_version` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn print_version() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `integer_value` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn integer_value(v: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `regex_value` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn regex_value(v: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `File`, `Dir`, `URL`, and `Broker` are never constructed [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub enum PactSource { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 136 | /// Load the pact from a pact file [INFO] [stdout] 137 | File(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 138 | /// Load all the pacts from a Directory [INFO] [stdout] 139 | Dir(String), [INFO] [stdout] | ^^^ [INFO] [stdout] 140 | /// Load the pact from a URL [INFO] [stdout] 141 | URL(String, Option), [INFO] [stdout] | ^^^ [INFO] [stdout] 142 | /// Load all pacts from a Pact Broker [INFO] [stdout] 143 | Broker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PactSource` 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: function `pact_source` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn pact_source(matches: &ArgMatches) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_command_args` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:243:10 [INFO] [stdout] | [INFO] [stdout] 243 | async fn handle_command_args(args: Vec) -> Result<(), ExitCode> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_matches` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | pub async fn handle_matches(matches: &ArgMatches) -> Result<(), ExitCode> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_args` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:322:8 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn build_args() -> Command { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_logger` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:434:4 [INFO] [stdout] | [INFO] [stdout] 434 | fn setup_logger(level: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_path` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main/loading.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl PactError { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn with_path(&self, path: &Path) -> PactError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `walkdir` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main/loading.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn walkdir( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pact_from_url` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main/loading.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | async fn pact_from_url( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_pacts` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main/loading.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | pub async fn load_pacts( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main/server.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl ServerHandlerFactory { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 46 | pub fn new(handler: ServerHandler) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `start_server` are never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main/server.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl ServerHandler { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 73 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn start_server(self, port: u16) -> Result<(), ExitCode> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_args` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn build_args() -> Command { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_cli` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:293:14 [INFO] [stdout] | [INFO] [stdout] 293 | pub async fn handle_cli(version: &'static str) -> Result<(), i32> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_matches` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 314 | pub async fn handle_matches(matches: &ArgMatches) -> Result<(), i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_output` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:425:4 [INFO] [stdout] | [INFO] [stdout] 425 | fn setup_output(matches: &ArgMatches) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_compact_log` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:450:4 [INFO] [stdout] | [INFO] [stdout] 450 | fn setup_compact_log(level: &str, coloured_output: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_default_log` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:465:4 [INFO] [stdout] | [INFO] [stdout] 465 | fn setup_default_log(level: &str, coloured_output: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_pretty_log` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:479:4 [INFO] [stdout] | [INFO] [stdout] 479 | fn setup_pretty_log(level: &str, coloured_output: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `configure_provider` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:495:15 [INFO] [stdout] | [INFO] [stdout] 495 | pub(crate) fn configure_provider(matches: &ArgMatches) -> ProviderInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_version` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:533:8 [INFO] [stdout] | [INFO] [stdout] 533 | pub fn print_version(version: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pact_source` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:545:4 [INFO] [stdout] | [INFO] [stdout] 545 | fn pact_source(matches: &ArgMatches) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interaction_filter` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:669:4 [INFO] [stdout] | [INFO] [stdout] 669 | fn interaction_filter(matches: &ArgMatches) -> FilterInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:701:4 [INFO] [stdout] | [INFO] [stdout] 701 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_windows` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:733:4 [INFO] [stdout] | [INFO] [stdout] 733 | fn init_windows() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `port_value` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main/args.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn port_value(v: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `integer_value` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main/args.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn integer_value(v: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_regex` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main/args.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn validate_regex(val: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transport_value` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main/args.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn transport_value(v: &str) -> Result<(String, u16), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_app` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main/args.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn setup_app() -> Command { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_json_report` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main/reports.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn write_json_report( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_pactflow_client_command` is never used [INFO] [stdout] --> src/cli/pactflow_client.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn add_pactflow_client_command() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_publish_provider_contract_subcommand` is never used [INFO] [stdout] --> src/cli/pactflow_client.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn add_publish_provider_contract_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/cli/pactflow_client.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn run(args:&ArgMatches) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_cli_extensions_subcommand` is never used [INFO] [stdout] --> src/cli/cli_extension.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn add_cli_extensions_subcommand() -> Command { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/cli/cli_extension.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn main(_arg: &ArgMatches) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_loggers` is never used [INFO] [stdout] --> src/cli/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn setup_loggers(level: &str) -> Result<(), SetLoggerError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `glob_value` is never used [INFO] [stdout] --> src/cli/utils.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn glob_value(v: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_true` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn is_true(object: &serde_json::Map, field: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_string` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn as_string(json: &Value) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_entry` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn find_entry(map: &serde_json::Map, key: &str) -> Option<(String, Value)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_json` and `as_json` are never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl Link { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 156 | /// Create a link from serde JSON data [INFO] [stdout] 157 | pub fn from_json(link: &str, link_data: &serde_json::Map) -> Link { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn as_json(&self) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path_info` is never read [INFO] [stdout] --> src/cli/pact_broker/main.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct HALClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 205 | path_info: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HALClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 210 | impl HALClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | fn update_path_info(self, path_info: serde_json::Value) -> HALClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub async fn navigate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | fn find_link(&self, link: &'static str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | async fn fetch_link( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | pub fn iter_links(&self, link: &str) -> Result, PactBrokerError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 526 | pub async fn put_json( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 598 | fn with_doc_context(self, doc_attributes: &[Link]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `links_from_json` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:663:8 [INFO] [stdout] | [INFO] [stdout] 663 | pub fn links_from_json(json: &Value) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_pacts_from_broker` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:683:14 [INFO] [stdout] | [INFO] [stdout] 683 | pub async fn fetch_pacts_from_broker( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_pacts_dynamically_from_broker` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:760:14 [INFO] [stdout] | [INFO] [stdout] 760 | pub async fn fetch_pacts_dynamically_from_broker( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_pact_from_url` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:925:14 [INFO] [stdout] | [INFO] [stdout] 925 | pub async fn fetch_pact_from_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_provider_tags` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:991:10 [INFO] [stdout] | [INFO] [stdout] 991 | async fn publish_provider_tags( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_provider_branch` is never used [INFO] [stdout] --> src/cli/pact_broker/main.rs:1038:10 [INFO] [stdout] | [INFO] [stdout] 1038 | async fn publish_provider_branch( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_safe_ref` is never used [INFO] [stdout] --> src/cli/pact_broker/main/utils.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn as_safe_ref( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `display_name`, `production`, and `created_at` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:1797:17 [INFO] [stdout] | [INFO] [stdout] 1793 | struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1797 | display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1798 | production: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1799 | #[serde(rename = "createdAt")] [INFO] [stdout] 1800 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Environment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `display_name`, `production`, and `created_at` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2165:21 [INFO] [stdout] | [INFO] [stdout] 2161 | struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 2165 | display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2166 | production: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 2167 | #[serde(rename = "createdAt")] [INFO] [stdout] 2168 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Environment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reason`, `success`, `failed`, and `unknown` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2293:17 [INFO] [stdout] | [INFO] [stdout] 2291 | struct Summary { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 2292 | deployable: Option, [INFO] [stdout] 2293 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2294 | success: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2295 | failed: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2296 | unknown: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Summary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `branch`, `branches`, `branch_versions`, `environments`, and `tags` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2309:17 [INFO] [stdout] | [INFO] [stdout] 2307 | struct Version { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 2308 | number: String, [INFO] [stdout] 2309 | branch: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2310 | branches: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2311 | #[serde(rename = "branchVersions")] [INFO] [stdout] 2312 | branch_versions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2313 | environments: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2314 | _links: Links, [INFO] [stdout] 2315 | tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Version` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `latest` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2320:17 [INFO] [stdout] | [INFO] [stdout] 2319 | struct Branch { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2320 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2321 | latest: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Branch` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `latest` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2327:17 [INFO] [stdout] | [INFO] [stdout] 2326 | struct BranchVersion { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 2327 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2328 | latest: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BranchVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `name`, `display_name`, `production`, and `created_at` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2334:17 [INFO] [stdout] | [INFO] [stdout] 2333 | struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 2334 | uuid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2335 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2336 | #[serde(rename = "displayName")] [INFO] [stdout] 2337 | display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 2338 | production: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 2339 | #[serde(rename = "createdAt")] [INFO] [stdout] 2340 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Environment` 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 `self_link` is never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2347:17 [INFO] [stdout] | [INFO] [stdout] 2345 | struct Links { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 2346 | #[serde(rename = "self")] [INFO] [stdout] 2347 | self_link: SelfLink, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Links` 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 `href` is never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2352:17 [INFO] [stdout] | [INFO] [stdout] 2351 | struct SelfLink { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 2352 | href: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelfLink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `latest` are never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2357:17 [INFO] [stdout] | [INFO] [stdout] 2356 | struct Tag { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 2357 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2358 | latest: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tag` 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 `created_at` is never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2379:17 [INFO] [stdout] | [INFO] [stdout] 2377 | struct Pact { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 2378 | #[serde(rename = "createdAt")] [INFO] [stdout] 2379 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pact` 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 `verified_at` is never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2387:17 [INFO] [stdout] | [INFO] [stdout] 2384 | struct VerificationResult { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 2387 | verified_at: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerificationResult` 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 `pact` is never read [INFO] [stdout] --> src/cli/pact_broker_client.rs:2395:17 [INFO] [stdout] | [INFO] [stdout] 2392 | struct MatrixItem { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 2395 | pact: Pact, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatrixItem` 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 `main` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_command_args` is never used [INFO] [stdout] --> src/cli/pact_mock_server_cli/main.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | pub async fn handle_command_args() -> Result<(), i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Github` is never constructed [INFO] [stdout] --> src/cli/pact_plugin_cli/main.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 403 | pub enum InstallationSource { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 404 | /// Install the plugin from a Github release page. [INFO] [stdout] 405 | Github, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstallationSource` 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: function `main` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | async fn main() -> Result<(), ExitCode> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_command_args` is never used [INFO] [stdout] --> src/cli/pact_stub_server_cli/main.rs:243:10 [INFO] [stdout] | [INFO] [stdout] 243 | async fn handle_command_args(args: Vec) -> Result<(), ExitCode> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_cli` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:293:14 [INFO] [stdout] | [INFO] [stdout] 293 | pub async fn handle_cli(version: &'static str) -> Result<(), i32> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:701:4 [INFO] [stdout] | [INFO] [stdout] 701 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_windows` is never used [INFO] [stdout] --> src/cli/pact_verifier_cli/main.rs:733:4 [INFO] [stdout] | [INFO] [stdout] 733 | fn init_windows() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_loggers` is never used [INFO] [stdout] --> src/cli/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn setup_loggers(level: &str) -> Result<(), SetLoggerError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "27138e2e22e1e04787f620879f5c1540bf327e9243bd0939f0f3c2f22af16900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27138e2e22e1e04787f620879f5c1540bf327e9243bd0939f0f3c2f22af16900", kill_on_drop: false }` [INFO] [stdout] 27138e2e22e1e04787f620879f5c1540bf327e9243bd0939f0f3c2f22af16900