Skip to content

Feat/cli as lib

Feat/cli as lib #35

Triggered via pull request September 27, 2025 10:40
Status Success
Total duration 7m 4s
Artifacts

build.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

108 warnings and 2 notices
build (macos-latest, stable): src/main.rs#L375
the borrowed expression implements the required traits
build (macos-latest, stable): src/main.rs#L362
the borrowed expression implements the required traits
build (macos-latest, stable): src/main.rs#L355
the borrowed expression implements the required traits
build (macos-latest, stable): src/main.rs#L230
useless conversion to the same type: `clap::parser::ValuesRef<'_, regex::Regex>`
build (macos-latest, stable): src/main.rs#L224
useless conversion to the same type: `clap::parser::ValuesRef<'_, regex::Regex>`
build (macos-latest, stable): src/server.rs#L197
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
build (macos-latest, stable): src/pact_support.rs#L38
unnecessarily eager cloning of iterator items
build (macos-latest, stable): src/loading.rs#L285
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
build (macos-latest, stable): src/loading.rs#L268
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
build (macos-latest, stable): src/loading.rs#L93
very complex type used. Consider factoring parts into `type` definitions
build (macos-latest, stable)
`pact-stub-server` (lib) generated 1 warning
build (macos-latest, stable): src/main.rs#L111
missing documentation for a function
build (macos-latest, stable)
`pact-stub-server` (lib test) generated 1 warning (1 duplicate)
build (macos-latest, stable): src/main.rs#L111
missing documentation for a function
build (macos-latest, stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macos-latest, stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macos-latest, stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macos-latest, stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, stable): src/main.rs#L375
the borrowed expression implements the required traits
build (ubuntu-latest, stable): src/main.rs#L362
the borrowed expression implements the required traits
build (ubuntu-latest, stable): src/main.rs#L355
the borrowed expression implements the required traits
build (ubuntu-latest, stable): src/main.rs#L230
useless conversion to the same type: `clap::parser::ValuesRef<'_, regex::Regex>`
build (ubuntu-latest, stable): src/main.rs#L224
useless conversion to the same type: `clap::parser::ValuesRef<'_, regex::Regex>`
build (ubuntu-latest, stable): src/server.rs#L197
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
build (ubuntu-latest, stable): src/pact_support.rs#L38
unnecessarily eager cloning of iterator items
build (ubuntu-latest, stable): src/loading.rs#L285
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
build (ubuntu-latest, stable): src/loading.rs#L268
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
build (ubuntu-latest, stable): src/loading.rs#L93
very complex type used. Consider factoring parts into `type` definitions
build (ubuntu-latest, stable)
`pact-stub-server` (lib) generated 1 warning
build (ubuntu-latest, stable): src/main.rs#L111
missing documentation for a function
build (ubuntu-latest, stable)
`pact-stub-server` (lib) generated 1 warning
build (ubuntu-latest, stable): src/main.rs#L111
missing documentation for a function
build (ubuntu-latest, stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, beta): src/main.rs#L375
the borrowed expression implements the required traits
build (ubuntu-latest, beta): src/main.rs#L362
the borrowed expression implements the required traits
build (ubuntu-latest, beta): src/main.rs#L355
the borrowed expression implements the required traits
build (ubuntu-latest, beta): src/main.rs#L230
useless conversion to the same type: `clap::parser::ValuesRef<'_, regex::Regex>`
build (ubuntu-latest, beta): src/main.rs#L224
useless conversion to the same type: `clap::parser::ValuesRef<'_, regex::Regex>`
build (ubuntu-latest, beta): src/server.rs#L197
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
build (ubuntu-latest, beta): src/pact_support.rs#L38
unnecessarily eager cloning of iterator items
build (ubuntu-latest, beta): src/loading.rs#L285
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
build (ubuntu-latest, beta): src/loading.rs#L268
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
build (ubuntu-latest, beta): src/loading.rs#L93
very complex type used. Consider factoring parts into `type` definitions
build (ubuntu-latest, beta)
`pact-stub-server` (lib) generated 1 warning
build (ubuntu-latest, beta): src/main.rs#L111
missing documentation for a function
build (ubuntu-latest, beta)
`pact-stub-server` (lib) generated 1 warning
build (ubuntu-latest, beta): src/main.rs#L111
missing documentation for a function
build (ubuntu-latest, beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (ubuntu-latest, beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macos-latest, beta): src/main.rs#L375
the borrowed expression implements the required traits
build (macos-latest, beta): src/main.rs#L362
the borrowed expression implements the required traits
build (macos-latest, beta): src/main.rs#L355
the borrowed expression implements the required traits
build (macos-latest, beta): src/main.rs#L230
useless conversion to the same type: `clap::parser::ValuesRef<'_, regex::Regex>`
build (macos-latest, beta): src/main.rs#L224
useless conversion to the same type: `clap::parser::ValuesRef<'_, regex::Regex>`
build (macos-latest, beta): src/server.rs#L197
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
build (macos-latest, beta): src/pact_support.rs#L38
unnecessarily eager cloning of iterator items
build (macos-latest, beta): src/loading.rs#L285
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
build (macos-latest, beta): src/loading.rs#L268
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
build (macos-latest, beta): src/loading.rs#L93
very complex type used. Consider factoring parts into `type` definitions
build (macos-latest, beta)
`pact-stub-server` (lib) generated 1 warning
build (macos-latest, beta): src/main.rs#L111
missing documentation for a function
build (macos-latest, beta)
`pact-stub-server` (lib test) generated 1 warning (1 duplicate)
build (macos-latest, beta): src/main.rs#L111
missing documentation for a function
build (macos-latest, beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macos-latest, beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macos-latest, beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (macos-latest, beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, beta): src/main.rs#L375
the borrowed expression implements the required traits
build (windows-latest, beta): src/main.rs#L362
the borrowed expression implements the required traits
build (windows-latest, beta): src/main.rs#L355
the borrowed expression implements the required traits
build (windows-latest, beta): src/main.rs#L230
useless conversion to the same type: `clap::parser::ValuesRef<'_, regex::Regex>`
build (windows-latest, beta): src/main.rs#L224
useless conversion to the same type: `clap::parser::ValuesRef<'_, regex::Regex>`
build (windows-latest, beta): src/server.rs#L197
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
build (windows-latest, beta): src/pact_support.rs#L38
unnecessarily eager cloning of iterator items
build (windows-latest, beta): src/loading.rs#L285
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
build (windows-latest, beta): src/loading.rs#L268
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
build (windows-latest, beta): src/loading.rs#L93
very complex type used. Consider factoring parts into `type` definitions
build (windows-latest, beta)
`pact-stub-server` (lib) generated 1 warning
build (windows-latest, beta): src/main.rs#L111
missing documentation for a function
build (windows-latest, beta)
`pact-stub-server` (lib test) generated 1 warning (1 duplicate)
build (windows-latest, beta): src/main.rs#L111
missing documentation for a function
build (windows-latest, beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, beta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, stable): src/main.rs#L375
the borrowed expression implements the required traits
build (windows-latest, stable): src/main.rs#L362
the borrowed expression implements the required traits
build (windows-latest, stable): src/main.rs#L355
the borrowed expression implements the required traits
build (windows-latest, stable): src/main.rs#L230
useless conversion to the same type: `clap::parser::ValuesRef<'_, regex::Regex>`
build (windows-latest, stable): src/main.rs#L224
useless conversion to the same type: `clap::parser::ValuesRef<'_, regex::Regex>`
build (windows-latest, stable): src/server.rs#L197
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
build (windows-latest, stable): src/pact_support.rs#L38
unnecessarily eager cloning of iterator items
build (windows-latest, stable): src/loading.rs#L285
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
build (windows-latest, stable): src/loading.rs#L268
writing `&Vec` instead of `&[_]` involves a new object where a slice will do
build (windows-latest, stable): src/loading.rs#L93
very complex type used. Consider factoring parts into `type` definitions
build (windows-latest, stable)
`pact-stub-server` (lib) generated 1 warning
build (windows-latest, stable): src/main.rs#L111
missing documentation for a function
build (windows-latest, stable)
`pact-stub-server` (lib test) generated 1 warning (1 duplicate)
build (windows-latest, stable): src/main.rs#L111
missing documentation for a function
build (windows-latest, stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (windows-latest, beta)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
build (windows-latest, stable)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677