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 mysql-swift 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/novi/mysql-swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/novi/mysql-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0757437 obsolete notice
Cloned https://github.com/novi/mysql-swift.git
Revision (git rev-parse @):
07574370c94c534857af2bac0695a722b76fd184
SUCCESS checkout https://github.com/novi/mysql-swift.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/novi/mysql-swift.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/6] Compiling SQLFormatter Error.swift
[5/6] Emitting module SQLFormatter
[6/6] Compiling SQLFormatter QueryFormatter.swift
[7/21] Compiling MySQL Sync.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
 2 | #define __CMYSQL_SHIM_H__
 3 |
 4 | #include <mysql/mysql.h>
   |          `- error: 'mysql/mysql.h' file not found
 5 |
 6 | #if LIBMYSQL_VERSION_ID >= 80000
/Users/admin/builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
  7 | //
  8 |
  9 | import CMySQL
    |        `- error: could not build Objective-C module 'CMySQL'
 10 | import CoreFoundation
 11 | import Foundation
[8/22] Compiling MySQL Transaction.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
 2 | #define __CMYSQL_SHIM_H__
 3 |
 4 | #include <mysql/mysql.h>
   |          `- error: 'mysql/mysql.h' file not found
 5 |
 6 | #if LIBMYSQL_VERSION_ID >= 80000
/Users/admin/builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
  7 | //
  8 |
  9 | import CMySQL
    |        `- error: could not build Objective-C module 'CMySQL'
 10 | import CoreFoundation
 11 | import Foundation
[9/22] Compiling MySQL Result.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
 2 | #define __CMYSQL_SHIM_H__
 3 |
 4 | #include <mysql/mysql.h>
   |          `- error: 'mysql/mysql.h' file not found
 5 |
 6 | #if LIBMYSQL_VERSION_ID >= 80000
/Users/admin/builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
  7 | //
  8 |
  9 | import CMySQL
    |        `- error: could not build Objective-C module 'CMySQL'
 10 | import CoreFoundation
 11 | import Foundation
[10/22] Compiling MySQL RawRepresentableParameter.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
 2 | #define __CMYSQL_SHIM_H__
 3 |
 4 | #include <mysql/mysql.h>
   |          `- error: 'mysql/mysql.h' file not found
 5 |
 6 | #if LIBMYSQL_VERSION_ID >= 80000
/Users/admin/builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
  7 | //
  8 |
  9 | import CMySQL
    |        `- error: could not build Objective-C module 'CMySQL'
 10 | import CoreFoundation
 11 | import Foundation
[11/22] Compiling MySQL Result-SQLRawStringDecodable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
 2 | #define __CMYSQL_SHIM_H__
 3 |
 4 | #include <mysql/mysql.h>
   |          `- error: 'mysql/mysql.h' file not found
 5 |
 6 | #if LIBMYSQL_VERSION_ID >= 80000
/Users/admin/builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
  7 | //
  8 |
  9 | import CMySQL
    |        `- error: could not build Objective-C module 'CMySQL'
 10 | import CoreFoundation
 11 | import Foundation
[12/22] Compiling MySQL QueryParameter-Data.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
 2 | #define __CMYSQL_SHIM_H__
 3 |
 4 | #include <mysql/mysql.h>
   |          `- error: 'mysql/mysql.h' file not found
 5 |
 6 | #if LIBMYSQL_VERSION_ID >= 80000
/Users/admin/builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
  7 | //
  8 |
  9 | import CMySQL
    |        `- error: could not build Objective-C module 'CMySQL'
 10 | import CoreFoundation
 11 | import Foundation
[13/22] Compiling MySQL QueryParameterType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
 2 | #define __CMYSQL_SHIM_H__
 3 |
 4 | #include <mysql/mysql.h>
   |          `- error: 'mysql/mysql.h' file not found
 5 |
 6 | #if LIBMYSQL_VERSION_ID >= 80000
/Users/admin/builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
  7 | //
  8 |
  9 | import CMySQL
    |        `- error: could not build Objective-C module 'CMySQL'
 10 | import CoreFoundation
 11 | import Foundation
[14/22] Compiling MySQL IDType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
 2 | #define __CMYSQL_SHIM_H__
 3 |
 4 | #include <mysql/mysql.h>
   |          `- error: 'mysql/mysql.h' file not found
 5 |
 6 | #if LIBMYSQL_VERSION_ID >= 80000
/Users/admin/builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
  7 | //
  8 |
  9 | import CMySQL
    |        `- error: could not build Objective-C module 'CMySQL'
 10 | import CoreFoundation
 11 | import Foundation
[15/22] Compiling MySQL Query.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
 2 | #define __CMYSQL_SHIM_H__
 3 |
 4 | #include <mysql/mysql.h>
   |          `- error: 'mysql/mysql.h' file not found
 5 |
 6 | #if LIBMYSQL_VERSION_ID >= 80000
/Users/admin/builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
  7 | //
  8 |
  9 | import CMySQL
    |        `- error: could not build Objective-C module 'CMySQL'
 10 | import CoreFoundation
 11 | import Foundation
[16/22] Compiling MySQL AutoincrementID.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
 2 | #define __CMYSQL_SHIM_H__
 3 |
 4 | #include <mysql/mysql.h>
   |          `- error: 'mysql/mysql.h' file not found
 5 |
 6 | #if LIBMYSQL_VERSION_ID >= 80000
/Users/admin/builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
  7 | //
  8 |
  9 | import CMySQL
    |        `- error: could not build Objective-C module 'CMySQL'
 10 | import CoreFoundation
 11 | import Foundation
[17/22] Compiling MySQL Blob.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
 2 | #define __CMYSQL_SHIM_H__
 3 |
 4 | #include <mysql/mysql.h>
   |          `- error: 'mysql/mysql.h' file not found
 5 |
 6 | #if LIBMYSQL_VERSION_ID >= 80000
/Users/admin/builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
  7 | //
  8 |
  9 | import CMySQL
    |        `- error: could not build Objective-C module 'CMySQL'
 10 | import CoreFoundation
 11 | import Foundation
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/22] Emitting module MySQL
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
 2 | #define __CMYSQL_SHIM_H__
 3 |
 4 | #include <mysql/mysql.h>
   |          `- error: 'mysql/mysql.h' file not found
 5 |
 6 | #if LIBMYSQL_VERSION_ID >= 80000
/Users/admin/builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
  7 | //
  8 |
  9 | import CMySQL
    |        `- error: could not build Objective-C module 'CMySQL'
 10 | import CoreFoundation
 11 | import Foundation
[19/22] Compiling MySQL Connection.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
 2 | #define __CMYSQL_SHIM_H__
 3 |
 4 | #include <mysql/mysql.h>
   |          `- error: 'mysql/mysql.h' file not found
 5 |
 6 | #if LIBMYSQL_VERSION_ID >= 80000
/Users/admin/builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
  7 | //
  8 |
  9 | import CMySQL
    |        `- error: could not build Objective-C module 'CMySQL'
 10 | import CoreFoundation
 11 | import Foundation
[20/22] Compiling MySQL ConnectionPool.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
 2 | #define __CMYSQL_SHIM_H__
 3 |
 4 | #include <mysql/mysql.h>
   |          `- error: 'mysql/mysql.h' file not found
 5 |
 6 | #if LIBMYSQL_VERSION_ID >= 80000
/Users/admin/builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
  7 | //
  8 |
  9 | import CMySQL
    |        `- error: could not build Objective-C module 'CMySQL'
 10 | import CoreFoundation
 11 | import Foundation
[21/22] Compiling MySQL Date.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
 2 | #define __CMYSQL_SHIM_H__
 3 |
 4 | #include <mysql/mysql.h>
   |          `- error: 'mysql/mysql.h' file not found
 5 |
 6 | #if LIBMYSQL_VERSION_ID >= 80000
/Users/admin/builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
  7 | //
  8 |
  9 | import CMySQL
    |        `- error: could not build Objective-C module 'CMySQL'
 10 | import CoreFoundation
 11 | import Foundation
[22/22] Compiling MySQL Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cmysql/shim.h:4:10: error: 'mysql/mysql.h' file not found
 2 | #define __CMYSQL_SHIM_H__
 3 |
 4 | #include <mysql/mysql.h>
   |          `- error: 'mysql/mysql.h' file not found
 5 |
 6 | #if LIBMYSQL_VERSION_ID >= 80000
/Users/admin/builder/spi-builder-workspace/Sources/MySQL/Connection.swift:9:8: error: could not build Objective-C module 'CMySQL'
  7 | //
  8 |
  9 | import CMySQL
    |        `- error: could not build Objective-C module 'CMySQL'
 10 | import CoreFoundation
 11 | import Foundation
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 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.