This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 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/perfectlysoft/perfect-mysql.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-mysql
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c7f0b5c Merge pull request #52 from AustinFuller/ExposeSSL_MODE
Cloned https://github.com/perfectlysoft/perfect-mysql.git
Revision (git rev-parse @):
c7f0b5c2e4e1c43704ab68933d8dbead7c11ecc6
SUCCESS checkout https://github.com/perfectlysoft/perfect-mysql.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/perfectlysoft/perfect-mysql.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/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/28] Emitting module PerfectCRUD
[5/30] Compiling PerfectCRUD Update.swift
[6/30] Compiling PerfectCRUD Where.swift
[7/30] Compiling PerfectCRUD Create.swift
[8/30] Compiling PerfectCRUD Database.swift
[9/30] Compiling PerfectCRUD Delete.swift
[10/30] Compiling PerfectCRUD Comparison.swift
[11/30] Compiling PerfectCRUD ComparisonInts.swift
[12/30] Compiling PerfectCRUD Equality.swift
[13/30] Compiling PerfectCRUD InInts.swift
[14/30] Compiling PerfectCRUD Like.swift
[15/30] Compiling PerfectCRUD Logical.swift
[16/30] Compiling PerfectCRUD Select.swift
[17/30] Compiling PerfectCRUD Table.swift
[18/30] Compiling PerfectCRUD Logging.swift
[19/30] Compiling PerfectCRUD PerfectCRUD.swift
[20/30] Compiling PerfectCRUD Insert.swift
[21/30] Compiling PerfectCRUD Join.swift
[22/30] Compiling PerfectCRUD CodingKeyPaths.swift
[23/30] Compiling PerfectCRUD CodingNames.swift
[24/30] Compiling PerfectCRUD CodingRows.swift
[25/30] Compiling PerfectCRUD Coding.swift
[26/30] Compiling PerfectCRUD CodingBindings.swift
[27/30] Compiling PerfectCRUD CodingJoins.swift
[28/30] Compiling PerfectCRUD EqualityInts.swift
[29/30] Compiling PerfectCRUD Expression.swift
[30/30] Compiling PerfectCRUD In.swift
[31/35] 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/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
[32/35] 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/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/35] 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/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/35] 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/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/35] 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/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-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-mysqlclient.git from cache (0.90s)
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.90s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (0.68s)
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-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: '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 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.