The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build KKBOXOpenAPISwiftPromises, reference 1.0.0 (36c071), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 18:40:56 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kkbox/openapi-swift-promises.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kkbox/openapi-swift-promises
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 36c0715 Updates documentation.
Cloned https://github.com/kkbox/openapi-swift-promises.git
Revision (git rev-parse @):
36c07151e0365b2ddaf88061473f55a6577cf7c5
SUCCESS checkout https://github.com/kkbox/openapi-swift-promises.git at 1.0.0
Fetching https://github.com/google/promises.git
Fetching https://github.com/KKBOX/OpenAPI-Swift
[1/796] Fetching openapi-swift
[25/3206] Fetching openapi-swift, promises
Fetched https://github.com/google/promises.git from cache (1.07s)
Fetched https://github.com/KKBOX/OpenAPI-Swift from cache (1.07s)
Computing version for https://github.com/KKBOX/OpenAPI-Swift
Computed https://github.com/KKBOX/OpenAPI-Swift at 1.1.7 (0.61s)
Computing version for https://github.com/google/promises.git
Computed https://github.com/google/promises.git at 1.2.12 (2.58s)
Creating working copy for https://github.com/KKBOX/OpenAPI-Swift
Working copy of https://github.com/KKBOX/OpenAPI-Swift resolved at 1.1.7
Creating working copy for https://github.com/google/promises.git
Working copy of https://github.com/google/promises.git resolved at 1.2.12
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "openapi-swift-promises",
      "name": "KKBOXOpenAPISwiftPromises",
      "url": "https://github.com/kkbox/openapi-swift-promises.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/openapi-swift-promises",
      "dependencies": [
        {
          "identity": "promises",
          "name": "Promises",
          "url": "https://github.com/google/promises.git",
          "version": "1.2.12",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/promises",
          "dependencies": [
          ]
        },
        {
          "identity": "openapi-swift",
          "name": "KKBOXOpenAPISwift",
          "url": "https://github.com/KKBOX/OpenAPI-Swift",
          "version": "1.1.7",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenAPI-Swift",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/kkbox/openapi-swift-promises.git
[1/108] Fetching openapi-swift-promises
Fetched https://github.com/kkbox/openapi-swift-promises.git from cache (0.78s)
Fetching https://github.com/KKBOX/OpenAPI-Swift from cache
Fetching https://github.com/google/promises.git from cache
Fetched https://github.com/google/promises.git from cache (0.49s)
Fetched https://github.com/KKBOX/OpenAPI-Swift from cache (0.49s)
Computing version for https://github.com/KKBOX/OpenAPI-Swift
Computed https://github.com/KKBOX/OpenAPI-Swift at 1.1.7 (0.02s)
Computing version for https://github.com/google/promises.git
Computed https://github.com/google/promises.git at 1.2.12 (0.02s)
Creating working copy for https://github.com/kkbox/openapi-swift-promises.git
Working copy of https://github.com/kkbox/openapi-swift-promises.git resolved at 1.0.0 (36c0715)
Creating working copy for https://github.com/KKBOX/OpenAPI-Swift
Working copy of https://github.com/KKBOX/OpenAPI-Swift resolved at 1.1.7
Creating working copy for https://github.com/google/promises.git
Working copy of https://github.com/google/promises.git resolved at 1.2.12
warning: '.resolve-product-dependencies': dependency 'openapi-swift-promises' is not used by any target
Found 2 product dependencies
  - Promises
  - KKBOXOpenAPISwift
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kkbox/openapi-swift-promises.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/23] Write sources
[3/23] Write swift-version--7754E27361AE5C74.txt
[4/23] Compiling FBLPromises FBLPromise+Validate.m
[5/23] Compiling FBLPromises FBLPromise+Then.m
[6/23] Compiling FBLPromises FBLPromise.m
[7/23] Compiling FBLPromises FBLPromise+Timeout.m
[8/27] Compiling FBLPromises FBLPromise+Testing.m
[9/27] Compiling FBLPromises FBLPromise+Recover.m
[10/27] Compiling FBLPromises FBLPromise+Race.m
[11/27] Compiling FBLPromises FBLPromise+Reduce.m
[12/27] Compiling FBLPromises FBLPromise+Delay.m
[13/27] Compiling FBLPromises FBLPromise+Do.m
[14/27] Compiling FBLPromises FBLPromise+Retry.m
[15/27] Compiling FBLPromises FBLPromise+Catch.m
[16/27] Compiling FBLPromises FBLPromiseError.m
[17/27] Compiling FBLPromises FBLPromise+Await.m
[18/27] Compiling FBLPromises FBLPromise+Async.m
[19/27] Compiling FBLPromises FBLPromise+Any.m
[20/27] Compiling FBLPromises FBLPromise+Wrap.m
[21/27] Compiling FBLPromises FBLPromise+Always.m
[22/27] Compiling FBLPromises FBLPromise+All.m
[24/46] Compiling Promises Promise+Reduce.swift
[25/46] Compiling Promises Promise+Retry.swift
[26/47] Compiling Promises Promise+Wrap.swift
[27/47] Compiling Promises Promise.swift
[28/47] Compiling Promises PromiseError.swift
[29/47] Compiling Promises Promise+Timeout.swift
[30/47] Compiling Promises Promise+Validate.swift
[31/47] Emitting module Promises
[32/47] Compiling Promises Promise+All.swift
[33/47] Compiling Promises Promise+Always.swift
[34/47] Compiling Promises Promise+Delay.swift
[35/47] Compiling Promises Promise+Do.swift
[36/47] Compiling Promises Promise+Testing.swift
[37/47] Compiling Promises Promise+Then.swift
[38/47] Compiling Promises Promise+Await.swift
[39/47] Compiling Promises Promise+Catch.swift
[40/47] Compiling Promises Promise+Race.swift
[41/47] Compiling Promises Promise+Recover.swift
[42/47] Compiling Promises Promise+Any.swift
[43/47] Compiling Promises Promise+Async.swift
[44/47] Compiling KKBOXOpenAPISwift KKBOXOpenAPI.swift
[45/47] Compiling KKBOXOpenAPISwift KKBOXOpenAPIPrivateTypes.swift
[46/47] Emitting module KKBOXOpenAPISwift
[47/47] Compiling KKBOXOpenAPISwift KKBOXOpenAPITypes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/49] Emitting module KKBOXOpenAPISwiftPromises
/Users/admin/builder/spi-builder-workspace/Sources/KKBOXOpenAPISwiftPromises/KKBOXOpenAPISwiftPromises.swift:12:95: error: 'Reject' is not a member type of generic class 'Promises.Promise<T>'
 10 |
 11 | extension KKBOXOpenAPI {
 12 | 	func commonPromiseCallback<T>(_ fulfill: @escaping (T) -> (), _ reject: @escaping Promise<T>.Reject) -> (KKAPIResult<T>) -> () {
    |                                                                                               `- error: 'Reject' is not a member type of generic class 'Promises.Promise<T>'
 13 | 		let callback: (KKAPIResult<T>) -> () = { result in
 14 | 			switch result {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/promises/Sources/Promises/Promise.swift:18:20: note: 'Promise' declared here
 16 |
 17 | /// Promises synchronization construct in Swift. Leverages ObjC implementation internally.
 18 | public final class Promise<Value> {
    |                    `- note: 'Promise' declared here
 19 |   public typealias ObjCPromise<Value: AnyObject> = FBLPromise<Value>
 20 |
/Users/admin/builder/spi-builder-workspace/Sources/KKBOXOpenAPISwiftPromises/KKBOXOpenAPISwiftPromises.swift:12:74: error: @escaping attribute only applies to function types
 10 |
 11 | extension KKBOXOpenAPI {
 12 | 	func commonPromiseCallback<T>(_ fulfill: @escaping (T) -> (), _ reject: @escaping Promise<T>.Reject) -> (KKAPIResult<T>) -> () {
    |                                                                          `- error: @escaping attribute only applies to function types
 13 | 		let callback: (KKAPIResult<T>) -> () = { result in
 14 | 			switch result {
[49/49] Compiling KKBOXOpenAPISwiftPromises KKBOXOpenAPISwiftPromises.swift
/Users/admin/builder/spi-builder-workspace/Sources/KKBOXOpenAPISwiftPromises/KKBOXOpenAPISwiftPromises.swift:12:95: error: 'Reject' is not a member type of generic class 'Promises.Promise<T>'
 10 |
 11 | extension KKBOXOpenAPI {
 12 | 	func commonPromiseCallback<T>(_ fulfill: @escaping (T) -> (), _ reject: @escaping Promise<T>.Reject) -> (KKAPIResult<T>) -> () {
    |                                                                                               `- error: 'Reject' is not a member type of generic class 'Promises.Promise<T>'
 13 | 		let callback: (KKAPIResult<T>) -> () = { result in
 14 | 			switch result {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/promises/Sources/Promises/Promise.swift:18:20: note: 'Promise' declared here
 16 |
 17 | /// Promises synchronization construct in Swift. Leverages ObjC implementation internally.
 18 | public final class Promise<Value> {
    |                    `- note: 'Promise' declared here
 19 |   public typealias ObjCPromise<Value: AnyObject> = FBLPromise<Value>
 20 |
/Users/admin/builder/spi-builder-workspace/Sources/KKBOXOpenAPISwiftPromises/KKBOXOpenAPISwiftPromises.swift:12:74: error: @escaping attribute only applies to function types
 10 |
 11 | extension KKBOXOpenAPI {
 12 | 	func commonPromiseCallback<T>(_ fulfill: @escaping (T) -> (), _ reject: @escaping Promise<T>.Reject) -> (KKAPIResult<T>) -> () {
    |                                                                          `- error: @escaping attribute only applies to function types
 13 | 		let callback: (KKAPIResult<T>) -> () = { result in
 14 | 			switch result {
BUILD FAILURE 6.0 macosSpm