The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Then, reference master (709112), with Swift 6.3 for Linux on 21 Apr 2026 15:24:51 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/freshOS/then.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/freshOS/then
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 709112d Bumps to swift 5.9
Cloned https://github.com/freshOS/then.git
Revision (git rev-parse @):
709112d17ac9f61060b28c86d61d3f0f9b66c08a
SUCCESS checkout https://github.com/freshOS/then.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/freshOS/then.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[1/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/30] Emitting module Then
[5/33] Compiling Then Promise+Finally.swift
[6/33] Compiling Then Promise+First.swift
[7/33] Compiling Then Promise+Helpers.swift
[8/33] Compiling Then Promise+NoMatterWhat.swift
[9/33] Compiling Then Async.swift
[10/33] Compiling Then Await+Operators.swift
[11/33] Compiling Then Await.swift
[12/33] Compiling Then Promise+Aliases.swift
[13/33] Compiling Then Promise+Then.swift
[14/33] Compiling Then Promise+Timeout.swift
[15/33] Compiling Then Promise+Unwrap.swift
[16/33] Compiling Then Promise+Validate.swift
[17/33] Compiling Then Promise+Progress.swift
[18/33] Compiling Then Promise+Race.swift
[19/33] Compiling Then Promise+Recover.swift
[20/33] Compiling Then Promise+Retry.swift
[21/33] Compiling Then VoidPromise.swift
[22/33] Compiling Then WhenAll.swift
[23/33] Compiling Then resource_bundle_accessor.swift
[24/33] Compiling Then Promise+Zip.swift
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:34:21: warning: mutation of captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 32 |             p1.then { aT in
 33 |                 localQueue.async(flags: .barrier) {
 34 |                     t = aT
    |                     `- warning: mutation of captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 35 |                 }
 36 |                 }.onError { e in
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:38:25: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 36 |                 }.onError { e in
 37 |                     localQueue.async(flags: .barrier) {
 38 |                         error = e
    |                         `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 39 |                     }
 40 |                 }.finally {
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:51:21: warning: mutation of captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 49 |             p2.then { aU in
 50 |                 localQueue.async(flags: .barrier) {
 51 |                     u = aU
    |                     `- warning: mutation of captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 52 |                 }
 53 |                 }.onError { e in
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:55:25: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 53 |                 }.onError { e in
 54 |                     localQueue.async(flags: .barrier) {
 55 |                         error = e
    |                         `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 56 |                     }
 57 |                 }.finally {
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:68:28: warning: reference to captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 66 |         group.notify(queue: queue) {
 67 |             localQueue.async {
 68 |                 if let e = error {
    |                            `- warning: reference to captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 69 |                     p.reject(e)
 70 |                 } else {
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:71:32: warning: reference to captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 69 |                     p.reject(e)
 70 |                 } else {
 71 |                     p.fulfill((t, u))
    |                                `- warning: reference to captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 72 |                 }
 73 |             }
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:71:35: warning: reference to captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 69 |                     p.reject(e)
 70 |                 } else {
 71 |                     p.fulfill((t, u))
    |                                   `- warning: reference to captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 72 |                 }
 73 |             }
/host/spi-builder-workspace/Sources/Then/Promise.swift:60:34: warning: passing non-Sendable parameter 'action' to function expecting a '@Sendable' closure
 57 |     }
 58 |
 59 |     private func _asynchronize(_ action: @escaping () -> Void) {
    |                                  `- note: parameter 'action' is implicitly non-Sendable
 60 |         lockQueue.async(execute: action)
    |                                  `- warning: passing non-Sendable parameter 'action' to function expecting a '@Sendable' closure
 61 |     }
 62 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[25/33] Compiling Then Promise+nil.swift
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:34:21: warning: mutation of captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 32 |             p1.then { aT in
 33 |                 localQueue.async(flags: .barrier) {
 34 |                     t = aT
    |                     `- warning: mutation of captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 35 |                 }
 36 |                 }.onError { e in
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:38:25: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 36 |                 }.onError { e in
 37 |                     localQueue.async(flags: .barrier) {
 38 |                         error = e
    |                         `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 39 |                     }
 40 |                 }.finally {
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:51:21: warning: mutation of captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 49 |             p2.then { aU in
 50 |                 localQueue.async(flags: .barrier) {
 51 |                     u = aU
    |                     `- warning: mutation of captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 52 |                 }
 53 |                 }.onError { e in
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:55:25: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 53 |                 }.onError { e in
 54 |                     localQueue.async(flags: .barrier) {
 55 |                         error = e
    |                         `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 56 |                     }
 57 |                 }.finally {
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:68:28: warning: reference to captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 66 |         group.notify(queue: queue) {
 67 |             localQueue.async {
 68 |                 if let e = error {
    |                            `- warning: reference to captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 69 |                     p.reject(e)
 70 |                 } else {
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:71:32: warning: reference to captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 69 |                     p.reject(e)
 70 |                 } else {
 71 |                     p.fulfill((t, u))
    |                                `- warning: reference to captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 72 |                 }
 73 |             }
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:71:35: warning: reference to captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 69 |                     p.reject(e)
 70 |                 } else {
 71 |                     p.fulfill((t, u))
    |                                   `- warning: reference to captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 72 |                 }
 73 |             }
/host/spi-builder-workspace/Sources/Then/Promise.swift:60:34: warning: passing non-Sendable parameter 'action' to function expecting a '@Sendable' closure
 57 |     }
 58 |
 59 |     private func _asynchronize(_ action: @escaping () -> Void) {
    |                                  `- note: parameter 'action' is implicitly non-Sendable
 60 |         lockQueue.async(execute: action)
    |                                  `- warning: passing non-Sendable parameter 'action' to function expecting a '@Sendable' closure
 61 |     }
 62 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[26/33] Compiling Then Promise.swift
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:34:21: warning: mutation of captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 32 |             p1.then { aT in
 33 |                 localQueue.async(flags: .barrier) {
 34 |                     t = aT
    |                     `- warning: mutation of captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 35 |                 }
 36 |                 }.onError { e in
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:38:25: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 36 |                 }.onError { e in
 37 |                     localQueue.async(flags: .barrier) {
 38 |                         error = e
    |                         `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 39 |                     }
 40 |                 }.finally {
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:51:21: warning: mutation of captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 49 |             p2.then { aU in
 50 |                 localQueue.async(flags: .barrier) {
 51 |                     u = aU
    |                     `- warning: mutation of captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 52 |                 }
 53 |                 }.onError { e in
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:55:25: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 53 |                 }.onError { e in
 54 |                     localQueue.async(flags: .barrier) {
 55 |                         error = e
    |                         `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 56 |                     }
 57 |                 }.finally {
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:68:28: warning: reference to captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 66 |         group.notify(queue: queue) {
 67 |             localQueue.async {
 68 |                 if let e = error {
    |                            `- warning: reference to captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 69 |                     p.reject(e)
 70 |                 } else {
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:71:32: warning: reference to captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 69 |                     p.reject(e)
 70 |                 } else {
 71 |                     p.fulfill((t, u))
    |                                `- warning: reference to captured var 't' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 72 |                 }
 73 |             }
/host/spi-builder-workspace/Sources/Then/Promise+Zip.swift:71:35: warning: reference to captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 69 |                     p.reject(e)
 70 |                 } else {
 71 |                     p.fulfill((t, u))
    |                                   `- warning: reference to captured var 'u' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 72 |                 }
 73 |             }
/host/spi-builder-workspace/Sources/Then/Promise.swift:60:34: warning: passing non-Sendable parameter 'action' to function expecting a '@Sendable' closure
 57 |     }
 58 |
 59 |     private func _asynchronize(_ action: @escaping () -> Void) {
    |                                  `- note: parameter 'action' is implicitly non-Sendable
 60 |         lockQueue.async(execute: action)
    |                                  `- warning: passing non-Sendable parameter 'action' to function expecting a '@Sendable' closure
 61 |     }
 62 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[27/33] Compiling Then PromiseBlocks.swift
[28/33] Compiling Then PromiseError.swift
[29/33] Compiling Then PromiseState.swift
[30/33] Compiling Then Promise+BridgeError.swift
[31/33] Compiling Then Promise+Chain.swift
[32/33] Compiling Then Promise+Delay.swift
[33/33] Compiling Then Promise+Error.swift
Build complete! (15.82s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Then",
  "name" : "Then",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Then",
      "targets" : [
        "Then"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ThenTests",
      "module_type" : "SwiftTarget",
      "name" : "ThenTests",
      "path" : "Tests/ThenTests",
      "sources" : [
        "AsyncAwaitTests.swift",
        "BridgeErrorTests.swift",
        "ChainTests.swift",
        "DelayTests.swift",
        "FinallyTests.swift",
        "Helpers.swift",
        "MemoryTests.swift",
        "NoMatterWhatTests.swift",
        "OnErrorTests.swift",
        "ProgressTests.swift",
        "RaceTests.swift",
        "RecoverTests.swift",
        "RegisterThenTests.swift",
        "RetryTests.swift",
        "ThenTests.swift",
        "TimeoutTests.swift",
        "UnwrapTests.swift",
        "ValidateTests.swift",
        "WhenAllTests.swift",
        "ZipTests.swift"
      ],
      "target_dependencies" : [
        "Then"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Then",
      "module_type" : "SwiftTarget",
      "name" : "Then",
      "path" : "Sources",
      "product_memberships" : [
        "Then"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Then/Async.swift",
        "Then/Await+Operators.swift",
        "Then/Await.swift",
        "Then/Promise+Aliases.swift",
        "Then/Promise+BridgeError.swift",
        "Then/Promise+Chain.swift",
        "Then/Promise+Delay.swift",
        "Then/Promise+Error.swift",
        "Then/Promise+Finally.swift",
        "Then/Promise+First.swift",
        "Then/Promise+Helpers.swift",
        "Then/Promise+NoMatterWhat.swift",
        "Then/Promise+Progress.swift",
        "Then/Promise+Race.swift",
        "Then/Promise+Recover.swift",
        "Then/Promise+Retry.swift",
        "Then/Promise+Then.swift",
        "Then/Promise+Timeout.swift",
        "Then/Promise+Unwrap.swift",
        "Then/Promise+Validate.swift",
        "Then/Promise+Zip.swift",
        "Then/Promise+nil.swift",
        "Then/Promise.swift",
        "Then/PromiseBlocks.swift",
        "Then/PromiseError.swift",
        "Then/PromiseState.swift",
        "Then/VoidPromise.swift",
        "Then/WhenAll.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.