Build Information
Successful build of Promissum, reference 7.1.0 (b4c19f), with Swift 6.1 for Android on 28 May 2025 04:50:17 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tomlokhorst/Promissum.git
Reference: 7.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/tomlokhorst/Promissum
* tag 7.1.0 -> FETCH_HEAD
HEAD is now at b4c19f4 7.1.0
Cloned https://github.com/tomlokhorst/Promissum.git
Revision (git rev-parse @):
b4c19f4b5e54bb95c131e635c26e3f6b9c34e87b
SUCCESS checkout https://github.com/tomlokhorst/Promissum.git at 7.1.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/tomlokhorst/Promissum.git
https://github.com/tomlokhorst/Promissum.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Promissum",
"name" : "Promissum",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "Promissum",
"targets" : [
"Promissum"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "PromissumTests",
"module_type" : "SwiftTarget",
"name" : "PromissumTests",
"path" : "Tests/PromissumTests",
"sources" : [
"AsyncAwaitTests.swift",
"CombinatorTests.swift",
"DispatchOnTests.swift",
"DispatchQueueTests.swift",
"DispatchSynchronousTests.swift",
"DispatchUnspecifiedTests.swift",
"HandlerTests.swift",
"InitialErrorTests.swift",
"InitialValueTests.swift",
"MultipleErrorTests.swift",
"MultipleValueTests.swift",
"ResolveRejectTests.swift",
"SideEffectOrderTests.swift",
"SourceErrorTests.swift",
"SourceResultTests.swift",
"SourceValueTests.swift",
"XCTestCase+Expectation.swift"
],
"target_dependencies" : [
"Promissum"
],
"type" : "test"
},
{
"c99name" : "Promissum",
"module_type" : "SwiftTarget",
"name" : "Promissum",
"path" : "Sources/Promissum",
"product_memberships" : [
"Promissum"
],
"sources" : [
"AsyncExtensions.swift",
"Combinators.swift",
"DispatchMethod.swift",
"Promise.swift",
"PromiseSource.swift",
"Result.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling Promissum Result.swift
[4/9] Compiling Promissum Promise.swift
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:487:18: warning: capture of 'result' with non-sendable type 'Result<Value, Error>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
90 |
91 | */
92 | public class Promise<Value, Error> where Error: Swift.Error {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
93 | private let source: PromiseSource<Value, Error>
94 |
:
485 |
486 | dispatchQueue.asyncAfter(deadline: .now() + seconds) {
487 | switch result {
| `- warning: capture of 'result' with non-sendable type 'Result<Value, Error>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
488 | case .success(let value):
489 | source.resolve(value)
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:489:13: warning: capture of 'source' with non-sendable type 'PromiseSource<Value, Error>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
487 | switch result {
488 | case .success(let value):
489 | source.resolve(value)
| `- warning: capture of 'source' with non-sendable type 'PromiseSource<Value, Error>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
490 | case .failure(let error):
491 | source.reject(error)
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:69:14: note: generic class 'PromiseSource' does not conform to the 'Sendable' protocol
67 |
68 | */
69 | public class PromiseSource<Value, Error> where Error: Swift.Error {
| `- note: generic class 'PromiseSource' does not conform to the 'Sendable' protocol
70 | internal let dispatchKey: DispatchSpecificKey<Void>
71 | internal let dispatchMethod: DispatchMethod
[5/9] Compiling Promissum DispatchMethod.swift
[6/9] Compiling Promissum Combinators.swift
[7/9] Emitting module Promissum
[8/9] Compiling Promissum AsyncExtensions.swift
/host/spi-builder-workspace/Sources/Promissum/AsyncExtensions.swift:19:24: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
17 | try await withUnsafeThrowingContinuation { continuation in
18 | self.finallyResult { result in
19 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
20 | }
21 | }
/host/spi-builder-workspace/Sources/Promissum/AsyncExtensions.swift:34:24: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
32 | await withUnsafeContinuation { continuation in
33 | self.finallyResult { result in
34 | continuation.resume(returning: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
35 | }
36 | }
/host/spi-builder-workspace/Sources/Promissum/AsyncExtensions.swift:61:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
59 |
60 | #if canImport(_Concurrency)
61 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
62 | do {
63 | let value = try await block()
| `- note: closure captures 'block' which is accessible to code in the current task
64 | source.resolve(value)
65 | } catch {
/host/spi-builder-workspace/Sources/Promissum/AsyncExtensions.swift:84:24: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
82 | await withUnsafeContinuation { continuation in
83 | self.finallyResult { result in
84 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
85 | }
86 | }
/host/spi-builder-workspace/Sources/Promissum/AsyncExtensions.swift:107:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
105 |
106 | #if canImport(_Concurrency)
107 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
108 | let value = await block()
| `- note: closure captures 'block' which is accessible to code in the current task
109 | source.resolve(value)
110 | }
[9/9] Compiling Promissum PromiseSource.swift
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:281:11: warning: capture of 'handler' with non-sendable type '(T) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
279 | else {
280 | targetQueue.async {
281 | handler(value)
| |- warning: capture of 'handler' with non-sendable type '(T) -> 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'
282 | }
283 | }
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:281:19: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
251 | }
252 |
253 | internal func callHandlers<T>(_ handlers: [(T) -> Void], with value: T, dispatchKey: DispatchSpecificKey<Void>, dispatchMethod: DispatchMethod) {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
254 |
255 | for handler in handlers {
:
279 | else {
280 | targetQueue.async {
281 | handler(value)
| `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
282 | }
283 | }
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:265:11: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
263 | else {
264 | DispatchQueue.main.async {
265 | handler(value)
| |- warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'handler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
266 | }
267 | }
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:265:19: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
263 | else {
264 | DispatchQueue.main.async {
265 | handler(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
266 | }
267 | }
Build complete! (10.41s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Promissum",
"name" : "Promissum",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "Promissum",
"targets" : [
"Promissum"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "PromissumTests",
"module_type" : "SwiftTarget",
"name" : "PromissumTests",
"path" : "Tests/PromissumTests",
"sources" : [
"AsyncAwaitTests.swift",
"CombinatorTests.swift",
"DispatchOnTests.swift",
"DispatchQueueTests.swift",
"DispatchSynchronousTests.swift",
"DispatchUnspecifiedTests.swift",
"HandlerTests.swift",
"InitialErrorTests.swift",
"InitialValueTests.swift",
"MultipleErrorTests.swift",
"MultipleValueTests.swift",
"ResolveRejectTests.swift",
"SideEffectOrderTests.swift",
"SourceErrorTests.swift",
"SourceResultTests.swift",
"SourceValueTests.swift",
"XCTestCase+Expectation.swift"
],
"target_dependencies" : [
"Promissum"
],
"type" : "test"
},
{
"c99name" : "Promissum",
"module_type" : "SwiftTarget",
"name" : "Promissum",
"path" : "Sources/Promissum",
"product_memberships" : [
"Promissum"
],
"sources" : [
"AsyncExtensions.swift",
"Combinators.swift",
"DispatchMethod.swift",
"Promise.swift",
"PromiseSource.swift",
"Result.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.