The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectMySQL, reference 4.0.0 (58f1ce), with Swift 6.4 for macOS (SPM) on 15 Oct 2026 22:23:02 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-mysql.git
Reference: 4.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-mysql
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at 58f1ceb Merge pull request #73 from PerfectlySoft/release-prep
Cloned https://github.com/perfectlysoft/perfect-mysql.git
Revision (git rev-parse @):
58f1ceb5b33e158fa6ead1d7781525ac51f640a3
SUCCESS checkout https://github.com/perfectlysoft/perfect-mysql.git at 4.0.0
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/1723] Fetching perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git (1.05s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 3.1.0 (1.65s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 3.1.0
========================================
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": "3.1.0",
          "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/1317] Fetching perfect-mysql
Fetched https://github.com/perfectlysoft/perfect-mysql.git (1.76s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git from cache
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 3.1.0 (0.59s)
Creating working copy for https://github.com/perfectlysoft/perfect-mysql.git
Working copy of https://github.com/perfectlysoft/perfect-mysql.git resolved at 4.0.0 (58f1ceb)
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 3.1.0
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.4
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-mysql.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 126]
[Planning deferred tasks]
[37 / 55] PerfectMySQL_PerfectMySQLTests
[38 / 55]
[39 / 56] PerfectCRUD
[48 / 101]
[51 / 101]
[55 / 101]
[57 / 101]
[58 / 101]
[62 / 101]
[64 / 101]
[67 / 101]
[70 / 101]
[72 / 101]
[73 / 101]
[84 / 101] PerfectCRUD
[85 / 101] PerfectCRUD
[93 / 102] PerfectMySQL
warning: 'spi-builder-workspace': failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: 'spi-builder-workspace': you may be able to install mysqlclient using your system-packager:
    brew install mysql-client
error: clang dependency scanning failure: While building module 'mysqlclient' imported from module-include.input:1:
In file included from <module-includes>:1:
/Users/admin/builder/spi-builder-workspace/Sources/mysqlclient/mysqlclient.h:1:10: fatal error: 'mysql.h' file not found
module-include.input:1:2: fatal error: could not build module 'mysqlclient'
error: clang dependency scanning failure:
error: /Users/admin/builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:8:8 unable to resolve module dependency: 'mysqlclient'
error: clang dependency scanning failure: While building module 'mysqlclient' imported from module-include.input:1:
In file included from <module-includes>:1:
/Users/admin/builder/spi-builder-workspace/Sources/mysqlclient/mysqlclient.h:1:10: fatal error: 'mysql.h' file not found
module-include.input:1:2: fatal error: could not build module 'mysqlclient'
error: SwiftDriver PerfectMySQL normal arm64 com.apple.xcode.tools.swift.compiler failed with a nonzero exit code. Command line:     cd /Users/admin/builder
    builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name PerfectMySQL -Onone @/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/PerfectMySQL.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/Sources/mysqlclient/module.modulemap -DXcode -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a389db99fe7804849a4777d653a8cfc1be.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/PerfectMySQL-OutputFileMap.json -save-temps -color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/PerfectMySQL.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/PerfectMySQL-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/PerfectMySQL_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/PerfectMySQL-Swift.h -working-directory /Users/admin/builder -experimental-emit-module-separately -disable-cmo
error: Build failed
BUILD FAILURE 6.4 macosSpm