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: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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:             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] Emitting module PerfectCRUD
[5/30] Compiling PerfectCRUD In.swift
[6/30] Compiling PerfectCRUD InInts.swift
[7/30] Compiling PerfectCRUD Like.swift
[8/30] Compiling PerfectCRUD Coding.swift
[9/30] Compiling PerfectCRUD CodingBindings.swift
[10/30] Compiling PerfectCRUD CodingJoins.swift
[11/30] Compiling PerfectCRUD CodingKeyPaths.swift
[12/30] Compiling PerfectCRUD Delete.swift
[13/30] Compiling PerfectCRUD Comparison.swift
[14/30] Compiling PerfectCRUD ComparisonInts.swift
[15/30] Compiling PerfectCRUD Logical.swift
[16/30] Compiling PerfectCRUD Insert.swift
[17/30] Compiling PerfectCRUD Join.swift
[18/30] Compiling PerfectCRUD Logging.swift
[19/30] Compiling PerfectCRUD PerfectCRUD.swift
[20/30] Compiling PerfectCRUD Select.swift
[21/30] Compiling PerfectCRUD Equality.swift
[22/30] Compiling PerfectCRUD EqualityInts.swift
[23/30] Compiling PerfectCRUD Expression.swift
[24/30] Compiling PerfectCRUD Table.swift
[25/30] Compiling PerfectCRUD Update.swift
[26/30] Compiling PerfectCRUD Where.swift
[27/30] Compiling PerfectCRUD CodingNames.swift
[28/30] Compiling PerfectCRUD CodingRows.swift
[29/30] Compiling PerfectCRUD Create.swift
[30/30] Compiling PerfectCRUD Database.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/34] Emitting module MariaDB
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
        ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
import mariadbclient
       ^
[32/34] Compiling MariaDB MySQLCRUD.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
        ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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 MariaDB.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
        ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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 MySQLStmt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
        ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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.16s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (0.03s)
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: 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
[2/5] Compiling MariaDB MariaDB.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
        ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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 MySQLCRUD.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
        ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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)
[4/5] Emitting module MariaDB
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
        ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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 MySQLStmt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
        ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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: you may be able to install libmariadb using your system-packager:
    brew install mariadb-connector-c
BUILD FAILURE 5.10 macosSpm