The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ApiCore with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liveui/apicore.git
Reference: 1.0.2
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/liveui/apicore
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at c3893b1 updating dependencies
Cloned https://github.com/liveui/apicore.git
Revision (git rev-parse @):
c3893b19ba86a1dea2f1a29e88a2388781cb5277
SUCCESS checkout https://github.com/liveui/apicore.git at 1.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/liveui/apicore.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/vapor/http.git
Fetching https://github.com/IBM-Swift/BlueCryptor.git
Fetching https://github.com/vapor/multipart.git
Fetching https://github.com/vapor-community/sendgrid-provider.git
Fetching https://github.com/twostraws/SwiftGD.git
Fetching https://github.com/LiveUI/S3.git
[1/1419] Fetching s3
[498/3119] Fetching s3, multipart
[614/3551] Fetching s3, multipart, swiftgd
[1659/29018] Fetching s3, multipart, swiftgd, http
[1961/30656] Fetching s3, multipart, swiftgd, http, bluecryptor
[3570/31607] Fetching s3, multipart, swiftgd, http, bluecryptor, sendgrid-provider
Fetched https://github.com/twostraws/SwiftGD.git from cache (0.37s)
Fetched https://github.com/LiveUI/S3.git from cache (0.37s)
Fetching https://github.com/IBM-Swift/BlueSocket.git
Fetching https://github.com/twostraws/Cgd.git
[6665/29756] Fetching multipart, http, bluecryptor, sendgrid-provider
Fetched https://github.com/vapor-community/sendgrid-provider.git from cache (0.42s)
Fetching https://github.com/apple/swift-nio.git
[7497/28805] Fetching multipart, http, bluecryptor
[17684/28825] Fetching multipart, http, bluecryptor, cgd
Fetched https://github.com/twostraws/Cgd.git from cache (0.31s)
Fetching https://github.com/vapor/routing.git
[22523/31747] Fetching multipart, http, bluecryptor, bluesocket
[25720/52415] Fetching multipart, http, bluecryptor, bluesocket, routing
Fetched https://github.com/IBM-Swift/BlueSocket.git from cache (0.65s)
Fetching https://github.com/vapor/vapor.git
[23604/49473] Fetching multipart, http, bluecryptor, routing
[43532/113887] Fetching multipart, http, bluecryptor, routing, swift-nio
[44821/181164] Fetching multipart, http, bluecryptor, routing, swift-nio, vapor
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (1.88s)
Fetching https://github.com/LiveUI/XMLCoding.git
[53400/179526] Fetching multipart, http, routing, swift-nio, vapor
[71025/180062] Fetching multipart, http, routing, swift-nio, vapor, xmlcoding
Fetched https://github.com/LiveUI/XMLCoding.git from cache (0.45s)
Fetching https://github.com/vapor/leaf.git
[72312/179526] Fetching multipart, http, routing, swift-nio, vapor
[79443/183410] Fetching multipart, http, routing, swift-nio, vapor, leaf
Fetched https://github.com/vapor/leaf.git from cache (0.83s)
Fetching https://github.com/vapor/crypto.git
Fetched https://github.com/vapor/http.git from cache (3.17s)
Fetching https://github.com/apple/swift-nio-ssl.git
[84836/154059] Fetching multipart, routing, swift-nio, vapor
Fetched https://github.com/vapor/multipart.git from cache (3.22s)
Fetching https://github.com/vapor/template-kit.git
Fetched https://github.com/vapor/routing.git from cache (2.54s)
Fetching https://github.com/vapor/fluent.git
[67149/131691] Fetching swift-nio, vapor
[83211/132973] Fetching swift-nio, vapor, template-kit
[85246/135759] Fetching swift-nio, vapor, template-kit, crypto
[90706/149064] Fetching swift-nio, vapor, template-kit, crypto, fluent
[95642/161205] Fetching swift-nio, vapor, template-kit, crypto, fluent, swift-nio-ssl
Fetched https://github.com/vapor/template-kit.git from cache (0.70s)
Fetching https://github.com/LiveUI/FluentTestTools.git
[97836/159923] Fetching swift-nio, vapor, crypto, fluent, swift-nio-ssl
[109422/159956] Fetching swift-nio, vapor, crypto, fluent, swift-nio-ssl, fluenttesttools
Fetched https://github.com/LiveUI/FluentTestTools.git from cache (0.41s)
[111372/159923] Fetching swift-nio, vapor, crypto, fluent, swift-nio-ssl
Fetching https://github.com/LiveUI/VaporTestTools.git
[119931/160260] Fetching swift-nio, vapor, crypto, fluent, swift-nio-ssl, vaportesttools
Fetched https://github.com/LiveUI/VaporTestTools.git from cache (0.47s)
Fetching https://github.com/IBM-Swift/BlueSSLService.git
[129005/159923] Fetching swift-nio, vapor, crypto, fluent, swift-nio-ssl
Fetched https://github.com/vapor/fluent.git from cache (1.58s)
Fetching https://github.com/vapor/postgresql.git
[116344/146618] Fetching swift-nio, vapor, crypto, swift-nio-ssl
Fetched https://github.com/vapor/vapor.git from cache (3.81s)
[53576/79341] Fetching swift-nio, crypto, swift-nio-ssl
Fetching https://github.com/vapor/service.git
[69036/84525] Fetching swift-nio, crypto, swift-nio-ssl, postgresql
[69836/86613] Fetching swift-nio, crypto, swift-nio-ssl, postgresql, bluesslservice
[71521/87532] Fetching swift-nio, crypto, swift-nio-ssl, postgresql, bluesslservice, service
Fetching https://github.com/vapor/console.git
Fetched https://github.com/vapor/service.git from cache (0.48s)
[84681/86613] Fetching swift-nio, crypto, swift-nio-ssl, postgresql, bluesslservice
Fetched https://github.com/IBM-Swift/BlueSSLService.git from cache (0.59s)
Fetching https://github.com/vapor-community/Imperial.git
[83237/84525] Fetching swift-nio, crypto, swift-nio-ssl, postgresql
Fetched https://github.com/vapor/postgresql.git from cache (0.75s)
Fetching https://github.com/vapor/database-kit.git
[1/3211] Fetching imperial
[644/8489] Fetching imperial, console
Fetched https://github.com/vapor/crypto.git from cache (2.69s)
Fetching https://github.com/vapor/core.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.72s)
Fetching https://github.com/IBM-Swift/LoggerAPI.git
[6018/9670] Fetching imperial, console, database-kit
Fetched https://github.com/vapor/console.git from cache (0.83s)
Fetching https://github.com/vapor/sql.git
[4360/4392] Fetching imperial, database-kit
Fetched https://github.com/vapor/database-kit.git from cache (0.59s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/771] Fetching loggerapi
Fetched https://github.com/vapor-community/Imperial.git from cache (0.96s)
Fetching https://github.com/IBM-Swift/Swift-SMTP.git
[1/20143] Fetching core
Fetched https://github.com/IBM-Swift/LoggerAPI.git from cache (0.57s)
Fetching https://github.com/LiveUI/ErrorsCore.git
[11684/25108] Fetching core, sql
[15302/25124] Fetching core, sql, swift-nio-ssl-support
[18019/27709] Fetching core, sql, swift-nio-ssl-support, swift-smtp
[19347/27820] Fetching core, sql, swift-nio-ssl-support, swift-smtp, errorscore
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.60s)
Fetching https://github.com/vapor/jwt.git
[20265/27804] Fetching core, sql, swift-smtp, errorscore
Fetched https://github.com/LiveUI/ErrorsCore.git from cache (0.32s)
Fetching https://github.com/LiveUI/MailCore.git
[20902/27693] Fetching core, sql, swift-smtp
Fetched https://github.com/vapor/sql.git from cache (0.95s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetched https://github.com/IBM-Swift/Swift-SMTP.git from cache (0.81s)
Fetching https://github.com/vapor/validation.git
[16518/20143] Fetching core
[16519/22572] Fetching core, jwt
[16908/22799] Fetching core, jwt, mailcore
Fetched https://github.com/LiveUI/MailCore.git from cache (0.63s)
Fetching https://github.com/twof/VaporMailgunService.git
[22170/22572] Fetching core, jwt
Fetched https://github.com/vapor/jwt.git from cache (0.66s)
Fetching https://github.com/vapor/websocket.git
[1/15] Fetching swift-nio-zlib-support
[2/594] Fetching swift-nio-zlib-support, validation
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.49s)
Fetching https://github.com/vapor/url-encoded-form.git
Fetched https://github.com/vapor/validation.git from cache (0.48s)
Fetching https://github.com/vapor/fluent-postgresql.git
[1/2411] Fetching websocket
[1713/3119] Fetching websocket, vapormailgunservice
[3120/3500] Fetching websocket, vapormailgunservice, url-encoded-form
[3486/6037] Fetching websocket, vapormailgunservice, url-encoded-form, fluent-postgresql
Fetched https://github.com/vapor/websocket.git from cache (0.60s)
Fetched https://github.com/twof/VaporMailgunService.git from cache (0.62s)
[661/2918] Fetching url-encoded-form, fluent-postgresql
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.48s)
Fetched https://github.com/vapor/core.git from cache (2.37s)
Fetched https://github.com/vapor/fluent-postgresql.git from cache (0.88s)
Computing version for https://github.com/vapor-community/Imperial.git
Fetched https://github.com/apple/swift-nio.git from cache (9.19s)
Computed https://github.com/vapor-community/Imperial.git at 0.17.0 (1.32s)
Computing version for https://github.com/LiveUI/FluentTestTools.git
Computed https://github.com/LiveUI/FluentTestTools.git at 0.1.0 (0.45s)
Computing version for https://github.com/LiveUI/VaporTestTools.git
Computed https://github.com/LiveUI/VaporTestTools.git at 0.1.7 (0.44s)
Computing version for https://github.com/LiveUI/ErrorsCore.git
Computed https://github.com/LiveUI/ErrorsCore.git at 0.1.0 (0.46s)
Computing version for https://github.com/LiveUI/MailCore.git
Computed https://github.com/LiveUI/MailCore.git at 3.1.2 (0.46s)
Computing version for https://github.com/LiveUI/S3.git
Computed https://github.com/LiveUI/S3.git at 3.0.0 (0.48s)
Computing version for https://github.com/twostraws/SwiftGD.git
Computed https://github.com/twostraws/SwiftGD.git at 2.3.0 (0.46s)
Computing version for https://github.com/vapor/leaf.git
Computed https://github.com/vapor/leaf.git at 3.0.2 (0.45s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 3.1.2 (0.46s)
Computing version for https://github.com/vapor/fluent-postgresql.git
Computed https://github.com/vapor/fluent-postgresql.git at 1.0.1 (0.48s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 3.2.1 (0.47s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.47s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.49s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (0.49s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.53s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.8.1 (1.31s)
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.47s)
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.44s)
Computing version for https://github.com/twof/VaporMailgunService.git
Computed https://github.com/twof/VaporMailgunService.git at 1.8.1 (0.43s)
Computing version for https://github.com/LiveUI/XMLCoding.git
Computed https://github.com/LiveUI/XMLCoding.git at 0.4.1 (0.45s)
Computing version for https://github.com/twostraws/Cgd.git
Computed https://github.com/twostraws/Cgd.git at 0.2.0 (0.42s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.47s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.45s)
Computing version for https://github.com/vapor/postgresql.git
Computed https://github.com/vapor/postgresql.git at 1.6.0 (0.47s)
Computing version for https://github.com/vapor/sql.git
Computed https://github.com/vapor/sql.git at 2.3.2 (0.46s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.45s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.47s)
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.43s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.47s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.45s)
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.44s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.45s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.45s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.45s)
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.42s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (0.48s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.22s)
Computing version for https://github.com/IBM-Swift/BlueSSLService.git
Computed https://github.com/IBM-Swift/BlueSSLService.git at 1.0.200 (0.76s)
Computing version for https://github.com/IBM-Swift/BlueSocket.git
Computed https://github.com/IBM-Swift/BlueSocket.git at 1.0.200 (0.62s)
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.60s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (0.56s)
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/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
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/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
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/twof/VaporMailgunService.git
Working copy of https://github.com/twof/VaporMailgunService.git resolved at 1.8.1
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/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/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/LiveUI/MailCore.git
Working copy of https://github.com/LiveUI/MailCore.git resolved at 3.1.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/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
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/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.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/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/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.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/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/LiveUI/VaporTestTools.git
Working copy of https://github.com/LiveUI/VaporTestTools.git resolved at 0.1.7
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/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/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/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/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/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 3.1.2
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/sql.git
Working copy of https://github.com/vapor/sql.git resolved at 2.3.2
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/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/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/LiveUI/S3.git
Working copy of https://github.com/LiveUI/S3.git resolved at 3.0.0
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
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/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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.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/twostraws/Cgd.git
Working copy of https://github.com/twostraws/Cgd.git resolved at 0.2.0
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
Building for debugging...
[0/130] Write sources
[53/130] Compiling CNIOZlib empty.c
[54/130] Compiling CNIOLinux ifaddrs-android.c
[55/130] Compiling CNIODarwin shim.c
[56/130] Compiling CNIOSHA1 c_nio_sha1.c
[57/130] Compiling CNIOLinux shim.c
[58/130] Compiling CBcrypt bcrypt.c
[59/130] Compiling CBcrypt blf.c
[60/130] Write sources
[66/130] Write swift-version-24593BA9C3E375BF.txt
[67/130] Compiling CNIOHTTPParser c_nio_http_parser.c
[68/130] Compiling CBase32 base32.c
[69/130] Compiling CNIOOpenSSL helpers.c
[70/130] Compiling CNIOOpenSSL shims.c
[71/144] Compiling CCryptoOpenSSL shim.c
[72/172] Compiling c-atomics.c
[74/175] Emitting module NIOConcurrencyHelpers
[75/175] Compiling Debugging SourceLocation.swift
[76/175] Compiling LoggerAPI Logger.swift
[77/175] Emitting module LoggerAPI
[79/176] Compiling NIOPriorityQueue PriorityQueue.swift
[80/178] Compiling Debugging Demangler.swift
[81/178] Emitting module COperatingSystem
[82/178] Compiling COperatingSystem libc.swift
[83/178] Compiling SwiftGD Error.swift
/host/spi-builder-workspace/.build/checkouts/Cgd/module.modulemap:2:9: error: header '/usr/include/gd.h' not found
        header "/usr/include/gd.h"
               ^
/host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/Format.swift:3:12: error: could not build C module 'Cgdlinux'
    import Cgdlinux
           ^
[84/179] Emitting module XMLCoding
[85/180] Compiling SwiftGD Format.swift
/host/spi-builder-workspace/.build/checkouts/Cgd/module.modulemap:2:9: error: header '/usr/include/gd.h' not found
        header "/usr/include/gd.h"
               ^
/host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/Format.swift:3:12: error: could not build C module 'Cgdlinux'
    import Cgdlinux
           ^
[86/180] Compiling SwiftGD Geometry.swift
/host/spi-builder-workspace/.build/checkouts/Cgd/module.modulemap:2:9: error: header '/usr/include/gd.h' not found
        header "/usr/include/gd.h"
               ^
/host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/Format.swift:3:12: error: could not build C module 'Cgdlinux'
    import Cgdlinux
           ^
[87/180] Compiling SwiftGD Image.swift
/host/spi-builder-workspace/.build/checkouts/Cgd/module.modulemap:2:9: error: header '/usr/include/gd.h' not found
        header "/usr/include/gd.h"
               ^
/host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/Format.swift:3:12: error: could not build C module 'Cgdlinux'
    import Cgdlinux
           ^
[88/180] Emitting module Debugging
[89/180] Compiling Debugging Debuggable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[90/181] Compiling Cryptor Crypto.swift
[91/181] Emitting module SwiftGD
/host/spi-builder-workspace/.build/checkouts/Cgd/module.modulemap:2:9: error: header '/usr/include/gd.h' not found
        header "/usr/include/gd.h"
               ^
/host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/Format.swift:3:12: error: could not build C module 'Cgdlinux'
    import Cgdlinux
           ^
[92/181] Compiling Cryptor Cryptor.swift
[93/181] Compiling SwiftGD Color.swift
/host/spi-builder-workspace/.build/checkouts/Cgd/module.modulemap:2:9: error: header '/usr/include/gd.h' not found
        header "/usr/include/gd.h"
               ^
/host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/Format.swift:3:12: error: could not build C module 'Cgdlinux'
    import Cgdlinux
           ^
[94/181] Compiling Cryptor Digest.swift
[95/181] Compiling Cryptor HMAC.swift
[96/181] Compiling Cryptor KeyDerivation.swift
[97/181] Compiling Cryptor Random.swift
[98/181] Compiling Cryptor Updatable.swift
[99/181] Compiling XMLCoding XMLEncoder.swift
[100/181] Compiling XMLCoding XMLEncodingStorage.swift
[101/181] Compiling XMLCoding XMLReferencingEncoder.swift
[104/182] Compiling NIOConcurrencyHelpers atomics.swift
[105/182] Compiling NIOConcurrencyHelpers lock.swift
[106/183] Compiling XMLCoding ISO8601DateFormatter.swift
[107/183] Compiling XMLCoding XMLKey.swift
[108/183] Compiling Socket SocketProtocols.swift
[109/183] Compiling Socket SocketUtils.swift
[110/183] Emitting module NIOPriorityQueue
[111/183] Compiling NIOPriorityQueue Heap.swift
[114/184] Compiling Cryptor SSLPointerTricks.swift
[117/184] Compiling Cryptor Status.swift
[120/184] Emitting module Cryptor
error: fatalError
[123/184] Emitting module Socket
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
[0/1] Planning build
Building for debugging...
[0/58] Write swift-version-24593BA9C3E375BF.txt
[2/69] Emitting module COperatingSystem
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/70] Emitting module SwiftGD
/host/spi-builder-workspace/.build/checkouts/Cgd/module.modulemap:2:9: error: header '/usr/include/gd.h' not found
        header "/usr/include/gd.h"
               ^
/host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/Format.swift:3:12: error: could not build C module 'Cgdlinux'
    import Cgdlinux
           ^
[4/72] Compiling SwiftGD Format.swift
/host/spi-builder-workspace/.build/checkouts/Cgd/module.modulemap:2:9: error: header '/usr/include/gd.h' not found
        header "/usr/include/gd.h"
               ^
/host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/Format.swift:3:12: error: could not build C module 'Cgdlinux'
    import Cgdlinux
           ^
[5/72] Emitting module NIOPriorityQueue
[7/77] Compiling SwiftGD Color.swift
/host/spi-builder-workspace/.build/checkouts/Cgd/module.modulemap:2:9: error: header '/usr/include/gd.h' not found
        header "/usr/include/gd.h"
               ^
/host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/Format.swift:3:12: error: could not build C module 'Cgdlinux'
    import Cgdlinux
           ^
[8/77] Wrapping AST for LoggerAPI for debugging
[9/77] Wrapping AST for COperatingSystem for debugging
[11/77] Emitting module Debugging
[11/77] Wrapping AST for NIOPriorityQueue for debugging
[13/78] Emitting module NIOConcurrencyHelpers
[16/79] Emitting module Cryptor
[16/79] Wrapping AST for Debugging for debugging
[17/79] Wrapping AST for NIOConcurrencyHelpers for debugging
[19/129] Compiling Cryptor Utilities.swift
[20/134] Compiling SwiftGD Error.swift
/host/spi-builder-workspace/.build/checkouts/Cgd/module.modulemap:2:9: error: header '/usr/include/gd.h' not found
        header "/usr/include/gd.h"
               ^
/host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/Format.swift:3:12: error: could not build C module 'Cgdlinux'
    import Cgdlinux
           ^
[21/134] Compiling SwiftGD Image.swift
/host/spi-builder-workspace/.build/checkouts/Cgd/module.modulemap:2:9: error: header '/usr/include/gd.h' not found
        header "/usr/include/gd.h"
               ^
/host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/Format.swift:3:12: error: could not build C module 'Cgdlinux'
    import Cgdlinux
           ^
[22/134] Compiling SwiftGD Geometry.swift
/host/spi-builder-workspace/.build/checkouts/Cgd/module.modulemap:2:9: error: header '/usr/include/gd.h' not found
        header "/usr/include/gd.h"
               ^
/host/spi-builder-workspace/.build/checkouts/SwiftGD/Sources/Format.swift:3:12: error: could not build C module 'Cgdlinux'
    import Cgdlinux
           ^
error: fatalError
[23/134] Emitting module Socket
BUILD FAILURE 5.10 linux

Build Machine: Linux 2