The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Peppermint, reference main (a2ade2), with Swift 6.1 for Linux on 27 Apr 2025 06:27:26 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nsagora/peppermint.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/nsagora/peppermint
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a2ade2c Add concurency support for the build-linux and build-macos workflows
Cloned https://github.com/nsagora/peppermint.git
Revision (git rev-parse @):
a2ade2c78156fe7e29bbe6978f9dd7f2865d58f3
SUCCESS checkout https://github.com/nsagora/peppermint.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nsagora/peppermint.git
https://github.com/nsagora/peppermint.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Peppermint",
  "name" : "Peppermint",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Peppermint",
      "targets" : [
        "Peppermint"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PeppermintTests",
      "module_type" : "SwiftTarget",
      "name" : "PeppermintTests",
      "path" : "Tests",
      "sources" : [
        "Constraints/AsyncConstraintWrapperTests.swift",
        "Constraints/ConstraintBuilderTests.swift",
        "Constraints/ContratintTests.swift",
        "Constraints/QueuedConstraintWrapperTests.swift",
        "Constraints/Standard/BlockConstraintTests.swift",
        "Constraints/Standard/GroupConstraintTests.swift",
        "Constraints/Standard/OptionalConstraintTests.swift",
        "Constraints/Standard/PredicateConstraintTests.swift",
        "Constraints/Standard/RequiredConstraintTests.swift",
        "Constraints/Standard/TypeConstraintTests.swift",
        "Constraints/SummaryTests.swift",
        "Predicates/AnyPredicateTests.swift",
        "Predicates/Standard/BlockPredicateTests.swift",
        "Predicates/Standard/CharacterSetPredicateTests.swift",
        "Predicates/Standard/DatePredicateTests.swift",
        "Predicates/Standard/EmailPredicateTests.swift",
        "Predicates/Standard/LengthPredicateTests.swift",
        "Predicates/Standard/RangePredicateTests.swift",
        "Predicates/Standard/RegexPredicateTests.swift",
        "Predicates/Standard/RequiredPredicateTests.swift",
        "Predicates/Standard/URLPredicateTests.swift",
        "Shared/FakeError.swift",
        "Shared/FakePredicate.swift"
      ],
      "target_dependencies" : [
        "Peppermint"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Peppermint",
      "module_type" : "SwiftTarget",
      "name" : "Peppermint",
      "path" : "Sources",
      "product_memberships" : [
        "Peppermint"
      ],
      "sources" : [
        "Constraints/AnyConstraint.swift",
        "Constraints/AsyncConstraint.swift",
        "Constraints/AsyncConstraintWrapper.swift",
        "Constraints/Constraint.swift",
        "Constraints/ConstraintBuilder.swift",
        "Constraints/QueuedConstraint.swift",
        "Constraints/QueuedConstraintWrapper.swift",
        "Constraints/Standard/BlockConstraint.swift",
        "Constraints/Standard/GroupConstraint+AllStrategy.swift",
        "Constraints/Standard/GroupConstraint+AnyStrategy.swift",
        "Constraints/Standard/GroupConstraint.swift",
        "Constraints/Standard/KeyPathConstraint.swift",
        "Constraints/Standard/OptionalConstraint.swift",
        "Constraints/Standard/PredicateConstraint.swift",
        "Constraints/Standard/RequiredConstraint.swift",
        "Constraints/Standard/TypeConstraint.swift",
        "Constraints/Summary+Result.swift",
        "Constraints/Summary.swift",
        "Predicates/AnyPredicate.swift",
        "Predicates/Predicate.swift",
        "Predicates/Standard/BlockPredicate.swift",
        "Predicates/Standard/CharacterSetPredicate.swift",
        "Predicates/Standard/DatePredicate.swift",
        "Predicates/Standard/EmailPredicate.swift",
        "Predicates/Standard/LengthPredicate.swift",
        "Predicates/Standard/RangePredicate.swift",
        "Predicates/Standard/RegexPredicate.swift",
        "Predicates/Standard/RequiredPredicate.swift",
        "Predicates/Standard/URLPredicate.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.33s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.80s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3375] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.32s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.82s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/31] Emitting module Peppermint
[6/34] Compiling Peppermint GroupConstraint+AllStrategy.swift
[7/34] Compiling Peppermint GroupConstraint+AnyStrategy.swift
[8/34] Compiling Peppermint GroupConstraint.swift
[9/34] Compiling Peppermint KeyPathConstraint.swift
[10/34] Compiling Peppermint OptionalConstraint.swift
[11/34] Compiling Peppermint PredicateConstraint.swift
[12/34] Compiling Peppermint RequiredConstraint.swift
[13/34] Compiling Peppermint TypeConstraint.swift
[14/34] Compiling Peppermint RegexPredicate.swift
[15/34] Compiling Peppermint RequiredPredicate.swift
[16/34] Compiling Peppermint URLPredicate.swift
[17/34] Compiling Peppermint BlockPredicate.swift
[18/34] Compiling Peppermint CharacterSetPredicate.swift
[19/34] Compiling Peppermint DatePredicate.swift
[20/34] Compiling Peppermint EmailPredicate.swift
[21/34] Compiling Peppermint LengthPredicate.swift
[22/34] Compiling Peppermint RangePredicate.swift
[23/34] Compiling Peppermint AnyConstraint.swift
/host/spi-builder-workspace/Sources/Constraints/AsyncConstraintWrapper.swift:16:20: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
14 |
15 |     public func evaluate(with input: T) async -> Result<Void, Summary<E>> {
16 |         await Task {
   |                    `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
17 |             constraint.evaluate(with: input)
   |             |                         `- note: closure captures non-Sendable 'input'
   |             `- note: closure captures non-Sendable 'self'
18 |         }.value
19 |     }
[24/34] Compiling Peppermint AsyncConstraint.swift
/host/spi-builder-workspace/Sources/Constraints/AsyncConstraintWrapper.swift:16:20: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
14 |
15 |     public func evaluate(with input: T) async -> Result<Void, Summary<E>> {
16 |         await Task {
   |                    `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
17 |             constraint.evaluate(with: input)
   |             |                         `- note: closure captures non-Sendable 'input'
   |             `- note: closure captures non-Sendable 'self'
18 |         }.value
19 |     }
[25/34] Compiling Peppermint AsyncConstraintWrapper.swift
/host/spi-builder-workspace/Sources/Constraints/AsyncConstraintWrapper.swift:16:20: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
14 |
15 |     public func evaluate(with input: T) async -> Result<Void, Summary<E>> {
16 |         await Task {
   |                    `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
17 |             constraint.evaluate(with: input)
   |             |                         `- note: closure captures non-Sendable 'input'
   |             `- note: closure captures non-Sendable 'self'
18 |         }.value
19 |     }
[26/34] Compiling Peppermint Constraint.swift
/host/spi-builder-workspace/Sources/Constraints/AsyncConstraintWrapper.swift:16:20: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
14 |
15 |     public func evaluate(with input: T) async -> Result<Void, Summary<E>> {
16 |         await Task {
   |                    `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
17 |             constraint.evaluate(with: input)
   |             |                         `- note: closure captures non-Sendable 'input'
   |             `- note: closure captures non-Sendable 'self'
18 |         }.value
19 |     }
[27/34] Compiling Peppermint Summary+Result.swift
[28/34] Compiling Peppermint Summary.swift
[29/34] Compiling Peppermint AnyPredicate.swift
[30/34] Compiling Peppermint Predicate.swift
[31/34] Compiling Peppermint ConstraintBuilder.swift
/host/spi-builder-workspace/Sources/Constraints/QueuedConstraintWrapper.swift:19:26: warning: capture of 'self' with non-sendable type 'QueuedConstraintWrapper<T, E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct QueuedConstraintWrapper<T, E: Error>: QueuedConstraint {
   |               `- note: consider making generic struct 'QueuedConstraintWrapper' conform to the 'Sendable' protocol
 4 |
 5 |     public typealias InputType = T
   :
17 |     public func evaluate(with input: T, on queue: DispatchQueue, completionHandler: @escaping (Result<Void, Summary<E>>) -> Void) {
18 |         workQueue.async {
19 |             let result = constraint.evaluate(with: input)
   |                          `- warning: capture of 'self' with non-sendable type 'QueuedConstraintWrapper<T, E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
20 |             queue.async {
21 |                 completionHandler(result)
/host/spi-builder-workspace/Sources/Constraints/QueuedConstraintWrapper.swift:19:52: warning: capture of 'input' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct QueuedConstraintWrapper<T, E: Error>: QueuedConstraint {
   |                                       `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 4 |
 5 |     public typealias InputType = T
   :
17 |     public func evaluate(with input: T, on queue: DispatchQueue, completionHandler: @escaping (Result<Void, Summary<E>>) -> Void) {
18 |         workQueue.async {
19 |             let result = constraint.evaluate(with: input)
   |                                                    `- warning: capture of 'input' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
20 |             queue.async {
21 |                 completionHandler(result)
/host/spi-builder-workspace/Sources/Constraints/QueuedConstraintWrapper.swift:21:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<E>>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 |             let result = constraint.evaluate(with: input)
20 |             queue.async {
21 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<E>>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 |             }
23 |         }
/host/spi-builder-workspace/Sources/Constraints/QueuedConstraintWrapper.swift:21:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<E>>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 |             let result = constraint.evaluate(with: input)
20 |             queue.async {
21 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<E>>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 |             }
23 |         }
[32/34] Compiling Peppermint QueuedConstraint.swift
/host/spi-builder-workspace/Sources/Constraints/QueuedConstraintWrapper.swift:19:26: warning: capture of 'self' with non-sendable type 'QueuedConstraintWrapper<T, E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct QueuedConstraintWrapper<T, E: Error>: QueuedConstraint {
   |               `- note: consider making generic struct 'QueuedConstraintWrapper' conform to the 'Sendable' protocol
 4 |
 5 |     public typealias InputType = T
   :
17 |     public func evaluate(with input: T, on queue: DispatchQueue, completionHandler: @escaping (Result<Void, Summary<E>>) -> Void) {
18 |         workQueue.async {
19 |             let result = constraint.evaluate(with: input)
   |                          `- warning: capture of 'self' with non-sendable type 'QueuedConstraintWrapper<T, E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
20 |             queue.async {
21 |                 completionHandler(result)
/host/spi-builder-workspace/Sources/Constraints/QueuedConstraintWrapper.swift:19:52: warning: capture of 'input' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct QueuedConstraintWrapper<T, E: Error>: QueuedConstraint {
   |                                       `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 4 |
 5 |     public typealias InputType = T
   :
17 |     public func evaluate(with input: T, on queue: DispatchQueue, completionHandler: @escaping (Result<Void, Summary<E>>) -> Void) {
18 |         workQueue.async {
19 |             let result = constraint.evaluate(with: input)
   |                                                    `- warning: capture of 'input' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
20 |             queue.async {
21 |                 completionHandler(result)
/host/spi-builder-workspace/Sources/Constraints/QueuedConstraintWrapper.swift:21:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<E>>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 |             let result = constraint.evaluate(with: input)
20 |             queue.async {
21 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<E>>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 |             }
23 |         }
/host/spi-builder-workspace/Sources/Constraints/QueuedConstraintWrapper.swift:21:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<E>>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 |             let result = constraint.evaluate(with: input)
20 |             queue.async {
21 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<E>>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 |             }
23 |         }
[33/34] Compiling Peppermint QueuedConstraintWrapper.swift
/host/spi-builder-workspace/Sources/Constraints/QueuedConstraintWrapper.swift:19:26: warning: capture of 'self' with non-sendable type 'QueuedConstraintWrapper<T, E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct QueuedConstraintWrapper<T, E: Error>: QueuedConstraint {
   |               `- note: consider making generic struct 'QueuedConstraintWrapper' conform to the 'Sendable' protocol
 4 |
 5 |     public typealias InputType = T
   :
17 |     public func evaluate(with input: T, on queue: DispatchQueue, completionHandler: @escaping (Result<Void, Summary<E>>) -> Void) {
18 |         workQueue.async {
19 |             let result = constraint.evaluate(with: input)
   |                          `- warning: capture of 'self' with non-sendable type 'QueuedConstraintWrapper<T, E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
20 |             queue.async {
21 |                 completionHandler(result)
/host/spi-builder-workspace/Sources/Constraints/QueuedConstraintWrapper.swift:19:52: warning: capture of 'input' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct QueuedConstraintWrapper<T, E: Error>: QueuedConstraint {
   |                                       `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 4 |
 5 |     public typealias InputType = T
   :
17 |     public func evaluate(with input: T, on queue: DispatchQueue, completionHandler: @escaping (Result<Void, Summary<E>>) -> Void) {
18 |         workQueue.async {
19 |             let result = constraint.evaluate(with: input)
   |                                                    `- warning: capture of 'input' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
20 |             queue.async {
21 |                 completionHandler(result)
/host/spi-builder-workspace/Sources/Constraints/QueuedConstraintWrapper.swift:21:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<E>>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 |             let result = constraint.evaluate(with: input)
20 |             queue.async {
21 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<E>>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 |             }
23 |         }
/host/spi-builder-workspace/Sources/Constraints/QueuedConstraintWrapper.swift:21:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<E>>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 |             let result = constraint.evaluate(with: input)
20 |             queue.async {
21 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<E>>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 |             }
23 |         }
[34/34] Compiling Peppermint BlockConstraint.swift
/host/spi-builder-workspace/Sources/Constraints/QueuedConstraintWrapper.swift:19:26: warning: capture of 'self' with non-sendable type 'QueuedConstraintWrapper<T, E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct QueuedConstraintWrapper<T, E: Error>: QueuedConstraint {
   |               `- note: consider making generic struct 'QueuedConstraintWrapper' conform to the 'Sendable' protocol
 4 |
 5 |     public typealias InputType = T
   :
17 |     public func evaluate(with input: T, on queue: DispatchQueue, completionHandler: @escaping (Result<Void, Summary<E>>) -> Void) {
18 |         workQueue.async {
19 |             let result = constraint.evaluate(with: input)
   |                          `- warning: capture of 'self' with non-sendable type 'QueuedConstraintWrapper<T, E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
20 |             queue.async {
21 |                 completionHandler(result)
/host/spi-builder-workspace/Sources/Constraints/QueuedConstraintWrapper.swift:19:52: warning: capture of 'input' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct QueuedConstraintWrapper<T, E: Error>: QueuedConstraint {
   |                                       `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 4 |
 5 |     public typealias InputType = T
   :
17 |     public func evaluate(with input: T, on queue: DispatchQueue, completionHandler: @escaping (Result<Void, Summary<E>>) -> Void) {
18 |         workQueue.async {
19 |             let result = constraint.evaluate(with: input)
   |                                                    `- warning: capture of 'input' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
20 |             queue.async {
21 |                 completionHandler(result)
/host/spi-builder-workspace/Sources/Constraints/QueuedConstraintWrapper.swift:21:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<E>>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 |             let result = constraint.evaluate(with: input)
20 |             queue.async {
21 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<E>>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 |             }
23 |         }
/host/spi-builder-workspace/Sources/Constraints/QueuedConstraintWrapper.swift:21:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<E>>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 |             let result = constraint.evaluate(with: input)
20 |             queue.async {
21 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<E>>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 |             }
23 |         }
Build complete! (19.51s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Peppermint",
  "name" : "Peppermint",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Peppermint",
      "targets" : [
        "Peppermint"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PeppermintTests",
      "module_type" : "SwiftTarget",
      "name" : "PeppermintTests",
      "path" : "Tests",
      "sources" : [
        "Constraints/AsyncConstraintWrapperTests.swift",
        "Constraints/ConstraintBuilderTests.swift",
        "Constraints/ContratintTests.swift",
        "Constraints/QueuedConstraintWrapperTests.swift",
        "Constraints/Standard/BlockConstraintTests.swift",
        "Constraints/Standard/GroupConstraintTests.swift",
        "Constraints/Standard/OptionalConstraintTests.swift",
        "Constraints/Standard/PredicateConstraintTests.swift",
        "Constraints/Standard/RequiredConstraintTests.swift",
        "Constraints/Standard/TypeConstraintTests.swift",
        "Constraints/SummaryTests.swift",
        "Predicates/AnyPredicateTests.swift",
        "Predicates/Standard/BlockPredicateTests.swift",
        "Predicates/Standard/CharacterSetPredicateTests.swift",
        "Predicates/Standard/DatePredicateTests.swift",
        "Predicates/Standard/EmailPredicateTests.swift",
        "Predicates/Standard/LengthPredicateTests.swift",
        "Predicates/Standard/RangePredicateTests.swift",
        "Predicates/Standard/RegexPredicateTests.swift",
        "Predicates/Standard/RequiredPredicateTests.swift",
        "Predicates/Standard/URLPredicateTests.swift",
        "Shared/FakeError.swift",
        "Shared/FakePredicate.swift"
      ],
      "target_dependencies" : [
        "Peppermint"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Peppermint",
      "module_type" : "SwiftTarget",
      "name" : "Peppermint",
      "path" : "Sources",
      "product_memberships" : [
        "Peppermint"
      ],
      "sources" : [
        "Constraints/AnyConstraint.swift",
        "Constraints/AsyncConstraint.swift",
        "Constraints/AsyncConstraintWrapper.swift",
        "Constraints/Constraint.swift",
        "Constraints/ConstraintBuilder.swift",
        "Constraints/QueuedConstraint.swift",
        "Constraints/QueuedConstraintWrapper.swift",
        "Constraints/Standard/BlockConstraint.swift",
        "Constraints/Standard/GroupConstraint+AllStrategy.swift",
        "Constraints/Standard/GroupConstraint+AnyStrategy.swift",
        "Constraints/Standard/GroupConstraint.swift",
        "Constraints/Standard/KeyPathConstraint.swift",
        "Constraints/Standard/OptionalConstraint.swift",
        "Constraints/Standard/PredicateConstraint.swift",
        "Constraints/Standard/RequiredConstraint.swift",
        "Constraints/Standard/TypeConstraint.swift",
        "Constraints/Summary+Result.swift",
        "Constraints/Summary.swift",
        "Predicates/AnyPredicate.swift",
        "Predicates/Predicate.swift",
        "Predicates/Standard/BlockPredicate.swift",
        "Predicates/Standard/CharacterSetPredicate.swift",
        "Predicates/Standard/DatePredicate.swift",
        "Predicates/Standard/EmailPredicate.swift",
        "Predicates/Standard/LengthPredicate.swift",
        "Predicates/Standard/RangePredicate.swift",
        "Predicates/Standard/RegexPredicate.swift",
        "Predicates/Standard/RequiredPredicate.swift",
        "Predicates/Standard/URLPredicate.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.