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 1.2.0 (9e3db6), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 02:44:39 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nsagora/peppermint.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nsagora/peppermint
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at 9e3db63 Update readme version
Cloned https://github.com/nsagora/peppermint.git
Revision (git rev-parse @):
9e3db637fbf8041c23a1b7f71e4ef16ac54f833f
SUCCESS checkout https://github.com/nsagora/peppermint.git at 1.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "peppermint",
      "name": "Peppermint",
      "url": "https://github.com/nsagora/peppermint.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/peppermint",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/nsagora/peppermint.git
[1/4266] Fetching peppermint
Fetched https://github.com/nsagora/peppermint.git from cache (1.27s)
Creating working copy for https://github.com/nsagora/peppermint.git
Working copy of https://github.com/nsagora/peppermint.git resolved at 1.2.0 (9e3db63)
warning: '.resolve-product-dependencies': dependency 'peppermint' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/nsagora/peppermint.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/28] Emitting module Peppermint
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint+AllStrategy.swift:5:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 3 | extension GroupConstraint {
 4 |
 5 |     struct AllStrategy<T, E: Error>: Strategy {
   |                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 6 |
 7 |         typealias InputType = T
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint.swift:12:31: note: 'T' previously declared here
10 | }
11 |
12 | public struct GroupConstraint<T, E: Error>: Constraint {
   |                               `- note: 'T' previously declared here
13 |
14 |     public enum Mode {
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint+AllStrategy.swift:5:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 3 | extension GroupConstraint {
 4 |
 5 |     struct AllStrategy<T, E: Error>: Strategy {
   |                           `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 6 |
 7 |         typealias InputType = T
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint.swift:12:34: note: 'E' previously declared here
10 | }
11 |
12 | public struct GroupConstraint<T, E: Error>: Constraint {
   |                                  `- note: 'E' previously declared here
13 |
14 |     public enum Mode {
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint+AnyStrategy.swift:5:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 3 | extension GroupConstraint {
 4 |
 5 |     struct AnyStrategy<T, E: Error>: Strategy {
   |                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 6 |
 7 |         typealias InputType = T
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint.swift:12:31: note: 'T' previously declared here
10 | }
11 |
12 | public struct GroupConstraint<T, E: Error>: Constraint {
   |                               `- note: 'T' previously declared here
13 |
14 |     public enum Mode {
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint+AnyStrategy.swift:5:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 3 | extension GroupConstraint {
 4 |
 5 |     struct AnyStrategy<T, E: Error>: Strategy {
   |                           `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 6 |
 7 |         typealias InputType = T
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint.swift:12:34: note: 'E' previously declared here
10 | }
11 |
12 | public struct GroupConstraint<T, E: Error>: Constraint {
   |                                  `- note: 'E' previously declared here
13 |
14 |     public enum Mode {
[4/30] Compiling Peppermint AnyPredicate.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Predicates/Predicate.swift:55:26: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 |
54 |         workQueue.async {
55 |             let result = self.evaluate(with: input)
   |                          `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |
57 |             queue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Predicates/Predicate.swift:55:46: warning: capture of 'input' with non-sendable type 'Self.InputType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 |
54 |         workQueue.async {
55 |             let result = self.evaluate(with: input)
   |                                              `- warning: capture of 'input' with non-sendable type 'Self.InputType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |
57 |             queue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Predicates/Predicate.swift:58:17: warning: capture of 'completionHandler' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |
57 |             queue.async {
58 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Bool) -> 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'
59 |             }
60 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Predicates/Predicate.swift:58:17: warning: capture of 'completionHandler' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |
57 |             queue.async {
58 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Bool) -> 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'
59 |             }
60 |         }
[5/30] Compiling Peppermint AsyncPredicate.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Predicates/Predicate.swift:55:26: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 |
54 |         workQueue.async {
55 |             let result = self.evaluate(with: input)
   |                          `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |
57 |             queue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Predicates/Predicate.swift:55:46: warning: capture of 'input' with non-sendable type 'Self.InputType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 |
54 |         workQueue.async {
55 |             let result = self.evaluate(with: input)
   |                                              `- warning: capture of 'input' with non-sendable type 'Self.InputType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |
57 |             queue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Predicates/Predicate.swift:58:17: warning: capture of 'completionHandler' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |
57 |             queue.async {
58 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Bool) -> 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'
59 |             }
60 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Predicates/Predicate.swift:58:17: warning: capture of 'completionHandler' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |
57 |             queue.async {
58 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Bool) -> 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'
59 |             }
60 |         }
[6/30] Compiling Peppermint Predicate.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Predicates/Predicate.swift:55:26: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 |
54 |         workQueue.async {
55 |             let result = self.evaluate(with: input)
   |                          `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |
57 |             queue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Predicates/Predicate.swift:55:46: warning: capture of 'input' with non-sendable type 'Self.InputType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 |
54 |         workQueue.async {
55 |             let result = self.evaluate(with: input)
   |                                              `- warning: capture of 'input' with non-sendable type 'Self.InputType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |
57 |             queue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Predicates/Predicate.swift:58:17: warning: capture of 'completionHandler' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |
57 |             queue.async {
58 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Bool) -> 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'
59 |             }
60 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Predicates/Predicate.swift:58:17: warning: capture of 'completionHandler' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |
57 |             queue.async {
58 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Bool) -> 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'
59 |             }
60 |         }
[7/30] Compiling Peppermint RequiredPredicate.swift
[8/30] Compiling Peppermint URLPredicate.swift
[9/30] Compiling Peppermint OptionalConstraint.swift
[10/30] Compiling Peppermint PredicateConstraint.swift
[11/30] Compiling Peppermint RequiredConstraint.swift
[12/30] Compiling Peppermint BlockPredicate.swift
[13/30] Compiling Peppermint CharacterSetPredicate.swift
[14/30] Compiling Peppermint DatePredicate.swift
[15/30] Compiling Peppermint GroupConstraint+AnyStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint+AnyStrategy.swift:5:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 3 | extension GroupConstraint {
 4 |
 5 |     struct AnyStrategy<T, E: Error>: Strategy {
   |                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 6 |
 7 |         typealias InputType = T
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint.swift:12:31: note: 'T' previously declared here
10 | }
11 |
12 | public struct GroupConstraint<T, E: Error>: Constraint {
   |                               `- note: 'T' previously declared here
13 |
14 |     public enum Mode {
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint+AnyStrategy.swift:5:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 3 | extension GroupConstraint {
 4 |
 5 |     struct AnyStrategy<T, E: Error>: Strategy {
   |                           `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 6 |
 7 |         typealias InputType = T
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint.swift:12:34: note: 'E' previously declared here
10 | }
11 |
12 | public struct GroupConstraint<T, E: Error>: Constraint {
   |                                  `- note: 'E' previously declared here
13 |
14 |     public enum Mode {
[16/30] Compiling Peppermint GroupConstraint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint+AnyStrategy.swift:5:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 3 | extension GroupConstraint {
 4 |
 5 |     struct AnyStrategy<T, E: Error>: Strategy {
   |                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 6 |
 7 |         typealias InputType = T
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint.swift:12:31: note: 'T' previously declared here
10 | }
11 |
12 | public struct GroupConstraint<T, E: Error>: Constraint {
   |                               `- note: 'T' previously declared here
13 |
14 |     public enum Mode {
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint+AnyStrategy.swift:5:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 3 | extension GroupConstraint {
 4 |
 5 |     struct AnyStrategy<T, E: Error>: Strategy {
   |                           `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 6 |
 7 |         typealias InputType = T
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint.swift:12:34: note: 'E' previously declared here
10 | }
11 |
12 | public struct GroupConstraint<T, E: Error>: Constraint {
   |                                  `- note: 'E' previously declared here
13 |
14 |     public enum Mode {
[17/30] Compiling Peppermint KeyPathConstraint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint+AnyStrategy.swift:5:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 3 | extension GroupConstraint {
 4 |
 5 |     struct AnyStrategy<T, E: Error>: Strategy {
   |                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 6 |
 7 |         typealias InputType = T
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint.swift:12:31: note: 'T' previously declared here
10 | }
11 |
12 | public struct GroupConstraint<T, E: Error>: Constraint {
   |                               `- note: 'T' previously declared here
13 |
14 |     public enum Mode {
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint+AnyStrategy.swift:5:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 3 | extension GroupConstraint {
 4 |
 5 |     struct AnyStrategy<T, E: Error>: Strategy {
   |                           `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 6 |
 7 |         typealias InputType = T
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint.swift:12:34: note: 'E' previously declared here
10 | }
11 |
12 | public struct GroupConstraint<T, E: Error>: Constraint {
   |                                  `- note: 'E' previously declared here
13 |
14 |     public enum Mode {
[18/30] Compiling Peppermint RangePredicate.swift
[19/30] Compiling Peppermint RegexPredicate.swift
[20/30] Compiling Peppermint EmailPredicate.swift
[21/30] Compiling Peppermint LengthPredicate.swift
[22/30] Compiling Peppermint AnyConstraint.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Constraint.swift:70:26: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 |
69 |         workQueue.async {
70 |             let result = self.evaluate(with: input)
   |                          `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 |
72 |             queue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Constraint.swift:70:46: warning: capture of 'input' with non-sendable type 'Self.InputType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 |
69 |         workQueue.async {
70 |             let result = self.evaluate(with: input)
   |                                              `- warning: capture of 'input' with non-sendable type 'Self.InputType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 |
72 |             queue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Constraint.swift:73:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<Self.ErrorType>>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 |
72 |             queue.async {
73 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<Self.ErrorType>>) -> 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'
74 |             }
75 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Constraint.swift:73:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<Self.ErrorType>>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 |
72 |             queue.async {
73 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<Self.ErrorType>>) -> 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'
74 |             }
75 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Constraint.swift:86: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
84 |     @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
85 |     func evaluate(with input: InputType) async -> Result<Void, Summary<ErrorType>> {
86 |         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
87 |             evaluate(with: input)
   |             |              `- note: closure captures non-Sendable 'input'
   |             `- note: closure captures non-Sendable 'self'
88 |         }.value
89 |     }
[23/30] Compiling Peppermint AsyncConstraint.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Constraint.swift:70:26: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 |
69 |         workQueue.async {
70 |             let result = self.evaluate(with: input)
   |                          `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 |
72 |             queue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Constraint.swift:70:46: warning: capture of 'input' with non-sendable type 'Self.InputType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 |
69 |         workQueue.async {
70 |             let result = self.evaluate(with: input)
   |                                              `- warning: capture of 'input' with non-sendable type 'Self.InputType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 |
72 |             queue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Constraint.swift:73:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<Self.ErrorType>>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 |
72 |             queue.async {
73 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<Self.ErrorType>>) -> 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'
74 |             }
75 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Constraint.swift:73:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<Self.ErrorType>>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 |
72 |             queue.async {
73 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<Self.ErrorType>>) -> 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'
74 |             }
75 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Constraint.swift:86: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
84 |     @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
85 |     func evaluate(with input: InputType) async -> Result<Void, Summary<ErrorType>> {
86 |         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
87 |             evaluate(with: input)
   |             |              `- note: closure captures non-Sendable 'input'
   |             `- note: closure captures non-Sendable 'self'
88 |         }.value
89 |     }
[24/30] Compiling Peppermint Constraint.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Constraint.swift:70:26: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 |
69 |         workQueue.async {
70 |             let result = self.evaluate(with: input)
   |                          `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 |
72 |             queue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Constraint.swift:70:46: warning: capture of 'input' with non-sendable type 'Self.InputType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 |
69 |         workQueue.async {
70 |             let result = self.evaluate(with: input)
   |                                              `- warning: capture of 'input' with non-sendable type 'Self.InputType' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 |
72 |             queue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Constraint.swift:73:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<Self.ErrorType>>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 |
72 |             queue.async {
73 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<Self.ErrorType>>) -> 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'
74 |             }
75 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Constraint.swift:73:17: warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<Self.ErrorType>>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 |
72 |             queue.async {
73 |                 completionHandler(result)
   |                 |- warning: capture of 'completionHandler' with non-sendable type '(Result<Void, Summary<Self.ErrorType>>) -> 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'
74 |             }
75 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Constraint.swift:86: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
84 |     @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
85 |     func evaluate(with input: InputType) async -> Result<Void, Summary<ErrorType>> {
86 |         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
87 |             evaluate(with: input)
   |             |              `- note: closure captures non-Sendable 'input'
   |             `- note: closure captures non-Sendable 'self'
88 |         }.value
89 |     }
[25/30] Compiling Peppermint ConstraintBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint+AllStrategy.swift:5:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 3 | extension GroupConstraint {
 4 |
 5 |     struct AllStrategy<T, E: Error>: Strategy {
   |                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 6 |
 7 |         typealias InputType = T
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint.swift:12:31: note: 'T' previously declared here
10 | }
11 |
12 | public struct GroupConstraint<T, E: Error>: Constraint {
   |                               `- note: 'T' previously declared here
13 |
14 |     public enum Mode {
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint+AllStrategy.swift:5:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 3 | extension GroupConstraint {
 4 |
 5 |     struct AllStrategy<T, E: Error>: Strategy {
   |                           `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 6 |
 7 |         typealias InputType = T
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint.swift:12:34: note: 'E' previously declared here
10 | }
11 |
12 | public struct GroupConstraint<T, E: Error>: Constraint {
   |                                  `- note: 'E' previously declared here
13 |
14 |     public enum Mode {
[26/30] Compiling Peppermint BlockConstraint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint+AllStrategy.swift:5:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 3 | extension GroupConstraint {
 4 |
 5 |     struct AllStrategy<T, E: Error>: Strategy {
   |                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 6 |
 7 |         typealias InputType = T
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint.swift:12:31: note: 'T' previously declared here
10 | }
11 |
12 | public struct GroupConstraint<T, E: Error>: Constraint {
   |                               `- note: 'T' previously declared here
13 |
14 |     public enum Mode {
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint+AllStrategy.swift:5:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 3 | extension GroupConstraint {
 4 |
 5 |     struct AllStrategy<T, E: Error>: Strategy {
   |                           `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 6 |
 7 |         typealias InputType = T
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint.swift:12:34: note: 'E' previously declared here
10 | }
11 |
12 | public struct GroupConstraint<T, E: Error>: Constraint {
   |                                  `- note: 'E' previously declared here
13 |
14 |     public enum Mode {
[27/30] Compiling Peppermint GroupConstraint+AllStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint+AllStrategy.swift:5:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 3 | extension GroupConstraint {
 4 |
 5 |     struct AllStrategy<T, E: Error>: Strategy {
   |                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 6 |
 7 |         typealias InputType = T
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint.swift:12:31: note: 'T' previously declared here
10 | }
11 |
12 | public struct GroupConstraint<T, E: Error>: Constraint {
   |                               `- note: 'T' previously declared here
13 |
14 |     public enum Mode {
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint+AllStrategy.swift:5:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 3 | extension GroupConstraint {
 4 |
 5 |     struct AllStrategy<T, E: Error>: Strategy {
   |                           `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 6 |
 7 |         typealias InputType = T
/Users/admin/builder/spi-builder-workspace/Sources/Constraints/Standard/GroupConstraint.swift:12:34: note: 'E' previously declared here
10 | }
11 |
12 | public struct GroupConstraint<T, E: Error>: Constraint {
   |                                  `- note: 'E' previously declared here
13 |
14 |     public enum Mode {
[28/30] Compiling Peppermint TypeConstraint.swift
[29/30] Compiling Peppermint Summary+Result.swift
[30/30] Compiling Peppermint Summary.swift
Build complete! (18.28s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Peppermint",
  "name" : "Peppermint",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Peppermint",
      "targets" : [
        "Peppermint"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PeppermintTests",
      "module_type" : "SwiftTarget",
      "name" : "PeppermintTests",
      "path" : "Tests",
      "sources" : [
        "Constraints/ConstraintBuilderTests.swift",
        "Constraints/ContratintTests.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/AsyncPredicateTests.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/Constraint.swift",
        "Constraints/ConstraintBuilder.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/AsyncPredicate.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" : "4.2"
}
Done.