Build Information
Successful build of swift-filter, reference main (662d7e
), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 05:12:46 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/roanutil/swift-filter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-1EA4D86E10B52AF.txt
[5/23] Compiling Filter OptionalAnySequencePredicate.swift
[6/23] Compiling Filter OptionalSequencePredicate.swift
[7/23] Compiling Filter OptionalEquatablePredicate.swift
[8/23] Compiling Filter AnySequencePredicate.swift
[9/23] Compiling Filter EquatablePredicate.swift
[10/23] Compiling Filter OptionalAnyEquatablePredicate.swift
[11/23] Compiling Filter OptionalAnyComparablePredicate.swift
[12/23] Compiling Filter OptionalComparablePredicate.swift
[13/23] Compiling Filter AnyEquatablePredicate.swift
[14/23] Compiling Filter EquatableFilter.swift
[15/25] Compiling Filter OptionalCollectionPredicate.swift
[16/25] Compiling Filter AnyComparablePredicate.swift
[17/25] Compiling Filter AnyCollectionPredicate.swift
[18/25] Compiling Filter CollectionFilter.swift
[19/25] Compiling Filter CollectionPredicate.swift
[20/25] Compiling Filter OptionalAnyCollectionPredicate.swift
[21/25] Compiling Filter ComparableFilter.swift
[22/25] Compiling Filter ComparablePredicate.swift
[23/25] Emitting module Filter
[24/25] Compiling Filter SequenceFilter.swift
[25/25] Compiling Filter SequencePredicate.swift
[26/47] Compiling FilterClosure Closure.swift
[27/47] Compiling FilterClosure Closure+SequencePredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+SequencePredicate.swift:24:43: warning: capture of non-sendable type 'Value.Element.Type' in an isolated 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 non-sendable type 'Value.Element.Type' in an isolated 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)
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+SequencePredicate.swift:24:24: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated 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)
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+SequencePredicate.swift:20:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 | @inlinable
19 | public static func build(from filter: SequenceFilter<Value>,
20 | on keyPath: KeyPath<Root, Value>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
21 | {
22 | switch filter {
[28/47] Compiling FilterNSPredicate NSPredicate+OptionalAnyEquatablePredicate.swift
[29/47] Compiling FilterNSPredicate NSPredicate+OptionalAnyComparablePredicate.swift
[30/48] Compiling FilterNSPredicate NSPredicate+OptionalAnyCollectionPredicate.swift
[31/48] Compiling FilterClosure Closure+OptionalSequencePredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:23:40: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
24 | return Closure<Value, Value>.build(from: subFilter)(value)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: SequenceFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:28:40: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 | if let subFilter {
30 | return Closure<Value, Value>.build(from: subFilter)(value)
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: SequenceFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:35:43: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | }
34 | case .isNil:
35 | return { $0[keyPath: keyPath] == nil }
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | }
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: SequenceFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
[32/48] Compiling FilterClosure Closure+OptionalEquatablePredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:23:40: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
24 | return Closure<Value, Value>.build(from: subFilter)(value)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: EquatableFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:28:40: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 | if let subFilter {
30 | return Closure<Value, Value>.build(from: subFilter)(value)
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: EquatableFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:35:43: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | }
34 | case .isNil:
35 | return { $0[keyPath: keyPath] == nil }
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | }
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: EquatableFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
[33/48] Compiling FilterClosure Closure+OptionalComparablePredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:24:40: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | return Closure<Value, Value>.build(from: subFilter)(value)
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:19:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 | @inlinable
18 | public static func build(from filter: ComparableFilter<Value>.Optional,
19 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 | {
21 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:29:40: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | if let subFilter {
31 | return Closure<Value, Value>.build(from: subFilter)(value)
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:19:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 | @inlinable
18 | public static func build(from filter: ComparableFilter<Value>.Optional,
19 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 | {
21 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:36:43: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | }
35 | case .isNil:
36 | return { $0[keyPath: keyPath] == nil }
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | }
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:19:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 | @inlinable
18 | public static func build(from filter: ComparableFilter<Value>.Optional,
19 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 | {
21 | switch filter {
[34/48] Compiling FilterClosure Closure+EquatablePredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+EquatablePredicate.swift:22:43: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated 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+EquatablePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: EquatableFilter<Value>,
18 | on keyPath: KeyPath<Root, Value>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
[35/48] Compiling FilterClosure Closure+ComparablePredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:22:43: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated 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+ComparablePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: ComparableFilter<Value>,
18 | on keyPath: KeyPath<Root, Value>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:24:43: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated 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+ComparablePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: ComparableFilter<Value>,
18 | on keyPath: KeyPath<Root, Value>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:26:43: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated 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+ComparablePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: ComparableFilter<Value>,
18 | on keyPath: KeyPath<Root, Value>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:28:43: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated 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+ComparablePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: ComparableFilter<Value>,
18 | on keyPath: KeyPath<Root, Value>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
[36/48] Compiling FilterClosure Closure+OptionalCollectionPredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:23:40: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
24 | return Closure<Value, Value>.build(from: subFilter)(value)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: CollectionFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:28:40: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 | if let subFilter {
30 | return Closure<Value, Value>.build(from: subFilter)(value)
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: CollectionFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:35:43: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | }
34 | case .isNil:
35 | return { $0[keyPath: keyPath] == nil }
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | }
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: CollectionFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
[37/48] Compiling FilterNSPredicate NSPredicate+CompoundOperators.swift
[38/48] Compiling FilterNSPredicate NSPredicate+AnySequencePredicate.swift
[39/48] Compiling FilterNSPredicate NSPredicate+AnyComparablePredicate.swift
[40/48] Compiling FilterNSPredicate NSPredicate+AnyEquatablePredicate.swift
[41/48] Compiling FilterClosure Closure+CollectionPredicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:26:33: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated 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+CollectionPredicate.swift:24:24: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 | {
23 | switch filter {
24 | case let .isIn(values):
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | if #available(iOS 16, macOS 13, watchOS 9, tvOS 16, macCatalyst 16, *) {
26 | return { values.contains($0[keyPath: keyPath]) }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:28:47: warning: capture of non-sendable type 'Value.Element.Type' 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 non-sendable type 'Value.Element.Type' 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+CollectionPredicate.swift:28:28: warning: capture of non-sendable type 'Value.Type' 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 non-sendable type 'Value.Type' 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+CollectionPredicate.swift:21:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | @inlinable
20 | public static func build(from filter: CollectionFilter<Value>,
21 | on keyPath: KeyPath<Root, Value>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 | {
23 | switch filter {
[42/48] Emitting module FilterClosure
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:26:33: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated 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+CollectionPredicate.swift:24:24: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 | {
23 | switch filter {
24 | case let .isIn(values):
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | if #available(iOS 16, macOS 13, watchOS 9, tvOS 16, macCatalyst 16, *) {
26 | return { values.contains($0[keyPath: keyPath]) }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+CollectionPredicate.swift:28:47: warning: capture of non-sendable type 'Value.Element.Type' 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 non-sendable type 'Value.Element.Type' 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+CollectionPredicate.swift:28:28: warning: capture of non-sendable type 'Value.Type' 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 non-sendable type 'Value.Type' 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+CollectionPredicate.swift:21:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | @inlinable
20 | public static func build(from filter: CollectionFilter<Value>,
21 | on keyPath: KeyPath<Root, Value>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 | {
23 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:22:43: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated 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+ComparablePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: ComparableFilter<Value>,
18 | on keyPath: KeyPath<Root, Value>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:24:43: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated 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+ComparablePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: ComparableFilter<Value>,
18 | on keyPath: KeyPath<Root, Value>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:26:43: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated 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+ComparablePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: ComparableFilter<Value>,
18 | on keyPath: KeyPath<Root, Value>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+ComparablePredicate.swift:28:43: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated 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+ComparablePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: ComparableFilter<Value>,
18 | on keyPath: KeyPath<Root, Value>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+EquatablePredicate.swift:22:43: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated 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+EquatablePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: EquatableFilter<Value>,
18 | on keyPath: KeyPath<Root, Value>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:23:40: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
24 | return Closure<Value, Value>.build(from: subFilter)(value)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: CollectionFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:28:40: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 | if let subFilter {
30 | return Closure<Value, Value>.build(from: subFilter)(value)
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: CollectionFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:35:43: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | }
34 | case .isNil:
35 | return { $0[keyPath: keyPath] == nil }
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | }
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalCollectionPredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: CollectionFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:24:40: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | return Closure<Value, Value>.build(from: subFilter)(value)
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:19:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 | @inlinable
18 | public static func build(from filter: ComparableFilter<Value>.Optional,
19 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 | {
21 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:29:40: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
30 | if let subFilter {
31 | return Closure<Value, Value>.build(from: subFilter)(value)
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:19:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 | @inlinable
18 | public static func build(from filter: ComparableFilter<Value>.Optional,
19 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 | {
21 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:36:43: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | }
35 | case .isNil:
36 | return { $0[keyPath: keyPath] == nil }
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | }
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalComparablePredicate.swift:19:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 | @inlinable
18 | public static func build(from filter: ComparableFilter<Value>.Optional,
19 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 | {
21 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:23:40: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
24 | return Closure<Value, Value>.build(from: subFilter)(value)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: EquatableFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:28:40: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 | if let subFilter {
30 | return Closure<Value, Value>.build(from: subFilter)(value)
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: EquatableFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:35:43: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | }
34 | case .isNil:
35 | return { $0[keyPath: keyPath] == nil }
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | }
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalEquatablePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: EquatableFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:23:40: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
24 | return Closure<Value, Value>.build(from: subFilter)(value)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: SequenceFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:28:40: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 | if let subFilter {
30 | return Closure<Value, Value>.build(from: subFilter)(value)
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: SequenceFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:35:43: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 | }
34 | case .isNil:
35 | return { $0[keyPath: keyPath] == nil }
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | }
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+OptionalSequencePredicate.swift:18:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 | @inlinable
17 | public static func build(from filter: SequenceFilter<Value>.Optional,
18 | on keyPath: KeyPath<Root, Value?>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 | {
20 | switch filter {
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+SequencePredicate.swift:24:43: warning: capture of non-sendable type 'Value.Element.Type' in an isolated 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 non-sendable type 'Value.Element.Type' in an isolated 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)
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+SequencePredicate.swift:24:24: warning: capture of non-sendable type 'Value.Type' in an isolated 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 non-sendable type 'Value.Type' in an isolated 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)
/Users/admin/builder/spi-builder-workspace/Sources/FilterClosure/Closure+SequencePredicate.swift:20:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 | @inlinable
19 | public static func build(from filter: SequenceFilter<Value>,
20 | on keyPath: KeyPath<Root, Value>) -> (@Sendable (Root) -> Bool)
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
21 | {
22 | switch filter {
[43/48] Compiling FilterNSPredicate NSExpression+ComparableOperators.swift
[44/48] Compiling FilterNSPredicate NSExpression+EquatableOperators.swift
[45/48] Emitting module FilterNSPredicate
[46/48] Compiling FilterNSPredicate NSExpression+SequenceOperators.swift
[47/48] Compiling FilterNSPredicate NSPredicate+AnyCollectionPredicate.swift
[48/48] Compiling FilterNSPredicate NSPredicate+OptionalAnySequencePredicate.swift
Build complete! (7.97s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-filter",
"name" : "swift-filter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Filter",
"targets" : [
"Filter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FilterClosure",
"targets" : [
"FilterClosure"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FilterNSPredicate",
"targets" : [
"FilterNSPredicate"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FilterNSPredicateTests",
"module_type" : "SwiftTarget",
"name" : "FilterNSPredicateTests",
"path" : "Tests/FilterNSPredicateTests",
"sources" : [
"CollectionFilterNSPredicateTests.swift",
"ComparableFilterNSPredicateTests.swift",
"EquatableFilterNSPredicateTests.swift",
"NSPredicate+ClosureHelper.swift",
"SequenceFilterNSPredicateTests.swift"
],
"target_dependencies" : [
"FilterNSPredicate"
],
"type" : "test"
},
{
"c99name" : "FilterNSPredicate",
"module_type" : "SwiftTarget",
"name" : "FilterNSPredicate",
"path" : "Sources/FilterNSPredicate",
"product_memberships" : [
"FilterNSPredicate"
],
"sources" : [
"NSExpression+ComparableOperators.swift",
"NSExpression+EquatableOperators.swift",
"NSExpression+SequenceOperators.swift",
"NSPredicate+AnyCollectionPredicate.swift",
"NSPredicate+AnyComparablePredicate.swift",
"NSPredicate+AnyEquatablePredicate.swift",
"NSPredicate+AnySequencePredicate.swift",
"NSPredicate+CompoundOperators.swift",
"NSPredicate+OptionalAnyCollectionPredicate.swift",
"NSPredicate+OptionalAnyComparablePredicate.swift",
"NSPredicate+OptionalAnyEquatablePredicate.swift",
"NSPredicate+OptionalAnySequencePredicate.swift"
],
"target_dependencies" : [
"Filter"
],
"type" : "library"
},
{
"c99name" : "FilterClosureTests",
"module_type" : "SwiftTarget",
"name" : "FilterClosureTests",
"path" : "Tests/FilterClosureTests",
"sources" : [
"CollectionFilterClosureTests.swift",
"ComparableFilterClosureTests.swift",
"EquatableFilterClosureTests.swift",
"SequenceFilterClosureTests.swift"
],
"target_dependencies" : [
"FilterClosure"
],
"type" : "test"
},
{
"c99name" : "FilterClosure",
"module_type" : "SwiftTarget",
"name" : "FilterClosure",
"path" : "Sources/FilterClosure",
"product_memberships" : [
"FilterClosure"
],
"sources" : [
"Closure+CollectionPredicate.swift",
"Closure+ComparablePredicate.swift",
"Closure+EquatablePredicate.swift",
"Closure+OptionalCollectionPredicate.swift",
"Closure+OptionalComparablePredicate.swift",
"Closure+OptionalEquatablePredicate.swift",
"Closure+OptionalSequencePredicate.swift",
"Closure+SequencePredicate.swift",
"Closure.swift"
],
"target_dependencies" : [
"Filter"
],
"type" : "library"
},
{
"c99name" : "Filter",
"module_type" : "SwiftTarget",
"name" : "Filter",
"path" : "Sources/Filter",
"product_memberships" : [
"Filter",
"FilterClosure",
"FilterNSPredicate"
],
"sources" : [
"Collection/AnyCollectionPredicate.swift",
"Collection/CollectionFilter.swift",
"Collection/CollectionPredicate.swift",
"Collection/OptionalAnyCollectionPredicate.swift",
"Collection/OptionalCollectionPredicate.swift",
"Comparable/AnyComparablePredicate.swift",
"Comparable/ComparableFilter.swift",
"Comparable/ComparablePredicate.swift",
"Comparable/OptionalAnyComparablePredicate.swift",
"Comparable/OptionalComparablePredicate.swift",
"Equatable/AnyEquatablePredicate.swift",
"Equatable/EquatableFilter.swift",
"Equatable/EquatablePredicate.swift",
"Equatable/OptionalAnyEquatablePredicate.swift",
"Equatable/OptionalEquatablePredicate.swift",
"Sequence/AnySequencePredicate.swift",
"Sequence/OptionalAnySequencePredicate.swift",
"Sequence/OptionalSequencePredicate.swift",
"Sequence/SequenceFilter.swift",
"Sequence/SequencePredicate.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.