Build Information
Successful build of swift-filter, reference 2.1.0 (dee814
), with Swift 6.0 for Linux on 4 Nov 2024 09:52:40 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/roanutil/swift-filter.git
Reference: 2.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/roanutil/swift-filter
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at dee8145 Merge pull request #5 from roanutil/sendable-closures
Cloned https://github.com/roanutil/swift-filter.git
Revision (git rev-parse @):
dee81459d5e6659422bb5f8de9bdf44f55eb18cb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/roanutil/swift-filter.git at 2.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/roanutil/swift-filter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling Filter OptionalAnyEquatablePredicate.swift
[5/14] Compiling Filter EquatablePredicate.swift
[6/14] Compiling Filter OptionalEquatablePredicate.swift
[7/14] Emitting module Filter
[8/14] Compiling Filter AnyComparablePredicate.swift
[9/14] Compiling Filter ComparableFilter.swift
[10/14] Compiling Filter EquatableFilter.swift
[11/14] Compiling Filter ComparablePredicate.swift
[12/14] Compiling Filter OptionalAnyComparablePredicate.swift
[13/14] Compiling Filter AnyEquatablePredicate.swift
[14/14] Compiling Filter OptionalComparablePredicate.swift
[16/25] Compiling FilterClosure SendableClosure+EquatablePredicate.swift
/host/spi-builder-workspace/Sources/FilterClosure/SendableClosure+EquatablePredicate.swift:21: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
19 | switch filter {
20 | case let .equalTo(requiredValue):
21 | 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
22 | case .none:
23 | return { _ in true }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[17/25] Compiling FilterClosure SendableClosure+OptionalComparablePredicate.swift
/host/spi-builder-workspace/Sources/FilterClosure/SendableClosure+OptionalComparablePredicate.swift:23:50: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | case let .orNil(subFilter):
22 | return { value in
23 | guard let value = value[keyPath: keyPath] else { return true }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Root, Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | return Closure<Value, Value>.build(from: subFilter)(value)
25 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/SendableClosure+OptionalComparablePredicate.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 | return Closure<Value, Value>.build(from: subFilter)(value)
30 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/SendableClosure+OptionalComparablePredicate.swift:32: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
30 | }
31 | case .isNil:
32 | 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
33 | }
34 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[18/25] Compiling FilterClosure SendableClosure+OptionalEquatablePredicate.swift
/host/spi-builder-workspace/Sources/FilterClosure/SendableClosure+OptionalEquatablePredicate.swift:22: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
20 | case let .orNil(subFilter):
21 | return { value in
22 | 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
23 | return Closure<Value, Value>.build(from: subFilter)(value)
24 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/SendableClosure+OptionalEquatablePredicate.swift:27: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
25 | case let .notNil(subFilter):
26 | return { value in
27 | 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
28 | return Closure<Value, Value>.build(from: subFilter)(value)
29 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/SendableClosure+OptionalEquatablePredicate.swift:31: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
29 | }
30 | case .isNil:
31 | 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
32 | }
33 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[19/26] Compiling FilterClosure Closure.swift
[20/26] Compiling FilterClosure Closure+OptionalComparablePredicate.swift
[21/26] Compiling FilterClosure Closure+OptionalEquatablePredicate.swift
[22/26] Compiling FilterClosure SendableClosure+ComparablePredicate.swift
/host/spi-builder-workspace/Sources/FilterClosure/SendableClosure+ComparablePredicate.swift:23: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
21 | switch filter {
22 | case let .lessThan(bound):
23 | 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
24 | case let .lessThanOrEqualTo(bound):
25 | return { $0[keyPath: keyPath] <= bound }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/SendableClosure+ComparablePredicate.swift:25: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
23 | return { $0[keyPath: keyPath] < bound }
24 | case let .lessThanOrEqualTo(bound):
25 | 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
26 | case let .greaterThan(bound):
27 | return { $0[keyPath: keyPath] > bound }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/SendableClosure+ComparablePredicate.swift:27: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
25 | return { $0[keyPath: keyPath] <= bound }
26 | case let .greaterThan(bound):
27 | 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
28 | case let .greaterThanOrEqualTo(bound):
29 | return { $0[keyPath: keyPath] >= bound }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/FilterClosure/SendableClosure+ComparablePredicate.swift:29: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
27 | return { $0[keyPath: keyPath] > bound }
28 | case let .greaterThanOrEqualTo(bound):
29 | 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
30 | case .none:
31 | return { _ in true }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[23/26] Emitting module FilterClosure
[24/26] Compiling FilterClosure Closure+ComparablePredicate.swift
[25/26] Compiling FilterClosure Closure+EquatablePredicate.swift
[26/26] Compiling FilterClosure SendableClosure.swift
Build complete! (14.66s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-filter",
"name" : "swift-filter",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Filter",
"targets" : [
"Filter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FilterClosure",
"targets" : [
"FilterClosure"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FilterClosureTests",
"module_type" : "SwiftTarget",
"name" : "FilterClosureTests",
"path" : "Tests/FilterClosureTests",
"sources" : [
"ComparableFilterClosureTests.swift",
"ComparableFilterSendableClosureTests.swift",
"EquatableFilterClosureTests.swift",
"EquatableFilterSendableClosureTests.swift"
],
"target_dependencies" : [
"FilterClosure"
],
"type" : "test"
},
{
"c99name" : "FilterClosure",
"module_type" : "SwiftTarget",
"name" : "FilterClosure",
"path" : "Sources/FilterClosure",
"product_memberships" : [
"FilterClosure"
],
"sources" : [
"Closure+ComparablePredicate.swift",
"Closure+EquatablePredicate.swift",
"Closure+OptionalComparablePredicate.swift",
"Closure+OptionalEquatablePredicate.swift",
"Closure.swift",
"SendableClosure+ComparablePredicate.swift",
"SendableClosure+EquatablePredicate.swift",
"SendableClosure+OptionalComparablePredicate.swift",
"SendableClosure+OptionalEquatablePredicate.swift",
"SendableClosure.swift"
],
"target_dependencies" : [
"Filter"
],
"type" : "library"
},
{
"c99name" : "Filter",
"module_type" : "SwiftTarget",
"name" : "Filter",
"path" : "Sources/Filter",
"product_memberships" : [
"Filter",
"FilterClosure"
],
"sources" : [
"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"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.