Build Information
Successful build of swift-filter with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 41
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/roanutil/swift-filter.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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: $workDir/.spi.yml
SUCCESS checkout https://github.com/roanutil/swift-filter.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/roanutil/swift-filter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/23] Compiling Filter OptionalEquatablePredicate.swift
[6/23] Compiling Filter AnySequencePredicate.swift
[7/25] Compiling Filter OptionalAnySequencePredicate.swift
[8/25] Compiling Filter OptionalSequencePredicate.swift
[9/25] Compiling Filter ComparableFilter.swift
[10/25] Compiling Filter ComparablePredicate.swift
[11/25] Compiling Filter AnyEquatablePredicate.swift
[12/25] Compiling Filter EquatableFilter.swift
[13/25] Compiling Filter OptionalCollectionPredicate.swift
[14/25] Compiling Filter AnyComparablePredicate.swift
[15/25] Compiling Filter OptionalAnyComparablePredicate.swift
[16/25] Compiling Filter OptionalComparablePredicate.swift
[17/25] Compiling Filter CollectionPredicate.swift
[18/25] Compiling Filter OptionalAnyCollectionPredicate.swift
[19/25] Emitting module Filter
[20/25] Compiling Filter AnyCollectionPredicate.swift
[21/25] Compiling Filter CollectionFilter.swift
[22/25] Compiling Filter EquatablePredicate.swift
[23/25] Compiling Filter OptionalAnyEquatablePredicate.swift
[24/25] Compiling Filter SequenceFilter.swift
[25/25] Compiling Filter SequencePredicate.swift
[26/47] Compiling FilterClosure Closure.swift
[27/47] Compiling FilterClosure Closure+SequencePredicate.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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)
[28/47] Compiling FilterClosure Closure+OptionalSequencePredicate.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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):
/Users/admin/builder/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 |
/Users/admin/builder/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):
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[29/47] Compiling FilterNSPredicate NSPredicate+OptionalAnyComparablePredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilterNSPredicate/NSPredicate+OptionalAnyComparablePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'OptionalAnyComparablePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension NSPredicate: OptionalAnyComparablePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'OptionalAnyComparablePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | /// Creates a NSPredicate from a ComparableFilter.Optional
14 | ///
[30/47] Compiling FilterNSPredicate NSPredicate+OptionalAnyEquatablePredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilterNSPredicate/NSPredicate+OptionalAnyEquatablePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'OptionalAnyEquatablePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension NSPredicate: OptionalAnyEquatablePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'OptionalAnyEquatablePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | /// Creates a NSPredicate from a EquatableFilter.Optional
14 | ///
[31/48] Compiling FilterNSPredicate NSPredicate+AnyComparablePredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilterNSPredicate/NSPredicate+AnyComparablePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnyComparablePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension NSPredicate: AnyComparablePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnyComparablePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | /// Creates a NSPredicate from a ComparableFilter
14 | ///
[32/48] Compiling FilterNSPredicate NSPredicate+OptionalAnyCollectionPredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilterNSPredicate/NSPredicate+OptionalAnyCollectionPredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'OptionalAnyCollectionPredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension NSPredicate: OptionalAnyCollectionPredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'OptionalAnyCollectionPredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | /// Creates a NSPredicate from a CollectionFilter.Optional
14 | ///
[33/48] Compiling FilterNSPredicate NSPredicate+CompoundOperators.swift
[34/48] Compiling FilterNSPredicate NSPredicate+AnyEquatablePredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilterNSPredicate/NSPredicate+AnyEquatablePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnyEquatablePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension NSPredicate: AnyEquatablePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnyEquatablePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | /// Creates a NSPredicate from a EquatableFilter
14 | ///
[35/48] Compiling FilterNSPredicate NSExpression+ComparableOperators.swift
[36/48] Compiling FilterNSPredicate NSExpression+EquatableOperators.swift
[37/48] Compiling FilterNSPredicate NSPredicate+AnySequencePredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilterNSPredicate/NSPredicate+AnySequencePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnySequencePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension NSPredicate: AnySequencePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnySequencePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | /// Creates a NSPredicate from a SequenceFilter
14 | ///
[38/48] Compiling FilterClosure Closure+OptionalEquatablePredicate.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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):
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
[39/48] Compiling FilterClosure Closure+OptionalCollectionPredicate.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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):
/Users/admin/builder/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 |
/Users/admin/builder/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):
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[40/48] Compiling FilterClosure Closure+OptionalComparablePredicate.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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):
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
[41/48] Compiling FilterClosure Closure+EquatablePredicate.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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 |
[42/48] Compiling FilterNSPredicate NSExpression+SequenceOperators.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilterNSPredicate/NSPredicate+AnyCollectionPredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnyCollectionPredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension NSPredicate: AnyCollectionPredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnyCollectionPredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | /// Creates a NSPredicate from a SequenceFilter
14 | ///
[43/48] Compiling FilterNSPredicate NSPredicate+AnyCollectionPredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilterNSPredicate/NSPredicate+AnyCollectionPredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnyCollectionPredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension NSPredicate: AnyCollectionPredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnyCollectionPredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | /// Creates a NSPredicate from a SequenceFilter
14 | ///
[44/48] Emitting module FilterNSPredicate
/Users/admin/builder/spi-builder-workspace/Sources/FilterNSPredicate/NSPredicate+AnyCollectionPredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnyCollectionPredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension NSPredicate: AnyCollectionPredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnyCollectionPredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | /// Creates a NSPredicate from a SequenceFilter
14 | ///
/Users/admin/builder/spi-builder-workspace/Sources/FilterNSPredicate/NSPredicate+AnyComparablePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnyComparablePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension NSPredicate: AnyComparablePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnyComparablePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | /// Creates a NSPredicate from a ComparableFilter
14 | ///
/Users/admin/builder/spi-builder-workspace/Sources/FilterNSPredicate/NSPredicate+AnyEquatablePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnyEquatablePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension NSPredicate: AnyEquatablePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnyEquatablePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | /// Creates a NSPredicate from a EquatableFilter
14 | ///
/Users/admin/builder/spi-builder-workspace/Sources/FilterNSPredicate/NSPredicate+AnySequencePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnySequencePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension NSPredicate: AnySequencePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'AnySequencePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | /// Creates a NSPredicate from a SequenceFilter
14 | ///
/Users/admin/builder/spi-builder-workspace/Sources/FilterNSPredicate/NSPredicate+OptionalAnyCollectionPredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'OptionalAnyCollectionPredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension NSPredicate: OptionalAnyCollectionPredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'OptionalAnyCollectionPredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | /// Creates a NSPredicate from a CollectionFilter.Optional
14 | ///
/Users/admin/builder/spi-builder-workspace/Sources/FilterNSPredicate/NSPredicate+OptionalAnyComparablePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'OptionalAnyComparablePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension NSPredicate: OptionalAnyComparablePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'OptionalAnyComparablePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | /// Creates a NSPredicate from a ComparableFilter.Optional
14 | ///
/Users/admin/builder/spi-builder-workspace/Sources/FilterNSPredicate/NSPredicate+OptionalAnyEquatablePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'OptionalAnyEquatablePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension NSPredicate: OptionalAnyEquatablePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'OptionalAnyEquatablePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | /// Creates a NSPredicate from a EquatableFilter.Optional
14 | ///
/Users/admin/builder/spi-builder-workspace/Sources/FilterNSPredicate/NSPredicate+OptionalAnySequencePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'OptionalAnySequencePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension NSPredicate: OptionalAnySequencePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'OptionalAnySequencePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | /// Creates a NSPredicate from a SequenceFilter.Optional
14 | ///
[45/48] Compiling FilterNSPredicate NSPredicate+OptionalAnySequencePredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilterNSPredicate/NSPredicate+OptionalAnySequencePredicate.swift:12:1: warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'OptionalAnySequencePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
10 | import Foundation
11 |
12 | extension NSPredicate: OptionalAnySequencePredicate {
| |- warning: extension declares a conformance of imported type 'NSPredicate' to imported protocol 'OptionalAnySequencePredicate'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | /// Creates a NSPredicate from a SequenceFilter.Optional
14 | ///
[46/48] Compiling FilterClosure Closure+ComparablePredicate.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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 |
[47/48] Emitting module FilterClosure
/Users/admin/builder/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) } }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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):
/Users/admin/builder/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 |
/Users/admin/builder/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):
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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):
/Users/admin/builder/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 |
/Users/admin/builder/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):
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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):
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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):
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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):
/Users/admin/builder/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 |
/Users/admin/builder/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):
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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)
[48/48] Compiling FilterClosure Closure+CollectionPredicate.swift
/Users/admin/builder/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) } }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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):
/Users/admin/builder/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 |
/Users/admin/builder/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):
/Users/admin/builder/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 |
Build complete! (25.58s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-filter",
"name" : "swift-filter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Filter",
"targets" : [
"Filter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FilterClosure",
"targets" : [
"FilterClosure"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FilterNSPredicate",
"targets" : [
"FilterNSPredicate"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FilterNSPredicateTests",
"module_type" : "SwiftTarget",
"name" : "FilterNSPredicateTests",
"path" : "Tests/FilterNSPredicateTests",
"sources" : [
"CollectionFilterNSPredicateTests.swift",
"ComparableFilterNSPredicateTests.swift",
"EquatableFilterNSPredicateTests.swift",
"NSPredicate+ClosureHelper.swift",
"SequenceFilterNSPredicateTests.swift"
],
"target_dependencies" : [
"FilterNSPredicate"
],
"type" : "test"
},
{
"c99name" : "FilterNSPredicate",
"module_type" : "SwiftTarget",
"name" : "FilterNSPredicate",
"path" : "Sources/FilterNSPredicate",
"product_memberships" : [
"FilterNSPredicate"
],
"sources" : [
"NSExpression+ComparableOperators.swift",
"NSExpression+EquatableOperators.swift",
"NSExpression+SequenceOperators.swift",
"NSPredicate+AnyCollectionPredicate.swift",
"NSPredicate+AnyComparablePredicate.swift",
"NSPredicate+AnyEquatablePredicate.swift",
"NSPredicate+AnySequencePredicate.swift",
"NSPredicate+CompoundOperators.swift",
"NSPredicate+OptionalAnyCollectionPredicate.swift",
"NSPredicate+OptionalAnyComparablePredicate.swift",
"NSPredicate+OptionalAnyEquatablePredicate.swift",
"NSPredicate+OptionalAnySequencePredicate.swift"
],
"target_dependencies" : [
"Filter"
],
"type" : "library"
},
{
"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",
"FilterNSPredicate"
],
"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"
}
Done.