Build Information
Successful build of swift-filter, reference main (662d7e
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 10:27:58 UTC.
Swift 6 data race errors: 41
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/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: $PWD/.spi.yml
SUCCESS checkout https://github.com/roanutil/swift-filter.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-filter",
"name": "swift-filter",
"url": "https://github.com/roanutil/swift-filter.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-filter",
"dependencies": [
]
}
]
}
Fetching https://github.com/roanutil/swift-filter.git
[1/1122] Fetching swift-filter
Fetched https://github.com/roanutil/swift-filter.git from cache (0.77s)
Creating working copy for https://github.com/roanutil/swift-filter.git
Working copy of https://github.com/roanutil/swift-filter.git resolved at main (662d7e8)
warning: '.resolve-product-dependencies': dependency 'swift-filter' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/roanutil/swift-filter.git
https://github.com/roanutil/swift-filter.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/23] Compiling Filter ComparableFilter.swift
[6/23] Compiling Filter ComparablePredicate.swift
[7/23] Compiling Filter OptionalCollectionPredicate.swift
[8/23] Compiling Filter AnyComparablePredicate.swift
[9/23] Compiling Filter OptionalAnyComparablePredicate.swift
[10/23] Compiling Filter OptionalComparablePredicate.swift
[11/23] Compiling Filter AnyEquatablePredicate.swift
[12/23] Compiling Filter EquatableFilter.swift
[13/23] Compiling Filter OptionalEquatablePredicate.swift
[14/23] Compiling Filter AnySequencePredicate.swift
[15/23] Compiling Filter EquatablePredicate.swift
[16/23] Compiling Filter OptionalAnyEquatablePredicate.swift
[17/23] Compiling Filter OptionalAnySequencePredicate.swift
[18/23] Compiling Filter OptionalSequencePredicate.swift
[19/23] Compiling Filter AnyCollectionPredicate.swift
[20/23] Compiling Filter CollectionFilter.swift
[21/23] Emitting module Filter
[22/23] Compiling Filter CollectionPredicate.swift
[23/23] Compiling Filter OptionalAnyCollectionPredicate.swift
[24/25] Compiling Filter SequenceFilter.swift
[25/25] Compiling Filter SequencePredicate.swift
[26/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 | @objc 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 | @objc 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 | @objc deinit
3 | }
[27/47] Compiling FilterNSPredicate NSPredicate+OptionalAnyEquatablePredicate.swift
[28/48] Compiling FilterNSPredicate NSPredicate+CompoundOperators.swift
[29/48] Compiling FilterNSPredicate NSPredicate+OptionalAnyCollectionPredicate.swift
[30/48] Compiling FilterNSPredicate NSPredicate+OptionalAnyComparablePredicate.swift
[31/48] Compiling FilterClosure Closure.swift
[32/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 | @objc 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 | @objc 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 | @objc deinit
3 | }
[33/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 | @objc 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 | @objc 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 | @objc deinit
3 | }
[34/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 | @objc 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 | @objc 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 | @objc deinit
3 | }
[35/48] 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 | @objc 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)
[36/48] Compiling FilterNSPredicate NSPredicate+AnySequencePredicate.swift
[37/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 | @objc 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 | @objc 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 |
[38/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 | @objc 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 |
[39/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 | @objc 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 | @objc 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 | @objc 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 | @objc 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 |
[40/48] Compiling FilterNSPredicate NSPredicate+AnyEquatablePredicate.swift
[41/48] Compiling FilterNSPredicate NSPredicate+AnyComparablePredicate.swift
[42/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 | @objc 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 | @objc 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 | @objc 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 | @objc 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 | @objc 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 | @objc 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 | @objc 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 | @objc 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 | @objc 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 | @objc 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 | @objc 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 | @objc 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 | @objc 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 | @objc 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 | @objc 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 | @objc 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 | @objc 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 | @objc 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 | @objc 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 | @objc 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)
[43/48] Compiling FilterNSPredicate NSExpression+ComparableOperators.swift
[44/48] Compiling FilterNSPredicate NSExpression+EquatableOperators.swift
[45/48] Compiling FilterNSPredicate NSExpression+SequenceOperators.swift
[46/48] Compiling FilterNSPredicate NSPredicate+AnyCollectionPredicate.swift
[47/48] Emitting module FilterNSPredicate
[48/48] Compiling FilterNSPredicate NSPredicate+OptionalAnySequencePredicate.swift
Build complete! (9.10s)
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"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/roanutil/swift-filter/main
Repository: roanutil/swift-filter
Swift version used: 6.1
Target: Filter
Extracting symbol information for 'Filter'...
Finished extracting symbol information for 'Filter'. (2.86s)
Building documentation for 'Filter'...
Finished building documentation for 'Filter' (0.16s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/roanutil/swift-filter/main
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.43s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (1.14s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.79s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.47s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Compiling SymbolKit GenericConstraint.swift
[7/53] Compiling SymbolKit GenericParameter.swift
[8/53] Compiling SymbolKit Generics.swift
[9/53] Compiling SymbolKit Namespace.swift
[10/57] Emitting module SymbolKit
[11/57] Compiling SymbolKit SemanticVersion.swift
[12/57] Compiling SymbolKit AccessControl.swift
[13/57] Compiling SymbolKit Availability.swift
[14/57] Compiling SymbolKit AvailabilityItem.swift
[15/57] Compiling SymbolKit Domain.swift
[16/57] Compiling SymbolKit DeclarationFragments.swift
[17/57] Compiling SymbolKit Fragment.swift
[18/57] Compiling SymbolKit FragmentKind.swift
[19/57] Compiling SymbolKit FunctionParameter.swift
[20/57] Compiling SymbolKit FunctionSignature.swift
[21/57] Compiling SymbolKit Mixin+Equals.swift
[22/57] Compiling SymbolKit Mixin+Hash.swift
[23/57] Compiling SymbolKit Mixin.swift
[24/57] Compiling SymbolKit LineList.swift
[25/57] Compiling SymbolKit Position.swift
[26/57] Compiling SymbolKit Names.swift
[27/57] Compiling SymbolKit SPI.swift
[28/57] Compiling SymbolKit Snippet.swift
[29/57] Compiling SymbolKit Extension.swift
[30/57] Compiling SymbolKit Relationship.swift
[31/57] Compiling SymbolKit RelationshipKind.swift
[32/57] Compiling SymbolKit SourceOrigin.swift
[33/57] Compiling SymbolKit GenericConstraints.swift
[34/57] Compiling SymbolKit Swift.swift
[35/57] Compiling SymbolKit Identifier.swift
[36/57] Compiling SymbolKit KindIdentifier.swift
[37/57] Compiling SymbolKit Location.swift
[38/57] Compiling SymbolKit Mutability.swift
[39/57] Compiling SymbolKit Symbol.swift
[40/57] Compiling SymbolKit SymbolKind.swift
[41/57] Compiling SymbolKit SymbolGraph.swift
[42/57] Compiling SymbolKit GraphCollector.swift
[43/57] Compiling SymbolKit SourceRange.swift
[44/57] Compiling SymbolKit Metadata.swift
[45/57] Compiling SymbolKit Module.swift
[46/57] Compiling SymbolKit OperatingSystem.swift
[47/57] Compiling SymbolKit Platform.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets Snippet.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.95s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/20] Compiling Filter OptionalEquatablePredicate.swift
[3/20] Compiling Filter AnySequencePredicate.swift
[4/22] Compiling Filter OptionalAnyComparablePredicate.swift
[5/22] Compiling Filter OptionalComparablePredicate.swift
[6/22] Compiling Filter OptionalAnySequencePredicate.swift
[7/22] Compiling Filter OptionalSequencePredicate.swift
[8/22] Compiling Filter EquatablePredicate.swift
[9/22] Compiling Filter OptionalAnyEquatablePredicate.swift
[10/22] Compiling Filter AnyEquatablePredicate.swift
[11/22] Compiling Filter EquatableFilter.swift
[12/22] Compiling Filter OptionalCollectionPredicate.swift
[13/22] Compiling Filter AnyComparablePredicate.swift
[14/22] Compiling Filter CollectionPredicate.swift
[15/22] Compiling Filter OptionalAnyCollectionPredicate.swift
[16/22] Compiling Filter AnyCollectionPredicate.swift
[17/22] Compiling Filter CollectionFilter.swift
[18/22] Compiling Filter ComparableFilter.swift
[19/22] Compiling Filter ComparablePredicate.swift
[20/22] Emitting module Filter
[21/22] Compiling Filter SequenceFilter.swift
[22/22] Compiling Filter SequencePredicate.swift
Build of target: 'Filter' complete! (1.03s)
Target: FilterNSPredicate
Extracting symbol information for 'FilterNSPredicate'...
Finished extracting symbol information for 'FilterNSPredicate'. (1.08s)
Building documentation for 'FilterNSPredicate'...
warning: Parameter 'modifer' not found in instance method declaration
--> Sources/FilterNSPredicate/NSExpression+ComparableOperators.swift:37:21-37:28
35 | ///
36 | /// - Parameter rhs: Right hand side NSExpression. Corresponds to `self` in a NSComparisonPredicate.
37 + /// - Parameter modifer: See NSComparisonPredicate. Default: `.direct`
| ╰─suggestion: Replace 'modifer' with 'modifier'
38 | /// - Parameter options: See NSComparisonPredicate. Default: `[]`
39 | @inlinable
warning: Parameter 'modifier' is missing documentation
--> Sources/FilterNSPredicate/NSExpression+ComparableOperators.swift:38:70-38:70
36 | /// - Parameter rhs: Right hand side NSExpression. Corresponds to `self` in a NSComparisonPredicate.
37 | /// - Parameter modifer: See NSComparisonPredicate. Default: `.direct`
38 + /// - Parameter options: See NSComparisonPredicate. Default: `[]`
| ╰─suggestion: Document 'modifier' parameter
39 | @inlinable
40 | public func lessThan(
warning: Parameter 'modifer' not found in instance method declaration
--> Sources/FilterNSPredicate/NSExpression+ComparableOperators.swift:51:21-51:28
49 | ///
50 | /// - Parameter rhs: Right hand side NSExpression. Corresponds to `self` in a NSComparisonPredicate.
51 + /// - Parameter modifer: See NSComparisonPredicate. Default: `.direct`
| ╰─suggestion: Replace 'modifer' with 'modifier'
52 | /// - Parameter options: See NSComparisonPredicate. Default: `[]`
53 | @inlinable
warning: Parameter 'modifier' is missing documentation
--> Sources/FilterNSPredicate/NSExpression+ComparableOperators.swift:52:70-52:70
50 | /// - Parameter rhs: Right hand side NSExpression. Corresponds to `self` in a NSComparisonPredicate.
51 | /// - Parameter modifer: See NSComparisonPredicate. Default: `.direct`
52 + /// - Parameter options: See NSComparisonPredicate. Default: `[]`
| ╰─suggestion: Document 'modifier' parameter
53 | @inlinable
54 | public func lessThanOrEqualTo(
warning: Parameter 'modifer' not found in instance method declaration
--> Sources/FilterNSPredicate/NSExpression+ComparableOperators.swift:65:21-65:28
63 | ///
64 | /// - Parameter rhs: Right hand side NSExpression. Corresponds to `self` in a NSComparisonPredicate.
65 + /// - Parameter modifer: See NSComparisonPredicate. Default: `.direct`
| ╰─suggestion: Replace 'modifer' with 'modifier'
66 | /// - Parameter options: See NSComparisonPredicate. Default: `[]`
67 | @inlinable
warning: Parameter 'modifier' is missing documentation
--> Sources/FilterNSPredicate/NSExpression+ComparableOperators.swift:66:70-66:70
64 | /// - Parameter rhs: Right hand side NSExpression. Corresponds to `self` in a NSComparisonPredicate.
65 | /// - Parameter modifer: See NSComparisonPredicate. Default: `.direct`
66 + /// - Parameter options: See NSComparisonPredicate. Default: `[]`
| ╰─suggestion: Document 'modifier' parameter
67 | @inlinable
68 | public func greaterThan(
warning: Parameter 'modifer' not found in instance method declaration
--> Sources/FilterNSPredicate/NSExpression+ComparableOperators.swift:79:21-79:28
77 | ///
78 | /// - Parameter rhs: Right hand side NSExpression. Corresponds to `self` in a NSComparisonPredicate.
79 + /// - Parameter modifer: See NSComparisonPredicate. Default: `.direct`
| ╰─suggestion: Replace 'modifer' with 'modifier'
80 | /// - Parameter options: See NSComparisonPredicate. Default: `[]`
81 | @inlinable
warning: Parameter 'modifier' is missing documentation
--> Sources/FilterNSPredicate/NSExpression+ComparableOperators.swift:80:70-80:70
78 | /// - Parameter rhs: Right hand side NSExpression. Corresponds to `self` in a NSComparisonPredicate.
79 | /// - Parameter modifer: See NSComparisonPredicate. Default: `.direct`
80 + /// - Parameter options: See NSComparisonPredicate. Default: `[]`
| ╰─suggestion: Document 'modifier' parameter
81 | @inlinable
82 | public func greaterThanOrEqualTo(
warning: Parameter 'modifer' not found in instance method declaration
--> Sources/FilterNSPredicate/NSExpression+EquatableOperators.swift:15:21-15:28
13 | ///
14 | /// - Parameter rhs: Right hand side NSExpression. Corresponds to `self` in a NSComparisonPredicate.
15 + /// - Parameter modifer: See NSComparisonPredicate. Default: `.direct`
| ╰─suggestion: Replace 'modifer' with 'modifier'
16 | /// - Parameter options: See NSComparisonPredicate. Default: `[]`
17 | @inlinable
warning: Parameter 'modifier' is missing documentation
--> Sources/FilterNSPredicate/NSExpression+EquatableOperators.swift:16:70-16:70
14 | /// - Parameter rhs: Right hand side NSExpression. Corresponds to `self` in a NSComparisonPredicate.
15 | /// - Parameter modifer: See NSComparisonPredicate. Default: `.direct`
16 + /// - Parameter options: See NSComparisonPredicate. Default: `[]`
| ╰─suggestion: Document 'modifier' parameter
17 | @inlinable
18 | public func equalTo(
warning: Parameter 'modifer' not found in instance method declaration
--> Sources/FilterNSPredicate/NSExpression+SequenceOperators.swift:15:21-15:28
13 | ///
14 | /// - Parameter rhs: Right hand side NSExpression. Corresponds to `self` in a NSComparisonPredicate.
15 + /// - Parameter modifer: See NSComparisonPredicate. Default: `.direct`
| ╰─suggestion: Replace 'modifer' with 'modifier'
16 | /// - Parameter options: See NSComparisonPredicate. Default: `[]`
17 | @inlinable
warning: Parameter 'modifier' is missing documentation
--> Sources/FilterNSPredicate/NSExpression+SequenceOperators.swift:16:70-16:70
14 | /// - Parameter rhs: Right hand side NSExpression. Corresponds to `self` in a NSComparisonPredicate.
15 | /// - Parameter modifer: See NSComparisonPredicate. Default: `.direct`
16 + /// - Parameter options: See NSComparisonPredicate. Default: `[]`
| ╰─suggestion: Document 'modifier' parameter
17 | @inlinable
18 | public func contains(
Finished building documentation for 'FilterNSPredicate' (0.07s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/roanutil/swift-filter/main
Building for debugging...
[0/3] Write swift-version-2F0A5646E1D333AE.txt
Build of product 'snippet-extract' complete! (0.22s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/13] Compiling FilterNSPredicate NSPredicate+OptionalAnyEquatablePredicate.swift
[3/14] Compiling FilterNSPredicate NSPredicate+OptionalAnyCollectionPredicate.swift
[4/14] Compiling FilterNSPredicate NSPredicate+OptionalAnyComparablePredicate.swift
[5/14] Compiling FilterNSPredicate NSPredicate+CompoundOperators.swift
[6/14] Compiling FilterNSPredicate NSExpression+SequenceOperators.swift
[7/14] Compiling FilterNSPredicate NSPredicate+AnyCollectionPredicate.swift
[8/14] Compiling FilterNSPredicate NSPredicate+AnyComparablePredicate.swift
[9/14] Compiling FilterNSPredicate NSPredicate+AnyEquatablePredicate.swift
[10/14] Compiling FilterNSPredicate NSPredicate+AnySequencePredicate.swift
[11/14] Compiling FilterNSPredicate NSExpression+ComparableOperators.swift
[12/14] Compiling FilterNSPredicate NSExpression+EquatableOperators.swift
[13/14] Emitting module FilterNSPredicate
[14/14] Compiling FilterNSPredicate NSPredicate+OptionalAnySequencePredicate.swift
Build of target: 'FilterNSPredicate' complete! (0.96s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/roanutil/swift-filter/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/roanutil/swift-filter/main/linkable-paths.json
Target: FilterClosure
Extracting symbol information for 'FilterClosure'...
Finished extracting symbol information for 'FilterClosure'. (1.15s)
Building documentation for 'FilterClosure'...
warning: 'CollectionFilter' doesn't exist at '/FilterClosure/Closure/build(from:on:)'
--> Sources/FilterClosure/Closure+CollectionPredicate.swift:15:53-15:69
13 | /// Creates a closure `(Self) -> Bool` from a CollectionFilter
14 | ///
15 + /// For platforms before iOS 16/macOS 13/etc, ``CollectionFilter/isIn`` is implemented by checking if each element
16 | /// is contained.
17 | ///
warning: Parameter 'keyPath' is missing documentation
--> Sources/FilterClosure/Closure+CollectionPredicate.swift:18:113-18:113
16 | /// is contained.
17 | ///
18 + /// - Parameter filter: An instance of CollectionFilter representing the logic of the resulting NSPredicate.
| ╰─suggestion: Document 'keyPath' parameter
19 | @inlinable
20 | public static func build(from filter: CollectionFilter<Value>,
warning: Parameter 'keyPath' is missing documentation
--> Sources/FilterClosure/Closure+ComparablePredicate.swift:15:113-15:113
13 | /// Creates a closure `(Self) -> Bool` from a ComparableFilter
14 | ///
15 + /// - Parameter filter: An instance of ComparableFilter representing the logic of the resulting NSPredicate.
| ╰─suggestion: Document 'keyPath' parameter
16 | @inlinable
17 | public static func build(from filter: ComparableFilter<Value>,
warning: Parameter 'keyPath' is missing documentation
--> Sources/FilterClosure/Closure+EquatablePredicate.swift:15:112-15:112
13 | /// Creates a closure `(Self) -> Bool` from a EquatableFilter
14 | ///
15 + /// - Parameter filter: An instance of EquatableFilter representing the logic of the resulting NSPredicate.
| ╰─suggestion: Document 'keyPath' parameter
16 | @inlinable
17 | public static func build(from filter: EquatableFilter<Value>,
warning: Parameter 'keyPath' is missing documentation
--> Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:15:113-15:113
13 | /// Creates a closure `(Self) -> Bool` from a CollectionFilter
14 | ///
15 + /// - Parameter filter: An instance of CollectionFilter representing the logic of the resulting NSPredicate.
| ╰─suggestion: Document 'keyPath' parameter
16 | @inlinable
17 | public static func build(from filter: CollectionFilter<Value>.Optional,
warning: Parameter 'keyPath' is missing documentation
--> Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:16:21-16:21
14 | ///
15 | /// - Parameter filter: An instance of ComparableFilter.Optional representing the logic of the resulting
16 + /// NSPredicate.
| ╰─suggestion: Document 'keyPath' parameter
17 | @inlinable
18 | public static func build(from filter: ComparableFilter<Value>.Optional,
warning: Parameter 'keyPath' is missing documentation
--> Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:15:112-15:112
13 | /// Creates a closure `(Self) -> Bool` from a EquatableFilter
14 | ///
15 + /// - Parameter filter: An instance of EquatableFilter representing the logic of the resulting NSPredicate.
| ╰─suggestion: Document 'keyPath' parameter
16 | @inlinable
17 | public static func build(from filter: EquatableFilter<Value>.Optional,
warning: Parameter 'keyPath' is missing documentation
--> Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:15:111-15:111
13 | /// Creates a closure `(Self) -> Bool` from a SequenceFilter
14 | ///
15 + /// - Parameter filter: An instance of SequenceFilter representing the logic of the resulting NSPredicate.
| ╰─suggestion: Document 'keyPath' parameter
16 | @inlinable
17 | public static func build(from filter: SequenceFilter<Value>.Optional,
warning: 'SequenceFilter\endsWith' doesn't exist at '/FilterClosure/Closure/build(from:on:)'
--> Sources/FilterClosure/Closure+SequencePredicate.swift:15:11-15:34
13 | /// Creates a closure `(Self) -> Bool` from a SequenceFilter
14 | ///
15 + /// ``SequenceFilter\endsWith`` is implemented by reversing the sequence and using `Sequence.starts(with:)`.
16 | ///
17 | /// - Parameter filter: An instance of SequenceFilter representing the logic of the resulting NSPredicate.
warning: Parameter 'keyPath' is missing documentation
--> Sources/FilterClosure/Closure+SequencePredicate.swift:17:111-17:111
15 | /// ``SequenceFilter\endsWith`` is implemented by reversing the sequence and using `Sequence.starts(with:)`.
16 | ///
17 + /// - Parameter filter: An instance of SequenceFilter representing the logic of the resulting NSPredicate.
| ╰─suggestion: Document 'keyPath' parameter
18 | @inlinable
19 | public static func build(from filter: SequenceFilter<Value>,
Finished building documentation for 'FilterClosure' (0.05s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/roanutil/swift-filter/main
Building for debugging...
[0/3] Write swift-version-2F0A5646E1D333AE.txt
Build of product 'snippet-extract' complete! (0.23s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/11] Compiling FilterClosure Closure.swift
[3/11] Compiling FilterClosure Closure+SequencePredicate.swift
[4/11] Compiling FilterClosure Closure+OptionalSequencePredicate.swift
[5/11] Compiling FilterClosure Closure+OptionalCollectionPredicate.swift
[6/11] Compiling FilterClosure Closure+OptionalEquatablePredicate.swift
[7/11] Compiling FilterClosure Closure+OptionalComparablePredicate.swift
[8/11] Compiling FilterClosure Closure+ComparablePredicate.swift
[9/11] Compiling FilterClosure Closure+CollectionPredicate.swift
[10/11] Compiling FilterClosure Closure+EquatablePredicate.swift
[11/11] Emitting module FilterClosure
Build of target: 'FilterClosure' complete! (1.04s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/roanutil/swift-filter/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/roanutil/swift-filter/main/linkable-paths.json
464
4 /Users/admin/builder/spi-builder-workspace/.docs/roanutil/swift-filter/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/roanutil/swift-filter/main
File count: 464
Doc size: 4.0MB
Preparing doc bundle ...
Uploading prod-roanutil-swift-filter-main-91b534c5.zip to s3://spi-docs-inbox/prod-roanutil-swift-filter-main-91b534c5.zip
Copying... [16%]
Copying... [24%]
Copying... [32%]
Copying... [40%]
Copying... [57%]
Copying... [65%]
Copying... [73%]
Copying... [81%]
Copying... [97%]
Copying... [100%]
Done.