The Swift Package Index logo.Swift Package Index

Build Information

Failed to build APIClientCore, reference v1.0.0 (c83fc3), with Swift 6.2 for macOS (SPM) on 13 Oct 2025 00:39:08 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zino-88/APIClientCore.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/zino-88/APIClientCore
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at c83fc3a Initial commit
Cloned https://github.com/zino-88/APIClientCore.git
Revision (git rev-parse @):
c83fc3a25e1bcaf77546fd0167036d15114dd580
SUCCESS checkout https://github.com/zino-88/APIClientCore.git at v1.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",
  "dependencies": [
    {
      "identity": "apiclientcore",
      "name": "APIClientCore",
      "url": "https://github.com/zino-88/APIClientCore.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/APIClientCore",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/zino-88/APIClientCore.git
[1/56] Fetching apiclientcore
Fetched https://github.com/zino-88/APIClientCore.git from cache (0.64s)
Creating working copy for https://github.com/zino-88/APIClientCore.git
Working copy of https://github.com/zino-88/APIClientCore.git resolved at v1.0.0 (c83fc3a)
warning: '.resolve-product-dependencies': dependency 'apiclientcore' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/zino-88/APIClientCore.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-49B95AFC49DCD68C.txt
[3/15] Compiling APIClientCore APIEndpoint.swift
[4/15] Compiling APIClientCore HTTPTransport.swift
[5/16] Compiling APIClientCore HTTPMethod.swift
[6/16] Compiling APIClientCore HTTPStatusError.swift
[7/16] Compiling APIClientCore JSONCoder+Convenience.swift
/Users/admin/builder/spi-builder-workspace/Sources/APIClientCore/Core/DataCoding/PropertyListCoder+Convenience.swift:24:28: warning: type 'Any' does not conform to the 'Sendable' protocol
22 |         let encoder = PropertyListEncoder()
23 |         encoder.outputFormat = outputFormat
24 |         encoder.userInfo = userInfo
   |                            `- warning: type 'Any' does not conform to the 'Sendable' protocol
25 |         return encoder
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/APIClientCore/Core/DataCoding/PropertyListCoder+Convenience.swift:34:28: warning: type 'Any' does not conform to the 'Sendable' protocol
32 |     static func configured(userInfo: [CodingUserInfoKey: Any]) -> PropertyListDecoder {
33 |         let decoder = PropertyListDecoder()
34 |         decoder.userInfo = userInfo
   |                            `- warning: type 'Any' does not conform to the 'Sendable' protocol
35 |         return decoder
36 |     }
[8/16] Compiling APIClientCore PropertyListCoder+Convenience.swift
/Users/admin/builder/spi-builder-workspace/Sources/APIClientCore/Core/DataCoding/PropertyListCoder+Convenience.swift:24:28: warning: type 'Any' does not conform to the 'Sendable' protocol
22 |         let encoder = PropertyListEncoder()
23 |         encoder.outputFormat = outputFormat
24 |         encoder.userInfo = userInfo
   |                            `- warning: type 'Any' does not conform to the 'Sendable' protocol
25 |         return encoder
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/APIClientCore/Core/DataCoding/PropertyListCoder+Convenience.swift:34:28: warning: type 'Any' does not conform to the 'Sendable' protocol
32 |     static func configured(userInfo: [CodingUserInfoKey: Any]) -> PropertyListDecoder {
33 |         let decoder = PropertyListDecoder()
34 |         decoder.userInfo = userInfo
   |                            `- warning: type 'Any' does not conform to the 'Sendable' protocol
35 |         return decoder
36 |     }
[9/16] Compiling APIClientCore StringCoder+Convenience.swift
[10/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
[11/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
[12/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
[13/16] Compiling APIClientCore APIClient.swift
[14/16] Compiling APIClientCore DefaultAPIClient.swift
[15/16] Compiling APIClientCore RequestBuilder.swift
[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.2 macosSpm