Build Information
Failed to build SwiftKueryMySQL, reference master (ad6355), with Swift 6.3 for Linux on 21 Apr 2026 12:40:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/SwiftKueryMySQL.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/Kitura/SwiftKueryMySQL
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ad6355e Update package reference to community versions (#69)
Cloned https://github.com/Kitura/SwiftKueryMySQL.git
Revision (git rev-parse @):
ad6355e6fe75149efc5dc270f726edf8af867944
SUCCESS checkout https://github.com/Kitura/SwiftKueryMySQL.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/Kitura/SwiftKueryMySQL.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/IBM-Swift/Swift-Kuery.git
[1/5661] Fetching swift-kuery
Fetched https://github.com/IBM-Swift/Swift-Kuery.git from cache (1.33s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.29s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.78s)
Fetching https://github.com/apple/swift-log.git
[1/6635] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.53s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.00s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
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/IBM-Swift/Swift-Kuery.git
Working copy of https://github.com/IBM-Swift/Swift-Kuery.git resolved at master (b9f5355)
warning: you may be able to install mysqlclient using your system-packager:
apt-get install libmysqlclient-dev
warning: you may be able to install mysqlclient using your system-packager:
apt-get install libmysqlclient-dev
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/11] Compiling Logging LogEvent.swift
[7/11] Compiling Logging MetadataProvider.swift
[8/11] Emitting module Logging
[9/11] Compiling Logging Locks.swift
[10/11] Compiling Logging Logging.swift
[11/11] Compiling Logging LogHandler.swift
[13/14] Emitting module LoggerAPI
[14/14] Compiling LoggerAPI Logger.swift
[16/59] Emitting module SwiftKuery
[17/65] Compiling SwiftKuery Index.swift
[18/65] Compiling SwiftKuery IndexColumn.swift
[19/65] Compiling SwiftKuery IndexColumnOrdered.swift
[20/65] Compiling SwiftKuery Insert.swift
[21/65] Compiling SwiftKuery Join.swift
[22/65] Compiling SwiftKuery Migration.swift
[23/65] Compiling SwiftKuery ConditionalClause.swift
[24/65] Compiling SwiftKuery Connection.swift
[25/65] Compiling SwiftKuery ConnectionPool.swift
[26/65] Compiling SwiftKuery ConnectionPoolConnection.swift
[27/65] Compiling SwiftKuery ConnectionPoolOptions.swift
[28/65] Compiling SwiftKuery Delete.swift
[29/65] Compiling SwiftKuery QueryError.swift
[30/65] Compiling SwiftKuery QueryResult.swift
[31/65] Compiling SwiftKuery QuerySuffixProtocol.swift
[32/65] Compiling SwiftKuery Raw.swift
[33/65] Compiling SwiftKuery RawField.swift
[34/65] Compiling SwiftKuery ResultFetcher.swift
[35/65] Compiling SwiftKuery Subqueries_GlobalFunctionsAndExtensions.swift
[36/65] Compiling SwiftKuery Table.swift
[37/65] Compiling SwiftKuery Union.swift
[38/65] Compiling SwiftKuery Update.swift
[39/65] Compiling SwiftKuery Utils.swift
[40/65] Compiling SwiftKuery With.swift
[41/65] Compiling SwiftKuery AggregateColumnExpression.swift
[42/65] Compiling SwiftKuery AuxiliaryTable.swift
[43/65] Compiling SwiftKuery Buildable.swift
[44/65] Compiling SwiftKuery Column.swift
[45/65] Compiling SwiftKuery ColumnAndExpressions_Extensions.swift
[46/65] Compiling SwiftKuery ColumnCreator.swift
[47/65] Compiling SwiftKuery Condition.swift
[48/65] Compiling SwiftKuery OrderBy.swift
[49/65] Compiling SwiftKuery Parameter.swift
[50/65] Compiling SwiftKuery Predicate.swift
[51/65] Compiling SwiftKuery PreparedStatement.swift
[52/65] Compiling SwiftKuery Query.swift
[53/65] Compiling SwiftKuery QueryBuilder.swift
[54/65] Compiling SwiftKuery ResultSet.swift
[55/65] Compiling SwiftKuery SQLDataType.swift
[56/65] Compiling SwiftKuery ScalarColumnExpression.swift
[57/65] Compiling SwiftKuery Select.swift
[58/65] Compiling SwiftKuery SpecialOperators_Extensions.swift
[59/65] Compiling SwiftKuery String+Buildable.swift
[60/65] Compiling SwiftKuery Field.swift
[61/65] Compiling SwiftKuery Filter.swift
[62/65] Compiling SwiftKuery FilterAndHaving_Extensions.swift
[63/65] Compiling SwiftKuery FilterAndHaving_GlobalFunctions.swift
[64/65] Compiling SwiftKuery ForeignKey.swift
[65/65] Compiling SwiftKuery Having.swift
[67/70] Compiling SwiftKueryMySQL MySQLResultFetcher.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
1 | #ifndef __CMYSQL_SHIM_H__
2 | #define __CMYSQL_SHIM_H__
3 | #include <mysql.h>
| `- error: 'mysql.h' file not found
4 | #include <errmsg.h>
5 |
/host/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build C module 'CMySQL'
19 | import Dispatch
20 |
21 | import CMySQL
| `- error: could not build C module 'CMySQL'
22 |
23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[68/70] Emitting module SwiftKueryMySQL
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
1 | #ifndef __CMYSQL_SHIM_H__
2 | #define __CMYSQL_SHIM_H__
3 | #include <mysql.h>
| `- error: 'mysql.h' file not found
4 | #include <errmsg.h>
5 |
/host/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build C module 'CMySQL'
19 | import Dispatch
20 |
21 | import CMySQL
| `- error: could not build C module 'CMySQL'
22 |
23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
[69/70] Compiling SwiftKueryMySQL MySQLConnection.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
1 | #ifndef __CMYSQL_SHIM_H__
2 | #define __CMYSQL_SHIM_H__
3 | #include <mysql.h>
| `- error: 'mysql.h' file not found
4 | #include <errmsg.h>
5 |
/host/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build C module 'CMySQL'
19 | import Dispatch
20 |
21 | import CMySQL
| `- error: could not build C module 'CMySQL'
22 |
23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
[70/70] Compiling SwiftKueryMySQL MySQLPreparedStatement.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
1 | #ifndef __CMYSQL_SHIM_H__
2 | #define __CMYSQL_SHIM_H__
3 | #include <mysql.h>
| `- error: 'mysql.h' file not found
4 | #include <errmsg.h>
5 |
/host/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build C module 'CMySQL'
19 | import Dispatch
20 |
21 | import CMySQL
| `- error: could not build C module 'CMySQL'
22 |
23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
BUILD FAILURE 6.3 linux