Build Information
Failed to build MariaDB, reference master (06a7fa
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 22:45:30 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: 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
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.54s)
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
[2/163] Fetching perfect-mariadb
Fetched https://github.com/perfectlysoft/perfect-mariadb.git from cache (0.76s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (0.45s)
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
Creating working copy for https://github.com/perfectlysoft/perfect-mariadb.git
Working copy of https://github.com/perfectlysoft/perfect-mariadb.git resolved at master (06a7fa1)
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 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 Coding.swift
[14/30] Compiling PerfectCRUD CodingBindings.swift
[15/30] Compiling PerfectCRUD CodingJoins.swift
[16/30] Compiling PerfectCRUD InInts.swift
[17/30] Compiling PerfectCRUD Like.swift
[18/30] Compiling PerfectCRUD Logical.swift
[19/30] Compiling PerfectCRUD Select.swift
[20/30] Compiling PerfectCRUD Table.swift
[21/30] Compiling PerfectCRUD Insert.swift
[22/30] Compiling PerfectCRUD Join.swift
[23/30] Compiling PerfectCRUD Logging.swift
[24/30] Compiling PerfectCRUD PerfectCRUD.swift
[25/30] Compiling PerfectCRUD Comparison.swift
[26/30] Compiling PerfectCRUD ComparisonInts.swift
[27/30] Compiling PerfectCRUD Equality.swift
[28/30] Compiling PerfectCRUD EqualityInts.swift
[29/30] Compiling PerfectCRUD Expression.swift
[30/30] Compiling PerfectCRUD In.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:
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] 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
[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 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