Build Information
Failed to build PerfectMySQL, reference master (c7f0b5
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 22:03:33 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/perfectlysoft/perfect-mysql.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-mysql
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c7f0b5c Merge pull request #52 from AustinFuller/ExposeSSL_MODE
Cloned https://github.com/perfectlysoft/perfect-mysql.git
Revision (git rev-parse @):
c7f0b5c2e4e1c43704ab68933d8dbead7c11ecc6
SUCCESS checkout https://github.com/perfectlysoft/perfect-mysql.git at master
Fetching https://github.com/PerfectlySoft/Perfect-mysqlclient.git
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/1193] Fetching perfect-crud
[1194/1243] Fetching perfect-crud, perfect-mysqlclient
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (5.27s)
Fetched https://github.com/PerfectlySoft/Perfect-mysqlclient.git from cache (5.27s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (5.92s)
Computing version for https://github.com/PerfectlySoft/Perfect-mysqlclient.git
Computed https://github.com/PerfectlySoft/Perfect-mysqlclient.git at 2.1.1 (0.59s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 1.2.3
Creating working copy for https://github.com/PerfectlySoft/Perfect-mysqlclient.git
Working copy of https://github.com/PerfectlySoft/Perfect-mysqlclient.git resolved at 2.1.1
========================================
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": "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",
"dependencies": [
{
"identity": "perfect-crud",
"name": "PerfectCRUD",
"url": "https://github.com/PerfectlySoft/Perfect-CRUD.git",
"version": "1.2.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-CRUD",
"dependencies": [
]
},
{
"identity": "perfect-mysqlclient",
"name": "mysqlclient",
"url": "https://github.com/PerfectlySoft/Perfect-mysqlclient.git",
"version": "2.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-mysqlclient",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/perfectlysoft/perfect-mysql.git
[9/819] Fetching perfect-mysql
Fetched https://github.com/perfectlysoft/perfect-mysql.git from cache (1.19s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git from cache
Fetching https://github.com/PerfectlySoft/Perfect-mysqlclient.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.43s)
Fetched https://github.com/PerfectlySoft/Perfect-mysqlclient.git from cache (3.15s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (3.20s)
Computing version for https://github.com/PerfectlySoft/Perfect-mysqlclient.git
Computed https://github.com/PerfectlySoft/Perfect-mysqlclient.git at 2.1.1 (0.02s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 1.2.3
Creating working copy for https://github.com/perfectlysoft/perfect-mysql.git
Working copy of https://github.com/perfectlysoft/perfect-mysql.git resolved at master (c7f0b5c)
Creating working copy for https://github.com/PerfectlySoft/Perfect-mysqlclient.git
Working copy of https://github.com/PerfectlySoft/Perfect-mysqlclient.git resolved at 2.1.1
warning: 'perfect-mysqlclient': ignoring declared target(s) 'mysqlclient' in the system package
warning: '.resolve-product-dependencies': dependency 'perfect-mysql' is not used by any target
Found 2 product dependencies
- PerfectCRUD
- mysqlclient
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-mysql.git
https://github.com/perfectlysoft/perfect-mysql.git
{
"dependencies" : [
{
"identity" : "perfect-crud",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/PerfectlySoft/Perfect-CRUD.git"
},
{
"identity" : "perfect-mysqlclient",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/PerfectlySoft/Perfect-mysqlclient.git"
}
],
"manifest_display_name" : "PerfectMySQL",
"name" : "PerfectMySQL",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "PerfectMySQL",
"targets" : [
"PerfectMySQL"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PerfectMySQLTests",
"module_type" : "SwiftTarget",
"name" : "PerfectMySQLTests",
"path" : "Tests/PerfectMySQLTests",
"sources" : [
"PerfectMySQLTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"PerfectMySQL"
],
"type" : "test"
},
{
"c99name" : "PerfectMySQL",
"module_type" : "SwiftTarget",
"name" : "PerfectMySQL",
"path" : "Sources/PerfectMySQL",
"product_dependencies" : [
"PerfectCRUD"
],
"product_memberships" : [
"PerfectMySQL"
],
"sources" : [
"MySQL.swift",
"MySQLCRUD.swift",
"MySQLStmt.swift",
"PerfectMySQL.swift"
],
"type" : "library"
}
],
"tools_version" : "4.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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/28] Emitting module PerfectCRUD
[5/30] Compiling PerfectCRUD CodingKeyPaths.swift
[6/30] Compiling PerfectCRUD CodingNames.swift
[7/30] Compiling PerfectCRUD CodingRows.swift
[8/30] Compiling PerfectCRUD Select.swift
[9/30] Compiling PerfectCRUD Table.swift
[10/30] Compiling PerfectCRUD Comparison.swift
[11/30] Compiling PerfectCRUD ComparisonInts.swift
[12/30] Compiling PerfectCRUD Equality.swift
[13/30] Compiling PerfectCRUD EqualityInts.swift
[14/30] Compiling PerfectCRUD Expression.swift
[15/30] Compiling PerfectCRUD In.swift
[16/30] Compiling PerfectCRUD Coding.swift
[17/30] Compiling PerfectCRUD CodingBindings.swift
[18/30] Compiling PerfectCRUD CodingJoins.swift
[19/30] Compiling PerfectCRUD Update.swift
[20/30] Compiling PerfectCRUD Where.swift
[21/30] Compiling PerfectCRUD Create.swift
[22/30] Compiling PerfectCRUD Database.swift
[23/30] Compiling PerfectCRUD Delete.swift
[24/30] Compiling PerfectCRUD InInts.swift
[25/30] Compiling PerfectCRUD Like.swift
[26/30] Compiling PerfectCRUD Logical.swift
[27/30] Compiling PerfectCRUD Insert.swift
[28/30] Compiling PerfectCRUD Join.swift
[29/30] Compiling PerfectCRUD Logging.swift
[30/30] Compiling PerfectCRUD PerfectCRUD.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/35] Emitting module PerfectMySQL
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysql_osx.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
1 | #ifndef __PERFECT_MYSQL_OSX__
2 | #define __PERFECT_MYSQL_OSX__
3 | #include "/usr/local/include/mysql/mysql.h"
| `- error: '/usr/local/include/mysql/mysql.h' file not found
4 |
5 | #if LIBMYSQL_VERSION_ID > 80000
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
11 | import Darwin
12 | #endif
13 | import mysqlclient
| `- error: could not build Objective-C module 'mysqlclient'
14 |
15 | /// Provide access to MySQL connector functions
[32/35] Compiling PerfectMySQL PerfectMySQL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysql_osx.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
1 | #ifndef __PERFECT_MYSQL_OSX__
2 | #define __PERFECT_MYSQL_OSX__
3 | #include "/usr/local/include/mysql/mysql.h"
| `- error: '/usr/local/include/mysql/mysql.h' file not found
4 |
5 | #if LIBMYSQL_VERSION_ID > 80000
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
11 | import Darwin
12 | #endif
13 | import mysqlclient
| `- error: could not build Objective-C module 'mysqlclient'
14 |
15 | /// Provide access to MySQL connector functions
[33/35] Compiling PerfectMySQL MySQL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysql_osx.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
1 | #ifndef __PERFECT_MYSQL_OSX__
2 | #define __PERFECT_MYSQL_OSX__
3 | #include "/usr/local/include/mysql/mysql.h"
| `- error: '/usr/local/include/mysql/mysql.h' file not found
4 |
5 | #if LIBMYSQL_VERSION_ID > 80000
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
11 | import Darwin
12 | #endif
13 | import mysqlclient
| `- error: could not build Objective-C module 'mysqlclient'
14 |
15 | /// Provide access to MySQL connector functions
[34/35] Compiling PerfectMySQL MySQLCRUD.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysql_osx.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
1 | #ifndef __PERFECT_MYSQL_OSX__
2 | #define __PERFECT_MYSQL_OSX__
3 | #include "/usr/local/include/mysql/mysql.h"
| `- error: '/usr/local/include/mysql/mysql.h' file not found
4 |
5 | #if LIBMYSQL_VERSION_ID > 80000
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
11 | import Darwin
12 | #endif
13 | import mysqlclient
| `- error: could not build Objective-C module 'mysqlclient'
14 |
15 | /// Provide access to MySQL connector functions
[35/35] Compiling PerfectMySQL MySQLStmt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysql_osx.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
1 | #ifndef __PERFECT_MYSQL_OSX__
2 | #define __PERFECT_MYSQL_OSX__
3 | #include "/usr/local/include/mysql/mysql.h"
| `- error: '/usr/local/include/mysql/mysql.h' file not found
4 |
5 | #if LIBMYSQL_VERSION_ID > 80000
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
11 | import Darwin
12 | #endif
13 | import mysqlclient
| `- error: could not build Objective-C module 'mysqlclient'
14 |
15 | /// Provide access to MySQL connector functions
warning: 'perfect-mysqlclient': ignoring declared target(s) 'mysqlclient' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-mysqlclient' is not used by any target
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/26] Emitting module PerfectCRUD
[3/28] Compiling PerfectCRUD InInts.swift
[4/28] Compiling PerfectCRUD Like.swift
[5/28] Compiling PerfectCRUD Logical.swift
[6/28] Compiling PerfectCRUD Comparison.swift
[7/28] Compiling PerfectCRUD ComparisonInts.swift
[8/28] Compiling PerfectCRUD Equality.swift
[9/28] Compiling PerfectCRUD Select.swift
[10/28] Compiling PerfectCRUD Table.swift
[11/28] Compiling PerfectCRUD EqualityInts.swift
[12/28] Compiling PerfectCRUD Expression.swift
[13/28] Compiling PerfectCRUD In.swift
[14/28] Compiling PerfectCRUD Coding.swift
[15/28] Compiling PerfectCRUD CodingBindings.swift
[16/28] Compiling PerfectCRUD CodingJoins.swift
[17/28] Compiling PerfectCRUD Update.swift
[18/28] Compiling PerfectCRUD Where.swift
[19/28] Compiling PerfectCRUD Create.swift
[20/28] Compiling PerfectCRUD Database.swift
[21/28] Compiling PerfectCRUD Delete.swift
[22/28] Compiling PerfectCRUD Insert.swift
[23/28] Compiling PerfectCRUD Join.swift
[24/28] Compiling PerfectCRUD Logging.swift
[25/28] Compiling PerfectCRUD PerfectCRUD.swift
[26/28] Compiling PerfectCRUD CodingKeyPaths.swift
[27/28] Compiling PerfectCRUD CodingNames.swift
[28/28] Compiling PerfectCRUD CodingRows.swift
[29/33] Compiling PerfectMySQL PerfectMySQL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysql_osx.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
1 | #ifndef __PERFECT_MYSQL_OSX__
2 | #define __PERFECT_MYSQL_OSX__
3 | #include "/usr/local/include/mysql/mysql.h"
| `- error: '/usr/local/include/mysql/mysql.h' file not found
4 |
5 | #if LIBMYSQL_VERSION_ID > 80000
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
11 | import Darwin
12 | #endif
13 | import mysqlclient
| `- error: could not build Objective-C module 'mysqlclient'
14 |
15 | /// Provide access to MySQL connector functions
[30/33] Compiling PerfectMySQL MySQLCRUD.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysql_osx.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
1 | #ifndef __PERFECT_MYSQL_OSX__
2 | #define __PERFECT_MYSQL_OSX__
3 | #include "/usr/local/include/mysql/mysql.h"
| `- error: '/usr/local/include/mysql/mysql.h' file not found
4 |
5 | #if LIBMYSQL_VERSION_ID > 80000
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
11 | import Darwin
12 | #endif
13 | import mysqlclient
| `- error: could not build Objective-C module 'mysqlclient'
14 |
15 | /// Provide access to MySQL connector functions
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/33] Emitting module PerfectMySQL
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysql_osx.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
1 | #ifndef __PERFECT_MYSQL_OSX__
2 | #define __PERFECT_MYSQL_OSX__
3 | #include "/usr/local/include/mysql/mysql.h"
| `- error: '/usr/local/include/mysql/mysql.h' file not found
4 |
5 | #if LIBMYSQL_VERSION_ID > 80000
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
11 | import Darwin
12 | #endif
13 | import mysqlclient
| `- error: could not build Objective-C module 'mysqlclient'
14 |
15 | /// Provide access to MySQL connector functions
[32/33] Compiling PerfectMySQL MySQL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysql_osx.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
1 | #ifndef __PERFECT_MYSQL_OSX__
2 | #define __PERFECT_MYSQL_OSX__
3 | #include "/usr/local/include/mysql/mysql.h"
| `- error: '/usr/local/include/mysql/mysql.h' file not found
4 |
5 | #if LIBMYSQL_VERSION_ID > 80000
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
11 | import Darwin
12 | #endif
13 | import mysqlclient
| `- error: could not build Objective-C module 'mysqlclient'
14 |
15 | /// Provide access to MySQL connector functions
[33/33] Compiling PerfectMySQL MySQLStmt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysql_osx.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
1 | #ifndef __PERFECT_MYSQL_OSX__
2 | #define __PERFECT_MYSQL_OSX__
3 | #include "/usr/local/include/mysql/mysql.h"
| `- error: '/usr/local/include/mysql/mysql.h' file not found
4 |
5 | #if LIBMYSQL_VERSION_ID > 80000
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
11 | import Darwin
12 | #endif
13 | import mysqlclient
| `- error: could not build Objective-C module 'mysqlclient'
14 |
15 | /// Provide access to MySQL connector functions
warning: 'perfect-mysqlclient': ignoring declared target(s) 'mysqlclient' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-mysqlclient' is not used by any target
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