Build Information
Failed to build RegionBlocker, reference 1.0.0 (c1d5e4), with Swift 6.1 for macOS (SPM) on 11 Aug 2026 15:41:05 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/moslienko/RegionBlocker.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/moslienko/RegionBlocker
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at c1d5e4f Merge pull request #1 from moslienko/develop
Cloned https://github.com/moslienko/RegionBlocker.git
Revision (git rev-parse @):
c1d5e4f6106f5b55fe971dd20aa3c9f1cc7faa72
SUCCESS checkout https://github.com/moslienko/RegionBlocker.git at 1.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/moslienko/RegionBlocker.git
https://github.com/moslienko/RegionBlocker.git
{
"dependencies" : [
],
"manifest_display_name" : "RegionBlocker",
"name" : "RegionBlocker",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
}
],
"products" : [
{
"name" : "RegionBlocker",
"targets" : [
"RegionBlocker"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RegionBlockerTests",
"module_type" : "SwiftTarget",
"name" : "RegionBlockerTests",
"path" : "Tests/RegionBlockerTests",
"sources" : [
"RegionBlockerTests.swift"
],
"target_dependencies" : [
"RegionBlocker"
],
"type" : "test"
},
{
"c99name" : "RegionBlocker",
"module_type" : "SwiftTarget",
"name" : "RegionBlocker",
"path" : "Sources/RegionBlocker",
"product_memberships" : [
"RegionBlocker"
],
"sources" : [
"Data/CountryCode.swift",
"Data/IpInfoResponse.swift",
"Data/RegionBlockerMethod.swift",
"Services/GeocoderService.swift",
"Services/LocationService.swift",
"Services/RegionService.swift",
"Services/RemoteService.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
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/10] Compiling RegionBlocker RemoteService.swift
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/RemoteService.swift:27:17: warning: capture of 'completion' with non-sendable type '(Result<IpInfoResponse, any Error>) -> Void' in a '@Sendable' closure
25 | let task = session.dataTask(with: url) { data, response, error in
26 | if let error = error {
27 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<IpInfoResponse, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
28 | return
29 | }
[4/10] Compiling RegionBlocker RegionBlockerMethod.swift
[5/10] Emitting module RegionBlocker
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/GeocoderService.swift:12:24: warning: static property 'geocoder' is not concurrency-safe because non-'Sendable' type 'CLGeocoder' may have shared mutable state; this is an error in the Swift 6 language mode
10 | final class GeocoderService {
11 |
12 | private static let geocoder = CLGeocoder()
| `- warning: static property 'geocoder' is not concurrency-safe because non-'Sendable' type 'CLGeocoder' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Get country by coordinates
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLGeocoder.h:24:12: note: class 'CLGeocoder' does not conform to the 'Sendable' protocol
22 | CL_EXTERN
23 | API_AVAILABLE(macos(10.8), ios(5.0))
24 | @interface CLGeocoder : NSObject
| `- note: class 'CLGeocoder' does not conform to the 'Sendable' protocol
25 | {
26 | @private
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/GeocoderService.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreLocation'
6 | //
7 |
8 | import CoreLocation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreLocation'
9 |
10 | final class GeocoderService {
11 |
12 | private static let geocoder = CLGeocoder()
| |- note: add '@MainActor' to make static property 'geocoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Get country by coordinates
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/LocationService.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LocationService' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import CoreLocation
9 |
10 | final class LocationService: NSObject {
| `- note: class 'LocationService' does not conform to the 'Sendable' protocol
11 |
12 | static let shared = LocationService()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LocationService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | // MARK: - Callbacks
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/RegionService.swift:25:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RegionService' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | final public class RegionService: RegionServiceProtocol {
| `- note: class 'RegionService' does not conform to the 'Sendable' protocol
24 |
25 | static public let shared = RegionService()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RegionService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public var checkMethods: [RegionBlockerMethod] = RegionBlockerMethod.allCases {
[6/10] Compiling RegionBlocker CountryCode.swift
[7/10] Compiling RegionBlocker IpInfoResponse.swift
[8/10] Compiling RegionBlocker RegionService.swift
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/RegionService.swift:25:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RegionService' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | final public class RegionService: RegionServiceProtocol {
| `- note: class 'RegionService' does not conform to the 'Sendable' protocol
24 |
25 | static public let shared = RegionService()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RegionService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public var checkMethods: [RegionBlockerMethod] = RegionBlockerMethod.allCases {
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/RegionService.swift:189:15: error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
183 |
184 | // MARK: - Async/await wrappers
185 | private extension RegionService {
| `- note: add @available attribute to enclosing extension
186 |
187 | @available(iOS 13.0, *)
188 | func checkIsAllowedRegionInIp() async -> Bool {
| `- note: add @available attribute to enclosing instance method
189 | await withCheckedContinuation { continuation in
| |- error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
190 | checkIsAllowedRegionInIp() { result in
191 | continuation.resume(returning: result)
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/RegionService.swift:189:40: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/RegionService.swift:189:39: note: expanded code originates here
183 |
184 | // MARK: - Async/await wrappers
185 | private extension RegionService {
| `- note: add @available attribute to enclosing extension
186 |
187 | @available(iOS 13.0, *)
188 | func checkIsAllowedRegionInIp() async -> Bool {
| `- note: add @available attribute to enclosing instance method
189 | await withCheckedContinuation { continuation in
+--- /Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/RegionService.swift
|187 |
|188 |
|189 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+--------------------------------------------------------------------------------------------------
190 | checkIsAllowedRegionInIp() { result in
191 | continuation.resume(returning: result)
[9/10] Compiling RegionBlocker LocationService.swift
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/LocationService.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LocationService' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import CoreLocation
9 |
10 | final class LocationService: NSObject {
| `- note: class 'LocationService' does not conform to the 'Sendable' protocol
11 |
12 | static let shared = LocationService()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LocationService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | // MARK: - Callbacks
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/LocationService.swift:30:21: warning: capture of 'completion' with non-sendable type '(CLLocation?) -> Void' in a '@Sendable' closure
28 | guard CLLocationManager.locationServicesEnabled() else {
29 | DispatchQueue.main.async {
30 | completion(nil)
| |- warning: capture of 'completion' with non-sendable type '(CLLocation?) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
31 | }
32 | return
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/LocationService.swift:35:13: warning: capture of 'self' with non-sendable type 'LocationService' in a '@Sendable' closure
8 | import CoreLocation
9 |
10 | final class LocationService: NSObject {
| `- note: class 'LocationService' does not conform to the 'Sendable' protocol
11 |
12 | static let shared = LocationService()
:
33 | }
34 |
35 | self.completionHandler = completion
| `- warning: capture of 'self' with non-sendable type 'LocationService' in a '@Sendable' closure
36 |
37 | switch CLLocationManager.authorizationStatus() {
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/LocationService.swift:70:25: error: 'requestWhenInUseAuthorization()' is only available in macOS 10.15 or newer
56 |
57 | // MARK: - Module methods
58 | private extension LocationService {
| `- note: add @available attribute to enclosing extension
59 |
60 | func startUpdatingLocation() {
:
67 | }
68 |
69 | func requestAuthorization() {
| `- note: add @available attribute to enclosing instance method
70 | locationManager.requestWhenInUseAuthorization()
| |- error: 'requestWhenInUseAuthorization()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/LocationService.swift:89:26: error: 'authorizedWhenInUse' is unavailable in macOS
87 | func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
88 | let status = CLLocationManager.authorizationStatus()
89 | guard status == .authorizedWhenInUse || status == .authorizedAlways else {
| `- error: 'authorizedWhenInUse' is unavailable in macOS
90 | completionHandler?(nil)
91 | return
CoreLocation.CLAuthorizationStatus.authorizedWhenInUse:3:8: note: 'authorizedWhenInUse' has been explicitly marked unavailable here
1 | enum CLAuthorizationStatus {
2 | @available(macOS, unavailable)
3 | case authorizedWhenInUse}
| `- note: 'authorizedWhenInUse' has been explicitly marked unavailable here
4 |
[10/10] Compiling RegionBlocker GeocoderService.swift
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/GeocoderService.swift:12:24: warning: static property 'geocoder' is not concurrency-safe because non-'Sendable' type 'CLGeocoder' may have shared mutable state; this is an error in the Swift 6 language mode
10 | final class GeocoderService {
11 |
12 | private static let geocoder = CLGeocoder()
| `- warning: static property 'geocoder' is not concurrency-safe because non-'Sendable' type 'CLGeocoder' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Get country by coordinates
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLGeocoder.h:24:12: note: class 'CLGeocoder' does not conform to the 'Sendable' protocol
22 | CL_EXTERN
23 | API_AVAILABLE(macos(10.8), ios(5.0))
24 | @interface CLGeocoder : NSObject
| `- note: class 'CLGeocoder' does not conform to the 'Sendable' protocol
25 | {
26 | @private
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/GeocoderService.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreLocation'
6 | //
7 |
8 | import CoreLocation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreLocation'
9 |
10 | final class GeocoderService {
11 |
12 | private static let geocoder = CLGeocoder()
| |- note: add '@MainActor' to make static property 'geocoder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Get country by coordinates
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/GeocoderService.swift:32:15: error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
8 | import CoreLocation
9 |
10 | final class GeocoderService {
| `- note: add @available attribute to enclosing class
11 |
12 | private static let geocoder = CLGeocoder()
:
29 |
30 | @available(iOS 13.0, *)
31 | static func determineCountry(by location: CLLocation) async -> String? {
| `- note: add @available attribute to enclosing static method
32 | await withCheckedContinuation { continuation in
| |- error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | determineCountry(by: location) { result in
34 | continuation.resume(returning: result)
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/GeocoderService.swift:32:40: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/GeocoderService.swift:32:39: note: expanded code originates here
8 | import CoreLocation
9 |
10 | final class GeocoderService {
| `- note: add @available attribute to enclosing class
11 |
12 | private static let geocoder = CLGeocoder()
:
29 |
30 | @available(iOS 13.0, *)
31 | static func determineCountry(by location: CLLocation) async -> String? {
| `- note: add @available attribute to enclosing static method
32 | await withCheckedContinuation { continuation in
+--- /Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/GeocoderService.swift
|30 |
|31 |
|32 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+----------------------------------------------------------------------------------------------------
33 | determineCountry(by: location) { result in
34 | continuation.resume(returning: result)
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/9] Compiling RegionBlocker RegionService.swift
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/RegionService.swift:189:15: error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
183 |
184 | // MARK: - Async/await wrappers
185 | private extension RegionService {
| `- note: add @available attribute to enclosing extension
186 |
187 | @available(iOS 13.0, *)
188 | func checkIsAllowedRegionInIp() async -> Bool {
| `- note: add @available attribute to enclosing instance method
189 | await withCheckedContinuation { continuation in
| |- error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
190 | checkIsAllowedRegionInIp() { result in
191 | continuation.resume(returning: result)
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/RegionService.swift:189:40: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/RegionService.swift:189:39: note: expanded code originates here
183 |
184 | // MARK: - Async/await wrappers
185 | private extension RegionService {
| `- note: add @available attribute to enclosing extension
186 |
187 | @available(iOS 13.0, *)
188 | func checkIsAllowedRegionInIp() async -> Bool {
| `- note: add @available attribute to enclosing instance method
189 | await withCheckedContinuation { continuation in
+--- /Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/RegionService.swift
|187 |
|188 |
|189 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+--------------------------------------------------------------------------------------------------
190 | checkIsAllowedRegionInIp() { result in
191 | continuation.resume(returning: result)
[3/9] Compiling RegionBlocker LocationService.swift
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/LocationService.swift:70:25: error: 'requestWhenInUseAuthorization()' is only available in macOS 10.15 or newer
56 |
57 | // MARK: - Module methods
58 | private extension LocationService {
| `- note: add @available attribute to enclosing extension
59 |
60 | func startUpdatingLocation() {
:
67 | }
68 |
69 | func requestAuthorization() {
| `- note: add @available attribute to enclosing instance method
70 | locationManager.requestWhenInUseAuthorization()
| |- error: 'requestWhenInUseAuthorization()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/LocationService.swift:89:26: error: 'authorizedWhenInUse' is unavailable in macOS
87 | func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
88 | let status = CLLocationManager.authorizationStatus()
89 | guard status == .authorizedWhenInUse || status == .authorizedAlways else {
| `- error: 'authorizedWhenInUse' is unavailable in macOS
90 | completionHandler?(nil)
91 | return
CoreLocation.CLAuthorizationStatus.authorizedWhenInUse:3:8: note: 'authorizedWhenInUse' has been explicitly marked unavailable here
1 | enum CLAuthorizationStatus {
2 | @available(macOS, unavailable)
3 | case authorizedWhenInUse}
| `- note: 'authorizedWhenInUse' has been explicitly marked unavailable here
4 |
[4/9] Compiling RegionBlocker RemoteService.swift
[5/9] Compiling RegionBlocker RegionBlockerMethod.swift
[6/9] Compiling RegionBlocker IpInfoResponse.swift
[7/9] Compiling RegionBlocker GeocoderService.swift
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/GeocoderService.swift:32:15: error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
8 | import CoreLocation
9 |
10 | final class GeocoderService {
| `- note: add @available attribute to enclosing class
11 |
12 | private static let geocoder = CLGeocoder()
:
29 |
30 | @available(iOS 13.0, *)
31 | static func determineCountry(by location: CLLocation) async -> String? {
| `- note: add @available attribute to enclosing static method
32 | await withCheckedContinuation { continuation in
| |- error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | determineCountry(by: location) { result in
34 | continuation.resume(returning: result)
/Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/GeocoderService.swift:32:40: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/GeocoderService.swift:32:39: note: expanded code originates here
8 | import CoreLocation
9 |
10 | final class GeocoderService {
| `- note: add @available attribute to enclosing class
11 |
12 | private static let geocoder = CLGeocoder()
:
29 |
30 | @available(iOS 13.0, *)
31 | static func determineCountry(by location: CLLocation) async -> String? {
| `- note: add @available attribute to enclosing static method
32 | await withCheckedContinuation { continuation in
+--- /Users/admin/builder/spi-builder-workspace/Sources/RegionBlocker/Services/GeocoderService.swift
|30 |
|31 |
|32 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+----------------------------------------------------------------------------------------------------
33 | determineCountry(by: location) { result in
34 | continuation.resume(returning: result)
[8/9] Compiling RegionBlocker CountryCode.swift
[9/9] Emitting module RegionBlocker
BUILD FAILURE 6.1 macosSpm