Build Information
Failed to build GeoMonitor, reference main (170e4f), with Swift 6.1 for macOS (SPM) on 20 Mar 2026 11:29:23 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skedgo/GeoMonitor.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/skedgo/GeoMonitor
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 170e4fd feat: add foreground location nudge API for fast-tracked region checks (#9)
Cloned https://github.com/skedgo/GeoMonitor.git
Revision (git rev-parse @):
170e4fdbabd291880de4017a1e396969930d82b7
SUCCESS checkout https://github.com/skedgo/GeoMonitor.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/skedgo/GeoMonitor.git
https://github.com/skedgo/GeoMonitor.git
{
"dependencies" : [
],
"manifest_display_name" : "GeoMonitor",
"name" : "GeoMonitor",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "GeoMonitor",
"targets" : [
"GeoMonitor"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GeoMonitorTests",
"module_type" : "SwiftTarget",
"name" : "GeoMonitorTests",
"path" : "Tests/GeoMonitorTests",
"sources" : [
"GeoMonitorTests.swift"
],
"target_dependencies" : [
"GeoMonitor"
],
"type" : "test"
},
{
"c99name" : "GeoMonitor",
"module_type" : "SwiftTarget",
"name" : "GeoMonitor",
"path" : "Sources/GeoMonitor",
"product_memberships" : [
"GeoMonitor"
],
"sources" : [
"GeoMonitor.swift",
"PrioritizedRegion.swift"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/5] Compiling GeoMonitor PrioritizedRegion.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module GeoMonitor
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:701:23: error: unknown attribute 'MainActor'
699 | // MARK: - CLLocationManagerDelegate
700 |
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
| `- error: unknown attribute 'MainActor'
702 |
703 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:780:15: error: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
699 | // MARK: - CLLocationManagerDelegate
700 |
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
| `- note: add '@preconcurrency' to the 'CLLocationManagerDelegate' conformance to defer isolation checking to run time
702 |
703 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
:
778 | }
779 |
780 | public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
| |- error: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didUpdateLocations:)' to make this instance method not isolated to the actor
781 | #if DEBUG
782 | print("GeoMonitor updated locations -> \(locations)")
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:703:15: error: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
702 |
703 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
| |- error: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didEnterRegion:)' to make this instance method not isolated to the actor
704 | dispatchPrecondition(condition: .onQueue(.main))
705 |
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:741:15: error: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
739 | }
740 |
741 | public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
| |- error: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didExitRegion:)' to make this instance method not isolated to the actor
742 | dispatchPrecondition(condition: .onQueue(.main))
743 |
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:810:15: error: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
808 | }
809 |
810 | public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
| |- error: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didFailWithError:)' to make this instance method not isolated to the actor
811 | eventHandler(.status("GeoMonitor failed -> \(error) -- \(error.localizedDescription)", .failure))
812 | notify(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:815:15: error: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
813 | }
814 |
815 | public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
| |- error: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManagerDidChangeAuthorization' to make this instance method not isolated to the actor
816 | dispatchPrecondition(condition: .onQueue(.main))
817 |
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:802:15: error: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
800 | }
801 |
802 | public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
| |- error: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManagerDidPauseLocationUpdates' to make this instance method not isolated to the actor
803 | eventHandler(.status("GeoMonitor paused updates -> \(manager == locationManager)", .stateChange))
804 | }
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:806:15: error: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
804 | }
805 |
806 | public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
| |- error: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManagerDidResumeLocationUpdates' to make this instance method not isolated to the actor
807 | eventHandler(.status("GeoMonitor resumed updates -> \(manager == locationManager)", .stateChange))
808 | }
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:759:15: error: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
757 | }
758 |
759 | public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
| |- error: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didVisit:)' to make this instance method not isolated to the actor
760 | dispatchPrecondition(condition: .onQueue(.main))
761 |
[5/5] Compiling GeoMonitor GeoMonitor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:701:23: error: unknown attribute 'MainActor'
699 | // MARK: - CLLocationManagerDelegate
700 |
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
| `- error: unknown attribute 'MainActor'
702 |
703 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:780:15: error: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
699 | // MARK: - CLLocationManagerDelegate
700 |
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
| `- note: add '@preconcurrency' to the 'CLLocationManagerDelegate' conformance to defer isolation checking to run time
702 |
703 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
:
778 | }
779 |
780 | public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
| |- error: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didUpdateLocations:)' to make this instance method not isolated to the actor
781 | #if DEBUG
782 | print("GeoMonitor updated locations -> \(locations)")
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:703:15: error: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
702 |
703 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
| |- error: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didEnterRegion:)' to make this instance method not isolated to the actor
704 | dispatchPrecondition(condition: .onQueue(.main))
705 |
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:741:15: error: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
739 | }
740 |
741 | public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
| |- error: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didExitRegion:)' to make this instance method not isolated to the actor
742 | dispatchPrecondition(condition: .onQueue(.main))
743 |
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:810:15: error: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
808 | }
809 |
810 | public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
| |- error: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didFailWithError:)' to make this instance method not isolated to the actor
811 | eventHandler(.status("GeoMonitor failed -> \(error) -- \(error.localizedDescription)", .failure))
812 | notify(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:815:15: error: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
813 | }
814 |
815 | public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
| |- error: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManagerDidChangeAuthorization' to make this instance method not isolated to the actor
816 | dispatchPrecondition(condition: .onQueue(.main))
817 |
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:802:15: error: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
800 | }
801 |
802 | public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
| |- error: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManagerDidPauseLocationUpdates' to make this instance method not isolated to the actor
803 | eventHandler(.status("GeoMonitor paused updates -> \(manager == locationManager)", .stateChange))
804 | }
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:806:15: error: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
804 | }
805 |
806 | public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
| |- error: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManagerDidResumeLocationUpdates' to make this instance method not isolated to the actor
807 | eventHandler(.status("GeoMonitor resumed updates -> \(manager == locationManager)", .stateChange))
808 | }
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:759:15: error: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
757 | }
758 |
759 | public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
| |- error: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didVisit:)' to make this instance method not isolated to the actor
760 | dispatchPrecondition(condition: .onQueue(.main))
761 |
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:848:11: error: non-sendable result type '[CLCircularRegion]' cannot be sent from nonisolated context in call to async function
846 |
847 | func fetchRegions(trigger: GeoMonitor.FetchTrigger) async -> [CLCircularRegion] {
848 | await handler(trigger)
| `- error: non-sendable result type '[CLCircularRegion]' cannot be sent from nonisolated context in call to async function
849 | }
850 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h:27:12: note: class 'CLCircularRegion' does not conform to the 'Sendable' protocol
25 | API_UNAVAILABLE(visionos)
26 | #endif
27 | @interface CLCircularRegion : CLRegion
| `- note: class 'CLCircularRegion' does not conform to the 'Sendable' protocol
28 |
29 | /*
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:3:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreLocation' as warnings
1 |
2 | import Foundation
3 | import CoreLocation
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreLocation' as warnings
4 | import MapKit
5 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/4] Compiling GeoMonitor PrioritizedRegion.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module GeoMonitor
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:701:23: error: unknown attribute 'MainActor'
699 | // MARK: - CLLocationManagerDelegate
700 |
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
| `- error: unknown attribute 'MainActor'
702 |
703 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:780:15: error: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
699 | // MARK: - CLLocationManagerDelegate
700 |
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
| `- note: add '@preconcurrency' to the 'CLLocationManagerDelegate' conformance to defer isolation checking to run time
702 |
703 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
:
778 | }
779 |
780 | public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
| |- error: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didUpdateLocations:)' to make this instance method not isolated to the actor
781 | #if DEBUG
782 | print("GeoMonitor updated locations -> \(locations)")
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:703:15: error: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
702 |
703 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
| |- error: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didEnterRegion:)' to make this instance method not isolated to the actor
704 | dispatchPrecondition(condition: .onQueue(.main))
705 |
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:741:15: error: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
739 | }
740 |
741 | public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
| |- error: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didExitRegion:)' to make this instance method not isolated to the actor
742 | dispatchPrecondition(condition: .onQueue(.main))
743 |
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:810:15: error: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
808 | }
809 |
810 | public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
| |- error: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didFailWithError:)' to make this instance method not isolated to the actor
811 | eventHandler(.status("GeoMonitor failed -> \(error) -- \(error.localizedDescription)", .failure))
812 | notify(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:815:15: error: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
813 | }
814 |
815 | public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
| |- error: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManagerDidChangeAuthorization' to make this instance method not isolated to the actor
816 | dispatchPrecondition(condition: .onQueue(.main))
817 |
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:802:15: error: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
800 | }
801 |
802 | public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
| |- error: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManagerDidPauseLocationUpdates' to make this instance method not isolated to the actor
803 | eventHandler(.status("GeoMonitor paused updates -> \(manager == locationManager)", .stateChange))
804 | }
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:806:15: error: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
804 | }
805 |
806 | public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
| |- error: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManagerDidResumeLocationUpdates' to make this instance method not isolated to the actor
807 | eventHandler(.status("GeoMonitor resumed updates -> \(manager == locationManager)", .stateChange))
808 | }
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:759:15: error: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
757 | }
758 |
759 | public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
| |- error: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didVisit:)' to make this instance method not isolated to the actor
760 | dispatchPrecondition(condition: .onQueue(.main))
761 |
[4/4] Compiling GeoMonitor GeoMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:701:23: error: unknown attribute 'MainActor'
699 | // MARK: - CLLocationManagerDelegate
700 |
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
| `- error: unknown attribute 'MainActor'
702 |
703 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:780:15: error: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
699 | // MARK: - CLLocationManagerDelegate
700 |
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
| `- note: add '@preconcurrency' to the 'CLLocationManagerDelegate' conformance to defer isolation checking to run time
702 |
703 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
:
778 | }
779 |
780 | public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
| |- error: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didUpdateLocations:)' to make this instance method not isolated to the actor
781 | #if DEBUG
782 | print("GeoMonitor updated locations -> \(locations)")
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:703:15: error: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
702 |
703 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
| |- error: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didEnterRegion:)' to make this instance method not isolated to the actor
704 | dispatchPrecondition(condition: .onQueue(.main))
705 |
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:741:15: error: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
739 | }
740 |
741 | public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
| |- error: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didExitRegion:)' to make this instance method not isolated to the actor
742 | dispatchPrecondition(condition: .onQueue(.main))
743 |
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:810:15: error: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
808 | }
809 |
810 | public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
| |- error: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didFailWithError:)' to make this instance method not isolated to the actor
811 | eventHandler(.status("GeoMonitor failed -> \(error) -- \(error.localizedDescription)", .failure))
812 | notify(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:815:15: error: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
813 | }
814 |
815 | public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
| |- error: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManagerDidChangeAuthorization' to make this instance method not isolated to the actor
816 | dispatchPrecondition(condition: .onQueue(.main))
817 |
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:802:15: error: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
800 | }
801 |
802 | public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
| |- error: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManagerDidPauseLocationUpdates' to make this instance method not isolated to the actor
803 | eventHandler(.status("GeoMonitor paused updates -> \(manager == locationManager)", .stateChange))
804 | }
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:806:15: error: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
804 | }
805 |
806 | public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
| |- error: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManagerDidResumeLocationUpdates' to make this instance method not isolated to the actor
807 | eventHandler(.status("GeoMonitor resumed updates -> \(manager == locationManager)", .stateChange))
808 | }
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:759:15: error: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
757 | }
758 |
759 | public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
| |- error: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
| `- note: add 'nonisolated' to 'locationManager(_:didVisit:)' to make this instance method not isolated to the actor
760 | dispatchPrecondition(condition: .onQueue(.main))
761 |
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:848:11: error: non-sendable result type '[CLCircularRegion]' cannot be sent from nonisolated context in call to async function
846 |
847 | func fetchRegions(trigger: GeoMonitor.FetchTrigger) async -> [CLCircularRegion] {
848 | await handler(trigger)
| `- error: non-sendable result type '[CLCircularRegion]' cannot be sent from nonisolated context in call to async function
849 | }
850 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h:27:12: note: class 'CLCircularRegion' does not conform to the 'Sendable' protocol
25 | API_UNAVAILABLE(visionos)
26 | #endif
27 | @interface CLCircularRegion : CLRegion
| `- note: class 'CLCircularRegion' does not conform to the 'Sendable' protocol
28 |
29 | /*
/Users/admin/builder/spi-builder-workspace/Sources/GeoMonitor/GeoMonitor.swift:3:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreLocation' as warnings
1 |
2 | import Foundation
3 | import CoreLocation
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'CoreLocation' as warnings
4 | import MapKit
5 |
BUILD FAILURE 6.1 macosSpm