Build Information
Failed to build MariaDB with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
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/0/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
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git (0.32s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (0.06s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "perfect-mariadb",
"name": "MariaDB",
"url": "https://github.com/perfectlysoft/perfect-mariadb.git",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-mariadb",
"dependencies": [
{
"identity": "perfect-crud",
"name": "PerfectCRUD",
"url": "https://github.com/PerfectlySoft/Perfect-CRUD.git",
"version": "1.2.3",
"path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-CRUD",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/perfectlysoft/perfect-mariadb.git
[1/158] Fetching perfect-mariadb
Fetched https://github.com/perfectlysoft/perfect-mariadb.git (0.28s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git (0.23s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (0.04s)
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
Creating working copy for https://github.com/perfectlysoft/perfect-mariadb.git
Working copy of https://github.com/perfectlysoft/perfect-mariadb.git resolved at master
warning: '.resolve-product-dependencies': dependency 'perfect-mariadb' is not used by any target
Found 1 product dependencies
- PerfectCRUD
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/24] Compiling PerfectCRUD Logical.swift
[2/24] Compiling PerfectCRUD Insert.swift
[3/24] Compiling PerfectCRUD Join.swift
[4/24] Compiling PerfectCRUD In.swift
[5/24] Compiling PerfectCRUD InInts.swift
[6/24] Compiling PerfectCRUD Like.swift
[7/24] Compiling PerfectCRUD CodingNames.swift
[8/24] Compiling PerfectCRUD CodingRows.swift
[9/24] Compiling PerfectCRUD Create.swift
[10/24] Compiling PerfectCRUD Database.swift
[11/24] Compiling PerfectCRUD Equality.swift
[12/24] Compiling PerfectCRUD EqualityInts.swift
[13/24] Compiling PerfectCRUD Expression.swift
[14/24] Compiling PerfectCRUD Delete.swift
[15/24] Compiling PerfectCRUD Comparison.swift
[16/24] Compiling PerfectCRUD ComparisonInts.swift
[17/24] Emitting module PerfectCRUD
[18/24] Compiling PerfectCRUD Coding.swift
[19/24] Compiling PerfectCRUD CodingBindings.swift
[20/24] Compiling PerfectCRUD CodingJoins.swift
[21/24] Compiling PerfectCRUD CodingKeyPaths.swift
[22/24] Compiling PerfectCRUD Logging.swift
[23/24] Compiling PerfectCRUD PerfectCRUD.swift
[24/24] Compiling PerfectCRUD Select.swift
[25/27] Compiling PerfectCRUD Table.swift
[26/27] Compiling PerfectCRUD Update.swift
[27/27] Compiling PerfectCRUD Where.swift
[28/31] Compiling MariaDB MariaDB.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
^
/Users/admin/builds/J1XnyXFH/0/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/0/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)
[29/31] Emitting module MariaDB
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
^
/Users/admin/builds/J1XnyXFH/0/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/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
import mariadbclient
^
[30/31] Compiling MariaDB MySQLCRUD.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
^
/Users/admin/builds/J1XnyXFH/0/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/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
import mariadbclient
^
[31/31] Compiling MariaDB MySQLStmt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
^
/Users/admin/builds/J1XnyXFH/0/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/0/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
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] Emitting module MariaDB
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
^
/Users/admin/builds/J1XnyXFH/0/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/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
import mariadbclient
^
[2/4] Compiling MariaDB MySQLStmt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
^
/Users/admin/builds/J1XnyXFH/0/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/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
import mariadbclient
^
[3/4] Compiling MariaDB MySQLCRUD.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
^
/Users/admin/builds/J1XnyXFH/0/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/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/MariaDB/MariaDB.swift:24:8: error: could not build Objective-C module 'mariadbclient'
import mariadbclient
^
[4/4] Compiling MariaDB MariaDB.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "mariadb.h"
^
/Users/admin/builds/J1XnyXFH/0/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/0/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.9 macosSpm