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-1":/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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/LiveUI/FluentTestTools.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/IBM-Swift/BlueCryptor.git
Fetching https://github.com/vapor-community/Imperial.git
Fetching https://github.com/vapor/http.git
Fetching https://github.com/LiveUI/MailCore.git
[1/227] Fetching mailcore
[228/260] Fetching mailcore, fluenttesttools
[255/20403] Fetching mailcore, fluenttesttools, core
[1061/23614] Fetching mailcore, fluenttesttools, core, imperial
[1657/49081] Fetching mailcore, fluenttesttools, core, imperial, http
[9150/50719] Fetching mailcore, fluenttesttools, core, imperial, http, bluecryptor
Fetched https://github.com/LiveUI/MailCore.git from cache (0.33s)
[9912/50492] Fetching fluenttesttools, core, imperial, http, bluecryptor
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetched https://github.com/LiveUI/FluentTestTools.git from cache (0.42s)
[25804/50459] Fetching core, imperial, http, bluecryptor
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetched https://github.com/vapor-community/Imperial.git from cache (0.51s)
[34307/47248] Fetching core, http, bluecryptor
Fetching https://github.com/twostraws/Cgd.git
[38329/47264] Fetching core, http, bluecryptor, swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.30s)
Fetching https://github.com/vapor/url-encoded-form.git
[38531/47263] Fetching core, http, bluecryptor, swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.27s)
Fetching https://github.com/vapor/jwt.git
[41753/47248] Fetching core, http, bluecryptor
[42156/47268] Fetching core, http, bluecryptor, cgd
Fetched https://github.com/twostraws/Cgd.git from cache (0.24s)
Fetching https://github.com/vapor/validation.git
[42664/47248] Fetching core, http, bluecryptor
[47249/47629] Fetching core, http, bluecryptor, url-encoded-form
[47630/50058] Fetching core, http, bluecryptor, url-encoded-form, jwt
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.32s)
Fetching https://github.com/twostraws/SwiftGD.git
[47856/49677] Fetching core, http, bluecryptor, jwt
[49678/50256] Fetching core, http, bluecryptor, jwt, validation
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (1.05s)
Fetching https://github.com/vapor/crypto.git
Fetched https://github.com/vapor/jwt.git from cache (0.36s)
Fetching https://github.com/vapor/postgresql.git
Fetched https://github.com/vapor/core.git from cache (1.07s)
Fetching https://github.com/LiveUI/VaporTestTools.git
Fetched https://github.com/vapor/validation.git from cache (0.33s)
Fetching https://github.com/LiveUI/S3.git
[1/432] Fetching swiftgd
[433/769] Fetching swiftgd, vaportesttools
Fetched https://github.com/twostraws/SwiftGD.git from cache (0.34s)
[14/337] Fetching vaportesttools
Fetching https://github.com/vapor/service.git
Fetched https://github.com/vapor/http.git from cache (1.30s)
Fetching https://github.com/vapor/database-kit.git
[338/3123] Fetching vaportesttools, crypto
[1341/8307] Fetching vaportesttools, crypto, postgresql
[2429/9726] Fetching vaportesttools, crypto, postgresql, s3
Fetched https://github.com/LiveUI/VaporTestTools.git from cache (0.32s)
Fetching https://github.com/LiveUI/XMLCoding.git
[6901/9389] Fetching crypto, postgresql, s3
Fetched https://github.com/LiveUI/S3.git from cache (0.37s)
Fetching https://github.com/LiveUI/ErrorsCore.git
Fetched https://github.com/vapor/crypto.git from cache (0.46s)
Fetching https://github.com/vapor-community/sendgrid-provider.git
Fetched https://github.com/vapor/postgresql.git from cache (0.45s)
Fetching https://github.com/vapor/template-kit.git
[1/919] Fetching service
[920/2100] Fetching service, database-kit
[2078/2636] Fetching service, database-kit, xmlcoding
Fetched https://github.com/vapor/service.git from cache (0.33s)
Fetching https://github.com/vapor/leaf.git
Fetched https://github.com/vapor/database-kit.git from cache (0.34s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/LiveUI/XMLCoding.git from cache (0.26s)
Fetching https://github.com/vapor/console.git
[1/111] Fetching errorscore
[112/1062] Fetching errorscore, sendgrid-provider
[122/2344] Fetching errorscore, sendgrid-provider, template-kit
Fetched https://github.com/LiveUI/ErrorsCore.git from cache (0.30s)
[2092/2233] Fetching sendgrid-provider, template-kit
Fetching https://github.com/vapor/fluent-postgresql.git
[2234/6117] Fetching sendgrid-provider, template-kit, leaf
[2331/5166] Fetching template-kit, leaf
Fetched https://github.com/vapor-community/sendgrid-provider.git from cache (0.32s)
Fetching https://github.com/vapor/vapor.git
Fetched https://github.com/vapor/template-kit.git from cache (0.33s)
[3030/3884] Fetching leaf
Fetching https://github.com/twof/VaporMailgunService.git
[3885/9162] Fetching leaf, console
[9111/11699] Fetching leaf, console, fluent-postgresql
Fetched https://github.com/vapor/leaf.git from cache (0.39s)
[7687/7815] Fetching console, fluent-postgresql
Fetching https://github.com/IBM-Swift/BlueSSLService.git
Fetched https://github.com/vapor/console.git from cache (0.40s)
Fetching https://github.com/IBM-Swift/BlueSocket.git
[2538/14678] Fetching fluent-postgresql, swift-nio-ssl
Fetched https://github.com/vapor/fluent-postgresql.git from cache (0.35s)
Fetching https://github.com/apple/swift-nio.git
[486/12141] Fetching swift-nio-ssl
[851/12849] Fetching swift-nio-ssl, vapormailgunservice
Fetched https://github.com/twof/VaporMailgunService.git from cache (0.39s)
Fetching https://github.com/vapor/multipart.git
[1823/14229] Fetching swift-nio-ssl, bluesslservice
[4275/17171] Fetching swift-nio-ssl, bluesslservice, bluesocket
[5195/84448] Fetching swift-nio-ssl, bluesslservice, bluesocket, vapor
Fetched https://github.com/IBM-Swift/BlueSSLService.git from cache (0.46s)
[9827/82360] Fetching swift-nio-ssl, bluesocket, vapor
Fetching https://github.com/vapor/routing.git
[14164/84060] Fetching swift-nio-ssl, bluesocket, vapor, multipart
Fetched https://github.com/IBM-Swift/BlueSocket.git from cache (0.58s)
Fetching https://github.com/IBM-Swift/Swift-SMTP.git
[14664/81118] Fetching swift-nio-ssl, vapor, multipart
[19729/101786] Fetching swift-nio-ssl, vapor, multipart, routing
[35356/104371] Fetching swift-nio-ssl, vapor, multipart, routing, swift-smtp
[39025/168785] Fetching swift-nio-ssl, vapor, multipart, routing, swift-smtp, swift-nio
Fetched https://github.com/IBM-Swift/Swift-SMTP.git from cache (0.90s)
Fetching https://github.com/IBM-Swift/LoggerAPI.git
[52467/166200] Fetching swift-nio-ssl, vapor, multipart, routing, swift-nio
[75192/166971] Fetching swift-nio-ssl, vapor, multipart, routing, swift-nio, loggerapi
Fetched https://github.com/IBM-Swift/LoggerAPI.git from cache (0.68s)
Fetching https://github.com/vapor/websocket.git
[91251/166200] Fetching swift-nio-ssl, vapor, multipart, routing, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.91s)
[97863/154059] Fetching vapor, multipart, routing, swift-nio
Fetching https://github.com/vapor/fluent.git
Fetched https://github.com/vapor/routing.git from cache (2.17s)
Fetching https://github.com/vapor/sql.git
[83893/133391] Fetching vapor, multipart, swift-nio
[84538/135802] Fetching vapor, multipart, swift-nio, websocket
Fetched https://github.com/vapor/websocket.git from cache (0.86s)
[85825/133391] Fetching vapor, multipart, swift-nio
[85826/146696] Fetching vapor, multipart, swift-nio, fluent
[88334/151661] Fetching vapor, multipart, swift-nio, fluent, sql
Fetched https://github.com/vapor/sql.git from cache (1.31s)
[107404/146696] Fetching vapor, multipart, swift-nio, fluent
Fetched https://github.com/vapor/multipart.git from cache (3.80s)
[106348/144996] Fetching vapor, swift-nio, fluent
Fetched https://github.com/vapor/fluent.git from cache (1.63s)
Fetched https://github.com/vapor/vapor.git from cache (4.40s)
Computing version for https://github.com/vapor-community/Imperial.git
[27054/64414] Fetching swift-nio
Computed https://github.com/vapor-community/Imperial.git at 0.17.0 (2.49s)
Computing version for https://github.com/LiveUI/FluentTestTools.git
Computed https://github.com/LiveUI/FluentTestTools.git at 0.1.0 (1.05s)
Computing version for https://github.com/LiveUI/VaporTestTools.git
Computed https://github.com/LiveUI/VaporTestTools.git at 0.1.7 (0.99s)
Fetched https://github.com/apple/swift-nio.git from cache (8.67s)
Computing version for https://github.com/LiveUI/ErrorsCore.git
Computed https://github.com/LiveUI/ErrorsCore.git at 0.1.0 (0.61s)
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.46s)
Computing version for https://github.com/twostraws/SwiftGD.git
Computed https://github.com/twostraws/SwiftGD.git at 2.3.0 (0.45s)
Computing version for https://github.com/vapor/leaf.git
Computed https://github.com/vapor/leaf.git at 3.0.2 (0.47s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 3.1.2 (0.44s)
Computing version for https://github.com/vapor/fluent-postgresql.git
Computed https://github.com/vapor/fluent-postgresql.git at 1.0.1 (0.46s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 3.2.1 (0.46s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.46s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.50s)
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.29s)
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.46s)
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.46s)
Computing version for https://github.com/twof/VaporMailgunService.git
Computed https://github.com/twof/VaporMailgunService.git at 1.8.1 (0.46s)
Computing version for https://github.com/LiveUI/XMLCoding.git
Computed https://github.com/LiveUI/XMLCoding.git at 0.4.1 (0.44s)
Computing version for https://github.com/twostraws/Cgd.git
Computed https://github.com/twostraws/Cgd.git at 0.2.0 (0.45s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.45s)
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.45s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.44s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.48s)
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.44s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.46s)
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.46s)
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.46s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.46s)
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.49s)
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.49s)
Computing version for https://github.com/IBM-Swift/BlueSocket.git
Computed https://github.com/IBM-Swift/BlueSocket.git at 1.0.200 (0.46s)
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.46s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (0.44s)
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/LiveUI/FluentTestTools.git
Working copy of https://github.com/LiveUI/FluentTestTools.git resolved at 0.1.0
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/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/VaporTestTools.git
Working copy of https://github.com/LiveUI/VaporTestTools.git resolved at 0.1.7
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/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/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/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/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/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 3.1.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-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/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/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.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/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/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/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
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/postgresql.git
Working copy of https://github.com/vapor/postgresql.git resolved at 1.6.0
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/LiveUI/XMLCoding.git
Working copy of https://github.com/LiveUI/XMLCoding.git resolved at 0.4.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/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/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
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/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/S3.git
Working copy of https://github.com/LiveUI/S3.git resolved at 3.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/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/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/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/leaf.git
Working copy of https://github.com/vapor/leaf.git resolved at 3.0.2
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/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/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.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
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 CNIOLinux ifaddrs-android.c
[54/130] Compiling CNIOZlib empty.c
[55/130] Compiling CNIOSHA1 c_nio_sha1.c
[56/130] Compiling CNIODarwin shim.c
[57/130] Compiling CNIOLinux shim.c
[58/130] Write swift-version-24593BA9C3E375BF.txt
[59/130] Compiling CBcrypt blf.c
[60/130] Compiling CBcrypt bcrypt.c
[61/130] Compiling CNIOHTTPParser c_nio_http_parser.c
[62/130] Compiling CNIOOpenSSL helpers.c
[63/130] Compiling CBase32 base32.c
[64/130] Compiling CNIOOpenSSL shims.c
[65/130] Compiling CCryptoOpenSSL shim.c
[66/172] Compiling c-atomics.c
[68/172] Emitting module Socket
[69/174] Emitting module XMLCoding
[70/175] Compiling Debugging SourceLocation.swift
[71/175] Emitting module LoggerAPI
[72/175] Compiling LoggerAPI Logger.swift
[73/176] Compiling NIOPriorityQueue PriorityQueue.swift
[75/179] Emitting module NIOConcurrencyHelpers
[76/179] Compiling COperatingSystem libc.swift
[77/179] Emitting module COperatingSystem
error: emit-module command failed with exit code 1 (use -v to see invocation)
[78/180] 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
           ^
[79/180] 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
           ^
[80/180] Compiling Cryptor Crypto.swift
[81/180] Compiling Cryptor Cryptor.swift
[82/180] Compiling Debugging Demangler.swift
[85/180] Emitting module Cryptor
[87/181] Compiling Socket SocketProtocols.swift
[88/181] Compiling Cryptor Updatable.swift
[89/181] Emitting module Debugging
[90/181] Compiling Debugging Debuggable.swift
[91/182] Compiling XMLCoding XMLKey.swift
[92/182] Compiling XMLCoding ISO8601DateFormatter.swift
[93/182] Compiling XMLCoding XMLReferencingEncoder.swift
[94/182] 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
           ^
[95/182] 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
           ^
[96/182] Compiling NIOConcurrencyHelpers lock.swift
[97/182] Compiling NIOConcurrencyHelpers atomics.swift
[98/183] Emitting module NIOPriorityQueue
[99/183] Compiling NIOPriorityQueue Heap.swift
[101/183] 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
           ^
[102/183] 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
           ^
[102/184] Wrapping AST for LoggerAPI for debugging
error: fatalError
[103/184] Wrapping AST for COperatingSystem for debugging
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/62] Write sources
[6/64] Write swift-version-24593BA9C3E375BF.txt
[7/63] Wrapping AST for COperatingSystem for debugging
[9/91] Emitting module NIOPriorityQueue
[10/92] 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
           ^
[11/92] 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
           ^
[12/92] Emitting module Debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/93] 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
           ^
[14/93] 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
           ^
[16/93] Emitting module NIOConcurrencyHelpers
[17/94] Wrapping AST for NIOPriorityQueue for debugging
[19/94] Wrapping AST for Debugging for debugging
[20/94] Wrapping AST for NIOConcurrencyHelpers for debugging
[22/94] Emitting module Socket
[23/144] Compiling Socket SocketUtils.swift
[24/144] Compiling Cryptor SSLPointerTricks.swift
[25/145] Emitting module XMLCoding
[26/145] Compiling Cryptor Random.swift
[27/146] Compiling Cryptor HMAC.swift
[28/147] 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
           ^
[29/147] 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
           ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2