The Swift Package Index logo.Swift Package Index

Build Information

Successful build of PinkyPromise, reference develop (e83a90), with Swift 6.1 for Android on 28 May 2025 12:34:10 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: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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/willowtreeapps/PinkyPromise.git
Reference: develop
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/willowtreeapps/PinkyPromise
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at e83a909 Starting the nostalgia timer. Thank you!
Cloned https://github.com/willowtreeapps/PinkyPromise.git
Revision (git rev-parse @):
e83a909168a3f67450500bb7c538efa93d6f6925
SUCCESS checkout https://github.com/willowtreeapps/PinkyPromise.git at develop
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/willowtreeapps/PinkyPromise.git
https://github.com/willowtreeapps/PinkyPromise.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PinkyPromise",
  "name" : "PinkyPromise",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PinkyPromise",
      "targets" : [
        "PinkyPromise"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PinkyPromiseTests",
      "module_type" : "SwiftTarget",
      "name" : "PinkyPromiseTests",
      "path" : "Tests",
      "sources" : [
        "PinkyPromiseTests/PromiseQueueTest.swift",
        "PinkyPromiseTests/PromiseTest.swift",
        "PinkyPromiseTests/ResultTest.swift",
        "PinkyPromiseTests/TestHelpers.swift"
      ],
      "target_dependencies" : [
        "PinkyPromise"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PinkyPromise",
      "module_type" : "SwiftTarget",
      "name" : "PinkyPromise",
      "path" : "Sources",
      "product_memberships" : [
        "PinkyPromise"
      ],
      "sources" : [
        "Promise.swift",
        "PromiseQueue.swift",
        "Result.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/6] Compiling PinkyPromise Result.swift
[4/6] Compiling PinkyPromise Promise.swift
/host/spi-builder-workspace/Sources/Promise.swift:218:17: warning: capture of 'self' with non-sendable type 'Promise<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 47 |  - In `call`'s completion, interpret a Result by switching on its cases, or call `value` to unwrap it and have failures thrown.
 48 |  */
 49 | public struct Promise<Value> {
    |               `- note: consider making generic struct 'Promise' conform to the 'Sendable' protocol
 50 |
 51 |     /// A completion function for the task wrapped by a promise.
    :
216 |         return Promise { fulfill in
217 |             DispatchQueue.global().async {
218 |                 self.call { result in
    |                 `- warning: capture of 'self' with non-sendable type 'Promise<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
219 |                     DispatchQueue.main.async {
220 |                         fulfill(result)
/host/spi-builder-workspace/Sources/Promise.swift:220:25: warning: capture of 'fulfill' with non-sendable type '(Result<Value, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
218 |                 self.call { result in
219 |                     DispatchQueue.main.async {
220 |                         fulfill(result)
    |                         |- warning: capture of 'fulfill' with non-sendable type '(Result<Value, any Error>) -> 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'
221 |                     }
222 |                 }
/host/spi-builder-workspace/Sources/Promise.swift:220:25: warning: capture of 'fulfill' with non-sendable type '(Result<Value, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
218 |                 self.call { result in
219 |                     DispatchQueue.main.async {
220 |                         fulfill(result)
    |                         |- warning: capture of 'fulfill' with non-sendable type '(Result<Value, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
221 |                     }
222 |                 }
/host/spi-builder-workspace/Sources/Promise.swift:220:25: warning: sending 'fulfill' risks causing data races; this is an error in the Swift 6 language mode
218 |                 self.call { result in
219 |                     DispatchQueue.main.async {
220 |                         fulfill(result)
    |                         |- warning: sending 'fulfill' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'fulfill' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
221 |                     }
222 |                 }
/host/spi-builder-workspace/Sources/Promise.swift:220:33: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
218 |                 self.call { result in
219 |                     DispatchQueue.main.async {
220 |                         fulfill(result)
    |                                 |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
221 |                     }
222 |                 }
[5/6] Emitting module PinkyPromise
[6/6] Compiling PinkyPromise PromiseQueue.swift
Build complete! (10.75s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PinkyPromise",
  "name" : "PinkyPromise",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PinkyPromise",
      "targets" : [
        "PinkyPromise"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PinkyPromiseTests",
      "module_type" : "SwiftTarget",
      "name" : "PinkyPromiseTests",
      "path" : "Tests",
      "sources" : [
        "PinkyPromiseTests/PromiseQueueTest.swift",
        "PinkyPromiseTests/PromiseTest.swift",
        "PinkyPromiseTests/ResultTest.swift",
        "PinkyPromiseTests/TestHelpers.swift"
      ],
      "target_dependencies" : [
        "PinkyPromise"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PinkyPromise",
      "module_type" : "SwiftTarget",
      "name" : "PinkyPromise",
      "path" : "Sources",
      "product_memberships" : [
        "PinkyPromise"
      ],
      "sources" : [
        "Promise.swift",
        "PromiseQueue.swift",
        "Result.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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.