Build Information
Failed to build mysql-swift with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.25.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/novi/mysql-swift.git
Reference: 0.9.5
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/novi/mysql-swift
* tag 0.9.5 -> FETCH_HEAD
HEAD is now at 74f32e3 Update to Swift 5.2 manifesto (#105)
Cloned https://github.com/novi/mysql-swift.git
Revision (git rev-parse @):
74f32e3004e305024afded0c0540eafd822e149b
SUCCESS checkout https://github.com/novi/mysql-swift.git at 0.9.5
========================================
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/3] Emitting module SQLFormatter
[2/3] Compiling SQLFormatter QueryFormatter.swift
[3/3] Compiling SQLFormatter Error.swift
[4/18] Compiling MySQL IDType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[5/18] Compiling MySQL Query.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[6/18] Compiling MySQL Date.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[7/18] Compiling MySQL Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[8/18] Compiling MySQL RawRepresentableParameter.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[9/18] Compiling MySQL Result-SQLRawStringDecodable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[10/18] Compiling MySQL QueryParameter-Data.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[11/18] Compiling MySQL QueryParameterType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[12/19] Compiling MySQL Transaction.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9: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)
[13/19] Emitting module MySQL
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[14/19] Compiling MySQL Result.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[15/19] Compiling MySQL Sync.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[16/19] Compiling MySQL Connection.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[17/19] Compiling MySQL ConnectionPool.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[18/19] Compiling MySQL AutoincrementID.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[19/19] Compiling MySQL Blob.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
error: fatalError
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install cmysql using your system-packager:
brew install cmysql
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/15] Emitting module MySQL
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[2/15] Compiling MySQL QueryParameter-Data.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[3/15] Compiling MySQL QueryParameterType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[4/15] Compiling MySQL RawRepresentableParameter.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[5/15] Compiling MySQL Result-SQLRawStringDecodable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[6/15] Compiling MySQL Result.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[7/15] Compiling MySQL Sync.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[8/15] Compiling MySQL Connection.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[9/15] Compiling MySQL ConnectionPool.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[10/15] Compiling MySQL AutoincrementID.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[11/15] Compiling MySQL Blob.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[12/15] Compiling MySQL IDType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[13/15] Compiling MySQL Query.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[14/15] Compiling MySQL Date.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[15/15] Compiling MySQL Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[16/16] Compiling MySQL Transaction.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
error: fatalError
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install cmysql using your system-packager:
brew install cmysql
BUILD FAILURE 5.9 macosSpm