Build Information
Successful build of Peppermint, reference 1.2.0 (9e3db6
), with Swift 6.0 for Linux on 29 Nov 2024 02:36:54 UTC.
Swift 6 data race errors: 4
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nsagora/peppermint.git
Reference: 1.2.0
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
* 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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/nsagora/peppermint.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/27] Emitting module Peppermint
/host/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
/host/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 {
/host/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
/host/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 {
/host/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
/host/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 {
/host/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
/host/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 BlockConstraint.swift
/host/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
/host/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 {
/host/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
/host/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 {
/host/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
/host/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 {
/host/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
/host/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 {
[5/30] Compiling Peppermint GroupConstraint+AllStrategy.swift
/host/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
/host/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 {
/host/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
/host/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 {
/host/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
/host/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 {
/host/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
/host/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 {
[6/30] Compiling Peppermint GroupConstraint+AnyStrategy.swift
/host/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
/host/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 {
/host/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
/host/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 {
/host/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
/host/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 {
/host/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
/host/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 {
[7/30] Compiling Peppermint GroupConstraint.swift
/host/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
/host/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 {
/host/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
/host/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 {
/host/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
/host/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 {
/host/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
/host/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 {
[8/30] Compiling Peppermint AnyConstraint.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/host/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 {
/host/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 {
/host/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 | }
/host/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 | }
/host/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
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/host/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 {
/host/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 {
/host/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 | }
/host/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 | }
/host/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
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/host/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 {
/host/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 {
/host/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 | }
/host/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 | }
/host/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 ConstraintBuilder.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/host/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 {
/host/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 {
/host/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 | }
/host/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 | }
/host/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 | }
[12/30] Compiling Peppermint BlockPredicate.swift
[13/30] Compiling Peppermint CharacterSetPredicate.swift
[14/30] Compiling Peppermint DatePredicate.swift
[15/30] Compiling Peppermint EmailPredicate.swift
[16/30] Compiling Peppermint LengthPredicate.swift
[17/30] Compiling Peppermint RangePredicate.swift
[18/30] Compiling Peppermint KeyPathConstraint.swift
[19/30] Compiling Peppermint OptionalConstraint.swift
[20/30] Compiling Peppermint PredicateConstraint.swift
[21/30] Compiling Peppermint RequiredConstraint.swift
[22/30] Compiling Peppermint AnyPredicate.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/host/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 {
/host/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 {
/host/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 | }
/host/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 | }
[23/30] Compiling Peppermint AsyncPredicate.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/host/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 {
/host/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 {
/host/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 | }
/host/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 | }
[24/30] Compiling Peppermint Predicate.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/host/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 {
/host/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 {
/host/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 | }
/host/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 | }
[25/30] Compiling Peppermint TypeConstraint.swift
[26/30] Compiling Peppermint Summary+Result.swift
[27/30] Compiling Peppermint Summary.swift
[28/30] Compiling Peppermint RegexPredicate.swift
[29/30] Compiling Peppermint RequiredPredicate.swift
[30/30] Compiling Peppermint URLPredicate.swift
Build complete! (11.33s)
Build complete.
{
"dependencies" : [
],
"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/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.