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 SwiftKueryMySQL 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/Kitura/SwiftKueryMySQL.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Kitura/SwiftKueryMySQL
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ad6355e Update package reference to community versions (#69)
Cloned https://github.com/Kitura/SwiftKueryMySQL.git
Revision (git rev-parse @):
ad6355e6fe75149efc5dc270f726edf8af867944
SUCCESS checkout https://github.com/Kitura/SwiftKueryMySQL.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Kitura/SwiftKueryMySQL.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version--423B1241ED78D482.txt
[6/10] Compiling Logging LogHandler.swift
[7/10] Compiling Logging MetadataProvider.swift
[8/10] Compiling Logging Locks.swift
[9/10] Emitting module Logging
[10/10] Compiling Logging Logging.swift
[11/12] Emitting module LoggerAPI
[12/12] Compiling LoggerAPI Logger.swift
[13/56] Emitting module SwiftKuery
[14/62] Compiling SwiftKuery ConditionalClause.swift
[15/62] Compiling SwiftKuery Connection.swift
[16/62] Compiling SwiftKuery ConnectionPool.swift
[17/62] Compiling SwiftKuery ConnectionPoolConnection.swift
[18/62] Compiling SwiftKuery ConnectionPoolOptions.swift
[19/62] Compiling SwiftKuery Delete.swift
[20/62] Compiling SwiftKuery OrderBy.swift
[21/62] Compiling SwiftKuery Parameter.swift
[22/62] Compiling SwiftKuery Predicate.swift
[23/62] Compiling SwiftKuery PreparedStatement.swift
[24/62] Compiling SwiftKuery Query.swift
[25/62] Compiling SwiftKuery QueryBuilder.swift
[26/62] Compiling SwiftKuery Index.swift
[27/62] Compiling SwiftKuery IndexColumn.swift
[28/62] Compiling SwiftKuery IndexColumnOrdered.swift
[29/62] Compiling SwiftKuery Insert.swift
[30/62] Compiling SwiftKuery Join.swift
[31/62] Compiling SwiftKuery Migration.swift
[32/62] Compiling SwiftKuery AggregateColumnExpression.swift
[33/62] Compiling SwiftKuery AuxiliaryTable.swift
[34/62] Compiling SwiftKuery Buildable.swift
[35/62] Compiling SwiftKuery Column.swift
[36/62] Compiling SwiftKuery ColumnAndExpressions_Extensions.swift
[37/62] Compiling SwiftKuery ColumnCreator.swift
[38/62] Compiling SwiftKuery Condition.swift
[39/62] Compiling SwiftKuery Field.swift
[40/62] Compiling SwiftKuery Filter.swift
[41/62] Compiling SwiftKuery FilterAndHaving_Extensions.swift
[42/62] Compiling SwiftKuery FilterAndHaving_GlobalFunctions.swift
[43/62] Compiling SwiftKuery ForeignKey.swift
[44/62] Compiling SwiftKuery Having.swift
[45/62] Compiling SwiftKuery QueryError.swift
[46/62] Compiling SwiftKuery QueryResult.swift
[47/62] Compiling SwiftKuery QuerySuffixProtocol.swift
[48/62] Compiling SwiftKuery Raw.swift
[49/62] Compiling SwiftKuery RawField.swift
[50/62] Compiling SwiftKuery ResultFetcher.swift
[51/62] Compiling SwiftKuery ResultSet.swift
[52/62] Compiling SwiftKuery SQLDataType.swift
[53/62] Compiling SwiftKuery ScalarColumnExpression.swift
[54/62] Compiling SwiftKuery Select.swift
[55/62] Compiling SwiftKuery SpecialOperators_Extensions.swift
[56/62] Compiling SwiftKuery String+Buildable.swift
[57/62] Compiling SwiftKuery Subqueries_GlobalFunctionsAndExtensions.swift
[58/62] Compiling SwiftKuery Table.swift
[59/62] Compiling SwiftKuery Union.swift
[60/62] Compiling SwiftKuery Update.swift
[61/62] Compiling SwiftKuery Utils.swift
[62/62] Compiling SwiftKuery With.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/66] Emitting module SwiftKueryMySQL
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
#include <mysql.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
       ^
[64/66] Compiling SwiftKueryMySQL MySQLConnection.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
#include <mysql.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
       ^
[65/66] Compiling SwiftKueryMySQL MySQLPreparedStatement.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
#include <mysql.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
       ^
[66/66] Compiling SwiftKueryMySQL MySQLResultFetcher.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
#include <mysql.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
       ^
error: fatalError
Fetching https://github.com/IBM-Swift/Swift-Kuery.git from cache
Fetched https://github.com/IBM-Swift/Swift-Kuery.git from cache (0.19s)
Fetching https://github.com/Kitura/LoggerAPI.git from cache
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.20s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.03s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.20s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.02s)
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
Creating working copy for https://github.com/IBM-Swift/Swift-Kuery.git
Working copy of https://github.com/IBM-Swift/Swift-Kuery.git resolved at master (b9f5355)
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/5] Compiling SwiftKueryMySQL MySQLResultFetcher.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
#include <mysql.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
       ^
[3/5] Compiling SwiftKueryMySQL MySQLConnection.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
#include <mysql.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module SwiftKueryMySQL
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
#include <mysql.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
       ^
[5/5] Compiling SwiftKueryMySQL MySQLPreparedStatement.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CMySQL/shim.h:3:10: error: 'mysql.h' file not found
#include <mysql.h>
         ^
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftKueryMySQL/MySQLConnection.swift:21:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
       ^
error: fatalError
warning: you may be able to install mysqlclient using your system-packager:
    brew install mysql
BUILD FAILURE 5.10 macosSpm