Build Information
Failed to build KKBOXOpenAPISwiftPromises with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/kkbox/openapi-swift-promises.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/23] Write sources
[3/23] Write swift-version--423B1241ED78D482.txt
[4/23] Compiling FBLPromises FBLPromise+Timeout.m
[5/27] Compiling FBLPromises FBLPromise+Retry.m
[6/27] Compiling FBLPromises FBLPromise+Wrap.m
[7/27] Compiling FBLPromises FBLPromise+Reduce.m
[8/27] Compiling FBLPromises FBLPromise+Validate.m
[9/27] Compiling FBLPromises FBLPromise+Then.m
[10/27] Compiling FBLPromises FBLPromise+Testing.m
[11/27] Compiling FBLPromises FBLPromise+Recover.m
[12/27] Compiling FBLPromises FBLPromiseError.m
[13/27] Compiling FBLPromises FBLPromise+Race.m
[14/27] Compiling FBLPromises FBLPromise.m
[15/27] Compiling FBLPromises FBLPromise+Delay.m
[16/27] Compiling FBLPromises FBLPromise+Async.m
[17/27] Compiling FBLPromises FBLPromise+Await.m
[18/27] Compiling FBLPromises FBLPromise+Catch.m
[19/27] Compiling FBLPromises FBLPromise+Do.m
[20/27] Compiling FBLPromises FBLPromise+Any.m
[21/27] Compiling FBLPromises FBLPromise+Always.m
[22/27] Compiling FBLPromises FBLPromise+All.m
[24/45] Emitting module Promises
[25/47] Compiling Promises Promise+Validate.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+Then.swift
[30/47] Compiling Promises Promise+Timeout.swift
[31/47] Compiling Promises Promise+Delay.swift
[32/47] Compiling Promises Promise+Do.swift
[33/47] Compiling Promises Promise+Race.swift
[34/47] Compiling Promises Promise+Retry.swift
[35/47] Compiling Promises Promise+Testing.swift
[36/47] Compiling Promises Promise+Recover.swift
[37/47] Compiling Promises Promise+Reduce.swift
[38/47] Compiling Promises Promise+Async.swift
[39/47] Compiling Promises Promise+Await.swift
[40/47] Compiling Promises Promise+Catch.swift
[41/47] Compiling Promises Promise+All.swift
[42/47] Compiling Promises Promise+Always.swift
[43/47] Compiling Promises Promise+Any.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/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/KKBOXOpenAPISwiftPromises/KKBOXOpenAPISwiftPromises.swift:12:95: error: 'Reject' is not a member type of generic class 'Promises.Promise<T>'
func commonPromiseCallback<T>(_ fulfill: @escaping (T) -> (), _ reject: @escaping Promise<T>.Reject) -> (KKAPIResult<T>) -> () {
~~~~~~~~~~ ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/promises/Sources/Promises/Promise.swift:18:20: note: 'Promise' declared here
public final class Promise<Value> {
^
[49/49] Compiling KKBOXOpenAPISwiftPromises KKBOXOpenAPISwiftPromises.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/KKBOXOpenAPISwiftPromises/KKBOXOpenAPISwiftPromises.swift:12:95: error: 'Reject' is not a member type of generic class 'Promises.Promise<T>'
func commonPromiseCallback<T>(_ fulfill: @escaping (T) -> (), _ reject: @escaping Promise<T>.Reject) -> (KKAPIResult<T>) -> () {
~~~~~~~~~~ ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/promises/Sources/Promises/Promise.swift:18:20: note: 'Promise' declared here
public final class Promise<Value> {
^
error: fatalError
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.29s)
Fetched https://github.com/google/promises.git from cache (0.30s)
Computing version for https://github.com/KKBOX/OpenAPI-Swift
Computed https://github.com/KKBOX/OpenAPI-Swift at 1.1.7 (1.03s)
Computing version for https://github.com/google/promises.git
Computed https://github.com/google/promises.git at 1.2.12 (0.74s)
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module KKBOXOpenAPISwiftPromises
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/KKBOXOpenAPISwiftPromises/KKBOXOpenAPISwiftPromises.swift:12:95: error: 'Reject' is not a member type of generic class 'Promises.Promise<T>'
func commonPromiseCallback<T>(_ fulfill: @escaping (T) -> (), _ reject: @escaping Promise<T>.Reject) -> (KKAPIResult<T>) -> () {
~~~~~~~~~~ ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/promises/Sources/Promises/Promise.swift:18:20: note: 'Promise' declared here
public final class Promise<Value> {
^
[3/3] Compiling KKBOXOpenAPISwiftPromises KKBOXOpenAPISwiftPromises.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/KKBOXOpenAPISwiftPromises/KKBOXOpenAPISwiftPromises.swift:12:95: error: 'Reject' is not a member type of generic class 'Promises.Promise<T>'
func commonPromiseCallback<T>(_ fulfill: @escaping (T) -> (), _ reject: @escaping Promise<T>.Reject) -> (KKAPIResult<T>) -> () {
~~~~~~~~~~ ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/promises/Sources/Promises/Promise.swift:18:20: note: 'Promise' declared here
public final class Promise<Value> {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm