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.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/himbeles/LocationProvider.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "locationprovider",
      "name": "LocationProvider",
      "url": "https://github.com/himbeles/LocationProvider.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LocationProvider",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/himbeles/LocationProvider.git
[1/159] Fetching locationprovider
Fetched https://github.com/himbeles/LocationProvider.git (0.27s)
Creating working copy for https://github.com/himbeles/LocationProvider.git
Working copy of https://github.com/himbeles/LocationProvider.git resolved at main
warning: '.resolve-product-dependencies': dependency 'locationprovider' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/2] Emitting module LocationProvider
[2/2] Compiling LocationProvider LocationProvider.swift
/Users/admin/builds/J1XnyXFH/1/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...
[1/2] Emitting module LocationProvider
[2/2] Compiling LocationProvider LocationProvider.swift
/Users/admin/builds/J1XnyXFH/1/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.9 macosSpm