The Swift Package Index logo.Swift Package Index

Build Information

Failed to build APIClientCore, reference main (99ce9a), with Swift 6.3 for macOS (SPM) on 17 Apr 2026 06:01:37 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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
========================================
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": "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",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/zino-88/APIClientCore.git
[1/56] Fetching apiclientcore
Fetched https://github.com/zino-88/APIClientCore.git from cache (0.66s)
Creating working copy for https://github.com/zino-88/APIClientCore.git
Working copy of https://github.com/zino-88/APIClientCore.git resolved at main (99ce9a4)
warning: '.resolve-product-dependencies': dependency 'apiclientcore' 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/zino-88/APIClientCore.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/15] Compiling APIClientCore HTTPTransport.swift
[4/16] Compiling APIClientCore APIEndpoint.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 APIClient.swift
[11/16] Compiling APIClientCore DefaultAPIClient.swift
[12/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
[13/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
[14/16] Compiling APIClientCore RequestBuilder.swift
[15/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
[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.3 macosSpm