The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of BrightFutures, reference 8.2.0 (fa66fa), with Swift 6.2 (beta) for Android on 19 Jun 2025 13:55:42 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Thomvis/BrightFutures.git
Reference: 8.2.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/Thomvis/BrightFutures
 * tag               8.2.0      -> FETCH_HEAD
HEAD is now at fa66fa1 Announce EOL
Cloned https://github.com/Thomvis/BrightFutures.git
Revision (git rev-parse @):
fa66fa183dce7196d431244d0215748cd14c5758
SUCCESS checkout https://github.com/Thomvis/BrightFutures.git at 8.2.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Thomvis/BrightFutures.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/18] Compiling BrightFutures Errors.swift
/host/spi-builder-workspace/Sources/BrightFutures/ExecutionContext.swift:60:47: warning: passing non-sendable parameter 'task' to function expecting a '@Sendable' closure
42 |
43 | /// From https://github.com/BoltsFramework/Bolts-Swift/blob/5fe4df7acb384a93ad93e8595d42e2b431fdc266/Sources/BoltsSwift/Executor.swift#L56
44 | public let maxStackDepthExecutionContext: ExecutionContext = { task in
   |                                                                `- note: parameter 'task' is implicitly non-sendable
45 |     struct Static {
46 |         static let taskDepthKey = "nl.thomvis.BrightFutures"
   :
58 |
59 |     if previousDepth > Static.maxTaskDepth {
60 |         DispatchQueue.global().async(execute: task)
   |                                               `- warning: passing non-sendable parameter 'task' to function expecting a '@Sendable' closure
61 |     } else {
62 |         localThreadDictionary[Static.taskDepthKey] = previousDepth + 1
[4/18] Compiling BrightFutures ExecutionContext.swift
/host/spi-builder-workspace/Sources/BrightFutures/ExecutionContext.swift:60:47: warning: passing non-sendable parameter 'task' to function expecting a '@Sendable' closure
42 |
43 | /// From https://github.com/BoltsFramework/Bolts-Swift/blob/5fe4df7acb384a93ad93e8595d42e2b431fdc266/Sources/BoltsSwift/Executor.swift#L56
44 | public let maxStackDepthExecutionContext: ExecutionContext = { task in
   |                                                                `- note: parameter 'task' is implicitly non-sendable
45 |     struct Static {
46 |         static let taskDepthKey = "nl.thomvis.BrightFutures"
   :
58 |
59 |     if previousDepth > Static.maxTaskDepth {
60 |         DispatchQueue.global().async(execute: task)
   |                                               `- warning: passing non-sendable parameter 'task' to function expecting a '@Sendable' closure
61 |     } else {
62 |         localThreadDictionary[Static.taskDepthKey] = previousDepth + 1
[5/18] Compiling BrightFutures MutableAsyncType+ResultType.swift
[6/18] Compiling BrightFutures MutableAsyncType.swift
[7/20] Compiling BrightFutures NSOperationQueue+BrightFutures.swift
/host/spi-builder-workspace/Sources/BrightFutures/NSOperationQueue+BrightFutures.swift:16:54: warning: passing non-sendable parameter 'task' to function expecting a '@Sendable' closure
13 |     /// Tasks added to the execution context are executed as operations on the queue.
14 |     var context: ExecutionContext {
15 |         return { [weak self] task in
   |                              `- note: parameter 'task' is implicitly non-sendable
16 |             self?.addOperation(BlockOperation(block: task))
   |                                                      `- warning: passing non-sendable parameter 'task' to function expecting a '@Sendable' closure
17 |         }
18 |     }
[8/20] Compiling BrightFutures Promise.swift
/host/spi-builder-workspace/Sources/BrightFutures/NSOperationQueue+BrightFutures.swift:16:54: warning: passing non-sendable parameter 'task' to function expecting a '@Sendable' closure
13 |     /// Tasks added to the execution context are executed as operations on the queue.
14 |     var context: ExecutionContext {
15 |         return { [weak self] task in
   |                              `- note: parameter 'task' is implicitly non-sendable
16 |             self?.addOperation(BlockOperation(block: task))
   |                                                      `- warning: passing non-sendable parameter 'task' to function expecting a '@Sendable' closure
17 |         }
18 |     }
[9/20] Compiling BrightFutures AsyncType.swift
/host/spi-builder-workspace/Sources/BrightFutures/AsyncType.swift:73:23: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 71 |     /// queue.
 72 |     func delay(_ queue: DispatchQueue, interval: DispatchTimeInterval) -> Self {
 73 |         return Self { complete in
    |                       `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 74 |             onComplete(immediateExecutionContext) { result in
 75 |                 queue.asyncAfter(deadline: DispatchTime.now() + interval) {
/host/spi-builder-workspace/Sources/BrightFutures/Dispatch+BrightFutures.swift:14:33: warning: passing non-sendable parameter 'task' to function expecting a '@Sendable' closure
11 | public extension DispatchQueue {
12 |     var context: ExecutionContext {
13 |         return { task in
   |                  `- note: parameter 'task' is implicitly non-sendable
14 |             self.async(execute: task)
   |                                 `- warning: passing non-sendable parameter 'task' to function expecting a '@Sendable' closure
15 |         }
16 |     }
[10/20] Compiling BrightFutures Dispatch+BrightFutures.swift
/host/spi-builder-workspace/Sources/BrightFutures/AsyncType.swift:73:23: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 71 |     /// queue.
 72 |     func delay(_ queue: DispatchQueue, interval: DispatchTimeInterval) -> Self {
 73 |         return Self { complete in
    |                       `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 74 |             onComplete(immediateExecutionContext) { result in
 75 |                 queue.asyncAfter(deadline: DispatchTime.now() + interval) {
/host/spi-builder-workspace/Sources/BrightFutures/Dispatch+BrightFutures.swift:14:33: warning: passing non-sendable parameter 'task' to function expecting a '@Sendable' closure
11 | public extension DispatchQueue {
12 |     var context: ExecutionContext {
13 |         return { task in
   |                  `- note: parameter 'task' is implicitly non-sendable
14 |             self.async(execute: task)
   |                                 `- warning: passing non-sendable parameter 'task' to function expecting a '@Sendable' closure
15 |         }
16 |     }
[11/20] Emitting module BrightFutures
/host/spi-builder-workspace/Sources/BrightFutures/ExecutionContext.swift:60:47: warning: passing non-sendable parameter 'task' to function expecting a '@Sendable' closure
42 |
43 | /// From https://github.com/BoltsFramework/Bolts-Swift/blob/5fe4df7acb384a93ad93e8595d42e2b431fdc266/Sources/BoltsSwift/Executor.swift#L56
44 | public let maxStackDepthExecutionContext: ExecutionContext = { task in
   |                                                                `- note: parameter 'task' is implicitly non-sendable
45 |     struct Static {
46 |         static let taskDepthKey = "nl.thomvis.BrightFutures"
   :
58 |
59 |     if previousDepth > Static.maxTaskDepth {
60 |         DispatchQueue.global().async(execute: task)
   |                                               `- warning: passing non-sendable parameter 'task' to function expecting a '@Sendable' closure
61 |     } else {
62 |         localThreadDictionary[Static.taskDepthKey] = previousDepth + 1
[12/20] Compiling BrightFutures Result+BrightFutures.swift
[13/20] Compiling BrightFutures ResultProtocol.swift
[14/20] Compiling BrightFutures Future.swift
[15/20] Compiling BrightFutures InvalidationToken.swift
[16/20] Compiling BrightFutures Async.swift
[17/20] Compiling BrightFutures AsyncType+Debug.swift
[18/20] Compiling BrightFutures AsyncType+ResultType.swift
[19/20] Compiling BrightFutures SequenceType+BrightFutures.swift
[20/20] Compiling BrightFutures SwiftConcurrency+BrightFutures.swift
Build complete! (23.20s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BrightFutures",
  "name" : "BrightFutures",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BrightFutures",
      "targets" : [
        "BrightFutures"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BrightFuturesTests",
      "module_type" : "SwiftTarget",
      "name" : "BrightFuturesTests",
      "path" : "Tests/BrightFuturesTests",
      "sources" : [
        "BrightFuturesTests.swift",
        "ErrorsTests.swift",
        "ExecutionContextTests.swift",
        "FutureDebugTests.swift",
        "InvalidationTokenTests.swift",
        "NSOperationQueueTests.swift",
        "Number+BrightFutures.swift",
        "PromiseTests.swift",
        "QueueTests.swift",
        "ResultTests.swift",
        "SwiftConcurrencyTests.swift"
      ],
      "target_dependencies" : [
        "BrightFutures"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BrightFutures",
      "module_type" : "SwiftTarget",
      "name" : "BrightFutures",
      "path" : "Sources/BrightFutures",
      "product_memberships" : [
        "BrightFutures"
      ],
      "sources" : [
        "Async.swift",
        "AsyncType+Debug.swift",
        "AsyncType+ResultType.swift",
        "AsyncType.swift",
        "Dispatch+BrightFutures.swift",
        "Errors.swift",
        "ExecutionContext.swift",
        "Future.swift",
        "InvalidationToken.swift",
        "MutableAsyncType+ResultType.swift",
        "MutableAsyncType.swift",
        "NSOperationQueue+BrightFutures.swift",
        "Promise.swift",
        "Result+BrightFutures.swift",
        "ResultProtocol.swift",
        "SequenceType+BrightFutures.swift",
        "SwiftConcurrency+BrightFutures.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Done.