The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MongoDBStORM, reference 3.1.0 (406fd9), with Swift 6.4 for macOS (SPM) on 15 Sep 2026 21:23:35 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftORM/MongoDB-StORM.git
Reference: 3.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftORM/MongoDB-StORM
 * tag               3.1.0      -> FETCH_HEAD
HEAD is now at 406fd9d Merge pull request #14 from thinkaboutiter/master
Cloned https://github.com/SwiftORM/MongoDB-StORM.git
Revision (git rev-parse @):
406fd9da846658a872d11e368f7f729379973b13
SUCCESS checkout https://github.com/SwiftORM/MongoDB-StORM.git at 3.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/SwiftORM/MongoDB-StORM.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 430]
[Planning deferred tasks]
[87 / 651]
[98 / 655] SwiftRandom
[117 / 690] SwiftRandom
[122 / 690] SwiftMoment
[133 / 690] PerfectThread
[153 / 690] SwiftRandom-product
[155 / 690] COpenSSL
[159 / 690] COpenSSL
[164 / 690] COpenSSL
[169 / 690] COpenSSL
[173 / 690] PerfectLib
[174 / 690] PerfectLib
[176 / 690] PerfectLib-product
[178 / 690] PerfectLib
[180 / 690] PerfectCrypto
[184 / 690] COpenSSL
[195 / 693] COpenSSL
[217 / 693] COpenSSL
[238 / 693] COpenSSL
[273 / 693] COpenSSL
[280 / 693] COpenSSL
[294 / 693] COpenSSL
[308 / 693] COpenSSL
[335 / 693] COpenSSL
[358 / 693] COpenSSL
[385 / 693] COpenSSL
[411 / 693] COpenSSL
[433 / 693] COpenSSL
[462 / 693] COpenSSL
[483 / 693] COpenSSL
[508 / 693] COpenSSL
[531 / 693] COpenSSL
[557 / 693] COpenSSL
[582 / 693] COpenSSL
[610 / 693] COpenSSL
[626 / 693]
[637 / 705] StORM
[640 / 705] StORM
[651 / 725] StORM
[657 / 725] StORM-product
Fetching https://github.com/SwiftORM/StORM.git
Fetching https://github.com/PerfectlySoft/Perfect-Logger.git
Fetching https://github.com/PerfectlySoft/Perfect-MongoDB.git
Fetching https://github.com/iamjono/SwiftRandom.git
[1/499] Fetching swiftrandom
[106/718] Fetching swiftrandom, perfect-logger
[220/1420] Fetching swiftrandom, perfect-logger, storm
Fetched https://github.com/SwiftORM/StORM.git (0.93s)
[569/718] Fetching swiftrandom, perfect-logger
[605/1789] Fetching swiftrandom, perfect-logger, perfect-mongodb
Fetched https://github.com/iamjono/SwiftRandom.git (1.28s)
Fetched https://github.com/PerfectlySoft/Perfect-MongoDB.git (1.28s)
Fetched https://github.com/PerfectlySoft/Perfect-Logger.git (1.28s)
Computing version for https://github.com/iamjono/SwiftRandom.git
Computed https://github.com/iamjono/SwiftRandom.git at 1.0.0 (3.53s)
Computing version for https://github.com/PerfectlySoft/Perfect-MongoDB.git
Computed https://github.com/PerfectlySoft/Perfect-MongoDB.git at 3.1.2 (0.69s)
Fetching https://github.com/PerfectSideRepos/Perfect-CMongo.git
Fetching https://github.com/PerfectlySoft/PerfectLib.git
Fetching https://github.com/PerfectSideRepos/Perfect-CBSON.git
[1/31] Fetching perfect-cmongo
[32/53] Fetching perfect-cmongo, perfect-cbson
Fetched https://github.com/PerfectSideRepos/Perfect-CMongo.git (0.73s)
[1/10784] Fetching perfectlib
Fetched https://github.com/PerfectlySoft/PerfectLib.git (6.16s)
Fetched https://github.com/PerfectSideRepos/Perfect-CBSON.git (6.16s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CMongo.git
Computed https://github.com/PerfectSideRepos/Perfect-CMongo.git at 0.1.0 (6.89s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CBSON.git
Computed https://github.com/PerfectSideRepos/Perfect-CBSON.git at 0.0.5 (0.68s)
Computing version for https://github.com/PerfectlySoft/Perfect-Logger.git
Computed https://github.com/PerfectlySoft/Perfect-Logger.git at 3.3.0 (0.69s)
Fetching https://github.com/PerfectlySoft/Perfect-CURL.git
[1/504] Fetching perfect-curl
Fetched https://github.com/PerfectlySoft/Perfect-CURL.git (1.06s)
Computing version for https://github.com/PerfectlySoft/Perfect-CURL.git
Computed https://github.com/PerfectlySoft/Perfect-CURL.git at 3.1.0 (1.75s)
Fetching https://github.com/PerfectlySoft/Perfect-HTTP.git
Fetching https://github.com/PerfectlySoft/Perfect-libcurl.git
[1/808] Fetching perfect-http
[2/885] Fetching perfect-http, perfect-libcurl
Fetched https://github.com/PerfectlySoft/Perfect-HTTP.git (0.97s)
Fetched https://github.com/PerfectlySoft/Perfect-libcurl.git (0.97s)
Computing version for https://github.com/PerfectlySoft/Perfect-libcurl.git
Computed https://github.com/PerfectlySoft/Perfect-libcurl.git at 2.1.0 (1.66s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.66s)
Computing version for https://github.com/SwiftORM/StORM.git
Computed https://github.com/SwiftORM/StORM.git at 3.3.0 (0.64s)
Fetching https://github.com/iamjono/SwiftMoment.git
[1/877] Fetching swiftmoment
Fetched https://github.com/iamjono/SwiftMoment.git (0.98s)
Computing version for https://github.com/iamjono/SwiftMoment.git
Computed https://github.com/iamjono/SwiftMoment.git at 1.3.0 (1.68s)
Computing version for https://github.com/PerfectlySoft/Perfect-HTTP.git
Computed https://github.com/PerfectlySoft/Perfect-HTTP.git at 3.3.0 (0.65s)
Fetching https://github.com/PerfectlySoft/Perfect-Net.git
[1/570] Fetching perfect-net
Fetched https://github.com/PerfectlySoft/Perfect-Net.git (1.44s)
Computing version for https://github.com/PerfectlySoft/Perfect-Net.git
Computed https://github.com/PerfectlySoft/Perfect-Net.git at 3.3.0 (2.13s)
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git
Fetching https://github.com/PerfectlySoft/Perfect-Crypto.git
[1/379] Fetching perfect-thread
[100/991] Fetching perfect-thread, perfect-crypto
Fetched https://github.com/PerfectlySoft/Perfect-Crypto.git (1.04s)
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git (1.05s)
Computing version for https://github.com/PerfectlySoft/Perfect-Crypto.git
Computed https://github.com/PerfectlySoft/Perfect-Crypto.git at 3.3.0 (1.75s)
Fetching https://github.com/PerfectlySoft/Perfect-COpenSSL.git
[1/3961] Fetching perfect-copenssl
Fetched https://github.com/PerfectlySoft/Perfect-COpenSSL.git (1.78s)
Computing version for https://github.com/PerfectlySoft/Perfect-COpenSSL.git
Computed https://github.com/PerfectlySoft/Perfect-COpenSSL.git at 4.0.2 (2.48s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (0.65s)
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/Perfect-Net.git
Working copy of https://github.com/PerfectlySoft/Perfect-Net.git resolved at 3.3.0
Creating working copy for https://github.com/iamjono/SwiftMoment.git
Working copy of https://github.com/iamjono/SwiftMoment.git resolved at 1.3.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-libcurl.git
Working copy of https://github.com/PerfectlySoft/Perfect-libcurl.git resolved at 2.1.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-Thread.git
Working copy of https://github.com/PerfectlySoft/Perfect-Thread.git resolved at 3.0.7
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
Creating working copy for https://github.com/PerfectlySoft/Perfect-Crypto.git
Working copy of https://github.com/PerfectlySoft/Perfect-Crypto.git resolved at 3.3.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-HTTP.git
Working copy of https://github.com/PerfectlySoft/Perfect-HTTP.git resolved at 3.3.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-Logger.git
Working copy of https://github.com/PerfectlySoft/Perfect-Logger.git resolved at 3.3.0
Creating working copy for https://github.com/SwiftORM/StORM.git
Working copy of https://github.com/SwiftORM/StORM.git resolved at 3.3.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-MongoDB.git
Working copy of https://github.com/PerfectlySoft/Perfect-MongoDB.git resolved at 3.1.2
Creating working copy for https://github.com/PerfectlySoft/Perfect-COpenSSL.git
Working copy of https://github.com/PerfectlySoft/Perfect-COpenSSL.git resolved at 4.0.2
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/PerfectlySoft/Perfect-CURL.git
Working copy of https://github.com/PerfectlySoft/Perfect-CURL.git resolved at 3.1.0
Creating working copy for https://github.com/iamjono/SwiftRandom.git
Working copy of https://github.com/iamjono/SwiftRandom.git resolved at 1.0.0
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: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
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: 'perfect-libcurl': ignoring declared target(s) 'cURL' in the system package
warning: 'perfect-cbson': failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: 'perfect-cbson': you may be able to install libbson-1.0 using your system-packager:
    brew install mongo-c-driver
warning: 'perfect-cmongo': you may be able to install libmongoc-1.0 using your system-packager:
    brew install mongo-c-driver
warning: 'perfect-libcurl': you may be able to install libcurl using your system-packager:
    brew install curl
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/MongoJSONConvertables.swift failed with a nonzero exit code. Command line:     cd /Users/admin/builder
    builtin-SwiftPerFileCompile 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/.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 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/BSON.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/MongoClient.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/MongoCollection.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/MongoConnectionPool.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/MongoCursor.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/MongoDatabase.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/MongoGridFS.swift -primary-file /Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-MongoDB/Sources/PerfectMongoDB/MongoJSONConvertables.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug/PerfectMongoDB-t.build/Objects-normal/arm64/MongoJSONConvertables.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug/PerfectMongoDB-t.build/Objects-normal/arm64/MongoJSONConvertables.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug/PerfectMongoDB-t.build/Objects-normal/arm64/MongoJSONConvertables.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug/PerfectMongoDB-t.build/Objects-normal/arm64/MongoJSONConvertables.dia -target arm64-apple-macos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CMongo/module.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/checkouts/Perfect-CBSON/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug/PerfectMongoDB-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug/PerfectMongoDB-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug/PerfectMongoDB-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PerfectMongoDB -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug/PerfectMongoDB-t.build/Objects-normal/arm64/PerfectMongoDB_const_extract_protocols.json -disable-clang-spi -target-sdk-version 27.0 -target-sdk-name macosx27.0 -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectMongoDB.build/Debug/PerfectMongoDB-t.build/Objects-normal/arm64/MongoJSONConvertables.o -index-unit-output-path /PerfectMongoDB.build/Debug/PerfectMongoDB-t.build/Objects-normal/arm64/MongoJSONConvertables.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm