Build Information
Failed to build PerfectSession, reference 4.0.0 (0b3bf3), with Swift 6.3 for macOS (SPM) on 16 Oct 2026 17:34:06 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-session.git
Reference: 4.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-session
* tag 4.0.0 -> FETCH_HEAD
HEAD is now at 0b3bf33 Merge pull request #17 from PerfectlySoft/release-prep
Cloned https://github.com/perfectlysoft/perfect-session.git
Revision (git rev-parse @):
0b3bf3314ea6bab1500ad5f3010565ba39849272
SUCCESS checkout https://github.com/perfectlysoft/perfect-session.git at 4.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-session.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/445] Write sources
[0/445] Copying PrivacyInfo.xcprivacy
[0/445] Write sources
[30/445] Compiling CNIOWindows shim.c
[30/445] Compiling CNIOWindows WSAStartup.c
[32/445] Compiling CNIOWASI CNIOWASI.c
[33/445] Compiling CNIOLinux shim.c
[34/445] Compiling CNIOOpenBSD shim.c
[35/445] Compiling CNIOLinux liburing_shims.c
[36/445] Compiling CNIOFreeBSD shim.c
[37/445] Compiling fiat_curve25519_adx_square.S
[38/445] Compiling fiat_p256_adx_mul.S
[39/445] Compiling fiat_p256_adx_sqr.S
[40/445] Write swift-version-69A768CDF2A0BEE1.txt
[41/445] Compiling fiat_curve25519_adx_mul.S
[42/447] Compiling PerfectSQLiteShim PerfectSQLiteShim.c
[43/451] Compiling _AtomicsShims.c
[44/462] Compiling CNIOPosix event_loop_id.c
[45/490] Compiling CNIODarwin shim.c
[46/501] Compiling CNIOBoringSSLShims shims.c
[48/501] Compiling _NIOBase64 Base64.swift
[49/501] Emitting module _NIOBase64
[49/534] Compiling tls13_server.cc
[50/534] Compiling tls_record.cc
[51/534] Compiling tls_method.cc
[52/534] Compiling tls13_enc.cc
[54/534] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[55/534] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[56/534] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[57/537] Compiling Logging LogEvent.swift
[58/538] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[59/538] Compiling InternalCollectionsUtilities _SortedCollection.swift
[60/538] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[61/538] Compiling Logging LoggingSystem.swift
[62/538] Compiling InternalCollectionsUtilities Descriptions.swift
[63/538] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[64/538] Compiling InternalCollectionsUtilities Integer rank.swift
[65/538] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[66/538] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[67/538] Compiling InternalCollectionsUtilities Debugging.swift
[68/538] Compiling Logging LogHandler.swift
[69/538] Compiling Logging Logger+Attributes.swift
[70/538] Compiling Logging MetadataProvider.swift
[71/538] Compiling _NIODataStructures _TinyArray.swift
[72/538] Emitting module _NIODataStructures
[73/538] Compiling _NIODataStructures PriorityQueue.swift
[74/538] Compiling _NIODataStructures Heap.swift
[75/538] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[76/538] Compiling InternalCollectionsUtilities UInt+reversed.swift
[77/538] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[78/538] Compiling InternalCollectionsUtilities Span+Extras.swift
[79/538] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[80/538] Compiling InternalCollectionsUtilities String+Padding.swift
[81/538] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[82/538] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[83/538] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[84/538] Compiling Logging Logger.swift
[85/538] Compiling Logging Logger+With.swift
[86/538] Compiling Logging SwiftLogNoOpLogHandler.swift
[87/538] Compiling Logging Locks.swift
[88/538] Emitting module Logging
[91/538] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[92/538] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[93/538] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[94/538] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[95/538] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[96/538] Compiling InternalCollectionsUtilities MutableRef.swift
[97/538] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[98/538] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[99/538] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[100/538] Emitting module InternalCollectionsUtilities
[100/547] Compiling t1_enc.cc
[101/547] Compiling tls13_both.cc
[102/547] Compiling tls13_client.cc
[103/547] Compiling ssl_x509.cc
[105/551] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[106/551] Compiling SpanPreview InputSpan.swift
[107/551] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[108/551] Emitting module SpanPreview
[108/551] Compiling ssl_versions.cc
[109/551] Compiling ssl_transcript.cc
[111/594] Compiling CoreMetrics Locks.swift
[112/594] Compiling CoreMetrics Metrics.swift
[113/594] Compiling CoreMetrics WithMetricsFactory.swift
[114/594] Compiling CoreMetrics MappingMetricsFactory.swift
[115/594] Emitting module CoreMetrics
[116/594] Compiling DequeModule RigidDeque+Consumption.swift
[117/594] Compiling DequeModule RigidDeque+ContainerOperations.swift
[118/594] Compiling DequeModule RigidDeque+Deprecations.swift
[119/594] Compiling DequeModule RigidDeque+Descriptions.swift
[120/594] Compiling DequeModule RigidDeque+Equatable.swift
[121/598] Compiling DequeModule UniqueDeque+Consumption.swift
[122/598] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[123/598] Compiling DequeModule UniqueDeque+Deprecations.swift
[124/598] Compiling DequeModule UniqueDeque+Descriptions.swift
[124/598] Compiling ssl_stat.cc
[126/598] Compiling DequeModule RigidDeque+Hashable.swift
[127/598] Compiling DequeModule RigidDeque+Initializers.swift
[128/598] Compiling DequeModule RigidDeque+Insertions.swift
[129/598] Compiling DequeModule RigidDeque+Iterable.swift
[130/598] Compiling DequeModule RigidDeque+Prepend.swift
[131/600] Compiling DequeModule UniqueDeque+Equatable.swift
[132/600] Compiling DequeModule UniqueDeque+Hashable.swift
[133/600] Compiling DequeModule UniqueDeque+Initializers.swift
[134/600] Compiling DequeModule UniqueDeque+Insertions.swift
[135/600] Compiling DequeModule RigidDeque+Removals.swift
[136/600] Compiling DequeModule RigidDeque+Replacements.swift
[137/600] Compiling DequeModule RigidDeque+Testing.swift
[138/600] Compiling DequeModule RigidDeque.swift
[139/600] Compiling DequeModule UniqueDeque+Append.swift
[140/600] Compiling DequeModule UniqueDeque+Iterable.swift
[141/600] Compiling DequeModule UniqueDeque+Prepend.swift
[142/600] Compiling DequeModule UniqueDeque+Removals.swift
[143/600] Compiling DequeModule UniqueDeque+Replacements.swift
[143/600] Compiling ssl_privkey.cc
[144/600] Compiling ssl_session.cc
[146/600] Compiling DequeModule Deque+Codable.swift
[147/600] Compiling DequeModule Deque+Collection.swift
[148/600] Compiling DequeModule Deque+CustomReflectable.swift
[149/600] Compiling DequeModule Deque+Descriptions.swift
[150/600] Compiling DequeModule Deque+Equatable.swift
[151/600] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[152/600] Compiling DequeModule Deque+Extras.swift
[153/600] Compiling DequeModule Deque+Hashable.swift
[154/600] Compiling DequeModule Deque+Testing.swift
[155/600] Compiling DequeModule Deque._Storage.swift
[156/600] Compiling DequeModule Deque._UnsafeHandle.swift
[157/600] Compiling DequeModule Deque.swift
[158/600] Compiling DequeModule _DequeBuffer.swift
[159/600] Compiling DequeModule _DequeBufferHeader.swift
[160/600] Compiling DequeModule RigidDeque+Append.swift
[161/600] Compiling PerfectMongoDB MongoConnectionPool.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build Objective-C module 'PerfectCBSON'
21 | import Foundation
22 |
[162/600] Compiling PerfectMongoDB MongoCursor.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build Objective-C module 'PerfectCBSON'
21 | import Foundation
22 |
[163/600] Compiling PerfectMongoDB MongoCollectionCodable.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build Objective-C module 'PerfectCBSON'
21 | import Foundation
22 |
[164/600] Compiling PerfectMongoDB MongoDatabase.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build Objective-C module 'PerfectCBSON'
21 | import Foundation
22 |
[165/600] Compiling PerfectMongoDB MongoGridFS.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build Objective-C module 'PerfectCBSON'
21 | import Foundation
22 |
[165/601] Compiling ssl_key_share.cc
[166/601] Compiling ssl_lib.cc
[167/601] Compiling ssl_file.cc
[168/601] Compiling ssl_cipher.cc
[169/601] Compiling ssl_credential.cc
[171/601] Compiling PerfectMongoDB MongoJSONConvertables.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build Objective-C module 'PerfectCBSON'
21 | import Foundation
22 |
[171/601] Compiling ssl_buffer.cc
[173/601] Compiling PerfectSessionCore SessionDriver.swift
[177/602] Compiling PerfectSessionCore SessionCookie.swift
[178/604] Compiling Metrics Metrics.swift
[179/604] Compiling PerfectSessionCore SessionConfig.swift
[180/604] Emitting module PerfectCRUD
[183/604] Compiling ssl_cert.cc
[185/604] Compiling PerfectSessionCore LogID.swift
[186/604] Compiling PerfectSessionCore AuthFilter.swift
[187/604] Emitting module PerfectSessionCore
[188/604] Compiling PerfectSessionCore CSRFSecurity.swift
[189/604] Compiling PerfectSessionCore PerfectSession.swift
[190/604] Compiling PerfectSessionCore MemorySessionDriver.swift
[191/604] Emitting module Metrics
[197/604] Compiling ssl_asn1.cc
[199/604] Compiling DequeModule UniqueDeque.swift
[200/604] Compiling DequeModule _DequeSlot.swift
[201/604] Compiling DequeModule _UnsafeDequeHandle.swift
[202/604] Compiling DequeModule _UnsafeDequeSegments.swift
[215/604] Emitting module DequeModule
[216/604] Compiling PerfectCRUD Table.swift
[217/604] Compiling PerfectCRUD Update.swift
[218/604] Compiling PerfectCRUD Where.swift
[218/604] Compiling ssl_aead_ctx.cc
[219/604] Compiling s3_pkt.cc
[220/604] Compiling s3_lib.cc
[221/604] Compiling s3_both.cc
[222/604] Compiling handshake_client.cc
[223/604] Compiling handshake_server.cc
[227/604] Compiling handshake.cc
[228/607] Compiling handoff.cc
[229/612] Compiling encrypted_client_hello.cc
[230/612] Compiling extensions.cc
[231/617] Compiling dtls_record.cc
[232/617] Compiling dtls_method.cc
[233/617] Compiling md5-x86_64-linux.S
[234/617] Compiling md5-x86_64-apple.S
[235/617] Compiling md5-586-linux.S
[236/617] Compiling md5-586-apple.S
[237/617] Compiling d1_pkt.cc
[238/617] Compiling d1_srtp.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[240/617] Emitting module PerfectPostgreSQL
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "libpq.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/libpq/libpq.h:1:10: error: 'libpq-fe.h' file not found
1 | #include <libpq-fe.h>
| `- error: 'libpq-fe.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
19 |
20 | import Foundation
21 | import libpq
| `- error: could not build Objective-C module 'libpq'
22 | import Logging
23 |
[241/617] Compiling PerfectPostgreSQL PostgresCRUDInsert.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "libpq.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/libpq/libpq.h:1:10: error: 'libpq-fe.h' file not found
1 | #include <libpq-fe.h>
| `- error: 'libpq-fe.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
19 |
20 | import Foundation
21 | import libpq
| `- error: could not build Objective-C module 'libpq'
22 | import Logging
23 |
[242/617] Compiling PerfectPostgreSQL PostgresCRUDUpdate.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "libpq.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/libpq/libpq.h:1:10: error: 'libpq-fe.h' file not found
1 | #include <libpq-fe.h>
| `- error: 'libpq-fe.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
19 |
20 | import Foundation
21 | import libpq
| `- error: could not build Objective-C module 'libpq'
22 | import Logging
23 |
[243/617] Compiling PerfectPostgreSQL PostgresCRUD.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "libpq.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/libpq/libpq.h:1:10: error: 'libpq-fe.h' file not found
1 | #include <libpq-fe.h>
| `- error: 'libpq-fe.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
19 |
20 | import Foundation
21 | import libpq
| `- error: could not build Objective-C module 'libpq'
22 | import Logging
23 |
[244/617] Compiling PerfectPostgreSQL PerfectPostgreSQL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "libpq.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/libpq/libpq.h:1:10: error: 'libpq-fe.h' file not found
1 | #include <libpq-fe.h>
| `- error: 'libpq-fe.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-PostgreSQL/Sources/PerfectPostgreSQL/PerfectPostgreSQL.swift:21:8: error: could not build Objective-C module 'libpq'
19 |
20 | import Foundation
21 | import libpq
| `- error: could not build Objective-C module 'libpq'
22 | import Logging
23 |
[244/617] Compiling chacha20_poly1305_x86_64-linux.S
[245/617] Compiling chacha20_poly1305_armv8-win.S
[245/617] Compiling bio_ssl.cc
[245/617] Compiling err_data.cc
[245/617] Compiling d1_lib.cc
[245/617] Compiling d1_both.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[246/617] Emitting module PerfectMySQL
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysqlclient.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/mysqlclient/mysqlclient.h:1:10: error: 'mysql.h' file not found
1 | #include <mysql.h>
| `- error: 'mysql.h' file not found
2 |
3 | #if defined(LIBMARIADB) || defined(MARIADB_BASE_VERSION)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/PerfectMySQL/MySQL.swift:8:8: error: could not build Objective-C module 'mysqlclient'
6 | //
7 |
8 | import mysqlclient
| `- error: could not build Objective-C module 'mysqlclient'
9 | #if canImport(Glibc)
10 | import Glibc
[247/617] Emitting module PerfectSQLite
error: emit-module command failed with exit code 1 (use -v to see invocation)
[248/617] Emitting module PerfectMongoDB
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build Objective-C module 'PerfectCBSON'
21 | import Foundation
22 |
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "mysqlclient.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MySQL/Sources/mysqlclient/mysqlclient.h:1:10: error: 'mysql.h' file not found
1 | #include <mysql.h>
| `- error: 'mysql.h' file not found
2 |
3 | #if defined(LIBMARIADB) || defined(MARIADB_BASE_VERSION)
[249/617] Compiling PerfectMongoDB MongoClient.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build Objective-C module 'PerfectCBSON'
21 | import Foundation
22 |
[250/617] Compiling PerfectMongoDB MongoAsync.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift:20:8: error: could not build Objective-C module 'PerfectCBSON'
18 | //
19 |
20 | import PerfectCBSON
| `- error: could not build Objective-C module 'PerfectCBSON'
21 | import Foundation
22 |
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectCBSON/shim.h:2:10: error: 'bson/bson.h' file not found
1 | #define BCON_H_
2 | #include <bson/bson.h>
| `- error: 'bson/bson.h' file not found
3 |
4 | // libbson 2.3 added bson_append_array_unsafe_begin and deprecated bson_append_array_begin
[250/617] Compiling chacha20_poly1305_x86_64-apple.S
Fetching https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Fetching https://github.com/PerfectlySoft/Perfect-MongoDB.git
Fetching https://github.com/PerfectlySoft/Perfect-MySQL.git
Fetching https://github.com/PerfectlySoft/Perfect-SQLite.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/PerfectlySoft/Perfect-Redis.git
[1/1662] Fetching perfect-postgresql
[18/2979] Fetching perfect-postgresql, perfect-mysql
[32/4208] Fetching perfect-postgresql, perfect-mysql, perfect-mongodb
[45/12513] Fetching perfect-postgresql, perfect-mysql, perfect-mongodb, swift-log
[146/13355] Fetching perfect-postgresql, perfect-mysql, perfect-mongodb, swift-log, perfect-redis
[320/14168] Fetching perfect-postgresql, perfect-mysql, perfect-mongodb, swift-log, perfect-redis, perfect-sqlite
Fetched https://github.com/PerfectlySoft/Perfect-MongoDB.git from cache (1.35s)
[12215/12939] Fetching perfect-postgresql, perfect-mysql, swift-log, perfect-redis, perfect-sqlite
Fetched https://github.com/PerfectlySoft/Perfect-SQLite.git from cache (1.57s)
Fetched https://github.com/PerfectlySoft/Perfect-PostgreSQL.git from cache (1.58s)
Fetched https://github.com/apple/swift-log.git from cache (1.58s)
Fetched https://github.com/PerfectlySoft/Perfect-MySQL.git from cache (1.58s)
Fetched https://github.com/PerfectlySoft/Perfect-Redis.git from cache (1.58s)
Computing version for https://github.com/PerfectlySoft/Perfect-MongoDB.git
Computed https://github.com/PerfectlySoft/Perfect-MongoDB.git at 4.0.3 (2.13s)
Computing version for https://github.com/PerfectlySoft/Perfect-SQLite.git
Computed https://github.com/PerfectlySoft/Perfect-SQLite.git at 6.0.0 (0.53s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/1723] Fetching perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (1.03s)
Computing version for https://github.com/PerfectlySoft/Perfect-Redis.git
Computed https://github.com/PerfectlySoft/Perfect-Redis.git at 4.0.0 (1.58s)
Fetching https://github.com/swift-server/RediStack.git
Fetching https://github.com/apple/swift-nio.git
[1/4814] Fetching redistack
[4815/91332] Fetching redistack, swift-nio
Fetched https://github.com/swift-server/RediStack.git from cache (33.23s)
Fetched https://github.com/apple/swift-nio.git from cache (33.23s)
Computing version for https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Computed https://github.com/PerfectlySoft/Perfect-PostgreSQL.git at 5.0.0 (33.95s)
Computing version for https://github.com/PerfectlySoft/Perfect-MySQL.git
Computed https://github.com/PerfectlySoft/Perfect-MySQL.git at 4.0.0 (0.52s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 3.1.0 (0.52s)
Computing version for https://github.com/swift-server/RediStack.git
Computed https://github.com/swift-server/RediStack.git at 1.6.3 (0.52s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-atomics.git
[1/1889] Fetching swift-atomics
[20/5452] Fetching swift-atomics, swift-metrics
[543/22341] Fetching swift-atomics, swift-metrics, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (4.95s)
Fetched https://github.com/apple/swift-metrics.git from cache (4.95s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.95s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (5.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.53s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.62s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.65s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/7288] Fetching swift-system
[74/36147] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (6.75s)
Fetched https://github.com/apple/swift-system.git from cache (6.75s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (7.35s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.69s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.12.0 (0.55s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-MongoDB.git
Working copy of https://github.com/PerfectlySoft/Perfect-MongoDB.git resolved at 4.0.3
Creating working copy for https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Working copy of https://github.com/PerfectlySoft/Perfect-PostgreSQL.git resolved at 5.0.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/swift-server/RediStack.git
Working copy of https://github.com/swift-server/RediStack.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 3.1.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.12.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-MySQL.git
Working copy of https://github.com/PerfectlySoft/Perfect-MySQL.git resolved at 4.0.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-Redis.git
Working copy of https://github.com/PerfectlySoft/Perfect-Redis.git resolved at 4.0.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-SQLite.git
Working copy of https://github.com/PerfectlySoft/Perfect-SQLite.git resolved at 6.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install mongoc2 using your system-packager:
brew install mongo-c-driver
warning: you may be able to install bson2 using your system-packager:
brew install mongo-c-driver
warning: you may be able to install libpq using your system-packager:
brew install libpq
warning: you may be able to install mysqlclient using your system-packager:
brew install mysql-client
warning: you may be able to install mongoc2 using your system-packager:
brew install mongo-c-driver
warning: you may be able to install bson2 using your system-packager:
brew install mongo-c-driver
warning: you may be able to install libpq using your system-packager:
brew install libpq
warning: you may be able to install mysqlclient using your system-packager:
brew install mysql-client
BUILD FAILURE 6.3 macosSpm