Build Information
Successful build of swift-filter, reference main (662d7e
), with Swift 6.0 for Linux on 4 Nov 2024 09:52:38 UTC.
Swift 6 data race errors: 41
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/roanutil/swift-filter.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/roanutil/swift-filter
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 662d7e8 Merge pull request #10 from roanutil/feature/getter-for-values
Cloned https://github.com/roanutil/swift-filter.git
Revision (git rev-parse @):
662d7e8a237862f9d357d17e6aa4e0f694f9f728
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/roanutil/swift-filter.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/roanutil/swift-filter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 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/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/22] Emitting module Filter
[5/24] Compiling Filter OptionalAnyCollectionPredicate.swift
[6/24] Compiling Filter OptionalCollectionPredicate.swift
[7/24] Compiling Filter AnyComparablePredicate.swift
[8/24] Compiling Filter SequenceFilter.swift
[9/24] Compiling Filter SequencePredicate.swift
[10/24] Compiling Filter AnyCollectionPredicate.swift
[11/24] Compiling Filter CollectionFilter.swift
[12/24] Compiling Filter CollectionPredicate.swift
[13/24] Compiling Filter OptionalComparablePredicate.swift
[14/24] Compiling Filter AnyEquatablePredicate.swift
[15/24] Compiling Filter EquatableFilter.swift
[16/24] Compiling Filter EquatablePredicate.swift
[17/24] Compiling Filter OptionalAnyEquatablePredicate.swift
[18/24] Compiling Filter OptionalAnySequencePredicate.swift
[19/24] Compiling Filter OptionalSequencePredicate.swift
[20/24] Compiling Filter OptionalEquatablePredicate.swift
[21/24] Compiling Filter AnySequencePredicate.swift
[22/24] Compiling Filter ComparableFilter.swift
[23/24] Compiling Filter ComparablePredicate.swift
[24/24] Compiling Filter OptionalAnyComparablePredicate.swift
[26/34] Compiling FilterClosure Closure+SequencePredicate.swift
/host/spi-builder-workspace/Sources/FilterClosure/Closure+SequencePredicate.swift:24:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | switch filter {
23 | case let .contains(value):
24 | return { $0[keyPath: keyPath].contains(value) }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | case let .or(lhs, rhs):
26 | let lhsClosure = Self.build(from: lhs, on: keyPath)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+SequencePredicate.swift:24:52: warning: capture of 'value' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | switch filter {
23 | case let .contains(value):
24 | return { $0[keyPath: keyPath].contains(value) }
| `- warning: capture of 'value' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | case let .or(lhs, rhs):
26 | let lhsClosure = Self.build(from: lhs, on: keyPath)
[27/35] Compiling FilterClosure Closure+OptionalEquatablePredicate.swift
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:23:50: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | case let .orNil(subFilter):
22 | return { value in
23 | guard let value = value[keyPath: keyPath] else { return true }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | return Closure<Value, Value>.build(from: subFilter)(value)
25 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:24:58: warning: capture of 'subFilter' with non-sendable type 'EquatableFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | return { value in
23 | guard let value = value[keyPath: keyPath] else { return true }
24 | return Closure<Value, Value>.build(from: subFilter)(value)
| `- warning: capture of 'subFilter' with non-sendable type 'EquatableFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | }
26 | case let .notNil(subFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:28:50: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | case let .notNil(subFilter):
27 | return { value in
28 | guard let value = value[keyPath: keyPath] else { return false }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let subFilter {
30 | return Closure<Value, Value>.build(from: subFilter)(value)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:29:24: warning: capture of 'subFilter' with non-sendable type 'EquatableFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | return { value in
28 | guard let value = value[keyPath: keyPath] else { return false }
29 | if let subFilter {
| `- warning: capture of 'subFilter' with non-sendable type 'EquatableFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | return Closure<Value, Value>.build(from: subFilter)(value)
31 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:35:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | }
34 | case .isNil:
35 | return { $0[keyPath: keyPath] == nil }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[28/35] Compiling FilterClosure Closure+OptionalComparablePredicate.swift
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:24:50: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | case let .orNil(subFilter):
23 | return { value in
24 | guard let value = value[keyPath: keyPath] else { return true }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | return Closure<Value, Value>.build(from: subFilter)(value)
26 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:25:58: warning: capture of 'subFilter' with non-sendable type 'ComparableFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | return { value in
24 | guard let value = value[keyPath: keyPath] else { return true }
25 | return Closure<Value, Value>.build(from: subFilter)(value)
| `- warning: capture of 'subFilter' with non-sendable type 'ComparableFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | case let .notNil(subFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:29:50: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | case let .notNil(subFilter):
28 | return { value in
29 | guard let value = value[keyPath: keyPath] else { return false }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | if let subFilter {
31 | return Closure<Value, Value>.build(from: subFilter)(value)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:30:24: warning: capture of 'subFilter' with non-sendable type 'ComparableFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | return { value in
29 | guard let value = value[keyPath: keyPath] else { return false }
30 | if let subFilter {
| `- warning: capture of 'subFilter' with non-sendable type 'ComparableFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | return Closure<Value, Value>.build(from: subFilter)(value)
32 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:36:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | }
35 | case .isNil:
36 | return { $0[keyPath: keyPath] == nil }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | }
38 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[29/35] Compiling FilterClosure Closure+EquatablePredicate.swift
/host/spi-builder-workspace/Sources/FilterClosure/Closure+EquatablePredicate.swift:22:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | switch filter {
21 | case let .equalTo(requiredValue):
22 | return { $0[keyPath: keyPath] == requiredValue }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | case let .or(lhs, rhs):
24 | let lhsClosure = Self.build(from: lhs, on: keyPath)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+EquatablePredicate.swift:22:46: warning: capture of 'requiredValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | switch filter {
21 | case let .equalTo(requiredValue):
22 | return { $0[keyPath: keyPath] == requiredValue }
| `- warning: capture of 'requiredValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | case let .or(lhs, rhs):
24 | let lhsClosure = Self.build(from: lhs, on: keyPath)
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
[30/35] Compiling FilterClosure Closure+OptionalSequencePredicate.swift
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:23:50: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | case let .orNil(subFilter):
22 | return { value in
23 | guard let value = value[keyPath: keyPath] else { return true }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | return Closure<Value, Value>.build(from: subFilter)(value)
25 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:24:58: warning: capture of 'subFilter' with non-sendable type 'SequenceFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | return { value in
23 | guard let value = value[keyPath: keyPath] else { return true }
24 | return Closure<Value, Value>.build(from: subFilter)(value)
| `- warning: capture of 'subFilter' with non-sendable type 'SequenceFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | }
26 | case let .notNil(subFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:24:58: warning: capture of 'subFilter' with non-sendable type 'SequenceFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | return { value in
23 | guard let value = value[keyPath: keyPath] else { return true }
24 | return Closure<Value, Value>.build(from: subFilter)(value)
| `- warning: capture of 'subFilter' with non-sendable type 'SequenceFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | }
26 | case let .notNil(subFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:28:50: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | case let .notNil(subFilter):
27 | return { value in
28 | guard let value = value[keyPath: keyPath] else { return false }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let subFilter {
30 | return Closure<Value, Value>.build(from: subFilter)(value)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:29:24: warning: capture of 'subFilter' with non-sendable type 'SequenceFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | return { value in
28 | guard let value = value[keyPath: keyPath] else { return false }
29 | if let subFilter {
| `- warning: capture of 'subFilter' with non-sendable type 'SequenceFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | return Closure<Value, Value>.build(from: subFilter)(value)
31 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:29:24: warning: capture of 'subFilter' with non-sendable type 'SequenceFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | return { value in
28 | guard let value = value[keyPath: keyPath] else { return false }
29 | if let subFilter {
| `- warning: capture of 'subFilter' with non-sendable type 'SequenceFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | return Closure<Value, Value>.build(from: subFilter)(value)
31 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:35:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | }
34 | case .isNil:
35 | return { $0[keyPath: keyPath] == nil }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[31/35] Compiling FilterClosure Closure+OptionalCollectionPredicate.swift
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:23:50: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | case let .orNil(subFilter):
22 | return { value in
23 | guard let value = value[keyPath: keyPath] else { return true }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | return Closure<Value, Value>.build(from: subFilter)(value)
25 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:24:58: warning: capture of 'subFilter' with non-sendable type 'CollectionFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | return { value in
23 | guard let value = value[keyPath: keyPath] else { return true }
24 | return Closure<Value, Value>.build(from: subFilter)(value)
| `- warning: capture of 'subFilter' with non-sendable type 'CollectionFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | }
26 | case let .notNil(subFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:24:58: warning: capture of 'subFilter' with non-sendable type 'CollectionFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | return { value in
23 | guard let value = value[keyPath: keyPath] else { return true }
24 | return Closure<Value, Value>.build(from: subFilter)(value)
| `- warning: capture of 'subFilter' with non-sendable type 'CollectionFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | }
26 | case let .notNil(subFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:28:50: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | case let .notNil(subFilter):
27 | return { value in
28 | guard let value = value[keyPath: keyPath] else { return false }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let subFilter {
30 | return Closure<Value, Value>.build(from: subFilter)(value)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:29:24: warning: capture of 'subFilter' with non-sendable type 'CollectionFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | return { value in
28 | guard let value = value[keyPath: keyPath] else { return false }
29 | if let subFilter {
| `- warning: capture of 'subFilter' with non-sendable type 'CollectionFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | return Closure<Value, Value>.build(from: subFilter)(value)
31 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:29:24: warning: capture of 'subFilter' with non-sendable type 'CollectionFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | return { value in
28 | guard let value = value[keyPath: keyPath] else { return false }
29 | if let subFilter {
| `- warning: capture of 'subFilter' with non-sendable type 'CollectionFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | return Closure<Value, Value>.build(from: subFilter)(value)
31 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:35:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | }
34 | case .isNil:
35 | return { $0[keyPath: keyPath] == nil }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[32/35] Compiling FilterClosure Closure.swift
[33/35] Compiling FilterClosure Closure+CollectionPredicate.swift
/host/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:26:26: warning: capture of 'values' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | case let .isIn(values):
25 | if #available(iOS 16, macOS 13, watchOS 9, tvOS 16, macCatalyst 16, *) {
26 | return { values.contains($0[keyPath: keyPath]) }
| `- warning: capture of 'values' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | } else {
28 | return { $0[keyPath: keyPath].allSatisfy { values.contains($0) } }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:26:54: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | case let .isIn(values):
25 | if #available(iOS 16, macOS 13, watchOS 9, tvOS 16, macCatalyst 16, *) {
26 | return { values.contains($0[keyPath: keyPath]) }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | } else {
28 | return { $0[keyPath: keyPath].allSatisfy { values.contains($0) } }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:28:38: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | return { values.contains($0[keyPath: keyPath]) }
27 | } else {
28 | return { $0[keyPath: keyPath].allSatisfy { values.contains($0) } }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | }
30 | case let .sequence(sequenceFilter):
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:28:60: warning: capture of 'values' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | return { values.contains($0[keyPath: keyPath]) }
27 | } else {
28 | return { $0[keyPath: keyPath].allSatisfy { values.contains($0) } }
| `- warning: capture of 'values' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | }
30 | case let .sequence(sequenceFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:28:60: warning: capture of 'values' with non-sendable type 'Value' in an isolated closure; this is an error in the Swift 6 language mode
26 | return { values.contains($0[keyPath: keyPath]) }
27 | } else {
28 | return { $0[keyPath: keyPath].allSatisfy { values.contains($0) } }
| `- warning: capture of 'values' with non-sendable type 'Value' in an isolated closure; this is an error in the Swift 6 language mode
29 | }
30 | case let .sequence(sequenceFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:22:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | switch filter {
21 | case let .lessThan(bound):
22 | return { $0[keyPath: keyPath] < bound }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | case let .lessThanOrEqualTo(bound):
24 | return { $0[keyPath: keyPath] <= bound }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:22:45: warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | switch filter {
21 | case let .lessThan(bound):
22 | return { $0[keyPath: keyPath] < bound }
| `- warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | case let .lessThanOrEqualTo(bound):
24 | return { $0[keyPath: keyPath] <= bound }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:24:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | return { $0[keyPath: keyPath] < bound }
23 | case let .lessThanOrEqualTo(bound):
24 | return { $0[keyPath: keyPath] <= bound }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | case let .greaterThan(bound):
26 | return { $0[keyPath: keyPath] > bound }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:24:46: warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | return { $0[keyPath: keyPath] < bound }
23 | case let .lessThanOrEqualTo(bound):
24 | return { $0[keyPath: keyPath] <= bound }
| `- warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | case let .greaterThan(bound):
26 | return { $0[keyPath: keyPath] > bound }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:26:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | return { $0[keyPath: keyPath] <= bound }
25 | case let .greaterThan(bound):
26 | return { $0[keyPath: keyPath] > bound }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | case let .greaterThanOrEqualTo(bound):
28 | return { $0[keyPath: keyPath] >= bound }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:26:45: warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | return { $0[keyPath: keyPath] <= bound }
25 | case let .greaterThan(bound):
26 | return { $0[keyPath: keyPath] > bound }
| `- warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | case let .greaterThanOrEqualTo(bound):
28 | return { $0[keyPath: keyPath] >= bound }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:28:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | return { $0[keyPath: keyPath] > bound }
27 | case let .greaterThanOrEqualTo(bound):
28 | return { $0[keyPath: keyPath] >= bound }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | case let .or(lhs, rhs):
30 | let lhsClosure = Self.build(from: lhs, on: keyPath)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:28:46: warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | return { $0[keyPath: keyPath] > bound }
27 | case let .greaterThanOrEqualTo(bound):
28 | return { $0[keyPath: keyPath] >= bound }
| `- warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | case let .or(lhs, rhs):
30 | let lhsClosure = Self.build(from: lhs, on: keyPath)
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
[34/35] Compiling FilterClosure Closure+ComparablePredicate.swift
/host/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:26:26: warning: capture of 'values' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | case let .isIn(values):
25 | if #available(iOS 16, macOS 13, watchOS 9, tvOS 16, macCatalyst 16, *) {
26 | return { values.contains($0[keyPath: keyPath]) }
| `- warning: capture of 'values' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | } else {
28 | return { $0[keyPath: keyPath].allSatisfy { values.contains($0) } }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:26:54: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | case let .isIn(values):
25 | if #available(iOS 16, macOS 13, watchOS 9, tvOS 16, macCatalyst 16, *) {
26 | return { values.contains($0[keyPath: keyPath]) }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | } else {
28 | return { $0[keyPath: keyPath].allSatisfy { values.contains($0) } }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:28:38: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | return { values.contains($0[keyPath: keyPath]) }
27 | } else {
28 | return { $0[keyPath: keyPath].allSatisfy { values.contains($0) } }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | }
30 | case let .sequence(sequenceFilter):
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:28:60: warning: capture of 'values' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | return { values.contains($0[keyPath: keyPath]) }
27 | } else {
28 | return { $0[keyPath: keyPath].allSatisfy { values.contains($0) } }
| `- warning: capture of 'values' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | }
30 | case let .sequence(sequenceFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:28:60: warning: capture of 'values' with non-sendable type 'Value' in an isolated closure; this is an error in the Swift 6 language mode
26 | return { values.contains($0[keyPath: keyPath]) }
27 | } else {
28 | return { $0[keyPath: keyPath].allSatisfy { values.contains($0) } }
| `- warning: capture of 'values' with non-sendable type 'Value' in an isolated closure; this is an error in the Swift 6 language mode
29 | }
30 | case let .sequence(sequenceFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:22:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | switch filter {
21 | case let .lessThan(bound):
22 | return { $0[keyPath: keyPath] < bound }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | case let .lessThanOrEqualTo(bound):
24 | return { $0[keyPath: keyPath] <= bound }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:22:45: warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | switch filter {
21 | case let .lessThan(bound):
22 | return { $0[keyPath: keyPath] < bound }
| `- warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | case let .lessThanOrEqualTo(bound):
24 | return { $0[keyPath: keyPath] <= bound }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:24:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | return { $0[keyPath: keyPath] < bound }
23 | case let .lessThanOrEqualTo(bound):
24 | return { $0[keyPath: keyPath] <= bound }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | case let .greaterThan(bound):
26 | return { $0[keyPath: keyPath] > bound }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:24:46: warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | return { $0[keyPath: keyPath] < bound }
23 | case let .lessThanOrEqualTo(bound):
24 | return { $0[keyPath: keyPath] <= bound }
| `- warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | case let .greaterThan(bound):
26 | return { $0[keyPath: keyPath] > bound }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:26:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | return { $0[keyPath: keyPath] <= bound }
25 | case let .greaterThan(bound):
26 | return { $0[keyPath: keyPath] > bound }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | case let .greaterThanOrEqualTo(bound):
28 | return { $0[keyPath: keyPath] >= bound }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:26:45: warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | return { $0[keyPath: keyPath] <= bound }
25 | case let .greaterThan(bound):
26 | return { $0[keyPath: keyPath] > bound }
| `- warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | case let .greaterThanOrEqualTo(bound):
28 | return { $0[keyPath: keyPath] >= bound }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:28:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | return { $0[keyPath: keyPath] > bound }
27 | case let .greaterThanOrEqualTo(bound):
28 | return { $0[keyPath: keyPath] >= bound }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | case let .or(lhs, rhs):
30 | let lhsClosure = Self.build(from: lhs, on: keyPath)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:28:46: warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | return { $0[keyPath: keyPath] > bound }
27 | case let .greaterThanOrEqualTo(bound):
28 | return { $0[keyPath: keyPath] >= bound }
| `- warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | case let .or(lhs, rhs):
30 | let lhsClosure = Self.build(from: lhs, on: keyPath)
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
[35/35] Emitting module FilterClosure
/host/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:26:26: warning: capture of 'values' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | case let .isIn(values):
25 | if #available(iOS 16, macOS 13, watchOS 9, tvOS 16, macCatalyst 16, *) {
26 | return { values.contains($0[keyPath: keyPath]) }
| `- warning: capture of 'values' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | } else {
28 | return { $0[keyPath: keyPath].allSatisfy { values.contains($0) } }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:26:54: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | case let .isIn(values):
25 | if #available(iOS 16, macOS 13, watchOS 9, tvOS 16, macCatalyst 16, *) {
26 | return { values.contains($0[keyPath: keyPath]) }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | } else {
28 | return { $0[keyPath: keyPath].allSatisfy { values.contains($0) } }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:28:38: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | return { values.contains($0[keyPath: keyPath]) }
27 | } else {
28 | return { $0[keyPath: keyPath].allSatisfy { values.contains($0) } }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | }
30 | case let .sequence(sequenceFilter):
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:28:60: warning: capture of 'values' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | return { values.contains($0[keyPath: keyPath]) }
27 | } else {
28 | return { $0[keyPath: keyPath].allSatisfy { values.contains($0) } }
| `- warning: capture of 'values' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | }
30 | case let .sequence(sequenceFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:28:60: warning: capture of 'values' with non-sendable type 'Value' in an isolated closure; this is an error in the Swift 6 language mode
26 | return { values.contains($0[keyPath: keyPath]) }
27 | } else {
28 | return { $0[keyPath: keyPath].allSatisfy { values.contains($0) } }
| `- warning: capture of 'values' with non-sendable type 'Value' in an isolated closure; this is an error in the Swift 6 language mode
29 | }
30 | case let .sequence(sequenceFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:22:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | switch filter {
21 | case let .lessThan(bound):
22 | return { $0[keyPath: keyPath] < bound }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | case let .lessThanOrEqualTo(bound):
24 | return { $0[keyPath: keyPath] <= bound }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:22:45: warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | switch filter {
21 | case let .lessThan(bound):
22 | return { $0[keyPath: keyPath] < bound }
| `- warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | case let .lessThanOrEqualTo(bound):
24 | return { $0[keyPath: keyPath] <= bound }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:24:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | return { $0[keyPath: keyPath] < bound }
23 | case let .lessThanOrEqualTo(bound):
24 | return { $0[keyPath: keyPath] <= bound }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | case let .greaterThan(bound):
26 | return { $0[keyPath: keyPath] > bound }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:24:46: warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | return { $0[keyPath: keyPath] < bound }
23 | case let .lessThanOrEqualTo(bound):
24 | return { $0[keyPath: keyPath] <= bound }
| `- warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | case let .greaterThan(bound):
26 | return { $0[keyPath: keyPath] > bound }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:26:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | return { $0[keyPath: keyPath] <= bound }
25 | case let .greaterThan(bound):
26 | return { $0[keyPath: keyPath] > bound }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | case let .greaterThanOrEqualTo(bound):
28 | return { $0[keyPath: keyPath] >= bound }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:26:45: warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | return { $0[keyPath: keyPath] <= bound }
25 | case let .greaterThan(bound):
26 | return { $0[keyPath: keyPath] > bound }
| `- warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | case let .greaterThanOrEqualTo(bound):
28 | return { $0[keyPath: keyPath] >= bound }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:28:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | return { $0[keyPath: keyPath] > bound }
27 | case let .greaterThanOrEqualTo(bound):
28 | return { $0[keyPath: keyPath] >= bound }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | case let .or(lhs, rhs):
30 | let lhsClosure = Self.build(from: lhs, on: keyPath)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:28:46: warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | return { $0[keyPath: keyPath] > bound }
27 | case let .greaterThanOrEqualTo(bound):
28 | return { $0[keyPath: keyPath] >= bound }
| `- warning: capture of 'bound' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | case let .or(lhs, rhs):
30 | let lhsClosure = Self.build(from: lhs, on: keyPath)
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+EquatablePredicate.swift:22:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | switch filter {
21 | case let .equalTo(requiredValue):
22 | return { $0[keyPath: keyPath] == requiredValue }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | case let .or(lhs, rhs):
24 | let lhsClosure = Self.build(from: lhs, on: keyPath)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+EquatablePredicate.swift:22:46: warning: capture of 'requiredValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | switch filter {
21 | case let .equalTo(requiredValue):
22 | return { $0[keyPath: keyPath] == requiredValue }
| `- warning: capture of 'requiredValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | case let .or(lhs, rhs):
24 | let lhsClosure = Self.build(from: lhs, on: keyPath)
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:23:50: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | case let .orNil(subFilter):
22 | return { value in
23 | guard let value = value[keyPath: keyPath] else { return true }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | return Closure<Value, Value>.build(from: subFilter)(value)
25 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:24:58: warning: capture of 'subFilter' with non-sendable type 'CollectionFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | return { value in
23 | guard let value = value[keyPath: keyPath] else { return true }
24 | return Closure<Value, Value>.build(from: subFilter)(value)
| `- warning: capture of 'subFilter' with non-sendable type 'CollectionFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | }
26 | case let .notNil(subFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:24:58: warning: capture of 'subFilter' with non-sendable type 'CollectionFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | return { value in
23 | guard let value = value[keyPath: keyPath] else { return true }
24 | return Closure<Value, Value>.build(from: subFilter)(value)
| `- warning: capture of 'subFilter' with non-sendable type 'CollectionFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | }
26 | case let .notNil(subFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:28:50: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | case let .notNil(subFilter):
27 | return { value in
28 | guard let value = value[keyPath: keyPath] else { return false }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let subFilter {
30 | return Closure<Value, Value>.build(from: subFilter)(value)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:29:24: warning: capture of 'subFilter' with non-sendable type 'CollectionFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | return { value in
28 | guard let value = value[keyPath: keyPath] else { return false }
29 | if let subFilter {
| `- warning: capture of 'subFilter' with non-sendable type 'CollectionFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | return Closure<Value, Value>.build(from: subFilter)(value)
31 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:29:24: warning: capture of 'subFilter' with non-sendable type 'CollectionFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | return { value in
28 | guard let value = value[keyPath: keyPath] else { return false }
29 | if let subFilter {
| `- warning: capture of 'subFilter' with non-sendable type 'CollectionFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | return Closure<Value, Value>.build(from: subFilter)(value)
31 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:35:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | }
34 | case .isNil:
35 | return { $0[keyPath: keyPath] == nil }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:24:50: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | case let .orNil(subFilter):
23 | return { value in
24 | guard let value = value[keyPath: keyPath] else { return true }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | return Closure<Value, Value>.build(from: subFilter)(value)
26 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:25:58: warning: capture of 'subFilter' with non-sendable type 'ComparableFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | return { value in
24 | guard let value = value[keyPath: keyPath] else { return true }
25 | return Closure<Value, Value>.build(from: subFilter)(value)
| `- warning: capture of 'subFilter' with non-sendable type 'ComparableFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | case let .notNil(subFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:29:50: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | case let .notNil(subFilter):
28 | return { value in
29 | guard let value = value[keyPath: keyPath] else { return false }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | if let subFilter {
31 | return Closure<Value, Value>.build(from: subFilter)(value)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:30:24: warning: capture of 'subFilter' with non-sendable type 'ComparableFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | return { value in
29 | guard let value = value[keyPath: keyPath] else { return false }
30 | if let subFilter {
| `- warning: capture of 'subFilter' with non-sendable type 'ComparableFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | return Closure<Value, Value>.build(from: subFilter)(value)
32 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:36:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | }
35 | case .isNil:
36 | return { $0[keyPath: keyPath] == nil }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | }
38 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:23:50: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | case let .orNil(subFilter):
22 | return { value in
23 | guard let value = value[keyPath: keyPath] else { return true }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | return Closure<Value, Value>.build(from: subFilter)(value)
25 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:24:58: warning: capture of 'subFilter' with non-sendable type 'EquatableFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | return { value in
23 | guard let value = value[keyPath: keyPath] else { return true }
24 | return Closure<Value, Value>.build(from: subFilter)(value)
| `- warning: capture of 'subFilter' with non-sendable type 'EquatableFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | }
26 | case let .notNil(subFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:28:50: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | case let .notNil(subFilter):
27 | return { value in
28 | guard let value = value[keyPath: keyPath] else { return false }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let subFilter {
30 | return Closure<Value, Value>.build(from: subFilter)(value)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:29:24: warning: capture of 'subFilter' with non-sendable type 'EquatableFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | return { value in
28 | guard let value = value[keyPath: keyPath] else { return false }
29 | if let subFilter {
| `- warning: capture of 'subFilter' with non-sendable type 'EquatableFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | return Closure<Value, Value>.build(from: subFilter)(value)
31 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:35:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | }
34 | case .isNil:
35 | return { $0[keyPath: keyPath] == nil }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:23:50: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | case let .orNil(subFilter):
22 | return { value in
23 | guard let value = value[keyPath: keyPath] else { return true }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | return Closure<Value, Value>.build(from: subFilter)(value)
25 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:24:58: warning: capture of 'subFilter' with non-sendable type 'SequenceFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | return { value in
23 | guard let value = value[keyPath: keyPath] else { return true }
24 | return Closure<Value, Value>.build(from: subFilter)(value)
| `- warning: capture of 'subFilter' with non-sendable type 'SequenceFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | }
26 | case let .notNil(subFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:24:58: warning: capture of 'subFilter' with non-sendable type 'SequenceFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | return { value in
23 | guard let value = value[keyPath: keyPath] else { return true }
24 | return Closure<Value, Value>.build(from: subFilter)(value)
| `- warning: capture of 'subFilter' with non-sendable type 'SequenceFilter<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | }
26 | case let .notNil(subFilter):
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:28:50: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | case let .notNil(subFilter):
27 | return { value in
28 | guard let value = value[keyPath: keyPath] else { return false }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | if let subFilter {
30 | return Closure<Value, Value>.build(from: subFilter)(value)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:29:24: warning: capture of 'subFilter' with non-sendable type 'SequenceFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | return { value in
28 | guard let value = value[keyPath: keyPath] else { return false }
29 | if let subFilter {
| `- warning: capture of 'subFilter' with non-sendable type 'SequenceFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | return Closure<Value, Value>.build(from: subFilter)(value)
31 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure.swift:11:27: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum Closure<Root, Value> {}
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
12 |
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:29:24: warning: capture of 'subFilter' with non-sendable type 'SequenceFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | return { value in
28 | guard let value = value[keyPath: keyPath] else { return false }
29 | if let subFilter {
| `- warning: capture of 'subFilter' with non-sendable type 'SequenceFilter<Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | return Closure<Value, Value>.build(from: subFilter)(value)
31 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:35:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | }
34 | case .isNil:
35 | return { $0[keyPath: keyPath] == nil }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | }
37 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+SequencePredicate.swift:24:34: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | switch filter {
23 | case let .contains(value):
24 | return { $0[keyPath: keyPath].contains(value) }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | case let .or(lhs, rhs):
26 | let lhsClosure = Self.build(from: lhs, on: keyPath)
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/Closure+SequencePredicate.swift:24:52: warning: capture of 'value' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | switch filter {
23 | case let .contains(value):
24 | return { $0[keyPath: keyPath].contains(value) }
| `- warning: capture of 'value' with non-sendable type 'Value.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | case let .or(lhs, rhs):
26 | let lhsClosure = Self.build(from: lhs, on: keyPath)
Build complete! (14.47s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-filter",
"name" : "swift-filter",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Filter",
"targets" : [
"Filter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FilterClosure",
"targets" : [
"FilterClosure"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FilterClosureTests",
"module_type" : "SwiftTarget",
"name" : "FilterClosureTests",
"path" : "Tests/FilterClosureTests",
"sources" : [
"CollectionFilterClosureTests.swift",
"ComparableFilterClosureTests.swift",
"EquatableFilterClosureTests.swift",
"SequenceFilterClosureTests.swift"
],
"target_dependencies" : [
"FilterClosure"
],
"type" : "test"
},
{
"c99name" : "FilterClosure",
"module_type" : "SwiftTarget",
"name" : "FilterClosure",
"path" : "Sources/FilterClosure",
"product_memberships" : [
"FilterClosure"
],
"sources" : [
"Closure+CollectionPredicate.swift",
"Closure+ComparablePredicate.swift",
"Closure+EquatablePredicate.swift",
"Closure+OptionalCollectionPredicate.swift",
"Closure+OptionalComparablePredicate.swift",
"Closure+OptionalEquatablePredicate.swift",
"Closure+OptionalSequencePredicate.swift",
"Closure+SequencePredicate.swift",
"Closure.swift"
],
"target_dependencies" : [
"Filter"
],
"type" : "library"
},
{
"c99name" : "Filter",
"module_type" : "SwiftTarget",
"name" : "Filter",
"path" : "Sources/Filter",
"product_memberships" : [
"Filter",
"FilterClosure"
],
"sources" : [
"Collection/AnyCollectionPredicate.swift",
"Collection/CollectionFilter.swift",
"Collection/CollectionPredicate.swift",
"Collection/OptionalAnyCollectionPredicate.swift",
"Collection/OptionalCollectionPredicate.swift",
"Comparable/AnyComparablePredicate.swift",
"Comparable/ComparableFilter.swift",
"Comparable/ComparablePredicate.swift",
"Comparable/OptionalAnyComparablePredicate.swift",
"Comparable/OptionalComparablePredicate.swift",
"Equatable/AnyEquatablePredicate.swift",
"Equatable/EquatableFilter.swift",
"Equatable/EquatablePredicate.swift",
"Equatable/OptionalAnyEquatablePredicate.swift",
"Equatable/OptionalEquatablePredicate.swift",
"Sequence/AnySequencePredicate.swift",
"Sequence/OptionalAnySequencePredicate.swift",
"Sequence/OptionalSequencePredicate.swift",
"Sequence/SequenceFilter.swift",
"Sequence/SequencePredicate.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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.