Build Information
Failed to build SwiftKueryMySQL with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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.0
Building package at path: $workDir
https://github.com/Kitura/SwiftKueryMySQL.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 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.56s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.37s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.87s)
Fetching https://github.com/apple/swift-log.git
[1/3353] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.68s)
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] Emitting module Logging
[8/10] Compiling Logging LogHandler.swift
[9/10] Compiling Logging Locks.swift
[10/10] Compiling Logging Logging.swift
[12/13] Emitting module LoggerAPI
[13/13] Compiling LoggerAPI Logger.swift
[15/58] Compiling SwiftKuery OrderBy.swift
[16/58] Compiling SwiftKuery Parameter.swift
[17/58] Compiling SwiftKuery Predicate.swift
[18/58] Compiling SwiftKuery PreparedStatement.swift
[19/58] Compiling SwiftKuery Query.swift
[20/58] Compiling SwiftKuery QueryBuilder.swift
[21/64] Compiling SwiftKuery Index.swift
[22/64] Compiling SwiftKuery IndexColumn.swift
[23/64] Compiling SwiftKuery IndexColumnOrdered.swift
[24/64] Compiling SwiftKuery Insert.swift
[25/64] Compiling SwiftKuery Join.swift
[26/64] Compiling SwiftKuery Migration.swift
[27/64] Emitting module SwiftKuery
[28/64] Compiling SwiftKuery ConditionalClause.swift
[29/64] Compiling SwiftKuery Connection.swift
[30/64] Compiling SwiftKuery ConnectionPool.swift
[31/64] Compiling SwiftKuery ConnectionPoolConnection.swift
[32/64] Compiling SwiftKuery ConnectionPoolOptions.swift
[33/64] Compiling SwiftKuery Delete.swift
[34/64] Compiling SwiftKuery AggregateColumnExpression.swift
[35/64] Compiling SwiftKuery AuxiliaryTable.swift
[36/64] Compiling SwiftKuery Buildable.swift
[37/64] Compiling SwiftKuery Column.swift
[38/64] Compiling SwiftKuery ColumnAndExpressions_Extensions.swift
[39/64] Compiling SwiftKuery ColumnCreator.swift
[40/64] Compiling SwiftKuery Condition.swift
[41/64] Compiling SwiftKuery QueryError.swift
[42/64] Compiling SwiftKuery QueryResult.swift
[43/64] Compiling SwiftKuery QuerySuffixProtocol.swift
[44/64] Compiling SwiftKuery Raw.swift
[45/64] Compiling SwiftKuery RawField.swift
[46/64] Compiling SwiftKuery ResultFetcher.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 Subqueries_GlobalFunctionsAndExtensions.swift
[54/64] Compiling SwiftKuery Table.swift
[55/64] Compiling SwiftKuery Union.swift
[56/64] Compiling SwiftKuery Update.swift
[57/64] Compiling SwiftKuery Utils.swift
[58/64] Compiling SwiftKuery With.swift
[59/64] Compiling SwiftKuery Field.swift
[60/64] Compiling SwiftKuery Filter.swift
[61/64] Compiling SwiftKuery FilterAndHaving_Extensions.swift
[62/64] Compiling SwiftKuery FilterAndHaving_GlobalFunctions.swift
[63/64] Compiling SwiftKuery ForeignKey.swift
[64/64] Compiling SwiftKuery Having.swift
[66/69] 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.
[67/69] 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.
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:
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/69] 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.
BUILD FAILURE 6.0 linux