Build Information
Failed to build DecisionTree with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rockfordwei/decisiontree.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rockfordwei/decisiontree
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e5372f7 Providing more description details.
Cloned https://github.com/rockfordwei/decisiontree.git
Revision (git rev-parse @):
e5372f73baafdd43013b9de2fafa90b75a50169c
SUCCESS checkout https://github.com/rockfordwei/decisiontree.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/rockfordwei/decisiontree.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/29] Emitting module PerfectCRUD
[6/31] Compiling PerfectCRUD Create.swift
[7/31] Compiling PerfectCRUD Database.swift
[8/31] Compiling PerfectCRUD Delete.swift
[9/31] Compiling PerfectCRUD Update.swift
[10/31] Compiling PerfectCRUD Where.swift
[11/31] Compiling PerfectCRUD CodingKeyPaths.swift
[12/31] Compiling PerfectCRUD CodingNames.swift
[13/31] Compiling PerfectCRUD CodingRows.swift
[14/31] Compiling PerfectCRUD Coding.swift
[15/31] Compiling PerfectCRUD CodingBindings.swift
[16/31] Compiling PerfectCRUD CodingJoins.swift
[17/31] Compiling PerfectCRUD Insert.swift
[18/31] Compiling PerfectCRUD Join.swift
[19/31] Compiling PerfectCRUD Comparison.swift
[20/31] Compiling PerfectCRUD ComparisonInts.swift
[21/31] Compiling PerfectCRUD Equality.swift
[22/31] Compiling PerfectCRUD Select.swift
[23/31] Compiling PerfectCRUD Table.swift
[24/31] Compiling PerfectCRUD InInts.swift
[25/31] Compiling PerfectCRUD Like.swift
[26/31] Compiling PerfectCRUD Logical.swift
[27/31] Compiling PerfectCRUD EqualityInts.swift
[28/31] Compiling PerfectCRUD Expression.swift
[29/31] Compiling PerfectCRUD In.swift
[30/31] Compiling PerfectCRUD Logging.swift
[31/31] Compiling PerfectCRUD PerfectCRUD.swift
[32/36] 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/.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/36] 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/.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
[34/36] 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/.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
[35/36] 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/.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
[36/36] 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/.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
Fetching https://github.com/PerfectlySoft/Perfect-MySQL.git
[1/819] Fetching perfect-mysql
Fetched https://github.com/PerfectlySoft/Perfect-MySQL.git from cache (1.55s)
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-CRUD.git
Fetching https://github.com/PerfectlySoft/Perfect-mysqlclient.git
[1/1190] Fetching perfect-crud
[25/1240] Fetching perfect-crud, perfect-mysqlclient
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.92s)
Fetched https://github.com/PerfectlySoft/Perfect-mysqlclient.git from cache (0.92s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (0.66s)
Computing version for https://github.com/PerfectlySoft/Perfect-mysqlclient.git
Computed https://github.com/PerfectlySoft/Perfect-mysqlclient.git at 2.1.1 (0.66s)
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-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
warning: 'perfect-mysqlclient': ignoring declared target(s) 'mysqlclient' in the system package
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
BUILD FAILURE 6.0 macosSpm