Build Information
Failed to build PerfectMongoDB with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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.10
Building package at path: $workDir
https://github.com/perfectlysoft/perfect-mongodb.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--423B1241ED78D482.txt
[4/12] Compiling PerfectLib PerfectServer.swift
[5/12] Compiling PerfectLib SysProcess.swift
[6/13] Compiling PerfectLib PerfectError.swift
[7/13] Compiling PerfectLib Log.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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/13] Compiling PerfectLib JSONConvertible.swift
[9/13] Compiling PerfectLib File.swift
[10/13] Emitting module PerfectLib
[11/13] Compiling PerfectLib Bytes.swift
[12/13] Compiling PerfectLib Dir.swift
[13/13] Compiling PerfectLib Utilities.swift
error: fatalError
Fetching https://github.com/PerfectlySoft/PerfectLib.git from cache
Fetching https://github.com/PerfectSideRepos/Perfect-CMongo.git from cache
Fetching https://github.com/PerfectSideRepos/Perfect-CBSON.git from cache
Fetched https://github.com/PerfectSideRepos/Perfect-CBSON.git from cache (0.17s)
Fetched https://github.com/PerfectSideRepos/Perfect-CMongo.git from cache (0.19s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (0.20s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CMongo.git
Computed https://github.com/PerfectSideRepos/Perfect-CMongo.git at 0.1.0 (0.46s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CBSON.git
Computed https://github.com/PerfectSideRepos/Perfect-CBSON.git at 0.0.5 (0.43s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.02s)
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/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
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: 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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/3] Compiling PerfectLib Log.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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)
^
[3/3] Emitting module PerfectLib
error: fatalError
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: 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.10 macosSpm