Build Information
Failed to build mysql-swift with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.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/admin/builds/vMd7uqzK/0/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.8
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/16] Emitting module MySQL
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[5/19] Compiling MySQL QueryParameter-Data.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[6/19] Compiling MySQL QueryParameterType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[7/19] Compiling MySQL RawRepresentableParameter.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[8/19] Compiling MySQL Result-SQLRawStringDecodable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[9/19] Compiling MySQL Date.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[10/19] Compiling MySQL Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[11/19] Compiling MySQL IDType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/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 Query.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[13/19] Compiling MySQL Result.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/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 Sync.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/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 Transaction.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/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 AutoincrementID.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/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 Blob.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/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 Connection.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/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 ConnectionPool.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
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/13] Emitting module MySQL
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[2/16] Compiling MySQL QueryParameter-Data.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[3/16] Compiling MySQL QueryParameterType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[4/16] Compiling MySQL RawRepresentableParameter.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[5/16] Compiling MySQL Result-SQLRawStringDecodable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[6/16] Compiling MySQL Date.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[7/16] Compiling MySQL Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[8/16] Compiling MySQL IDType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[9/16] Compiling MySQL Query.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[10/16] Compiling MySQL Result.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[11/16] Compiling MySQL Sync.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[12/16] Compiling MySQL Transaction.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[13/16] Compiling MySQL AutoincrementID.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[14/16] Compiling MySQL Blob.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
[15/16] Compiling MySQL Connection.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/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 ConnectionPool.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
#include <mysql/mysql.h>
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
import CMySQL
^
warning: you may be able to install cmysql using your system-packager:
brew install cmysql
BUILD FAILURE 5.8 macosSpm