The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectMySQL, reference master (c7f0b5), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 19:53:46 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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-CRUD.git
Fetching https://github.com/PerfectlySoft/Perfect-mysqlclient.git
[1/1197] Fetching perfect-crud
[2/1247] Fetching perfect-crud, perfect-mysqlclient
Fetched https://github.com/PerfectlySoft/Perfect-mysqlclient.git from cache (0.77s)
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.77s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (1.46s)
Computing version for https://github.com/PerfectlySoft/Perfect-mysqlclient.git
Computed https://github.com/PerfectlySoft/Perfect-mysqlclient.git at 2.1.1 (0.65s)
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",
  "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": "1.2.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-CRUD",
          "traits": [
            "default"
          ],
          "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",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/perfectlysoft/perfect-mysql.git
[1/819] Fetching perfect-mysql
Fetched https://github.com/perfectlysoft/perfect-mysql.git from cache (1.12s)
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-mysqlclient.git from cache (0.51s)
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.52s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (0.58s)
Computing version for https://github.com/PerfectlySoft/Perfect-mysqlclient.git
Computed https://github.com/PerfectlySoft/Perfect-mysqlclient.git at 2.1.1 (0.03s)
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
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)
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.3
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-mysql.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
[4/28] Emitting module PerfectCRUD
[5/30] Compiling PerfectCRUD Update.swift
[6/30] Compiling PerfectCRUD Where.swift
[7/30] Compiling PerfectCRUD EqualityInts.swift
[8/30] Compiling PerfectCRUD Expression.swift
[9/30] Compiling PerfectCRUD In.swift
[10/30] Compiling PerfectCRUD Select.swift
[11/30] Compiling PerfectCRUD Table.swift
[12/30] Compiling PerfectCRUD Create.swift
[13/30] Compiling PerfectCRUD Database.swift
[14/30] Compiling PerfectCRUD Delete.swift
[15/30] Compiling PerfectCRUD Comparison.swift
[16/30] Compiling PerfectCRUD ComparisonInts.swift
[17/30] Compiling PerfectCRUD Equality.swift
[18/30] Compiling PerfectCRUD Insert.swift
[19/30] Compiling PerfectCRUD Join.swift
[20/30] Compiling PerfectCRUD Coding.swift
[21/30] Compiling PerfectCRUD CodingBindings.swift
[22/30] Compiling PerfectCRUD CodingJoins.swift
[23/30] Compiling PerfectCRUD Logging.swift
[24/30] Compiling PerfectCRUD PerfectCRUD.swift
[25/30] Compiling PerfectCRUD InInts.swift
[26/30] Compiling PerfectCRUD Like.swift
[27/30] Compiling PerfectCRUD Logical.swift
[28/30] Compiling PerfectCRUD CodingKeyPaths.swift
[29/30] Compiling PerfectCRUD CodingNames.swift
[30/30] Compiling PerfectCRUD CodingRows.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 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
[33/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
[34/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
[35/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
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.3 macosSpm