This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build PerfectMongoDB with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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.0
Building package at path:  $workDir
https://github.com/perfectlysoft/perfect-mongodb.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/13] Compiling PerfectLib PerfectServer.swift
[5/13] Compiling PerfectLib SysProcess.swift
[6/13] Compiling PerfectLib PerfectError.swift
[7/13] Compiling PerfectLib Bytes.swift
[8/13] Compiling PerfectLib JSONConvertible.swift
[9/13] Emitting module PerfectLib
[10/13] Compiling PerfectLib File.swift
[11/13] Compiling PerfectLib Dir.swift
[12/13] Compiling PerfectLib Utilities.swift
[13/13] 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>>')
 71 | #if os(Linux) || os(macOS)
 72 | 		withVaList(args) {
 73 | 			vsyslog(priority, "%s", $0)
    |                            `- error: cannot convert value of type 'CVaListPointer' to expected argument type '__darwin_va_list?' (aka 'Optional<UnsafeMutablePointer<Int8>>')
 74 | 		}
 75 | #else
Fetching https://github.com/PerfectSideRepos/Perfect-CBSON.git
Fetching https://github.com/PerfectlySoft/PerfectLib.git
Fetching https://github.com/PerfectSideRepos/Perfect-CMongo.git
[2/22] Fetching perfect-cbson
[23/53] Fetching perfect-cbson, perfect-cmongo
[54/10837] Fetching perfect-cbson, perfect-cmongo, perfectlib
Fetched https://github.com/PerfectSideRepos/Perfect-CBSON.git from cache (4.87s)
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (4.87s)
Fetched https://github.com/PerfectSideRepos/Perfect-CMongo.git from cache (4.87s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CMongo.git
Computed https://github.com/PerfectSideRepos/Perfect-CMongo.git at 0.1.0 (0.66s)
Computing version for https://github.com/PerfectSideRepos/Perfect-CBSON.git
Computed https://github.com/PerfectSideRepos/Perfect-CBSON.git at 0.0.5 (0.65s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 3.1.4 (0.64s)
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/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
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 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.