The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build AsyncLocationKit, reference main (d5b53c), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 09:03:16 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AsyncSwift/AsyncLocationKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AsyncSwift/AsyncLocationKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d5b53c5 Update README.md
Cloned https://github.com/AsyncSwift/AsyncLocationKit.git
Revision (git rev-parse @):
d5b53c555db0fa5155bb70d424f42806607ffcee
SUCCESS checkout https://github.com/AsyncSwift/AsyncLocationKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/AsyncSwift/AsyncLocationKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/24] Emitting module AsyncLocationKit
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLocationKit/AsyncLocationManager.swift:434:1: warning: extension declares a conformance of imported type 'CLAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
432 | }
433 |
434 | extension CLAuthorizationStatus: CustomStringConvertible {
    | |- warning: extension declares a conformance of imported type 'CLAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
435 |     public var description: String {
436 |         switch self {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLocationKit/AsyncLocationManager.swift:447:1: warning: extension declares a conformance of imported type 'CLAccuracyAuthorization' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
445 | }
446 |
447 | extension CLAccuracyAuthorization: CustomStringConvertible {
    | |- warning: extension declares a conformance of imported type 'CLAccuracyAuthorization' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
448 |     public var description: String {
449 |         switch self {
[4/24] Compiling AsyncLocationKit AnyLocationPerformer.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[5/24] Compiling AsyncLocationKit ApplicationStateMonitor.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[6/24] Compiling AsyncLocationKit AsyncDelegateProxy.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[7/26] Compiling AsyncLocationKit LocationAccuracy.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[8/26] Compiling AsyncLocationKit LocationPermission.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[9/26] Compiling AsyncLocationKit AsyncLocationKit.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLocationKit/AsyncLocationManager.swift:434:1: warning: extension declares a conformance of imported type 'CLAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
432 | }
433 |
434 | extension CLAuthorizationStatus: CustomStringConvertible {
    | |- warning: extension declares a conformance of imported type 'CLAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
435 |     public var description: String {
436 |         switch self {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLocationKit/AsyncLocationManager.swift:447:1: warning: extension declares a conformance of imported type 'CLAccuracyAuthorization' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
445 | }
446 |
447 | extension CLAccuracyAuthorization: CustomStringConvertible {
    | |- warning: extension declares a conformance of imported type 'CLAccuracyAuthorization' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
448 |     public var description: String {
449 |         switch self {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLocationKit/AsyncLocationManager.swift:420:28: warning: capture of 'self' with non-sendable type 'AsyncLocationManager' in a '@Sendable' closure [#SendableClosureCaptures]
 39 | public typealias BeaconsRangingStream = AsyncStream<BeaconRangeEvent>
 40 |
 41 | public final class AsyncLocationManager {
    |                    `- note: class 'AsyncLocationManager' does not conform to the 'Sendable' protocol
 42 |     private var locationManager: CLLocationManager
 43 |     private var proxyDelegate: AsyncDelegateProxyInterface
    :
418 |                         // If the user chooses reduced accuracy, the didChangeAuthorization delegate method
419 |                         // will not called. So we must emulate that here.
420 |                         if self.locationManager.accuracyAuthorization == .reducedAccuracy {
    |                            `- warning: capture of 'self' with non-sendable type 'AsyncLocationManager' in a '@Sendable' closure [#SendableClosureCaptures]
421 |                             self.proxyDelegate.eventForMethodInvoked(
422 |                                 .didChangeAccuracyAuthorization(authorization: self.locationManager.accuracyAuthorization)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[10/26] Compiling AsyncLocationKit AsyncLocationManager.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLocationKit/AsyncLocationManager.swift:434:1: warning: extension declares a conformance of imported type 'CLAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
432 | }
433 |
434 | extension CLAuthorizationStatus: CustomStringConvertible {
    | |- warning: extension declares a conformance of imported type 'CLAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
435 |     public var description: String {
436 |         switch self {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLocationKit/AsyncLocationManager.swift:447:1: warning: extension declares a conformance of imported type 'CLAccuracyAuthorization' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
445 | }
446 |
447 | extension CLAccuracyAuthorization: CustomStringConvertible {
    | |- warning: extension declares a conformance of imported type 'CLAccuracyAuthorization' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
448 |     public var description: String {
449 |         switch self {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLocationKit/AsyncLocationManager.swift:420:28: warning: capture of 'self' with non-sendable type 'AsyncLocationManager' in a '@Sendable' closure [#SendableClosureCaptures]
 39 | public typealias BeaconsRangingStream = AsyncStream<BeaconRangeEvent>
 40 |
 41 | public final class AsyncLocationManager {
    |                    `- note: class 'AsyncLocationManager' does not conform to the 'Sendable' protocol
 42 |     private var locationManager: CLLocationManager
 43 |     private var proxyDelegate: AsyncDelegateProxyInterface
    :
418 |                         // If the user chooses reduced accuracy, the didChangeAuthorization delegate method
419 |                         // will not called. So we must emulate that here.
420 |                         if self.locationManager.accuracyAuthorization == .reducedAccuracy {
    |                            `- warning: capture of 'self' with non-sendable type 'AsyncLocationManager' in a '@Sendable' closure [#SendableClosureCaptures]
421 |                             self.proxyDelegate.eventForMethodInvoked(
422 |                                 .didChangeAccuracyAuthorization(authorization: self.locationManager.accuracyAuthorization)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[11/26] Compiling AsyncLocationKit CoreLocationEvents.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLocationKit/AsyncLocationManager.swift:434:1: warning: extension declares a conformance of imported type 'CLAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
432 | }
433 |
434 | extension CLAuthorizationStatus: CustomStringConvertible {
    | |- warning: extension declares a conformance of imported type 'CLAuthorizationStatus' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
435 |     public var description: String {
436 |         switch self {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLocationKit/AsyncLocationManager.swift:447:1: warning: extension declares a conformance of imported type 'CLAccuracyAuthorization' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
445 | }
446 |
447 | extension CLAccuracyAuthorization: CustomStringConvertible {
    | |- warning: extension declares a conformance of imported type 'CLAccuracyAuthorization' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
448 |     public var description: String {
449 |         switch self {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLocationKit/AsyncLocationManager.swift:420:28: warning: capture of 'self' with non-sendable type 'AsyncLocationManager' in a '@Sendable' closure [#SendableClosureCaptures]
 39 | public typealias BeaconsRangingStream = AsyncStream<BeaconRangeEvent>
 40 |
 41 | public final class AsyncLocationManager {
    |                    `- note: class 'AsyncLocationManager' does not conform to the 'Sendable' protocol
 42 |     private var locationManager: CLLocationManager
 43 |     private var proxyDelegate: AsyncDelegateProxyInterface
    :
418 |                         // If the user chooses reduced accuracy, the didChangeAuthorization delegate method
419 |                         // will not called. So we must emulate that here.
420 |                         if self.locationManager.accuracyAuthorization == .reducedAccuracy {
    |                            `- warning: capture of 'self' with non-sendable type 'AsyncLocationManager' in a '@Sendable' closure [#SendableClosureCaptures]
421 |                             self.proxyDelegate.eventForMethodInvoked(
422 |                                 .didChangeAccuracyAuthorization(authorization: self.locationManager.accuracyAuthorization)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[12/26] Compiling AsyncLocationKit SingleLocationUpdatePerformer.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[13/26] Compiling AsyncLocationKit VisitMonitoringPerformer.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[14/26] Compiling AsyncLocationKit AuthorizationMonitoringPerformer.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[15/26] Compiling AsyncLocationKit AuthorizationPerformer.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[16/26] Compiling AsyncLocationKit LocationEnabledMonitoringPerformer.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[17/26] Compiling AsyncLocationKit MonitoringUpdateLocationPerformer.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[18/26] Compiling AsyncLocationKit AccuracyAuthorizationMonitoringPerformer.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[19/26] Compiling AsyncLocationKit AccuracyAuthorizationPerformer.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[20/26] Compiling AsyncLocationKit BeaconsRangePerformer.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[21/26] Compiling AsyncLocationKit HeadingMonitorPerformer.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[22/26] Compiling AsyncLocationKit RegionMonitoringPerformer.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[23/26] Compiling AsyncLocationKit SignificantLocationChangeMonitoringPerformer.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[24/26] Compiling AsyncLocationKit Array+Extensions.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[25/26] Compiling AsyncLocationKit NotificationNames.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[26/26] Compiling AsyncLocationKit LocationDelegate.swift
<unknown>:0: error: invalid value '5.5' in '-swift-version 5.5'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
BUILD FAILURE 6.2 macosSpm