The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftKueryMySQL with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
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
Fetching https://github.com/IBM-Swift/Swift-Kuery.git from cache
Fetched https://github.com/IBM-Swift/Swift-Kuery.git (0.29s)
Fetching https://github.com/Kitura/LoggerAPI.git from cache
Fetched https://github.com/Kitura/LoggerAPI.git (0.20s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.04s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git (0.26s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.15s)
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.3
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftkuerymysql",
      "name": "SwiftKueryMySQL",
      "url": "https://github.com/Kitura/SwiftKueryMySQL.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftKueryMySQL",
      "dependencies": [
        {
          "identity": "swift-kuery",
          "name": "SwiftKuery",
          "url": "https://github.com/IBM-Swift/Swift-Kuery.git",
          "version": "unspecified",
          "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swift-Kuery",
          "dependencies": [
            {
              "identity": "loggerapi",
              "name": "LoggerAPI",
              "url": "https://github.com/Kitura/LoggerAPI.git",
              "version": "1.9.200",
              "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LoggerAPI",
              "dependencies": [
                {
                  "identity": "swift-log",
                  "name": "swift-log",
                  "url": "https://github.com/apple/swift-log.git",
                  "version": "1.5.3",
                  "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Kitura/SwiftKueryMySQL.git
[1/1659] Fetching swiftkuerymysql
Fetched https://github.com/Kitura/SwiftKueryMySQL.git (0.48s)
Fetching https://github.com/IBM-Swift/Swift-Kuery.git from cache
Fetched https://github.com/IBM-Swift/Swift-Kuery.git (0.20s)
Fetching https://github.com/Kitura/LoggerAPI.git from cache
Fetched https://github.com/Kitura/LoggerAPI.git (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 (0.28s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.03s)
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.3
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
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/Kitura/SwiftKueryMySQL.git
Working copy of https://github.com/Kitura/SwiftKueryMySQL.git resolved at master
warning: '.resolve-product-dependencies': dependency 'swiftkuerymysql' is not used by any target
Found 1 product dependencies
  - SwiftKuery
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/5] Compiling Logging MetadataProvider.swift
[2/5] Emitting module Logging
[3/5] Compiling Logging LogHandler.swift
[4/5] Compiling Logging Logging.swift
[5/5] Compiling Logging Locks.swift
[6/7] Emitting module LoggerAPI
[7/7] Compiling LoggerAPI Logger.swift
[8/51] Compiling SwiftKuery QueryError.swift
[9/51] Compiling SwiftKuery QueryResult.swift
[10/51] Compiling SwiftKuery QuerySuffixProtocol.swift
[11/51] Compiling SwiftKuery Raw.swift
[12/51] Compiling SwiftKuery RawField.swift
[13/51] Compiling SwiftKuery ResultFetcher.swift
[14/57] Emitting module SwiftKuery
[15/57] Compiling SwiftKuery Index.swift
[16/57] Compiling SwiftKuery IndexColumn.swift
[17/57] Compiling SwiftKuery IndexColumnOrdered.swift
[18/57] Compiling SwiftKuery Insert.swift
[19/57] Compiling SwiftKuery Join.swift
[20/57] Compiling SwiftKuery Migration.swift
[21/57] Compiling SwiftKuery AggregateColumnExpression.swift
[22/57] Compiling SwiftKuery AuxiliaryTable.swift
[23/57] Compiling SwiftKuery Buildable.swift
[24/57] Compiling SwiftKuery Column.swift
[25/57] Compiling SwiftKuery ColumnAndExpressions_Extensions.swift
[26/57] Compiling SwiftKuery ColumnCreator.swift
[27/57] Compiling SwiftKuery Condition.swift
[28/57] Compiling SwiftKuery ConditionalClause.swift
[29/57] Compiling SwiftKuery Connection.swift
[30/57] Compiling SwiftKuery ConnectionPool.swift
[31/57] Compiling SwiftKuery ConnectionPoolConnection.swift
[32/57] Compiling SwiftKuery ConnectionPoolOptions.swift
[33/57] Compiling SwiftKuery Delete.swift
[34/57] Compiling SwiftKuery ResultSet.swift
[35/57] Compiling SwiftKuery SQLDataType.swift
[36/57] Compiling SwiftKuery ScalarColumnExpression.swift
[37/57] Compiling SwiftKuery Select.swift
[38/57] Compiling SwiftKuery SpecialOperators_Extensions.swift
[39/57] Compiling SwiftKuery String+Buildable.swift
[40/57] Compiling SwiftKuery OrderBy.swift
[41/57] Compiling SwiftKuery Parameter.swift
[42/57] Compiling SwiftKuery Predicate.swift
[43/57] Compiling SwiftKuery PreparedStatement.swift
[44/57] Compiling SwiftKuery Query.swift
[45/57] Compiling SwiftKuery QueryBuilder.swift
[46/57] Compiling SwiftKuery Field.swift
[47/57] Compiling SwiftKuery Filter.swift
[48/57] Compiling SwiftKuery FilterAndHaving_Extensions.swift
[49/57] Compiling SwiftKuery FilterAndHaving_GlobalFunctions.swift
[50/57] Compiling SwiftKuery ForeignKey.swift
[51/57] Compiling SwiftKuery Having.swift
[52/57] Compiling SwiftKuery Subqueries_GlobalFunctionsAndExtensions.swift
[53/57] Compiling SwiftKuery Table.swift
[54/57] Compiling SwiftKuery Union.swift
[55/57] Compiling SwiftKuery Update.swift
[56/57] Compiling SwiftKuery Utils.swift
[57/57] Compiling SwiftKuery With.swift
[58/61] 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
       ^
[59/61] 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: emit-module command failed with exit code 1 (use -v to see invocation)
[60/61] 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
       ^
[61/61] 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
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] 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
       ^
[2/4] 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/4] 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
       ^
[4/4] 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: fatalError
warning: you may be able to install mysqlclient using your system-packager:
    brew install mysql
BUILD FAILURE 5.9 macosSpm