Build Information
Failed to build PerfectMongoDB, reference main (490f49), with Swift 6.1 for macOS (SPM) on 8 Oct 2026 18:29:58 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-mongodb.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-mongodb
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 490f490 Merge pull request #33 from PerfectlySoft/legacy-shim-edge-cases
Cloned https://github.com/perfectlysoft/perfect-mongodb.git
Revision (git rev-parse @):
490f490fc64822be673ba464b5e0da647ffda2da
SUCCESS checkout https://github.com/perfectlysoft/perfect-mongodb.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-mongodb.git
https://github.com/perfectlysoft/perfect-mongodb.git
{
"dependencies" : [
],
"manifest_display_name" : "PerfectMongoDB",
"name" : "PerfectMongoDB",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "PerfectMongoDB",
"targets" : [
"PerfectMongoDB"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PerfectMongoDBTests",
"module_type" : "SwiftTarget",
"name" : "PerfectMongoDBTests",
"path" : "Tests/PerfectMongoDBTests",
"sources" : [
"PerfectMongoDBTests.swift",
"Phase4Tests.swift"
],
"target_dependencies" : [
"PerfectMongoDB"
],
"type" : "test"
},
{
"c99name" : "PerfectMongoDB",
"module_type" : "SwiftTarget",
"name" : "PerfectMongoDB",
"path" : "Sources/PerfectMongoDB",
"product_memberships" : [
"PerfectMongoDB"
],
"sources" : [
"BSON.swift",
"BSONCodable.swift",
"MongoAsync.swift",
"MongoClient.swift",
"MongoCollection.swift",
"MongoCollectionCodable.swift",
"MongoConnectionPool.swift",
"MongoCursor.swift",
"MongoDatabase.swift",
"MongoGridFS.swift",
"MongoJSONConvertables.swift"
],
"target_dependencies" : [
"PerfectCBSON",
"PerfectCMongo"
],
"type" : "library"
},
{
"c99name" : "PerfectCMongo",
"module_type" : "SystemLibraryTarget",
"name" : "PerfectCMongo",
"path" : "Sources/PerfectCMongo",
"product_memberships" : [
"PerfectMongoDB"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "PerfectCBSON",
"module_type" : "SystemLibraryTarget",
"name" : "PerfectCBSON",
"path" : "Sources/PerfectCBSON",
"product_memberships" : [
"PerfectMongoDB"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/13] 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/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/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 |
[4/14] 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/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/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 |
[5/14] 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/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/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 |
[6/14] 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/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/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 |
[7/14] 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/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/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 |
[8/14] 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/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/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/14] 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/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/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 |
[10/14] 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/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/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 |
[11/14] 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/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/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 |
[12/14] Compiling PerfectMongoDB MongoCollection.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/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/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 |
[13/14] Compiling PerfectMongoDB BSON.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/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/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 |
[14/14] Compiling PerfectMongoDB BSONCodable.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/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/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 |
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install bson2 using your system-packager:
brew install mongo-c-driver
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 mongoc2 using your system-packager:
brew install mongo-c-driver
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/12] 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/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/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 |
[3/12] 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/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/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 |
[4/12] 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/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/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 |
[5/12] 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/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/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 |
[6/12] 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/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/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 |
[7/13] 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/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/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/13] 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/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/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 |
[9/13] 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/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/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 |
[10/13] 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/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/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 |
[11/13] Compiling PerfectMongoDB BSON.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/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/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 |
[12/13] Compiling PerfectMongoDB BSONCodable.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/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/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 |
[13/13] Compiling PerfectMongoDB MongoCollection.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/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/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 |
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install bson2 using your system-packager:
brew install mongo-c-driver
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 mongoc2 using your system-packager:
brew install mongo-c-driver
BUILD FAILURE 6.1 macosSpm