The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftKueryMySQL with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/SwiftKueryMySQL.git
Reference: master
Cloned https://github.com/Kitura/SwiftKueryMySQL.git into spi-builder-workspace
SUCCESS checkout https://github.com/Kitura/SwiftKueryMySQL.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/IBM-Swift/Swift-Kuery.git
[1/5661] Fetching swift-kuery
Fetched https://github.com/IBM-Swift/Swift-Kuery.git (1.30s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git (0.23s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.26s)
Fetching https://github.com/apple/swift-log.git
[1/3079] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.34s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.25s)
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.2
Creating working copy for https://github.com/IBM-Swift/Swift-Kuery.git
Working copy of https://github.com/IBM-Swift/Swift-Kuery.git resolved at master
warning: you may be able to install mysqlclient using your system-packager:
    apt-get install libmysqlclient-dev
Building for debugging...
[1/5] Compiling Logging MetadataProvider.swift
[2/5] Compiling Logging Locks.swift
[3/5] Emitting module Logging
[4/5] Compiling Logging LogHandler.swift
[5/5] Compiling Logging Logging.swift
[8/9] Compiling LoggerAPI Logger.swift
[9/9] Emitting module LoggerAPI
[12/55] Emitting module SwiftKuery
[13/61] Compiling SwiftKuery ConditionalClause.swift
[14/61] Compiling SwiftKuery Connection.swift
[15/61] Compiling SwiftKuery ConnectionPool.swift
[16/61] Compiling SwiftKuery ConnectionPoolConnection.swift
[17/61] Compiling SwiftKuery ConnectionPoolOptions.swift
[18/61] Compiling SwiftKuery Delete.swift
[19/61] Compiling SwiftKuery AggregateColumnExpression.swift
[20/61] Compiling SwiftKuery AuxiliaryTable.swift
[21/61] Compiling SwiftKuery Buildable.swift
[22/61] Compiling SwiftKuery Column.swift
[23/61] Compiling SwiftKuery ColumnAndExpressions_Extensions.swift
[24/61] Compiling SwiftKuery ColumnCreator.swift
[25/61] Compiling SwiftKuery Condition.swift
[26/61] Compiling SwiftKuery OrderBy.swift
[27/61] Compiling SwiftKuery Parameter.swift
[28/61] Compiling SwiftKuery Predicate.swift
[29/61] Compiling SwiftKuery PreparedStatement.swift
[30/61] Compiling SwiftKuery Query.swift
[31/61] Compiling SwiftKuery QueryBuilder.swift
[32/61] Compiling SwiftKuery QueryError.swift
[33/61] Compiling SwiftKuery QueryResult.swift
[34/61] Compiling SwiftKuery QuerySuffixProtocol.swift
[35/61] Compiling SwiftKuery Raw.swift
[36/61] Compiling SwiftKuery RawField.swift
[37/61] Compiling SwiftKuery ResultFetcher.swift
[38/61] Compiling SwiftKuery ResultSet.swift
[39/61] Compiling SwiftKuery SQLDataType.swift
[40/61] Compiling SwiftKuery ScalarColumnExpression.swift
[41/61] Compiling SwiftKuery Select.swift
[42/61] Compiling SwiftKuery SpecialOperators_Extensions.swift
[43/61] Compiling SwiftKuery String+Buildable.swift
[44/61] Compiling SwiftKuery Subqueries_GlobalFunctionsAndExtensions.swift
[45/61] Compiling SwiftKuery Table.swift
[46/61] Compiling SwiftKuery Union.swift
[47/61] Compiling SwiftKuery Update.swift
[48/61] Compiling SwiftKuery Utils.swift
[49/61] Compiling SwiftKuery With.swift
[50/61] Compiling SwiftKuery Field.swift
[51/61] Compiling SwiftKuery Filter.swift
[52/61] Compiling SwiftKuery FilterAndHaving_Extensions.swift
[53/61] Compiling SwiftKuery FilterAndHaving_GlobalFunctions.swift
[54/61] Compiling SwiftKuery ForeignKey.swift
[55/61] Compiling SwiftKuery Having.swift
[56/61] Compiling SwiftKuery Index.swift
[57/61] Compiling SwiftKuery IndexColumn.swift
[58/61] Compiling SwiftKuery IndexColumnOrdered.swift
[59/61] Compiling SwiftKuery Insert.swift
[60/61] Compiling SwiftKuery Join.swift
[61/61] Compiling SwiftKuery Migration.swift
[64/67] Compiling SwiftKueryMySQL MySQLResultFetcher.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
#include <mysql.h>
         ^
/host/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[65/67] Compiling SwiftKueryMySQL MySQLPreparedStatement.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
#include <mysql.h>
         ^
/host/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/67] Emitting module SwiftKueryMySQL
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
#include <mysql.h>
         ^
/host/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
[67/67] Compiling SwiftKueryMySQL MySQLConnection.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
#include <mysql.h>
         ^
/host/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build C module 'CMySQL'
import CMySQL
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1