Build Information
Successful build of Future, reference master (ce95d1
), with Swift 6.0 for Linux on 8 Oct 2024 07:00:45 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/genius/future.git
Reference: master
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/genius/future
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ce95d1b Merge pull request #7 from Genius/feat-thread-delivery
Cloned https://github.com/genius/future.git
Revision (git rev-parse @):
ce95d1b39d88258266b9e4843c101c92479bdba7
SUCCESS checkout https://github.com/genius/future.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/genius/future.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:b1f5b321a5d74ef5eaf6f5f3afbfebaaa54c7954de6f859009c18a90e0e1c3b4
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling Future NoError.swift
[4/6] Emitting module Future
[5/6] Compiling Future Futures.swift
[6/6] Compiling Future Future.swift
/host/spi-builder-workspace/Sources/Future/Future.swift:130:24: warning: capture of 'block' with non-sendable type '(Future<T, E>.Value) -> Void' (aka '(T) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 | public func then(on: DispatchQueue, block: @escaping ((Value) -> Void)) -> Future<Value, Error> {
129 | return self.then { value in
130 | on.async { block(value) }
| |- warning: capture of 'block' with non-sendable type '(Future<T, E>.Value) -> Void' (aka '(T) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | }
132 | }
/host/spi-builder-workspace/Sources/Future/Future.swift:130:30: warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | */
22 |
23 | public final class Future<T: Any, E: Error> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | public typealias Value = T
25 | public typealias Error = E
:
128 | public func then(on: DispatchQueue, block: @escaping ((Value) -> Void)) -> Future<Value, Error> {
129 | return self.then { value in
130 | on.async { block(value) }
| `- warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 | }
132 | }
/host/spi-builder-workspace/Sources/Future/Future.swift:155:24: warning: capture of 'block' with non-sendable type '(Future<T, E>.Error) -> Void' (aka '(E) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 | public func `catch`(on: DispatchQueue, block: @escaping ((Error) -> Void)) -> Future<Value, Error> {
154 | return self.catch { error in
155 | on.async { block(error) }
| |- warning: capture of 'block' with non-sendable type '(Future<T, E>.Error) -> Void' (aka '(E) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | }
157 | }
/host/spi-builder-workspace/Sources/Future/Future.swift:195:35: warning: capture of 'block' with non-sendable type '(Future<T, E>.Resolver) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
193 | static func on(_ dispatchQueue: DispatchQueue, block: @escaping (Future<T, E>.Resolver) -> Void) -> Future<T, E> {
194 | return Future { resolver in
195 | dispatchQueue.async { block(resolver) }
| |- warning: capture of 'block' with non-sendable type '(Future<T, E>.Resolver) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
196 | }
197 | }
/host/spi-builder-workspace/Sources/Future/Future.swift:195:41: warning: capture of 'resolver' with non-sendable type 'Future<T, E>.Resolver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | */
35 |
36 | public final class Resolver {
| `- note: class 'Resolver' does not conform to the 'Sendable' protocol
37 | private(set) public var isResolved = false
38 | fileprivate var _future: Future<T, E>?
:
193 | static func on(_ dispatchQueue: DispatchQueue, block: @escaping (Future<T, E>.Resolver) -> Void) -> Future<T, E> {
194 | return Future { resolver in
195 | dispatchQueue.async { block(resolver) }
| `- warning: capture of 'resolver' with non-sendable type 'Future<T, E>.Resolver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
196 | }
197 | }
Build complete! (11.19s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Future",
"name" : "Future",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Future",
"targets" : [
"Future"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FutureTests",
"module_type" : "SwiftTarget",
"name" : "FutureTests",
"path" : "Tests/FutureTests",
"sources" : [
"FutureAllTests.swift",
"FutureAnyTests.swift",
"FutureFirstTests.swift",
"FutureTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Future"
],
"type" : "test"
},
{
"c99name" : "Future",
"module_type" : "SwiftTarget",
"name" : "Future",
"path" : "Sources/Future",
"product_memberships" : [
"Future"
],
"sources" : [
"Future.swift",
"Futures.swift",
"NoError.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:b1f5b321a5d74ef5eaf6f5f3afbfebaaa54c7954de6f859009c18a90e0e1c3b4
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.