Build Information
Failed to build MariaDB, reference 3.0.4 (06a7fa
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 22:45:16 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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/admin/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
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/1190] Fetching perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.88s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 1.2.3 (2.65s)
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/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/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/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/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-CRUD",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/perfectlysoft/perfect-mariadb.git
[1/163] Fetching perfect-mariadb
Fetched https://github.com/perfectlysoft/perfect-mariadb.git from cache (0.79s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.50s)
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-mariadb.git
Working copy of https://github.com/perfectlysoft/perfect-mariadb.git resolved at 3.0.4 (06a7fa1)
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: '.resolve-product-dependencies': dependency 'perfect-mariadb' is not used by any target
Found 1 product dependencies
- PerfectCRUD
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-mariadb.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[4/28] Emitting module PerfectCRUD
[5/30] Compiling PerfectCRUD Update.swift
[6/30] Compiling PerfectCRUD Where.swift
[7/30] Compiling PerfectCRUD Create.swift
[8/30] Compiling PerfectCRUD Database.swift
[9/30] Compiling PerfectCRUD Delete.swift
[10/30] Compiling PerfectCRUD InInts.swift
[11/30] Compiling PerfectCRUD Like.swift
[12/30] Compiling PerfectCRUD Logical.swift
[13/30] Compiling PerfectCRUD Comparison.swift
[14/30] Compiling PerfectCRUD ComparisonInts.swift
[15/30] Compiling PerfectCRUD Equality.swift
[16/30] Compiling PerfectCRUD Select.swift
[17/30] Compiling PerfectCRUD Table.swift
[18/30] Compiling PerfectCRUD Logging.swift
[19/30] Compiling PerfectCRUD PerfectCRUD.swift
[20/30] Compiling PerfectCRUD Insert.swift
[21/30] Compiling PerfectCRUD Join.swift
[22/30] Compiling PerfectCRUD Coding.swift
[23/30] Compiling PerfectCRUD CodingBindings.swift
[24/30] Compiling PerfectCRUD CodingJoins.swift
[25/30] Compiling PerfectCRUD EqualityInts.swift
[26/30] Compiling PerfectCRUD Expression.swift
[27/30] Compiling PerfectCRUD In.swift
[28/30] Compiling PerfectCRUD CodingKeyPaths.swift
[29/30] Compiling PerfectCRUD CodingNames.swift
[30/30] Compiling PerfectCRUD CodingRows.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/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
[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 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
[34/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
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