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 MariaDB 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/perfectlysoft/perfect-mariadb.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-mariadb
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 06a7fa1 fixing swift compiler warning "Perfect-MariaDB-master/Sources/MariaDB/MySQLStmt.swift:288:17: Initialization of 'UnsafeRawPointer' results in a dangling pointer"
Cloned https://github.com/perfectlysoft/perfect-mariadb.git
Revision (git rev-parse @):
06a7fa15402ca4b4c1bf0b5c7f5b450321250d9f
SUCCESS checkout https://github.com/perfectlysoft/perfect-mariadb.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/perfectlysoft/perfect-mariadb.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/28] Emitting module PerfectCRUD
[5/30] Compiling PerfectCRUD Logging.swift
[6/30] Compiling PerfectCRUD PerfectCRUD.swift
[7/30] Compiling PerfectCRUD CodingKeyPaths.swift
[8/30] Compiling PerfectCRUD CodingNames.swift
[9/30] Compiling PerfectCRUD CodingRows.swift
[10/30] Compiling PerfectCRUD Create.swift
[11/30] Compiling PerfectCRUD Database.swift
[12/30] Compiling PerfectCRUD Delete.swift
[13/30] Compiling PerfectCRUD EqualityInts.swift
[14/30] Compiling PerfectCRUD Expression.swift
[15/30] Compiling PerfectCRUD In.swift
[16/30] Compiling PerfectCRUD Comparison.swift
[17/30] Compiling PerfectCRUD ComparisonInts.swift
[18/30] Compiling PerfectCRUD Equality.swift
[19/30] Compiling PerfectCRUD Update.swift
[20/30] Compiling PerfectCRUD Where.swift
[21/30] Compiling PerfectCRUD InInts.swift
[22/30] Compiling PerfectCRUD Like.swift
[23/30] Compiling PerfectCRUD Logical.swift
[24/30] Compiling PerfectCRUD Select.swift
[25/30] Compiling PerfectCRUD Table.swift
[26/30] Compiling PerfectCRUD Insert.swift
[27/30] Compiling PerfectCRUD Join.swift
[28/30] Compiling PerfectCRUD Coding.swift
[29/30] Compiling PerfectCRUD CodingBindings.swift
[30/30] Compiling PerfectCRUD CodingJoins.swift
[31/34] Compiling MariaDB MySQLCRUD.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mariadb.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/mariadbclient/mariadb.h:4:10: error: '/usr/local/include/mariadb/mysql.h' file not found
2 | #define __PERFECT_MARIADB__
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/mariadb/mysql.h"
  |          `- error: '/usr/local/include/mariadb/mysql.h' file not found
5 | #else
6 | #include "/usr/include/mariadb/mysql.h"
/Users/admin/builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
 22 | 	import Glibc
 23 | #endif
 24 | import mariadbclient
    |        `- error: could not build Objective-C module 'mariadbclient'
 25 | import Foundation
 26 | /// This class permits an UnsafeMutablePointer to be used as a IteratorProtocol
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/34] Emitting module MariaDB
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mariadb.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/mariadbclient/mariadb.h:4:10: error: '/usr/local/include/mariadb/mysql.h' file not found
2 | #define __PERFECT_MARIADB__
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/mariadb/mysql.h"
  |          `- error: '/usr/local/include/mariadb/mysql.h' file not found
5 | #else
6 | #include "/usr/include/mariadb/mysql.h"
/Users/admin/builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
 22 | 	import Glibc
 23 | #endif
 24 | import mariadbclient
    |        `- error: could not build Objective-C module 'mariadbclient'
 25 | import Foundation
 26 | /// This class permits an UnsafeMutablePointer to be used as a IteratorProtocol
[33/34] Compiling MariaDB MySQLStmt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mariadb.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/mariadbclient/mariadb.h:4:10: error: '/usr/local/include/mariadb/mysql.h' file not found
2 | #define __PERFECT_MARIADB__
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/mariadb/mysql.h"
  |          `- error: '/usr/local/include/mariadb/mysql.h' file not found
5 | #else
6 | #include "/usr/include/mariadb/mysql.h"
/Users/admin/builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
 22 | 	import Glibc
 23 | #endif
 24 | import mariadbclient
    |        `- error: could not build Objective-C module 'mariadbclient'
 25 | import Foundation
 26 | /// This class permits an UnsafeMutablePointer to be used as a IteratorProtocol
[34/34] Compiling MariaDB MariaDB.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mariadb.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/mariadbclient/mariadb.h:4:10: error: '/usr/local/include/mariadb/mysql.h' file not found
2 | #define __PERFECT_MARIADB__
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/mariadb/mysql.h"
  |          `- error: '/usr/local/include/mariadb/mysql.h' file not found
5 | #else
6 | #include "/usr/include/mariadb/mysql.h"
/Users/admin/builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
 22 | 	import Glibc
 23 | #endif
 24 | import mariadbclient
    |        `- error: could not build Objective-C module 'mariadbclient'
 25 | import Foundation
 26 | /// This class permits an UnsafeMutablePointer to be used as a IteratorProtocol
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/1190] Fetching perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.91s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (2.25s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 1.2.3
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libmariadb using your system-packager:
    brew install mariadb-connector-c
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.