Build Information
Failed to build PerfectMongoDB, reference 3.1.2 (5a1d27
), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 17:11:03 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-mongodb.git
Reference: 3.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-mongodb
* tag 3.1.2 -> FETCH_HEAD
HEAD is now at 5a1d275 Compatibility with Swift 5
Cloned https://github.com/perfectlysoft/perfect-mongodb.git
Revision (git rev-parse @):
5a1d2755b8ee75d4b81cad462868ffa4d86b229d
SUCCESS checkout https://github.com/perfectlysoft/perfect-mongodb.git at 3.1.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-mongodb.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/13] Compiling PerfectLib PerfectError.swift
[5/13] Compiling PerfectLib JSONConvertible.swift
[6/13] Compiling PerfectLib Dir.swift
[7/13] Compiling PerfectLib Bytes.swift
[8/13] Compiling PerfectLib File.swift
[9/13] Emitting module PerfectLib
[10/13] Compiling PerfectLib Log.swift
[11/13] Compiling PerfectLib SysProcess.swift
[12/13] Compiling PerfectLib Utilities.swift
[13/13] Compiling PerfectLib PerfectServer.swift
[14/22] 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-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
| `- error: 'bson.h' file not found
4 |
5 |
/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 |
[15/22] 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-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
| `- error: 'bson.h' file not found
4 |
5 |
/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 |
[16/22] 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-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
| `- error: 'bson.h' file not found
4 |
5 |
/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)
[17/22] 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-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
| `- error: 'bson.h' file not found
4 |
5 |
/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 |
[18/22] 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-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
| `- error: 'bson.h' file not found
4 |
5 |
/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 |
[19/22] 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/.build/checkouts/Perfect-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
| `- error: 'bson.h' file not found
4 |
5 |
/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 |
[20/22] 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-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
| `- error: 'bson.h' file not found
4 |
5 |
/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 |
[21/22] 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-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
| `- error: 'bson.h' file not found
4 |
5 |
/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 |
[22/22] 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/.build/checkouts/Perfect-CBSON/shim.h:3:10: error: 'bson.h' file not found
1 |
2 | #define BCON_H_
3 | #include <bson.h>
| `- error: 'bson.h' file not found
4 |
5 |
/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 |
Fetching https://github.com/PerfectSideRepos/Perfect-CBSON.git
Fetching https://github.com/PerfectSideRepos/Perfect-CMongo.git
Fetching https://github.com/PerfectlySoft/PerfectLib.git
[1/31] Fetching perfect-cmongo
[32/53] Fetching perfect-cmongo, perfect-cbson
Fetched https://github.com/PerfectSideRepos/Perfect-CBSON.git from cache (0.59s)
[32/10815] Fetching perfect-cmongo, perfectlib
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (2.63s)
Fetched https://github.com/PerfectSideRepos/Perfect-CMongo.git from cache (2.63s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CMongo.git
Computed https://github.com/PerfectSideRepos/Perfect-CMongo.git at 0.1.0 (3.18s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CBSON.git
Computed https://github.com/PerfectSideRepos/Perfect-CBSON.git at 0.0.5 (0.50s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.46s)
Creating working copy for https://github.com/PerfectSideRepos/Perfect-CMongo.git
Working copy of https://github.com/PerfectSideRepos/Perfect-CMongo.git resolved at 0.1.0
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 3.1.4
Creating working copy for https://github.com/PerfectSideRepos/Perfect-CBSON.git
Working copy of https://github.com/PerfectSideRepos/Perfect-CBSON.git resolved at 0.0.5
warning: 'perfect-cbson': ignoring declared target(s) 'PerfectCBSON' in the system package
warning: 'perfect-cmongo': ignoring declared target(s) 'PerfectCMongo' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-cmongo' is not used by any target
warning: 'spi-builder-workspace': dependency 'perfect-cbson' is not used by any target
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libmongoc-1.0 using your system-packager:
brew install mongo-c-driver
warning: you may be able to install libbson-1.0 using your system-packager:
brew install mongo-c-driver
warning: you may be able to install libmongoc-1.0 using your system-packager:
brew install mongo-c-driver
warning: you may be able to install libbson-1.0 using your system-packager:
brew install mongo-c-driver
BUILD FAILURE 6.2 macosSpm