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 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-mariadb.git
Reference: 3.0.4
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-mariadb
 * tag               3.0.4      -> FETCH_HEAD
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 3.0.4
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/perfectlysoft/perfect-mariadb.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--423B1241ED78D482.txt
[4/27] Compiling PerfectCRUD Delete.swift
[5/27] Compiling PerfectCRUD Comparison.swift
[6/27] Compiling PerfectCRUD ComparisonInts.swift
[7/30] Compiling PerfectCRUD Equality.swift
[8/30] Compiling PerfectCRUD EqualityInts.swift
[9/30] Compiling PerfectCRUD Expression.swift
[10/30] Compiling PerfectCRUD Logging.swift
[11/30] Compiling PerfectCRUD PerfectCRUD.swift
[12/30] Compiling PerfectCRUD Select.swift
[13/30] Compiling PerfectCRUD Logical.swift
[14/30] Compiling PerfectCRUD Insert.swift
[15/30] Compiling PerfectCRUD Join.swift
[16/30] Compiling PerfectCRUD In.swift
[17/30] Compiling PerfectCRUD InInts.swift
[18/30] Compiling PerfectCRUD Like.swift
[19/30] Compiling PerfectCRUD CodingNames.swift
[20/30] Compiling PerfectCRUD CodingRows.swift
[21/30] Compiling PerfectCRUD Create.swift
[22/30] Compiling PerfectCRUD Database.swift
[23/30] Emitting module PerfectCRUD
[24/30] Compiling PerfectCRUD Coding.swift
[25/30] Compiling PerfectCRUD CodingBindings.swift
[26/30] Compiling PerfectCRUD CodingJoins.swift
[27/30] Compiling PerfectCRUD CodingKeyPaths.swift
[28/30] Compiling PerfectCRUD Table.swift
[29/30] Compiling PerfectCRUD Update.swift
[30/30] Compiling PerfectCRUD Where.swift
[31/34] Compiling MariaDB MySQLStmt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/mariadbclient/mariadb.h:4:10: error: '/usr/local/include/mariadb/mysql.h' file not found
#include "/usr/local/include/mariadb/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
import mariadbclient
       ^
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:
#import "mariadb.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/mariadbclient/mariadb.h:4:10: error: '/usr/local/include/mariadb/mysql.h' file not found
#include "/usr/local/include/mariadb/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
import mariadbclient
       ^
[33/34] Compiling MariaDB MySQLCRUD.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/mariadbclient/mariadb.h:4:10: error: '/usr/local/include/mariadb/mysql.h' file not found
#include "/usr/local/include/mariadb/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
import mariadbclient
       ^
[34/34] Compiling MariaDB MariaDB.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/mariadbclient/mariadb.h:4:10: error: '/usr/local/include/mariadb/mysql.h' file not found
#include "/usr/local/include/mariadb/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
import mariadbclient
       ^
error: fatalError
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.21s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (0.02s)
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module MariaDB
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/mariadbclient/mariadb.h:4:10: error: '/usr/local/include/mariadb/mysql.h' file not found
#include "/usr/local/include/mariadb/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
import mariadbclient
       ^
[3/5] Compiling MariaDB MySQLStmt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/mariadbclient/mariadb.h:4:10: error: '/usr/local/include/mariadb/mysql.h' file not found
#include "/usr/local/include/mariadb/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
import mariadbclient
       ^
[4/5] Compiling MariaDB MySQLCRUD.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/mariadbclient/mariadb.h:4:10: error: '/usr/local/include/mariadb/mysql.h' file not found
#include "/usr/local/include/mariadb/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
import mariadbclient
       ^
[5/5] Compiling MariaDB MariaDB.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/mariadbclient/mariadb.h:4:10: error: '/usr/local/include/mariadb/mysql.h' file not found
#include "/usr/local/include/mariadb/mysql.h"
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
import mariadbclient
       ^
error: fatalError
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 5.10 macosSpm