Build Information
Failed to build ApiCore with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.25.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liveui/apicore.git
Reference: master
HEAD is now at c3893b1 updating dependencies
Cloned https://github.com/liveui/apicore.git
Revision (git rev-parse @):
SUCCESS checkout https://github.com/liveui/apicore.git at master
========================================
Build
c3893b19ba86a1dea2f1a29e88a2388781cb5277
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/14] Compiling CNIOZlib empty.c
[1/14] Compiling CNIOLinux shim.c
[2/24] Compiling CNIOOpenSSL shims.c
$PWD/checkout/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:102:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sha1_step(ctxt)
^
$PWD/checkout/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:102:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
$PWD/checkout/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:187:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
c_nio_sha1_init(ctxt)
^
$PWD/checkout/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:199:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
c_nio_sha1_pad(ctxt)
^
$PWD/checkout/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:234:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
c_nio_sha1_loop(ctxt, input, len)
^
5 warnings generated.
[3/24] Compiling CNIOSHA1 c_nio_sha1.c
[4/24] Compiling CNIOOpenSSL helpers.c
[6/36] Emitting module NIOPriorityQueue
[7/36] Compiling NIOPriorityQueue PriorityQueue.swift
[8/36] Compiling NIOPriorityQueue Heap.swift
[9/38] Emitting module LoggerAPI
[10/38] Compiling LoggerAPI Logger.swift
[11/42] Emitting module XMLCoding
[12/45] Compiling SwiftGD Format.swift
$PWD/checkout/.build/checkouts/Cgd/module.modulemap:8:9: error: header '/usr/local/include/gd.h' not found
header "/usr/local/include/gd.h"
^
$PWD/checkout/.build/checkouts/SwiftGD/Sources/Format.swift:6:12: error: could not build Objective-C module 'Cgdmac'
import Cgdmac
^
[13/46] Compiling SwiftGD Geometry.swift
$PWD/checkout/.build/checkouts/Cgd/module.modulemap:8:9: error: header '/usr/local/include/gd.h' not found
header "/usr/local/include/gd.h"
Fetching https://github.com/vapor/template-kit.git from cache
^
Fetching https://github.com/vapor/console.git from cache
$PWD/checkout/.build/checkouts/SwiftGD/Sources/Format.swift:6:12: error: could not build Objective-C module 'Cgdmac'
Fetching https://github.com/vapor/url-encoded-form.git from cache
import Cgdmac
Fetched https://github.com/vapor/url-encoded-form.git (0.22s)
^
Fetching https://github.com/LiveUI/S3.git from cache
[14/46] Compiling XMLCoding ISO8601DateFormatter.swift
Fetched https://github.com/vapor/template-kit.git (0.22s)
[15/46] Compiling XMLCoding XMLKey.swift
Fetching https://github.com/apple/swift-nio.git from cache
[16/46] Compiling XMLCoding XMLStackParser.swift
Fetched https://github.com/vapor/console.git (0.23s)
[17/46] Compiling SwiftGD Color.swift
Fetching https://github.com/IBM-Swift/LoggerAPI.git from cache
[18/46] Compiling SwiftGD Error.swift
Fetched https://github.com/IBM-Swift/LoggerAPI.git (0.21s)
[19/46] Compiling XMLCoding XMLDecodingStorage.swift
Fetching https://github.com/apple/swift-nio-ssl.git from cache
error: emit-module command failed with exit code 1 (use -v to see invocation)
Fetched https://github.com/LiveUI/S3.git (0.32s)
[20/46] Emitting module SwiftGD
Fetching https://github.com/vapor/websocket.git from cache
$PWD/checkout/.build/checkouts/Cgd/module.modulemap:8:9: error: header '/usr/local/include/gd.h' not found
Fetched https://github.com/apple/swift-nio-ssl.git (0.29s)
Fetching https://github.com/LiveUI/VaporTestTools.git from cache
header "/usr/local/include/gd.h"
Fetched https://github.com/vapor/websocket.git (0.24s)
Fetching https://github.com/LiveUI/XMLCoding.git from cache
^
Fetched https://github.com/LiveUI/VaporTestTools.git (0.25s)
$PWD/checkout/.build/checkouts/SwiftGD/Sources/Format.swift:6:12: error: could not build Objective-C module 'Cgdmac'
Fetching https://github.com/vapor/fluent.git from cache
import Cgdmac
Fetched https://github.com/apple/swift-nio.git (0.78s)
Fetching https://github.com/LiveUI/ErrorsCore.git from cache
^
Fetched https://github.com/LiveUI/XMLCoding.git (0.24s)
$PWD/checkout/.build/checkouts/Cgd/module.modulemap:8:9: error: header '/usr/local/include/gd.h' not found
Fetching https://github.com/vapor-community/sendgrid-provider.git from cache
header "/usr/local/include/gd.h"
Fetched https://github.com/LiveUI/ErrorsCore.git (0.24s)
Fetching https://github.com/twostraws/Cgd.git from cache
Fetched https://github.com/vapor-community/sendgrid-provider.git (0.21s)
^
Fetching https://github.com/IBM-Swift/BlueSocket.git from cache
$PWD/checkout/.build/checkouts/SwiftGD/Sources/Format.swift:6:12: error: could not build Objective-C module 'Cgdmac'
Fetched https://github.com/vapor/fluent.git (0.26s)
import Cgdmac
Fetching https://github.com/LiveUI/FluentTestTools.git from cache
Fetched https://github.com/LiveUI/FluentTestTools.git (0.20s)
^
Fetching https://github.com/twostraws/SwiftGD.git from cache
$PWD/checkout/.build/checkouts/Cgd/module.modulemap:8:9: error: header '/usr/local/include/gd.h' not found
Fetched https://github.com/IBM-Swift/BlueSocket.git (0.21s)
header "/usr/local/include/gd.h"
Fetching https://github.com/LiveUI/MailCore.git from cache
Fetched https://github.com/twostraws/Cgd.git (0.22s)
Fetching https://github.com/vapor/fluent-postgresql.git from cache
^
$PWD/checkout/.build/checkouts/SwiftGD/Sources/Format.swift:6:12: error: could not build Objective-C module 'Cgdmac'
import Cgdmac
^
Fetched https://github.com/twostraws/SwiftGD.git (0.18s)
[23/46] Compiling Debugging SourceLocation.swift
Fetching https://github.com/vapor/validation.git from cache
[24/46] Compiling Debugging Demangler.swift
Fetched https://github.com/LiveUI/MailCore.git (0.20s)
Fetching https://github.com/IBM-Swift/BlueSSLService.git from cache
[25/46] Emitting module Debugging
Fetched https://github.com/vapor/fluent-postgresql.git (0.23s)
[26/46] Compiling Debugging Debuggable.swift
Fetching https://github.com/vapor/jwt.git from cache
[27/46] Compiling XMLCoding XMLKeyedDecodingContainer.swift
Fetched https://github.com/vapor/validation.git (0.22s)
[28/46] Compiling XMLCoding XMLUnkeyedDecodingContainer.swift
Fetching https://github.com/vapor/core.git from cache
[29/46] Compiling XMLCoding EncodingErrorExtension.swift
Fetched https://github.com/vapor/jwt.git (0.20s)
[30/46] Compiling XMLCoding XMLEncoder.swift
Fetching https://github.com/IBM-Swift/BlueCryptor.git from cache
[31/46] Compiling XMLCoding XMLEncodingStorage.swift
Fetched https://github.com/IBM-Swift/BlueSSLService.git (0.24s)
[32/46] Compiling XMLCoding XMLReferencingEncoder.swift
Fetching https://github.com/vapor/http.git from cache
[33/58] Emitting module COperatingSystem
Fetched https://github.com/vapor/core.git (0.22s)
[34/58] Compiling COperatingSystem libc.swift
Fetching https://github.com/vapor-community/Imperial.git from cache
[34/58] Compiling CNIOLinux ifaddrs-android.c
Fetched https://github.com/IBM-Swift/BlueCryptor.git (0.23s)
[36/58] Compiling Socket SocketProtocols.swift
Fetching https://github.com/vapor/postgresql.git from cache
[37/58] Compiling Socket SocketUtils.swift
Fetched https://github.com/vapor/http.git (0.27s)
[38/58] Emitting module Cryptor
Fetching https://github.com/vapor/routing.git from cache
[38/60] Compiling CNIOHTTPParser c_nio_http_parser.c
Fetched https://github.com/vapor-community/Imperial.git (0.17s)
[40/60] Compiling SwiftGD Image.swift
Fetching https://github.com/apple/swift-nio-ssl-support.git from cache
$PWD/checkout/.build/checkouts/Cgd/module.modulemap:8:9: error: header '/usr/local/include/gd.h' not found
header "/usr/local/include/gd.h"
^
Fetched https://github.com/vapor/postgresql.git (0.23s)
$PWD/checkout/.build/checkouts/SwiftGD/Sources/Format.swift:6:12: error: could not build Objective-C module 'Cgdmac'
Fetching https://github.com/apple/swift-nio-zlib-support.git from cache
import Cgdmac
Fetched https://github.com/vapor/routing.git (0.20s)
Fetching https://github.com/twof/VaporMailgunService.git from cache
^
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.21s)
[40/60] Compiling CNIODarwin shim.c
Fetching https://github.com/vapor/database-kit.git from cache
Fetched https://github.com/twof/VaporMailgunService.git (0.20s)
Fetching https://github.com/vapor/sql.git from cache
[41/60] Emitting module Socket
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.22s)
Fetching https://github.com/vapor/service.git from cache
Fetched https://github.com/vapor/database-kit.git (0.17s)
Fetching https://github.com/vapor/multipart.git from cache
Fetched https://github.com/vapor/service.git (0.19s)
Fetching https://github.com/vapor/vapor.git from cache
Fetched https://github.com/vapor/sql.git (0.21s)
Fetching https://github.com/IBM-Swift/Swift-SMTP.git from cache
Fetched https://github.com/vapor/multipart.git (0.18s)
Fetching https://github.com/vapor/leaf.git from cache
Fetched https://github.com/IBM-Swift/Swift-SMTP.git (0.21s)
Fetching https://github.com/vapor/crypto.git from cache
Fetched https://github.com/vapor/leaf.git (0.23s)
Fetched https://github.com/vapor/vapor.git (0.48s)
Fetched https://github.com/vapor/crypto.git (0.27s)
Computing version for https://github.com/vapor-community/Imperial.git
Computed https://github.com/vapor-community/Imperial.git at 0.17.0 (0.97s)
Computing version for https://github.com/LiveUI/FluentTestTools.git
Computed https://github.com/LiveUI/FluentTestTools.git at 0.1.0 (0.56s)
Computing version for https://github.com/LiveUI/VaporTestTools.git
Computed https://github.com/LiveUI/VaporTestTools.git at 0.1.7 (0.57s)
Computing version for https://github.com/LiveUI/ErrorsCore.git
Computed https://github.com/LiveUI/ErrorsCore.git at 0.1.0 (0.56s)
Computing version for https://github.com/LiveUI/MailCore.git
Computed https://github.com/LiveUI/MailCore.git at 3.1.2 (0.54s)
Computing version for https://github.com/LiveUI/S3.git
Computed https://github.com/LiveUI/S3.git at 3.0.0 (0.56s)
Computing version for https://github.com/twostraws/SwiftGD.git
Computed https://github.com/twostraws/SwiftGD.git at 2.3.0 (0.58s)
Computing version for https://github.com/vapor/leaf.git
Computed https://github.com/vapor/leaf.git at 3.0.2 (0.59s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 3.1.2 (0.58s)
Computing version for https://github.com/vapor/fluent-postgresql.git
Computed https://github.com/vapor/fluent-postgresql.git at 1.0.1 (0.63s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 3.2.1 (0.58s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.58s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.58s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (0.64s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.62s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.8.1 (0.56s)
Computing version for https://github.com/IBM-Swift/Swift-SMTP.git
Computed https://github.com/IBM-Swift/Swift-SMTP.git at 5.1.2 (0.61s)
Computing version for https://github.com/vapor-community/sendgrid-provider.git
Computed https://github.com/vapor-community/sendgrid-provider.git at 3.0.6 (0.58s)
Computing version for https://github.com/twof/VaporMailgunService.git
Computed https://github.com/twof/VaporMailgunService.git at 1.8.1 (0.65s)
Computing version for https://github.com/LiveUI/XMLCoding.git
Computed https://github.com/LiveUI/XMLCoding.git at 0.4.1 (0.04s)
Computing version for https://github.com/twostraws/Cgd.git
Computed https://github.com/twostraws/Cgd.git at 0.2.0 (0.58s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.55s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.62s)
Computing version for https://github.com/vapor/postgresql.git
Computed https://github.com/vapor/postgresql.git at 1.6.0 (0.58s)
Computing version for https://github.com/vapor/sql.git
Computed https://github.com/vapor/sql.git at 2.3.2 (0.60s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.58s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.60s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (0.73s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.55s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.61s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.1.0 (0.63s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.60s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.62s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.64s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.65s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (0.66s)
Computing version for https://github.com/IBM-Swift/BlueSSLService.git
Computed https://github.com/IBM-Swift/BlueSSLService.git at 1.0.200 (0.63s)
Computing version for https://github.com/IBM-Swift/BlueSocket.git
Computed https://github.com/IBM-Swift/BlueSocket.git at 1.0.200 (0.04s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.64s)
Creating working copy for https://github.com/LiveUI/XMLCoding.git
Working copy of https://github.com/LiveUI/XMLCoding.git resolved at 0.4.1
Creating working copy for https://github.com/vapor/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.1.0
Creating working copy for https://github.com/IBM-Swift/BlueSocket.git
Working copy of https://github.com/IBM-Swift/BlueSocket.git resolved at 1.0.200
Creating working copy for https://github.com/LiveUI/S3.git
Working copy of https://github.com/LiveUI/S3.git resolved at 3.0.0
Creating working copy for https://github.com/vapor/fluent-postgresql.git
Working copy of https://github.com/vapor/fluent-postgresql.git resolved at 1.0.1
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.200
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/vapor/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.5.0
Creating working copy for https://github.com/vapor/postgresql.git
Working copy of https://github.com/vapor/postgresql.git resolved at 1.6.0
Creating working copy for https://github.com/LiveUI/MailCore.git
Working copy of https://github.com/LiveUI/MailCore.git resolved at 3.1.2
Creating working copy for https://github.com/IBM-Swift/Swift-SMTP.git
Working copy of https://github.com/IBM-Swift/Swift-SMTP.git resolved at 5.1.2
Creating working copy for https://github.com/vapor/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 3.2.1
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.0
Creating working copy for https://github.com/vapor/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.3.3
Creating working copy for https://github.com/vapor-community/Imperial.git
Working copy of https://github.com/vapor-community/Imperial.git resolved at 0.17.0
Creating working copy for https://github.com/vapor/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.1
Creating working copy for https://github.com/twostraws/Cgd.git
Working copy of https://github.com/twostraws/Cgd.git resolved at 0.2.0
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.4.0
Creating working copy for https://github.com/vapor-community/sendgrid-provider.git
Working copy of https://github.com/vapor-community/sendgrid-provider.git resolved at 3.0.6
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
Creating working copy for https://github.com/IBM-Swift/BlueSSLService.git
Working copy of https://github.com/IBM-Swift/BlueSSLService.git resolved at 1.0.200
Creating working copy for https://github.com/vapor/sql.git
Working copy of https://github.com/vapor/sql.git resolved at 2.3.2
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.3
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
Creating working copy for https://github.com/twostraws/SwiftGD.git
Working copy of https://github.com/twostraws/SwiftGD.git resolved at 2.3.0
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.2
Creating working copy for https://github.com/IBM-Swift/LoggerAPI.git
Working copy of https://github.com/IBM-Swift/LoggerAPI.git resolved at 1.8.1
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
Creating working copy for https://github.com/twof/VaporMailgunService.git
Working copy of https://github.com/twof/VaporMailgunService.git resolved at 1.8.1
Creating working copy for https://github.com/LiveUI/FluentTestTools.git
Working copy of https://github.com/LiveUI/FluentTestTools.git resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/leaf.git
Working copy of https://github.com/vapor/leaf.git resolved at 3.0.2
Creating working copy for https://github.com/vapor/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 3.1.2
Creating working copy for https://github.com/LiveUI/ErrorsCore.git
Working copy of https://github.com/LiveUI/ErrorsCore.git resolved at 0.1.0
Creating working copy for https://github.com/LiveUI/VaporTestTools.git
Working copy of https://github.com/LiveUI/VaporTestTools.git resolved at 0.1.7
warning: 'cgd': ignoring declared target(s) 'Cgd' in the system package
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: 'bluesslservice': 'bluesslservice' dependency on 'https://github.com/Kitura/BlueSocket.git' conflicts with dependency on 'https://github.com/IBM-Swift/BlueSocket.git' which has the same identity 'bluesocket'. this will be escalated to an error in future versions of SwiftPM.
warning: couldn't find pc file for gdlib
BUILD FAILURE 5.8 macosSpm
[0/1] Planning build
Building for debugging...