Build Information
Failed to build PerfectMongoDB, reference master (fef4b6
), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 17:11:18 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-mongodb
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at fef4b60 Update README.md
Cloned https://github.com/perfectlysoft/perfect-mongodb.git
Revision (git rev-parse @):
fef4b6006491c04e89128f20200b78e12f33de9b
SUCCESS checkout https://github.com/perfectlysoft/perfect-mongodb.git at master
========================================
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 Bytes.swift
[6/13] Emitting module PerfectLib
[7/13] Compiling PerfectLib Log.swift
[8/13] Compiling PerfectLib PerfectServer.swift
[9/13] Compiling PerfectLib JSONConvertible.swift
[10/13] Compiling PerfectLib File.swift
[11/13] Compiling PerfectLib Dir.swift
[12/13] Compiling PerfectLib SysProcess.swift
[13/13] Compiling PerfectLib Utilities.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 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 |
[16/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 |
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 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 |
[19/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 |
[20/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 |
[21/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 |
[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-CMongo.git
Fetching https://github.com/PerfectlySoft/PerfectLib.git
Fetching https://github.com/PerfectSideRepos/Perfect-CBSON.git
[1/22] Fetching perfect-cbson
[23/10806] Fetching perfect-cbson, perfectlib
[24/10837] Fetching perfect-cbson, perfectlib, perfect-cmongo
Fetched https://github.com/PerfectSideRepos/Perfect-CBSON.git from cache (6.25s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (6.25s)
Fetched https://github.com/PerfectSideRepos/Perfect-CMongo.git from cache (6.25s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CMongo.git
Computed https://github.com/PerfectSideRepos/Perfect-CMongo.git at 0.1.0 (6.76s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CBSON.git
Computed https://github.com/PerfectSideRepos/Perfect-CBSON.git at 0.0.5 (0.47s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.47s)
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