Build Information
Failed to build SwiftKueryMySQL, reference 2.0.200 (ad6355
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 03:56:58 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/SwiftKueryMySQL.git
Reference: 2.0.200
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
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.35s)
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.91s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (1.50s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.14s)
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.6.3
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)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftkuerymysql",
"name": "SwiftKueryMySQL",
"url": "https://github.com/Kitura/SwiftKueryMySQL.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftKueryMySQL",
"dependencies": [
{
"identity": "swift-kuery",
"name": "SwiftKuery",
"url": "https://github.com/IBM-Swift/Swift-Kuery.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swift-Kuery",
"dependencies": [
{
"identity": "loggerapi",
"name": "LoggerAPI",
"url": "https://github.com/Kitura/LoggerAPI.git",
"version": "1.9.200",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LoggerAPI",
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
}
]
}
]
}
]
}
Fetching https://github.com/Kitura/SwiftKueryMySQL.git
[1/1659] Fetching swiftkuerymysql
Fetched https://github.com/Kitura/SwiftKueryMySQL.git from cache (0.83s)
Fetching https://github.com/IBM-Swift/Swift-Kuery.git from cache
Fetched https://github.com/IBM-Swift/Swift-Kuery.git from cache (0.50s)
Fetching https://github.com/Kitura/LoggerAPI.git from cache
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.41s)
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 from cache
Fetched https://github.com/apple/swift-log.git from cache (0.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.59s)
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)
Creating working copy for https://github.com/Kitura/SwiftKueryMySQL.git
Working copy of https://github.com/Kitura/SwiftKueryMySQL.git resolved at 2.0.200 (ad6355e)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
warning: '.resolve-product-dependencies': dependency 'swiftkuerymysql' is not used by any target
Found 1 product dependencies
- SwiftKuery
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Kitura/SwiftKueryMySQL.git
https://github.com/Kitura/SwiftKueryMySQL.git
{
"dependencies" : [
{
"identity" : "swift-kuery",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/IBM-Swift/Swift-Kuery.git"
}
],
"manifest_display_name" : "SwiftKueryMySQL",
"name" : "SwiftKueryMySQL",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftKueryMySQL",
"targets" : [
"SwiftKueryMySQL"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftKueryMySQLTests",
"module_type" : "SwiftTarget",
"name" : "SwiftKueryMySQLTests",
"path" : "Tests/SwiftKueryMySQLTests",
"sources" : [
"CommonUtils.swift",
"MySQLTest.swift",
"TestAlias.swift",
"TestColumnTypes.swift",
"TestInsert.swift",
"TestJoin.swift",
"TestParameters.swift",
"TestSchema.swift",
"TestSelect.swift",
"TestSubquery.swift",
"TestTimingWindows.swift",
"TestTransaction.swift",
"TestUpdate.swift"
],
"target_dependencies" : [
"SwiftKueryMySQL",
"CMySQL"
],
"type" : "test"
},
{
"c99name" : "SwiftKueryMySQL",
"module_type" : "SwiftTarget",
"name" : "SwiftKueryMySQL",
"path" : "Sources/SwiftKueryMySQL",
"product_dependencies" : [
"SwiftKuery"
],
"product_memberships" : [
"SwiftKueryMySQL"
],
"sources" : [
"MySQLConnection.swift",
"MySQLPreparedStatement.swift",
"MySQLResultFetcher.swift"
],
"target_dependencies" : [
"CMySQL"
],
"type" : "library"
},
{
"c99name" : "CMySQL",
"module_type" : "SystemLibraryTarget",
"name" : "CMySQL",
"path" : "Sources/CMySQL",
"product_memberships" : [
"SwiftKueryMySQL"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/10] Compiling Logging MetadataProvider.swift
[7/10] Compiling Logging LogHandler.swift
[8/10] Emitting module Logging
[9/10] Compiling Logging Locks.swift
[10/10] Compiling Logging Logging.swift
[11/12] Compiling LoggerAPI Logger.swift
[12/12] Emitting module LoggerAPI
[13/58] Emitting module SwiftKuery
[14/62] Compiling SwiftKuery RawField.swift
[15/62] Compiling SwiftKuery ResultFetcher.swift
[16/62] Compiling SwiftKuery ResultSet.swift
[17/62] Compiling SwiftKuery SQLDataType.swift
[18/62] Compiling SwiftKuery ScalarColumnExpression.swift
[19/62] Compiling SwiftKuery IndexColumn.swift
[20/62] Compiling SwiftKuery IndexColumnOrdered.swift
[21/62] Compiling SwiftKuery Insert.swift
[22/62] Compiling SwiftKuery Join.swift
[23/62] Compiling SwiftKuery Migration.swift
[24/62] Compiling SwiftKuery QueryBuilder.swift
[25/62] Compiling SwiftKuery QueryError.swift
[26/62] Compiling SwiftKuery QueryResult.swift
[27/62] Compiling SwiftKuery QuerySuffixProtocol.swift
[28/62] Compiling SwiftKuery Raw.swift
[29/62] Compiling SwiftKuery ConnectionPoolConnection.swift
[30/62] Compiling SwiftKuery ConnectionPoolOptions.swift
[31/62] Compiling SwiftKuery Delete.swift
[32/62] Compiling SwiftKuery Field.swift
[33/62] Compiling SwiftKuery Filter.swift
[34/62] Compiling SwiftKuery ColumnCreator.swift
[35/62] Compiling SwiftKuery Condition.swift
[36/62] Compiling SwiftKuery ConditionalClause.swift
[37/62] Compiling SwiftKuery Connection.swift
[38/62] Compiling SwiftKuery ConnectionPool.swift
[39/62] Compiling SwiftKuery Union.swift
[40/62] Compiling SwiftKuery Update.swift
[41/62] Compiling SwiftKuery Utils.swift
[42/62] Compiling SwiftKuery With.swift
[43/62] Compiling SwiftKuery AggregateColumnExpression.swift
[44/62] Compiling SwiftKuery AuxiliaryTable.swift
[45/62] Compiling SwiftKuery Buildable.swift
[46/62] Compiling SwiftKuery Column.swift
[47/62] Compiling SwiftKuery ColumnAndExpressions_Extensions.swift
[48/62] Compiling SwiftKuery OrderBy.swift
[49/62] Compiling SwiftKuery Parameter.swift
[50/62] Compiling SwiftKuery Predicate.swift
[51/62] Compiling SwiftKuery PreparedStatement.swift
[52/62] Compiling SwiftKuery Query.swift
[53/62] Compiling SwiftKuery FilterAndHaving_Extensions.swift
[54/62] Compiling SwiftKuery FilterAndHaving_GlobalFunctions.swift
[55/62] Compiling SwiftKuery ForeignKey.swift
[56/62] Compiling SwiftKuery Having.swift
[57/62] Compiling SwiftKuery Index.swift
[58/62] Compiling SwiftKuery Select.swift
[59/62] Compiling SwiftKuery SpecialOperators_Extensions.swift
[60/62] Compiling SwiftKuery String+Buildable.swift
[61/62] Compiling SwiftKuery Subqueries_GlobalFunctionsAndExtensions.swift
[62/62] Compiling SwiftKuery Table.swift
[63/66] Compiling SwiftKueryMySQL MySQLResultFetcher.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build Objective-C module 'CMySQL'
19 | import Dispatch
20 |
21 | import CMySQL
| `- error: could not build Objective-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)
[64/66] Emitting module SwiftKueryMySQL
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build Objective-C module 'CMySQL'
19 | import Dispatch
20 |
21 | import CMySQL
| `- error: could not build Objective-C module 'CMySQL'
22 |
23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
[65/66] Compiling SwiftKueryMySQL MySQLConnection.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build Objective-C module 'CMySQL'
19 | import Dispatch
20 |
21 | import CMySQL
| `- error: could not build Objective-C module 'CMySQL'
22 |
23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
[66/66] Compiling SwiftKueryMySQL MySQLPreparedStatement.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build Objective-C module 'CMySQL'
19 | import Dispatch
20 |
21 | import CMySQL
| `- error: could not build Objective-C module 'CMySQL'
22 |
23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install mysqlclient using your system-packager:
brew install mysql
warning: you may be able to install mysqlclient using your system-packager:
brew install mysql
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling Logging MetadataProvider.swift
[3/6] Compiling Logging LogHandler.swift
[4/6] Compiling Logging Logging.swift
[5/6] Compiling Logging Locks.swift
[6/6] Emitting module Logging
[7/8] Compiling LoggerAPI Logger.swift
[8/8] Emitting module LoggerAPI
[9/54] Emitting module SwiftKuery
[10/58] Compiling SwiftKuery OrderBy.swift
[11/58] Compiling SwiftKuery Parameter.swift
[12/58] Compiling SwiftKuery Predicate.swift
[13/58] Compiling SwiftKuery PreparedStatement.swift
[14/58] Compiling SwiftKuery Query.swift
[15/58] Compiling SwiftKuery RawField.swift
[16/58] Compiling SwiftKuery ResultFetcher.swift
[17/58] Compiling SwiftKuery ResultSet.swift
[18/58] Compiling SwiftKuery SQLDataType.swift
[19/58] Compiling SwiftKuery ScalarColumnExpression.swift
[20/58] Compiling SwiftKuery IndexColumn.swift
[21/58] Compiling SwiftKuery IndexColumnOrdered.swift
[22/58] Compiling SwiftKuery Insert.swift
[23/58] Compiling SwiftKuery Join.swift
[24/58] Compiling SwiftKuery Migration.swift
[25/58] Compiling SwiftKuery ConnectionPoolConnection.swift
[26/58] Compiling SwiftKuery ConnectionPoolOptions.swift
[27/58] Compiling SwiftKuery Delete.swift
[28/58] Compiling SwiftKuery Field.swift
[29/58] Compiling SwiftKuery Filter.swift
[30/58] Compiling SwiftKuery ColumnCreator.swift
[31/58] Compiling SwiftKuery Condition.swift
[32/58] Compiling SwiftKuery ConditionalClause.swift
[33/58] Compiling SwiftKuery Connection.swift
[34/58] Compiling SwiftKuery ConnectionPool.swift
[35/58] Compiling SwiftKuery AggregateColumnExpression.swift
[36/58] Compiling SwiftKuery AuxiliaryTable.swift
[37/58] Compiling SwiftKuery Buildable.swift
[38/58] Compiling SwiftKuery Column.swift
[39/58] Compiling SwiftKuery ColumnAndExpressions_Extensions.swift
[40/58] Compiling SwiftKuery Union.swift
[41/58] Compiling SwiftKuery Update.swift
[42/58] Compiling SwiftKuery Utils.swift
[43/58] Compiling SwiftKuery With.swift
[44/58] Compiling SwiftKuery QueryBuilder.swift
[45/58] Compiling SwiftKuery QueryError.swift
[46/58] Compiling SwiftKuery QueryResult.swift
[47/58] Compiling SwiftKuery QuerySuffixProtocol.swift
[48/58] Compiling SwiftKuery Raw.swift
[49/58] Compiling SwiftKuery FilterAndHaving_Extensions.swift
[50/58] Compiling SwiftKuery FilterAndHaving_GlobalFunctions.swift
[51/58] Compiling SwiftKuery ForeignKey.swift
[52/58] Compiling SwiftKuery Having.swift
[53/58] Compiling SwiftKuery Index.swift
[54/58] Compiling SwiftKuery Select.swift
[55/58] Compiling SwiftKuery SpecialOperators_Extensions.swift
[56/58] Compiling SwiftKuery String+Buildable.swift
[57/58] Compiling SwiftKuery Subqueries_GlobalFunctionsAndExtensions.swift
[58/58] Compiling SwiftKuery Table.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[59/62] Emitting module SwiftKueryMySQL
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build Objective-C module 'CMySQL'
19 | import Dispatch
20 |
21 | import CMySQL
| `- error: could not build Objective-C module 'CMySQL'
22 |
23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
[60/62] Compiling SwiftKueryMySQL MySQLConnection.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build Objective-C module 'CMySQL'
19 | import Dispatch
20 |
21 | import CMySQL
| `- error: could not build Objective-C module 'CMySQL'
22 |
23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
[61/62] Compiling SwiftKueryMySQL MySQLResultFetcher.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build Objective-C module 'CMySQL'
19 | import Dispatch
20 |
21 | import CMySQL
| `- error: could not build Objective-C module 'CMySQL'
22 |
23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
[62/62] Compiling SwiftKueryMySQL MySQLPreparedStatement.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build Objective-C module 'CMySQL'
19 | import Dispatch
20 |
21 | import CMySQL
| `- error: could not build Objective-C module 'CMySQL'
22 |
23 | /// An implementation of `SwiftKuery.Connection` protocol for MySQL.
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install mysqlclient using your system-packager:
brew install mysql
warning: you may be able to install mysqlclient using your system-packager:
brew install mysql
BUILD FAILURE 6.1 macosSpm