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