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 LocationProvider 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/himbeles/LocationProvider.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/himbeles/LocationProvider
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5e6f6a6 Merge pull request #7 from boxed/patch-1
Cloned https://github.com/himbeles/LocationProvider.git
Revision (git rev-parse @):
5e6f6a683382489c114bb54e671b897f70c4aca2
SUCCESS checkout https://github.com/himbeles/LocationProvider.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/himbeles/LocationProvider.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 LocationProvider
[4/4] Compiling LocationProvider LocationProvider.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LocationProvider/LocationProvider.swift:164:54: error: 'authorizedWhenInUse' is unavailable in macOS
        if status == .authorizedAlways || status == .authorizedWhenInUse {
                                                     ^~~~~~~~~~~~~~~~~~~
CoreLocation.CLAuthorizationStatus:20:10: note: 'authorizedWhenInUse' has been explicitly marked unavailable here
    case authorizedWhenInUse
         ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/3] Emitting module LocationProvider
[3/3] Compiling LocationProvider LocationProvider.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LocationProvider/LocationProvider.swift:164:54: error: 'authorizedWhenInUse' is unavailable in macOS
        if status == .authorizedAlways || status == .authorizedWhenInUse {
                                                     ^~~~~~~~~~~~~~~~~~~
CoreLocation.CLAuthorizationStatus:20:10: note: 'authorizedWhenInUse' has been explicitly marked unavailable here
    case authorizedWhenInUse
         ^
error: fatalError
BUILD FAILURE 5.10 macosSpm