Build Information
Successful build of Peppermint, reference 1.2.0 (9e3db6
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 06:32:45 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.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.19s)
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.1
Building package at path: $PWD
https://github.com/nsagora/peppermint.git
https://github.com/nsagora/peppermint.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.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 RequiredPredicate.swift
[5/30] Compiling Peppermint URLPredicate.swift
[6/30] Compiling Peppermint RangePredicate.swift
[7/30] Compiling Peppermint RegexPredicate.swift
[8/30] Compiling Peppermint AnyConstraint.swift
/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
68 |
69 | workQueue.async {
70 | let result = self.evaluate(with: input)
| `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
71 |
72 | queue.async {
Peppermint.Constraint.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol Constraint {
2 | Self : Peppermint.Constraint}
| `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/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
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
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
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
| `- 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
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
| `- 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 | }
[9/30] Compiling Peppermint AsyncConstraint.swift
/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
68 |
69 | workQueue.async {
70 | let result = self.evaluate(with: input)
| `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
71 |
72 | queue.async {
Peppermint.Constraint.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol Constraint {
2 | Self : Peppermint.Constraint}
| `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/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
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
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
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
| `- 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
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
| `- 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 | }
[10/30] Compiling Peppermint Constraint.swift
/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
68 |
69 | workQueue.async {
70 | let result = self.evaluate(with: input)
| `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
71 |
72 | queue.async {
Peppermint.Constraint.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol Constraint {
2 | Self : Peppermint.Constraint}
| `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/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
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
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
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
| `- 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
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
| `- 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 | }
[11/30] Compiling Peppermint AnyPredicate.swift
/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
53 |
54 | workQueue.async {
55 | let result = self.evaluate(with: input)
| `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
56 |
57 | queue.async {
Peppermint.Predicate.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol Predicate {
2 | Self : Peppermint.Predicate}
| `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/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
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
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
56 |
57 | queue.async {
58 | completionHandler(result)
| |- warning: capture of 'completionHandler' with non-sendable type '(Bool) -> Void' in a '@Sendable' closure
| `- 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
56 |
57 | queue.async {
58 | completionHandler(result)
| |- warning: capture of 'completionHandler' with non-sendable type '(Bool) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
59 | }
60 | }
[12/30] Compiling Peppermint AsyncPredicate.swift
/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
53 |
54 | workQueue.async {
55 | let result = self.evaluate(with: input)
| `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
56 |
57 | queue.async {
Peppermint.Predicate.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol Predicate {
2 | Self : Peppermint.Predicate}
| `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/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
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
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
56 |
57 | queue.async {
58 | completionHandler(result)
| |- warning: capture of 'completionHandler' with non-sendable type '(Bool) -> Void' in a '@Sendable' closure
| `- 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
56 |
57 | queue.async {
58 | completionHandler(result)
| |- warning: capture of 'completionHandler' with non-sendable type '(Bool) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
59 | }
60 | }
[13/30] Compiling Peppermint Predicate.swift
/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
53 |
54 | workQueue.async {
55 | let result = self.evaluate(with: input)
| `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
56 |
57 | queue.async {
Peppermint.Predicate.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol Predicate {
2 | Self : Peppermint.Predicate}
| `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/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
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
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
56 |
57 | queue.async {
58 | completionHandler(result)
| |- warning: capture of 'completionHandler' with non-sendable type '(Bool) -> Void' in a '@Sendable' closure
| `- 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
56 |
57 | queue.async {
58 | completionHandler(result)
| |- warning: capture of 'completionHandler' with non-sendable type '(Bool) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
59 | }
60 | }
[14/30] Compiling Peppermint TypeConstraint.swift
[15/30] Compiling Peppermint Summary+Result.swift
[16/30] Compiling Peppermint Summary.swift
[17/30] Compiling Peppermint BlockPredicate.swift
[18/30] Compiling Peppermint CharacterSetPredicate.swift
[19/30] Compiling Peppermint DatePredicate.swift
[20/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 {
[21/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 {
[22/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 {
[23/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 {
[24/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 {
[25/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 {
[26/30] Compiling Peppermint EmailPredicate.swift
[27/30] Compiling Peppermint LengthPredicate.swift
[28/30] Compiling Peppermint OptionalConstraint.swift
[29/30] Compiling Peppermint PredicateConstraint.swift
[30/30] Compiling Peppermint RequiredConstraint.swift
Build complete! (5.36s)
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.