Build Information
Failed to build KKBOXOpenAPISwiftPromises, reference 1.0.0 (36c071
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 09:48:38 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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/KKBOX/OpenAPI-Swift
Fetching https://github.com/google/promises.git from cache
[1/796] Fetching openapi-swift
Fetched https://github.com/KKBOX/OpenAPI-Swift from cache (1.06s)
Fetched https://github.com/google/promises.git from cache (1.06s)
Computing version for https://github.com/KKBOX/OpenAPI-Swift
Computed https://github.com/KKBOX/OpenAPI-Swift at 1.1.7 (1.68s)
Computing version for https://github.com/google/promises.git
Computed https://github.com/google/promises.git at 1.2.12 (2.88s)
Creating working copy for https://github.com/google/promises.git
Working copy of https://github.com/google/promises.git resolved at 1.2.12
Creating working copy for https://github.com/KKBOX/OpenAPI-Swift
Working copy of https://github.com/KKBOX/OpenAPI-Swift resolved at 1.1.7
========================================
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.72s)
Fetching https://github.com/google/promises.git from cache
Fetching https://github.com/KKBOX/OpenAPI-Swift from cache
Fetched https://github.com/KKBOX/OpenAPI-Swift from cache (0.42s)
Fetched https://github.com/google/promises.git from cache (0.43s)
Computing version for https://github.com/KKBOX/OpenAPI-Swift
Computed https://github.com/KKBOX/OpenAPI-Swift at 1.1.7 (0.48s)
Computing version for https://github.com/google/promises.git
Computed https://github.com/google/promises.git at 1.2.12 (0.03s)
Creating working copy for https://github.com/google/promises.git
Working copy of https://github.com/google/promises.git resolved at 1.2.12
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/kkbox/openapi-swift-promises.git
Working copy of https://github.com/kkbox/openapi-swift-promises.git resolved at 1.0.0 (36c0715)
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.1
Building package at path: $PWD
https://github.com/kkbox/openapi-swift-promises.git
https://github.com/kkbox/openapi-swift-promises.git
{
"dependencies" : [
{
"identity" : "promises",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/google/promises.git"
},
{
"identity" : "openapi-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.2",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/KKBOX/OpenAPI-Swift"
}
],
"manifest_display_name" : "KKBOXOpenAPISwiftPromises",
"name" : "KKBOXOpenAPISwiftPromises",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "KKBOXOpenAPISwiftPromises",
"targets" : [
"KKBOXOpenAPISwiftPromises"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "KKBOXOpenAPISwiftPromisesTests",
"module_type" : "SwiftTarget",
"name" : "KKBOXOpenAPISwiftPromisesTests",
"path" : "Tests/KKBOXOpenAPISwiftPromisesTests",
"sources" : [
"KKBOXOpenAPISwiftPromisesTests.swift"
],
"target_dependencies" : [
"KKBOXOpenAPISwiftPromises"
],
"type" : "test"
},
{
"c99name" : "KKBOXOpenAPISwiftPromises",
"module_type" : "SwiftTarget",
"name" : "KKBOXOpenAPISwiftPromises",
"path" : "Sources/KKBOXOpenAPISwiftPromises",
"product_dependencies" : [
"Promises",
"KKBOXOpenAPISwift"
],
"product_memberships" : [
"KKBOXOpenAPISwiftPromises"
],
"sources" : [
"KKBOXOpenAPISwiftPromises.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/23] Write sources
[3/23] Write swift-version-2F0A5646E1D333AE.txt
[4/23] Compiling FBLPromises FBLPromise+Always.m
[5/23] Compiling FBLPromises FBLPromise+Then.m
[6/23] Compiling FBLPromises FBLPromise+Async.m
[7/23] Compiling FBLPromises FBLPromise+Any.m
[8/23] Compiling FBLPromises FBLPromise+Testing.m
[9/23] Compiling FBLPromises FBLPromise+Validate.m
[10/23] Compiling FBLPromises FBLPromiseError.m
[11/27] Compiling FBLPromises FBLPromise+Reduce.m
[12/27] Compiling FBLPromises FBLPromise+Retry.m
[13/27] Compiling FBLPromises FBLPromise+Recover.m
[14/27] Compiling FBLPromises FBLPromise+Race.m
[15/27] Compiling FBLPromises FBLPromise+Do.m
[16/27] Compiling FBLPromises FBLPromise+Wrap.m
[17/27] Compiling FBLPromises FBLPromise+Delay.m
[18/27] Compiling FBLPromises FBLPromise+Catch.m
[19/27] Compiling FBLPromises FBLPromise+Await.m
[20/27] Compiling FBLPromises FBLPromise+All.m
[21/27] Compiling FBLPromises FBLPromise.m
[22/27] Compiling FBLPromises FBLPromise+Timeout.m
[24/46] Emitting module Promises
[25/46] Compiling Promises Promise+All.swift
[26/46] Compiling Promises Promise+Always.swift
[27/47] Compiling Promises PromiseError.swift
[28/47] Compiling Promises Promise+Timeout.swift
[29/47] Compiling Promises Promise+Validate.swift
[30/47] Compiling Promises Promise+Wrap.swift
[31/47] Compiling Promises Promise.swift
[32/47] Compiling KKBOXOpenAPISwift KKBOXOpenAPITypes.swift
[33/47] Compiling KKBOXOpenAPISwift KKBOXOpenAPIPrivateTypes.swift
[34/47] Emitting module KKBOXOpenAPISwift
[35/47] Compiling KKBOXOpenAPISwift KKBOXOpenAPI.swift
[36/47] Compiling Promises Promise+Delay.swift
[37/47] Compiling Promises Promise+Do.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+Reduce.swift
[43/47] Compiling Promises Promise+Retry.swift
[44/47] Compiling Promises Promise+Testing.swift
[45/47] Compiling Promises Promise+Then.swift
[46/47] Compiling Promises Promise+Any.swift
[47/47] Compiling Promises Promise+Async.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 {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/24] Compiling Promises Promise+Await.swift
[3/24] Compiling Promises Promise+Catch.swift
[4/25] Emitting module Promises
[5/25] Compiling Promises Promise+Testing.swift
[6/25] Compiling Promises Promise+Then.swift
[7/25] Compiling Promises Promise+Wrap.swift
[8/25] Compiling Promises Promise.swift
[9/25] Compiling Promises Promise+Timeout.swift
[10/25] Compiling Promises Promise+Validate.swift
[11/25] Compiling Promises Promise+Delay.swift
[12/25] Compiling Promises Promise+Do.swift
[13/25] Compiling Promises Promise+Race.swift
[14/25] Compiling Promises Promise+Recover.swift
[15/25] Compiling Promises Promise+Any.swift
[16/25] Compiling Promises Promise+Async.swift
[17/25] Compiling Promises Promise+Reduce.swift
[18/25] Compiling Promises Promise+Retry.swift
[19/25] Compiling Promises Promise+All.swift
[20/25] Compiling Promises Promise+Always.swift
[21/25] Compiling KKBOXOpenAPISwift KKBOXOpenAPITypes.swift
[22/25] Compiling KKBOXOpenAPISwift KKBOXOpenAPIPrivateTypes.swift
[23/25] Compiling Promises PromiseError.swift
[24/25] Emitting module KKBOXOpenAPISwift
[25/25] Compiling KKBOXOpenAPISwift KKBOXOpenAPI.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/27] 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 {
[27/27] 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.1 macosSpm