The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build PerfectMySQL with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-mysql.git
Reference: 3.5.1
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-mysql
 * tag               3.5.1      -> FETCH_HEAD
HEAD is now at fe63085 tabs yo
Cloned https://github.com/perfectlysoft/perfect-mysql.git
Revision (git rev-parse @):
fe63085fe4639944657bf2f33b775e8036974eef
SUCCESS checkout https://github.com/perfectlysoft/perfect-mysql.git at 3.5.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/perfectlysoft/perfect-mysql.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--423B1241ED78D482.txt
[4/27] Compiling PerfectCRUD Equality.swift
[5/27] Compiling PerfectCRUD EqualityInts.swift
[6/27] Compiling PerfectCRUD Expression.swift
[7/27] Compiling PerfectCRUD Logical.swift
[8/27] Compiling PerfectCRUD Insert.swift
[9/27] Compiling PerfectCRUD Join.swift
[10/27] Compiling PerfectCRUD Coding.swift
[11/27] Compiling PerfectCRUD CodingBindings.swift
[12/27] Compiling PerfectCRUD CodingJoins.swift
[13/27] Compiling PerfectCRUD CodingKeyPaths.swift
[14/30] Emitting module PerfectCRUD
[15/30] Compiling PerfectCRUD CodingNames.swift
[16/30] Compiling PerfectCRUD CodingRows.swift
[17/30] Compiling PerfectCRUD Create.swift
[18/30] Compiling PerfectCRUD Database.swift
[19/30] Compiling PerfectCRUD Delete.swift
[20/30] Compiling PerfectCRUD Comparison.swift
[21/30] Compiling PerfectCRUD ComparisonInts.swift
[22/30] Compiling PerfectCRUD Logging.swift
[23/30] Compiling PerfectCRUD PerfectCRUD.swift
[24/30] Compiling PerfectCRUD Select.swift
[25/30] Compiling PerfectCRUD In.swift
[26/30] Compiling PerfectCRUD InInts.swift
[27/30] Compiling PerfectCRUD Like.swift
[28/30] Compiling PerfectCRUD Table.swift
[29/30] Compiling PerfectCRUD Update.swift
[30/30] Compiling PerfectCRUD Where.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:
#import "mysql_osx.h"
        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
#include "/usr/local/include/mysql/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
import mysqlclient
       ^
[32/35] Compiling PerfectMySQL MySQLCRUD.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mysql_osx.h"
        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
#include "/usr/local/include/mysql/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
import mysqlclient
       ^
[33/35] Compiling PerfectMySQL PerfectMySQL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mysql_osx.h"
        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
#include "/usr/local/include/mysql/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
import mysqlclient
       ^
[34/35] Compiling PerfectMySQL MySQLStmt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mysql_osx.h"
        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
#include "/usr/local/include/mysql/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
import mysqlclient
       ^
[35/35] Compiling PerfectMySQL MySQL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mysql_osx.h"
        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
#include "/usr/local/include/mysql/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
import mysqlclient
       ^
error: fatalError
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.23s)
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.23s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (0.01s)
Computing version for https://github.com/PerfectlySoft/Perfect-mysqlclient.git
Computed https://github.com/PerfectlySoft/Perfect-mysqlclient.git at 2.1.1 (0.01s)
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-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 1.2.3
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/6] Compiling PerfectMySQL PerfectMySQL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mysql_osx.h"
        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
#include "/usr/local/include/mysql/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
import mysqlclient
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module PerfectMySQL
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mysql_osx.h"
        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
#include "/usr/local/include/mysql/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
import mysqlclient
       ^
[4/6] Compiling PerfectMySQL MySQL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mysql_osx.h"
        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
#include "/usr/local/include/mysql/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
import mysqlclient
       ^
[5/6] Compiling PerfectMySQL MySQLCRUD.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mysql_osx.h"
        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
#include "/usr/local/include/mysql/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
import mysqlclient
       ^
[6/6] Compiling PerfectMySQL MySQLStmt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mysql_osx.h"
        ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/Perfect-mysqlclient/mysql_osx.h:3:10: error: '/usr/local/include/mysql/mysql.h' file not found
#include "/usr/local/include/mysql/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient'
import mysqlclient
       ^
error: fatalError
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
BUILD FAILURE 5.10 macosSpm