Build Information
Failed to build PerfectSessionMySQL, reference master (b0fe4d), with Swift 6.4 for macOS (SPM) on 16 Sep 2026 19:24:36 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-session-mysql.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-session-mysql
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at b0fe4d6 Merge pull request #7 from nawar/master
Cloned https://github.com/perfectlysoft/perfect-session-mysql.git
Revision (git rev-parse @):
b0fe4d610b328e6a942e61440602a0bfc7858311
SUCCESS checkout https://github.com/perfectlysoft/perfect-session-mysql.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-session-mysql.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 399]
[Planning deferred tasks]
[81 / 637]
[92 / 640] PerfectThread
[114 / 675]
[115 / 675] PerfectThread
[119 / 675] PerfectThread
[139 / 675] PerfectLib-product
[142 / 675] COpenSSL
[143 / 675] COpenSSL
[147 / 675] COpenSSL
[150 / 675] COpenSSL
[152 / 675] COpenSSL
[157 / 675] PerfectLib
[162 / 675] PerfectCRUD
[163 / 675] PerfectCRUD
[165 / 675] PerfectCRUD
[169 / 675] PerfectLib
[175 / 675] COpenSSL
[194 / 678] COpenSSL
[210 / 678] COpenSSL
[224 / 678] COpenSSL
[256 / 678] COpenSSL
[262 / 678] COpenSSL
[274 / 678] COpenSSL
[292 / 678] COpenSSL
[316 / 678] COpenSSL
[338 / 678] COpenSSL
[357 / 678] COpenSSL
[379 / 678] COpenSSL
[397 / 678] COpenSSL
[414 / 678] COpenSSL
[443 / 678] COpenSSL
[464 / 678] COpenSSL
[485 / 678] COpenSSL
[506 / 678] COpenSSL
[528 / 678] COpenSSL
[548 / 678] COpenSSL
[566 / 678] COpenSSL
[588 / 678] COpenSSL
[602 / 678] COpenSSL
[616 / 684] PerfectMySQL
[623 / 694] PerfectCrypto
Fetching https://github.com/PerfectlySoft/Perfect-MySQL.git
Fetching https://github.com/PerfectlySoft/Perfect-Session.git
[1/925] Fetching perfect-mysql
[20/1370] Fetching perfect-mysql, perfect-session
Fetched https://github.com/PerfectlySoft/Perfect-Session.git (1.61s)
Fetched https://github.com/PerfectlySoft/Perfect-MySQL.git (1.61s)
Computing version for https://github.com/PerfectlySoft/Perfect-Session.git
Computed https://github.com/PerfectlySoft/Perfect-Session.git at 3.1.5 (3.82s)
Fetching https://github.com/PerfectlySoft/Perfect-Logger.git
[1/219] Fetching perfect-logger
Fetched https://github.com/PerfectlySoft/Perfect-Logger.git (0.91s)
Computing version for https://github.com/PerfectlySoft/Perfect-Logger.git
Computed https://github.com/PerfectlySoft/Perfect-Logger.git at 3.3.0 (1.56s)
Fetching https://github.com/PerfectlySoft/Perfect-CURL.git
[1/504] Fetching perfect-curl
Fetched https://github.com/PerfectlySoft/Perfect-CURL.git (0.97s)
Computing version for https://github.com/PerfectlySoft/Perfect-CURL.git
Computed https://github.com/PerfectlySoft/Perfect-CURL.git at 3.1.0 (1.66s)
Fetching https://github.com/PerfectlySoft/Perfect-HTTP.git
Fetching https://github.com/PerfectlySoft/Perfect-libcurl.git
[1/77] Fetching perfect-libcurl
[78/885] Fetching perfect-libcurl, perfect-http
Fetched https://github.com/PerfectlySoft/Perfect-libcurl.git (1.59s)
Fetched https://github.com/PerfectlySoft/Perfect-HTTP.git (1.59s)
Computing version for https://github.com/PerfectlySoft/Perfect-libcurl.git
Computed https://github.com/PerfectlySoft/Perfect-libcurl.git at 2.1.0 (2.26s)
Computing version for https://github.com/PerfectlySoft/Perfect-MySQL.git
Computed https://github.com/PerfectlySoft/Perfect-MySQL.git at 3.5.1 (0.65s)
Fetching https://github.com/PerfectlySoft/Perfect-mysqlclient.git
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/50] Fetching perfect-mysqlclient
[51/1389] Fetching perfect-mysqlclient, perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git (1.09s)
Fetched https://github.com/PerfectlySoft/Perfect-mysqlclient.git (1.10s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (1.75s)
Computing version for https://github.com/PerfectlySoft/Perfect-mysqlclient.git
Computed https://github.com/PerfectlySoft/Perfect-mysqlclient.git at 2.1.1 (0.62s)
Computing version for https://github.com/PerfectlySoft/Perfect-HTTP.git
Computed https://github.com/PerfectlySoft/Perfect-HTTP.git at 3.3.0 (0.62s)
Fetching https://github.com/PerfectlySoft/PerfectLib.git
Fetching https://github.com/PerfectlySoft/Perfect-Net.git
[1/10784] Fetching perfectlib
[1188/11354] Fetching perfectlib, perfect-net
Fetched https://github.com/PerfectlySoft/PerfectLib.git (4.90s)
Fetched https://github.com/PerfectlySoft/Perfect-Net.git (4.90s)
Computing version for https://github.com/PerfectlySoft/Perfect-Net.git
Computed https://github.com/PerfectlySoft/Perfect-Net.git at 3.3.0 (5.57s)
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git
Fetching https://github.com/PerfectlySoft/Perfect-Crypto.git
[1/612] Fetching perfect-crypto
[112/991] Fetching perfect-crypto, perfect-thread
Fetched https://github.com/PerfectlySoft/Perfect-Crypto.git (1.06s)
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git (1.06s)
Computing version for https://github.com/PerfectlySoft/Perfect-Crypto.git
Computed https://github.com/PerfectlySoft/Perfect-Crypto.git at 3.3.0 (1.75s)
Fetching https://github.com/PerfectlySoft/Perfect-COpenSSL.git
[1/3961] Fetching perfect-copenssl
Fetched https://github.com/PerfectlySoft/Perfect-COpenSSL.git (1.77s)
Computing version for https://github.com/PerfectlySoft/Perfect-COpenSSL.git
Computed https://github.com/PerfectlySoft/Perfect-COpenSSL.git at 4.0.2 (2.42s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (0.62s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.62s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-libcurl.git
Working copy of https://github.com/PerfectlySoft/Perfect-libcurl.git resolved at 2.1.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-Crypto.git
Working copy of https://github.com/PerfectlySoft/Perfect-Crypto.git resolved at 3.3.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-COpenSSL.git
Working copy of https://github.com/PerfectlySoft/Perfect-COpenSSL.git resolved at 4.0.2
Creating working copy for https://github.com/PerfectlySoft/Perfect-Logger.git
Working copy of https://github.com/PerfectlySoft/Perfect-Logger.git resolved at 3.3.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-Session.git
Working copy of https://github.com/PerfectlySoft/Perfect-Session.git resolved at 3.1.5
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/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 3.1.4
Creating working copy for https://github.com/PerfectlySoft/Perfect-Net.git
Working copy of https://github.com/PerfectlySoft/Perfect-Net.git resolved at 3.3.0
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-Thread.git
Working copy of https://github.com/PerfectlySoft/Perfect-Thread.git resolved at 3.0.7
Creating working copy for https://github.com/PerfectlySoft/Perfect-MySQL.git
Working copy of https://github.com/PerfectlySoft/Perfect-MySQL.git resolved at 3.5.1
Creating working copy for https://github.com/PerfectlySoft/Perfect-HTTP.git
Working copy of https://github.com/PerfectlySoft/Perfect-HTTP.git resolved at 3.3.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-CURL.git
Working copy of https://github.com/PerfectlySoft/Perfect-CURL.git resolved at 3.1.0
warning: 'perfect-mysqlclient': ignoring declared target(s) 'mysqlclient' in the system package
warning: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: 'perfect-mysqlclient': ignoring declared target(s) 'mysqlclient' in the system package
warning: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: 'perfect-libcurl': failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: 'perfect-libcurl': you may be able to install libcurl using your system-packager:
brew install curl
warning: 'perfect-mysqlclient': you may be able to install mysqlclient using your system-packager:
brew install mysql
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line: cd /Users/admin/builder
<module-includes>:1:9: [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m1 |[0;0m #import "mysql_osx.h"
[0;36m|[0;0m `- [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m2 |[0;0m
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: [1;31merror: [1;39m'/usr/local/include/mysql/mysql.h' file not found[0;0m
[0;36m1 |[0;0m #ifndef __PERFECT_MYSQL_OSX__
[0;36m2 |[0;0m #define __PERFECT_MYSQL_OSX__
[0;36m3 |[0;0m #include "/usr/local/include/mysql/mysql.h"
[0;36m|[0;0m `- [1;31merror: [1;39m'/usr/local/include/mysql/mysql.h' file not found[0;0m
[0;36m4 |[0;0m
[0;36m5 |[0;0m #if LIBMYSQL_VERSION_ID > 80000
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQL.swift:13:8: [1;31merror: [1;39mcould not build Objective-C module 'mysqlclient'[0;0m
[0;36m11 |[0;0m import Darwin
[0;36m12 |[0;0m #endif
[0;36m13 |[0;0m import mysqlclient
[0;36m|[0;0m `- [1;31merror: [1;39mcould not build Objective-C module 'mysqlclient'[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m /// Provide access to MySQL connector functions
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQL.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQLCRUD.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQLStmt.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/PerfectMySQL.swift -target arm64-apple-macos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.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-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -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 -no-auto-bridging-header-chaining -module-name PerfectMySQL -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/PerfectMySQL_const_extract_protocols.json -disable-clang-spi -target-sdk-version 27.0 -target-sdk-name macosx27.0 -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/PerfectMySQL.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/PerfectMySQL.swiftsourceinfo -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 -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/PerfectMySQL-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/PerfectMySQL-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/PerfectMySQL.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/PerfectMySQL.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm