The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftOverpassAPI, reference 1.0.0 (da0818), with Swift 6.2 for macOS (SPM) on 23 Jun 2025 22:15:55 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/V4ulthunt3r/SwiftOverpassAPI.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/V4ulthunt3r/SwiftOverpassAPI
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at da08184 tag 1.0.0
Cloned https://github.com/V4ulthunt3r/SwiftOverpassAPI.git
Revision (git rev-parse @):
da08184233bdfe7c476f835f33c643ba4cb4963e
SUCCESS checkout https://github.com/V4ulthunt3r/SwiftOverpassAPI.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/V4ulthunt3r/SwiftOverpassAPI.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
[3/27] Emitting module SwiftOverpassAPI
[4/29] Compiling SwiftOverpassAPI Errors.swift
[5/29] Compiling SwiftOverpassAPI LinkedList.swift
[6/29] Compiling SwiftOverpassAPI OPElementCenter.swift
[7/29] Compiling SwiftOverpassAPI OPElementType.swift
[8/29] Compiling SwiftOverpassAPI OPGeometry.swift
[9/29] Compiling SwiftOverpassAPI OPQueryOutputType.swift
[10/29] Compiling SwiftOverpassAPI OPRelation.swift
[11/29] Compiling SwiftOverpassAPI OPWay.swift
[12/29] Compiling SwiftOverpassAPI OPElement.swift
[13/29] Compiling SwiftOverpassAPI CLLocationCoordinate2D+Extensions.swift
[14/29] Compiling SwiftOverpassAPI Constants.swift
[15/29] Compiling SwiftOverpassAPI DecoderExtractor.swift
[16/29] Compiling SwiftOverpassAPI OPQueryBuilder.swift
[17/29] Compiling SwiftOverpassAPI OPVisualizationGenerator.swift
[18/29] Compiling SwiftOverpassAPI PolygonChecker.swift
[19/29] Compiling SwiftOverpassAPI TagChecker.swift
[20/29] Compiling SwiftOverpassAPI ElementCodingKeys.swift
[21/29] Compiling SwiftOverpassAPI ElementsCodingKeys.swift
[22/29] Compiling SwiftOverpassAPI OPClient.swift
/Users/admin/builder/spi-builder-workspace/Source/Networking/OPClient.swift:117:52: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
 10 |
 11 | // A class for making requests to an Overpass API endpoint and decoding the subsequent response
 12 | public class OPClient {
    |              `- note: add @available attribute to enclosing class
 13 |
 14 | 	/*
    :
 94 | 	/// - Returns: A dictionary of decoded elements keyed by their ID
 95 | 	/// - Throws: OPRequestError if the request fails
 96 | 	public func fetchElements(query: String) async throws -> [Int: OPElement] {
    |              `- note: add @available attribute to enclosing instance method
 97 | 		// Store the current query and cancel any ongoing fetches
 98 | 		self.query = query
    :
115 |
116 | 		// Send the request and get the response
117 | 		let (responseData, response) = try await session.data(for: request)
    |                                                    |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                    `- note: add 'if #available' version check
118 |
119 | 		// Check if the stored query has changed since the request was made
/Users/admin/builder/spi-builder-workspace/Source/Networking/OPClient.swift:134:20: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 10 |
 11 | // A class for making requests to an Overpass API endpoint and decoding the subsequent response
 12 | public class OPClient {
    |              `- note: add @available attribute to enclosing class
 13 |
 14 | 	/*
    :
 94 | 	/// - Returns: A dictionary of decoded elements keyed by their ID
 95 | 	/// - Throws: OPRequestError if the request fails
 96 | 	public func fetchElements(query: String) async throws -> [Int: OPElement] {
    |              `- note: add @available attribute to enclosing instance method
 97 | 		// Store the current query and cancel any ongoing fetches
 98 | 		self.query = query
    :
132 |
133 | 		// Create a continuation to handle the operation completion
134 | 		return try await withCheckedThrowingContinuation { continuation in
    |                    |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
135 | 			operation.completionBlock = {
136 | 				if operation.isCancelled {
/Users/admin/builder/spi-builder-workspace/Source/Networking/OPClient.swift:134:53: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Source/Networking/OPClient.swift:134:52: note: expanded code originates here
 10 |
 11 | // A class for making requests to an Overpass API endpoint and decoding the subsequent response
 12 | public class OPClient {
    |              `- note: add @available attribute to enclosing class
 13 |
 14 | 	/*
    :
 94 | 	/// - Returns: A dictionary of decoded elements keyed by their ID
 95 | 	/// - Throws: OPRequestError if the request fails
 96 | 	public func fetchElements(query: String) async throws -> [Int: OPElement] {
    |              `- note: add @available attribute to enclosing instance method
 97 | 		// Store the current query and cancel any ongoing fetches
 98 | 		self.query = query
    :
132 |
133 | 		// Create a continuation to handle the operation completion
134 | 		return try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Source/Networking/OPClient.swift
    |132 |
    |133 |
    |134 |                                                    #isolation
    |    |                                                     `- error: 'isolation()' is only available in macOS 10.15 or newer
    +--------------------------------------------------------------------------------
135 | 			operation.completionBlock = {
136 | 				if operation.isCancelled {
[23/29] Compiling SwiftOverpassAPI OPDecodingOperation.swift
/Users/admin/builder/spi-builder-workspace/Source/Networking/OPClient.swift:117:52: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
 10 |
 11 | // A class for making requests to an Overpass API endpoint and decoding the subsequent response
 12 | public class OPClient {
    |              `- note: add @available attribute to enclosing class
 13 |
 14 | 	/*
    :
 94 | 	/// - Returns: A dictionary of decoded elements keyed by their ID
 95 | 	/// - Throws: OPRequestError if the request fails
 96 | 	public func fetchElements(query: String) async throws -> [Int: OPElement] {
    |              `- note: add @available attribute to enclosing instance method
 97 | 		// Store the current query and cancel any ongoing fetches
 98 | 		self.query = query
    :
115 |
116 | 		// Send the request and get the response
117 | 		let (responseData, response) = try await session.data(for: request)
    |                                                    |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                    `- note: add 'if #available' version check
118 |
119 | 		// Check if the stored query has changed since the request was made
/Users/admin/builder/spi-builder-workspace/Source/Networking/OPClient.swift:134:20: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 10 |
 11 | // A class for making requests to an Overpass API endpoint and decoding the subsequent response
 12 | public class OPClient {
    |              `- note: add @available attribute to enclosing class
 13 |
 14 | 	/*
    :
 94 | 	/// - Returns: A dictionary of decoded elements keyed by their ID
 95 | 	/// - Throws: OPRequestError if the request fails
 96 | 	public func fetchElements(query: String) async throws -> [Int: OPElement] {
    |              `- note: add @available attribute to enclosing instance method
 97 | 		// Store the current query and cancel any ongoing fetches
 98 | 		self.query = query
    :
132 |
133 | 		// Create a continuation to handle the operation completion
134 | 		return try await withCheckedThrowingContinuation { continuation in
    |                    |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
135 | 			operation.completionBlock = {
136 | 				if operation.isCancelled {
/Users/admin/builder/spi-builder-workspace/Source/Networking/OPClient.swift:134:53: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Source/Networking/OPClient.swift:134:52: note: expanded code originates here
 10 |
 11 | // A class for making requests to an Overpass API endpoint and decoding the subsequent response
 12 | public class OPClient {
    |              `- note: add @available attribute to enclosing class
 13 |
 14 | 	/*
    :
 94 | 	/// - Returns: A dictionary of decoded elements keyed by their ID
 95 | 	/// - Throws: OPRequestError if the request fails
 96 | 	public func fetchElements(query: String) async throws -> [Int: OPElement] {
    |              `- note: add @available attribute to enclosing instance method
 97 | 		// Store the current query and cancel any ongoing fetches
 98 | 		self.query = query
    :
132 |
133 | 		// Create a continuation to handle the operation completion
134 | 		return try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Source/Networking/OPClient.swift
    |132 |
    |133 |
    |134 |                                                    #isolation
    |    |                                                     `- error: 'isolation()' is only available in macOS 10.15 or newer
    +--------------------------------------------------------------------------------
135 | 			operation.completionBlock = {
136 | 				if operation.isCancelled {
[24/29] Compiling SwiftOverpassAPI NestedPolygonCoordinates.swift
[25/29] Compiling SwiftOverpassAPI OPBoundingBox.swift
[26/29] Compiling SwiftOverpassAPI OPClientResult.swift
[27/29] Compiling SwiftOverpassAPI OPMapKitVisualization.swift
[28/29] Compiling SwiftOverpassAPI OPMeta.swift
[29/29] Compiling SwiftOverpassAPI OPNode.swift
BUILD FAILURE 6.2 macosSpm