The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DecisionTree, reference 0.4.0 (16804e), with Swift 6.4 for macOS (SPM) on 16 Sep 2026 19:15:11 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rockfordwei/decisiontree.git
Reference: 0.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rockfordwei/decisiontree
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 16804ee Rewriting thread  / dispatch.
Cloned https://github.com/rockfordwei/decisiontree.git
Revision (git rev-parse @):
16804ee6aac1148177151b3cb5f15878d5cd6a1b
SUCCESS checkout https://github.com/rockfordwei/decisiontree.git at 0.4.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/rockfordwei/decisiontree.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 127]
[Planning deferred tasks]
[31 / 56]
[43 / 68] PerfectCRUD
[44 / 68] PerfectCRUD
[57 / 74] PerfectMySQL
Fetching https://github.com/PerfectlySoft/Perfect-MySQL.git
[1/925] Fetching perfect-mysql
Fetched https://github.com/PerfectlySoft/Perfect-MySQL.git (1.42s)
Computing version for https://github.com/PerfectlySoft/Perfect-MySQL.git
Computed https://github.com/PerfectlySoft/Perfect-MySQL.git at 3.5.1 (2.13s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
Fetching https://github.com/PerfectlySoft/Perfect-mysqlclient.git
[1/50] Fetching perfect-mysqlclient
[48/1389] Fetching perfect-mysqlclient, perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git (1.10s)
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.81s)
Computing version for https://github.com/PerfectlySoft/Perfect-mysqlclient.git
Computed https://github.com/PerfectlySoft/Perfect-mysqlclient.git at 2.1.1 (0.67s)
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 3.5.1
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: 'perfect-mysqlclient': ignoring declared target(s) 'mysqlclient' in the system package
warning: 'perfect-mysqlclient': failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: 'perfect-mysqlclient': you may be able to install mysqlclient using your system-packager:
    brew install mysql
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQL.swift failed with a nonzero exit code. Command line:     cd /Users/admin/builder
    builtin-SwiftPerFileCompile 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/.build/checkouts/Perfect-MySQL/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
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /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 -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/MySQL.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/MySQL.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/MySQL.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/MySQL.dia -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 -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/MySQL.o -index-unit-output-path /PerfectMySQL.build/Debug/PerfectMySQL-t.build/Objects-normal/arm64/MySQL.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm