Build Information
Failed to build APIClientCore, reference main (99ce9a), with Swift 6.0 for macOS (SPM) on 13 Oct 2025 17:10:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zino-88/APIClientCore.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/zino-88/APIClientCore
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 99ce9a4 update README file
Cloned https://github.com/zino-88/APIClientCore.git
Revision (git rev-parse @):
99ce9a40070b73cb4278cc18f4ebb8ca1812e473
SUCCESS checkout https://github.com/zino-88/APIClientCore.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/zino-88/APIClientCore.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/15] Compiling APIClientCore APIClient.swift
[4/15] Compiling APIClientCore DefaultAPIClient.swift
[5/15] Compiling APIClientCore APIEndpoint.swift
[6/16] Compiling APIClientCore StringCoder+Convenience.swift
[7/16] Compiling APIClientCore JSONCoder+Convenience.swift
[8/16] Compiling APIClientCore PropertyListCoder+Convenience.swift
[9/16] Compiling APIClientCore HTTPStatusError.swift
[10/16] Compiling APIClientCore HTTPMethod.swift
[11/16] Compiling APIClientCore HTTPTransport.swift
[12/16] Compiling APIClientCore RequestBuilder.swift
[13/16] Emitting module APIClientCore
/Users/admin/builder/spi-builder-workspace/Sources/APIClientCore/Core/DataCoding/DataCoding.swift:33:1: warning: conformance of 'JSONEncoder' to 'Sendable' is only available in macOS 13.0 or newer
31 | // MARK: - JSONEncoder conformances
32 |
33 | extension JSONEncoder: DataEncoder {}
| |- warning: conformance of 'JSONEncoder' to 'Sendable' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
34 |
35 | // MARK: - JSONDecoder conformances
/Users/admin/builder/spi-builder-workspace/Sources/APIClientCore/Core/DataCoding/DataCoding.swift:37:1: warning: conformance of 'JSONDecoder' to 'Sendable' is only available in macOS 13.0 or newer
35 | // MARK: - JSONDecoder conformances
36 |
37 | extension JSONDecoder: DataDecoder {}
| |- warning: conformance of 'JSONDecoder' to 'Sendable' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
38 |
39 | // MARK: - PropertyListEncoder conformances
/Users/admin/builder/spi-builder-workspace/Sources/APIClientCore/Core/DataCoding/DataCoding.swift:41:1: warning: conformance of 'PropertyListEncoder' to 'Sendable' is only available in macOS 13.0 or newer
39 | // MARK: - PropertyListEncoder conformances
40 |
41 | extension PropertyListEncoder: DataEncoder {}
| |- warning: conformance of 'PropertyListEncoder' to 'Sendable' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
42 |
43 | // MARK: - PropertyListDecoder conformances
/Users/admin/builder/spi-builder-workspace/Sources/APIClientCore/Core/DataCoding/DataCoding.swift:45:1: warning: conformance of 'PropertyListDecoder' to 'Sendable' is only available in macOS 13.0 or newer
43 | // MARK: - PropertyListDecoder conformances
44 |
45 | extension PropertyListDecoder: DataDecoder {}
| |- warning: conformance of 'PropertyListDecoder' to 'Sendable' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
46 |
47 | // MARK: - StringEncoder
[14/16] Compiling APIClientCore APIConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/APIClientCore/Core/DataCoding/DataCoding.swift:33:1: warning: conformance of 'JSONEncoder' to 'Sendable' is only available in macOS 13.0 or newer
31 | // MARK: - JSONEncoder conformances
32 |
33 | extension JSONEncoder: DataEncoder {}
| |- warning: conformance of 'JSONEncoder' to 'Sendable' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
34 |
35 | // MARK: - JSONDecoder conformances
/Users/admin/builder/spi-builder-workspace/Sources/APIClientCore/Core/DataCoding/DataCoding.swift:37:1: warning: conformance of 'JSONDecoder' to 'Sendable' is only available in macOS 13.0 or newer
35 | // MARK: - JSONDecoder conformances
36 |
37 | extension JSONDecoder: DataDecoder {}
| |- warning: conformance of 'JSONDecoder' to 'Sendable' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
38 |
39 | // MARK: - PropertyListEncoder conformances
/Users/admin/builder/spi-builder-workspace/Sources/APIClientCore/Core/DataCoding/DataCoding.swift:41:1: warning: conformance of 'PropertyListEncoder' to 'Sendable' is only available in macOS 13.0 or newer
39 | // MARK: - PropertyListEncoder conformances
40 |
41 | extension PropertyListEncoder: DataEncoder {}
| |- warning: conformance of 'PropertyListEncoder' to 'Sendable' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
42 |
43 | // MARK: - PropertyListDecoder conformances
/Users/admin/builder/spi-builder-workspace/Sources/APIClientCore/Core/DataCoding/DataCoding.swift:45:1: warning: conformance of 'PropertyListDecoder' to 'Sendable' is only available in macOS 13.0 or newer
43 | // MARK: - PropertyListDecoder conformances
44 |
45 | extension PropertyListDecoder: DataDecoder {}
| |- warning: conformance of 'PropertyListDecoder' to 'Sendable' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
46 |
47 | // MARK: - StringEncoder
[15/16] Compiling APIClientCore DataCoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/APIClientCore/Core/DataCoding/DataCoding.swift:33:1: warning: conformance of 'JSONEncoder' to 'Sendable' is only available in macOS 13.0 or newer
31 | // MARK: - JSONEncoder conformances
32 |
33 | extension JSONEncoder: DataEncoder {}
| |- warning: conformance of 'JSONEncoder' to 'Sendable' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
34 |
35 | // MARK: - JSONDecoder conformances
/Users/admin/builder/spi-builder-workspace/Sources/APIClientCore/Core/DataCoding/DataCoding.swift:37:1: warning: conformance of 'JSONDecoder' to 'Sendable' is only available in macOS 13.0 or newer
35 | // MARK: - JSONDecoder conformances
36 |
37 | extension JSONDecoder: DataDecoder {}
| |- warning: conformance of 'JSONDecoder' to 'Sendable' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
38 |
39 | // MARK: - PropertyListEncoder conformances
/Users/admin/builder/spi-builder-workspace/Sources/APIClientCore/Core/DataCoding/DataCoding.swift:41:1: warning: conformance of 'PropertyListEncoder' to 'Sendable' is only available in macOS 13.0 or newer
39 | // MARK: - PropertyListEncoder conformances
40 |
41 | extension PropertyListEncoder: DataEncoder {}
| |- warning: conformance of 'PropertyListEncoder' to 'Sendable' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
42 |
43 | // MARK: - PropertyListDecoder conformances
/Users/admin/builder/spi-builder-workspace/Sources/APIClientCore/Core/DataCoding/DataCoding.swift:45:1: warning: conformance of 'PropertyListDecoder' to 'Sendable' is only available in macOS 13.0 or newer
43 | // MARK: - PropertyListDecoder conformances
44 |
45 | extension PropertyListDecoder: DataDecoder {}
| |- warning: conformance of 'PropertyListDecoder' to 'Sendable' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing extension
46 |
47 | // MARK: - StringEncoder
[16/16] Compiling APIClientCore URLSessionTransport.swift
/Users/admin/builder/spi-builder-workspace/Sources/APIClientCore/Transport/URLSessionTransport.swift:35:50: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
11 | ///
12 | /// > Tip: This transport is used by default in `APIConfiguration`.
13 | public struct URLSessionTransport: HTTPTransport, Sendable {
| `- note: add @available attribute to enclosing struct
14 | /// The underlying `URLSession` used to execute requests.
15 | public let session: URLSession
:
32 | /// - `URLError(.badServerResponse)` if the response is not an `HTTPURLResponse`.
33 | /// - `CancellationError` if the task was cancelled.
34 | public func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
| `- note: add @available attribute to enclosing instance method
35 | let (data, 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
36 | guard let httpResponse = response as? HTTPURLResponse else {
37 | throw URLError(.badServerResponse)
BUILD FAILURE 6.0 macosSpm