The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RegionBlocker, reference 1.0.0 (c1d5e4), with Swift 6.3 for macOS (SPM) on 11 Aug 2026 15:41:47 UTC.

Build Command

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

Build 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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "regionblocker",
      "name": "RegionBlocker",
      "url": "https://github.com/moslienko/RegionBlocker.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RegionBlocker",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/moslienko/RegionBlocker.git
[1/134] Fetching regionblocker
Fetched https://github.com/moslienko/RegionBlocker.git from cache (0.80s)
Creating working copy for https://github.com/moslienko/RegionBlocker.git
Working copy of https://github.com/moslienko/RegionBlocker.git resolved at 1.0.0 (c1d5e4f)
warning: '.resolve-product-dependencies': dependency 'regionblocker' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/moslienko/RegionBlocker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/10] Compiling RegionBlocker RemoteService.swift
[4/10] 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)
[5/10] Compiling RegionBlocker CountryCode.swift
[6/10] Compiling RegionBlocker IpInfoResponse.swift
[7/10] Compiling RegionBlocker RegionBlockerMethod.swift
[8/10] Emitting module RegionBlocker
[9/10] 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 |
[10/10] 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)
BUILD FAILURE 6.3 macosSpm