Build Information
Failed to build PerfectMySQL, reference main (79b730), with Swift 6.3 for macOS (SPM) on 9 Oct 2026 04:55:18 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-mysql.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-mysql
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 79b730b Merge pull request #71 from PerfectlySoft/quote-identifier-escape
Cloned https://github.com/perfectlysoft/perfect-mysql.git
Revision (git rev-parse @):
79b730b7a8252647c4adbd3cdaabd0d734b89011
SUCCESS checkout https://github.com/perfectlysoft/perfect-mysql.git at main
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/1595] Fetching perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (1.04s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at main (0f32267)
========================================
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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "perfect-mysql",
"name": "PerfectMySQL",
"url": "https://github.com/perfectlysoft/perfect-mysql.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-mysql",
"traits": [
"default"
],
"dependencies": [
{
"identity": "perfect-crud",
"name": "PerfectCRUD",
"url": "https://github.com/PerfectlySoft/Perfect-CRUD.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-CRUD",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/perfectlysoft/perfect-mysql.git
[1/1068] Fetching perfect-mysql
Fetched https://github.com/perfectlysoft/perfect-mysql.git from cache (1.37s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.48s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at main (0f32267)
Creating working copy for https://github.com/perfectlysoft/perfect-mysql.git
Working copy of https://github.com/perfectlysoft/perfect-mysql.git resolved at main (79b730b)
warning: '.resolve-product-dependencies': dependency 'perfect-mysql' is not used by any target
Found 1 product dependencies
- PerfectCRUD
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-mysql.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-69A768CDF2A0BEE1.txt
[4/31] Emitting module PerfectCRUD
[5/34] Compiling PerfectCRUD Expression.swift
[6/34] Compiling PerfectCRUD In.swift
[7/34] Compiling PerfectCRUD InInts.swift
[8/34] Compiling PerfectCRUD ComparisonInts.swift
[9/34] Compiling PerfectCRUD Equality.swift
[10/34] Compiling PerfectCRUD EqualityInts.swift
[11/34] Compiling PerfectCRUD Like.swift
[12/34] Compiling PerfectCRUD Logical.swift
[13/34] Compiling PerfectCRUD Insert.swift
[14/34] Compiling PerfectCRUD Join.swift
[15/34] Compiling PerfectCRUD Logging.swift
[16/34] Compiling PerfectCRUD Migration.swift
[17/34] Compiling PerfectCRUD CodingRows.swift
[18/34] Compiling PerfectCRUD Create.swift
[19/34] Compiling PerfectCRUD Database.swift
[20/34] Compiling PerfectCRUD Delete.swift
[21/34] Compiling PerfectCRUD Dynamic.swift
[22/34] Compiling PerfectCRUD Comparison.swift
[23/34] Compiling PerfectCRUD AsyncExecution.swift
[24/34] Compiling PerfectCRUD Coding.swift
[25/34] Compiling PerfectCRUD CodingBindings.swift
[26/34] Compiling PerfectCRUD Table.swift
[27/34] Compiling PerfectCRUD Update.swift
[28/34] Compiling PerfectCRUD Where.swift
[29/34] Compiling PerfectCRUD CodingJoins.swift
[30/34] Compiling PerfectCRUD CodingKeyPaths.swift
[31/34] Compiling PerfectCRUD CodingNames.swift
[32/34] Compiling PerfectCRUD PerfectCRUD.swift
[33/34] Compiling PerfectCRUD Pool.swift
[34/34] Compiling PerfectCRUD Select.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/39] Emitting module PerfectMySQL
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysqlclient.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/mysqlclient/mysqlclient.h:1:10: error: 'mysql.h' file not found
1 | #include <mysql.h>
| `- error: 'mysql.h' file not found
2 |
3 | #if defined(LIBMARIADB) || defined(MARIADB_BASE_VERSION)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:8:8: error: could not build Objective-C module 'mysqlclient'
6 | //
7 |
8 | import mysqlclient
| `- error: could not build Objective-C module 'mysqlclient'
9 | #if canImport(Glibc)
10 | import Glibc
[36/39] Compiling PerfectMySQL MySQL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysqlclient.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/mysqlclient/mysqlclient.h:1:10: error: 'mysql.h' file not found
1 | #include <mysql.h>
| `- error: 'mysql.h' file not found
2 |
3 | #if defined(LIBMARIADB) || defined(MARIADB_BASE_VERSION)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:8:8: error: could not build Objective-C module 'mysqlclient'
6 | //
7 |
8 | import mysqlclient
| `- error: could not build Objective-C module 'mysqlclient'
9 | #if canImport(Glibc)
10 | import Glibc
[37/39] Compiling PerfectMySQL MySQLCRUD.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysqlclient.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/mysqlclient/mysqlclient.h:1:10: error: 'mysql.h' file not found
1 | #include <mysql.h>
| `- error: 'mysql.h' file not found
2 |
3 | #if defined(LIBMARIADB) || defined(MARIADB_BASE_VERSION)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:8:8: error: could not build Objective-C module 'mysqlclient'
6 | //
7 |
8 | import mysqlclient
| `- error: could not build Objective-C module 'mysqlclient'
9 | #if canImport(Glibc)
10 | import Glibc
[38/39] Compiling PerfectMySQL MySQLStmt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysqlclient.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/mysqlclient/mysqlclient.h:1:10: error: 'mysql.h' file not found
1 | #include <mysql.h>
| `- error: 'mysql.h' file not found
2 |
3 | #if defined(LIBMARIADB) || defined(MARIADB_BASE_VERSION)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:8:8: error: could not build Objective-C module 'mysqlclient'
6 | //
7 |
8 | import mysqlclient
| `- error: could not build Objective-C module 'mysqlclient'
9 | #if canImport(Glibc)
10 | import Glibc
[39/39] Compiling PerfectMySQL PerfectMySQL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysqlclient.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/mysqlclient/mysqlclient.h:1:10: error: 'mysql.h' file not found
1 | #include <mysql.h>
| `- error: 'mysql.h' file not found
2 |
3 | #if defined(LIBMARIADB) || defined(MARIADB_BASE_VERSION)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:8:8: error: could not build Objective-C module 'mysqlclient'
6 | //
7 |
8 | import mysqlclient
| `- error: could not build Objective-C module 'mysqlclient'
9 | #if canImport(Glibc)
10 | import Glibc
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-client
warning: you may be able to install mysqlclient using your system-packager:
brew install mysql-client
BUILD FAILURE 6.3 macosSpm