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 IdylleClient 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/Digipolitan/idylle-client-swift.git
Reference: v1.0.5
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Digipolitan/idylle-client-swift
 * tag               v1.0.5     -> FETCH_HEAD
HEAD is now at 92dc330 Merge branch 'release/1.0.5'
Cloned https://github.com/Digipolitan/idylle-client-swift.git
Revision (git rev-parse @):
92dc3302b7ce6fd4a5e391f5fb9da1914be39a2d
SUCCESS checkout https://github.com/Digipolitan/idylle-client-swift.git at v1.0.5
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Digipolitan/idylle-client-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/4] Emitting module IdylleClient
[4/4] Compiling IdylleClient CriteriaBuilder.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/IdylleClient/CriteriaBuilder.swift:53:37: error: cannot find 'JSONSerialization' in scope
            let criteriaData = try? JSONSerialization.data(withJSONObject: criteriaClause),
                                    ^~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/IdylleClient/CriteriaBuilder.swift:54:66: error: extra argument 'encoding' in call
            let criteria = String(data: criteriaData, encoding: .utf8) else {
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/IdylleClient/CriteriaBuilder.swift:54:66: error: cannot infer contextual base in reference to member 'utf8'
            let criteria = String(data: criteriaData, encoding: .utf8) else {
                                                                ~^~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/3] Emitting module IdylleClient
[3/3] Compiling IdylleClient CriteriaBuilder.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/IdylleClient/CriteriaBuilder.swift:53:37: error: cannot find 'JSONSerialization' in scope
            let criteriaData = try? JSONSerialization.data(withJSONObject: criteriaClause),
                                    ^~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/IdylleClient/CriteriaBuilder.swift:54:66: error: extra argument 'encoding' in call
            let criteria = String(data: criteriaData, encoding: .utf8) else {
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/IdylleClient/CriteriaBuilder.swift:54:66: error: cannot infer contextual base in reference to member 'utf8'
            let criteria = String(data: criteriaData, encoding: .utf8) else {
                                                                ~^~~~
error: fatalError
BUILD FAILURE 5.10 macosSpm