Build Information
Failed to build PerfectMongoDB, reference 3.1.2 (5a1d27
), with Swift 5.9 for macOS (SPM) on 22 Oct 2024 20:16:44 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.55.3
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: 5.9
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-mongodb.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/10] Compiling PerfectLib Bytes.swift
[2/10] Compiling PerfectLib Dir.swift
[3/10] Compiling PerfectLib File.swift
[4/10] Emitting module PerfectLib
[5/10] Compiling PerfectLib SysProcess.swift
[6/10] Compiling PerfectLib PerfectServer.swift
[7/10] Compiling PerfectLib Log.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PerfectLib/Sources/PerfectLib/Log.swift:73:28: error: cannot convert value of type 'CVaListPointer' to expected argument type '__darwin_va_list?' (aka 'Optional<UnsafeMutablePointer<Int8>>')
vsyslog(priority, "%s", $0)
^
[8/10] Compiling PerfectLib PerfectError.swift
[9/10] Compiling PerfectLib JSONConvertible.swift
[10/10] Compiling PerfectLib Utilities.swift
error: fatalError
Fetching https://github.com/PerfectSideRepos/Perfect-CBSON.git
Fetching https://github.com/PerfectlySoft/PerfectLib.git
Fetching https://github.com/PerfectSideRepos/Perfect-CMongo.git
[1/31] Fetching perfect-cmongo
[32/53] Fetching perfect-cmongo, perfect-cbson
[54/10837] Fetching perfect-cmongo, perfect-cbson, perfectlib
Fetched https://github.com/PerfectSideRepos/Perfect-CMongo.git (6.23s)
Fetched https://github.com/PerfectSideRepos/Perfect-CBSON.git (6.23s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git (6.23s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CMongo.git
Computed https://github.com/PerfectSideRepos/Perfect-CMongo.git at 0.1.0 (0.54s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CBSON.git
Computed https://github.com/PerfectSideRepos/Perfect-CBSON.git at 0.0.5 (0.53s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.54s)
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-CMongo.git
Working copy of https://github.com/PerfectSideRepos/Perfect-CMongo.git resolved at 0.1.0
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
BUILD FAILURE 5.9 macosSpm