The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftKueryMySQL 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/Kitura/SwiftKueryMySQL.git
Reference: 2.0.200
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
 * tag               2.0.200    -> FETCH_HEAD
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 2.0.200
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Kitura/SwiftKueryMySQL.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/IBM-Swift/Swift-Kuery.git
[1/5661] Fetching swift-kuery
Fetched https://github.com/IBM-Swift/Swift-Kuery.git from cache (1.27s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.26s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.47s)
Fetching https://github.com/apple/swift-log.git
[1/3170] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.48s)
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.4
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
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/10] Compiling Logging MetadataProvider.swift
[7/10] Compiling Logging LogHandler.swift
[8/10] Compiling Logging Locks.swift
[9/10] Emitting module Logging
[10/10] Compiling Logging Logging.swift
[12/13] Emitting module LoggerAPI
[13/13] Compiling LoggerAPI Logger.swift
[15/58] Compiling SwiftKuery Index.swift
[16/58] Compiling SwiftKuery IndexColumn.swift
[17/58] Compiling SwiftKuery IndexColumnOrdered.swift
[18/58] Compiling SwiftKuery Insert.swift
[19/58] Compiling SwiftKuery Join.swift
[20/58] Compiling SwiftKuery Migration.swift
[21/64] Compiling SwiftKuery OrderBy.swift
[22/64] Compiling SwiftKuery Parameter.swift
[23/64] Compiling SwiftKuery Predicate.swift
[24/64] Compiling SwiftKuery PreparedStatement.swift
[25/64] Compiling SwiftKuery Query.swift
[26/64] Compiling SwiftKuery QueryBuilder.swift
[27/64] Emitting module SwiftKuery
[28/64] Compiling SwiftKuery QueryError.swift
[29/64] Compiling SwiftKuery QueryResult.swift
[30/64] Compiling SwiftKuery QuerySuffixProtocol.swift
[31/64] Compiling SwiftKuery Raw.swift
[32/64] Compiling SwiftKuery RawField.swift
[33/64] Compiling SwiftKuery ResultFetcher.swift
[34/64] Compiling SwiftKuery ConditionalClause.swift
[35/64] Compiling SwiftKuery Connection.swift
[36/64] Compiling SwiftKuery ConnectionPool.swift
[37/64] Compiling SwiftKuery ConnectionPoolConnection.swift
[38/64] Compiling SwiftKuery ConnectionPoolOptions.swift
[39/64] Compiling SwiftKuery Delete.swift
[40/64] Compiling SwiftKuery AggregateColumnExpression.swift
[41/64] Compiling SwiftKuery AuxiliaryTable.swift
[42/64] Compiling SwiftKuery Buildable.swift
[43/64] Compiling SwiftKuery Column.swift
[44/64] Compiling SwiftKuery ColumnAndExpressions_Extensions.swift
[45/64] Compiling SwiftKuery ColumnCreator.swift
[46/64] Compiling SwiftKuery Condition.swift
[47/64] Compiling SwiftKuery ResultSet.swift
[48/64] Compiling SwiftKuery SQLDataType.swift
[49/64] Compiling SwiftKuery ScalarColumnExpression.swift
[50/64] Compiling SwiftKuery Select.swift
[51/64] Compiling SwiftKuery SpecialOperators_Extensions.swift
[52/64] Compiling SwiftKuery String+Buildable.swift
[53/64] Compiling SwiftKuery Field.swift
[54/64] Compiling SwiftKuery Filter.swift
[55/64] Compiling SwiftKuery FilterAndHaving_Extensions.swift
[56/64] Compiling SwiftKuery FilterAndHaving_GlobalFunctions.swift
[57/64] Compiling SwiftKuery ForeignKey.swift
[58/64] Compiling SwiftKuery Having.swift
[59/64] Compiling SwiftKuery Subqueries_GlobalFunctionsAndExtensions.swift
[60/64] Compiling SwiftKuery Table.swift
[61/64] Compiling SwiftKuery Union.swift
[62/64] Compiling SwiftKuery Update.swift
[63/64] Compiling SwiftKuery Utils.swift
[64/64] Compiling SwiftKuery With.swift
[66/69] 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
       ^
[67/69] 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)
[68/69] 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
       ^
[69/69] 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
warning: you may be able to install mysqlclient using your system-packager:
    apt-get install libmysqlclient-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] 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
       ^
[3/5] 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)
[4/5] 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
       ^
[5/5] 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.10 linux