The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build AdyenNetworking, reference develop (729258), with Swift 6.0 for macOS (SPM) on 22 Jul 2025 11:23:06 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Adyen/adyen-networking-ios.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Adyen/adyen-networking-ios
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 729258d Merge pull request #52 from Adyen/remove_secrets
Cloned https://github.com/Adyen/adyen-networking-ios.git
Revision (git rev-parse @):
729258deec8039e295957abe55de842ddb907bde
SUCCESS checkout https://github.com/Adyen/adyen-networking-ios.git at develop
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Adyen/adyen-networking-ios.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/21] Compiling AdyenNetworking Errors.swift
[4/21] Compiling AdyenNetworking HTTPResponse.swift
[5/21] Emitting module AdyenNetworking
[6/21] Compiling AdyenNetworking APIClient.swift
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:400:63: error: 'download(for:delegate:)' is only available in macOS 12.0 or newer
383 | }
384 |
385 | extension APIClient: AsyncAPIClientProtocol {
    | `- note: add @available attribute to enclosing extension
386 |     @available(iOS 15.0.0, *)
387 |     public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
    :
394 |
395 |     @available(iOS 15.0.0, *)
396 |     public func perform<R>(
    |                 `- note: add @available attribute to enclosing instance method
397 |         _ request: R
398 |     ) async throws -> HTTPResponse<R.ResponseType> where R: Request, R.ResponseType == DownloadResponse {
399 |         let urlRequest = try buildUrlRequest(from: request)
400 |         let (locationUrl, urlResponse) = try await urlSession.download(for: urlRequest)
    |                                                               |- error: 'download(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                               `- note: add 'if #available' version check
401 |         try handleHttpErrorCodes(from: urlResponse)
402 |         let destinationUrl = try generateFileDestination(
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:415:62: error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
383 | }
384 |
385 | extension APIClient: AsyncAPIClientProtocol {
    | `- note: add @available attribute to enclosing extension
386 |     @available(iOS 15.0.0, *)
387 |     public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
    :
409 |
410 |     @available(iOS 15.0.0, *)
411 |     public func perform<R>(
    |                 `- note: add @available attribute to enclosing instance method
412 |         _ request: R
413 |     ) async throws -> HTTPResponse<R.ResponseType> where R: AsyncDownloadRequest, R.ResponseType == DownloadResponse {
414 |         let urlRequest = try buildUrlRequest(from: request)
415 |         let (asyncBytes, urlResponse) = try await urlSession.bytes(for: urlRequest)
    |                                                              |- error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                              `- note: add 'if #available' version check
416 |         try handleHttpErrorCodes(from: urlResponse)
417 |
[7/21] Compiling AdyenNetworking AnyAPIContext.swift
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:400:63: error: 'download(for:delegate:)' is only available in macOS 12.0 or newer
383 | }
384 |
385 | extension APIClient: AsyncAPIClientProtocol {
    | `- note: add @available attribute to enclosing extension
386 |     @available(iOS 15.0.0, *)
387 |     public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
    :
394 |
395 |     @available(iOS 15.0.0, *)
396 |     public func perform<R>(
    |                 `- note: add @available attribute to enclosing instance method
397 |         _ request: R
398 |     ) async throws -> HTTPResponse<R.ResponseType> where R: Request, R.ResponseType == DownloadResponse {
399 |         let urlRequest = try buildUrlRequest(from: request)
400 |         let (locationUrl, urlResponse) = try await urlSession.download(for: urlRequest)
    |                                                               |- error: 'download(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                               `- note: add 'if #available' version check
401 |         try handleHttpErrorCodes(from: urlResponse)
402 |         let destinationUrl = try generateFileDestination(
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:415:62: error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
383 | }
384 |
385 | extension APIClient: AsyncAPIClientProtocol {
    | `- note: add @available attribute to enclosing extension
386 |     @available(iOS 15.0.0, *)
387 |     public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
    :
409 |
410 |     @available(iOS 15.0.0, *)
411 |     public func perform<R>(
    |                 `- note: add @available attribute to enclosing instance method
412 |         _ request: R
413 |     ) async throws -> HTTPResponse<R.ResponseType> where R: AsyncDownloadRequest, R.ResponseType == DownloadResponse {
414 |         let urlRequest = try buildUrlRequest(from: request)
415 |         let (asyncBytes, urlResponse) = try await urlSession.bytes(for: urlRequest)
    |                                                              |- error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
    |                                                              `- note: add 'if #available' version check
416 |         try handleHttpErrorCodes(from: urlResponse)
417 |
[8/23] Compiling AdyenNetworking AnyAPIEnvironment.swift
[9/23] Compiling AdyenNetworking AnyCoder.swift
[10/23] Compiling AdyenNetworking RetryOnErrorAPIClient.swift
[11/23] Compiling AdyenNetworking Scheduler.swift
[12/23] Compiling AdyenNetworking DebugLogging.swift
[13/23] Compiling AdyenNetworking Logging.swift
[14/23] Compiling AdyenNetworking SimpleScheduler.swift
[15/23] Compiling AdyenNetworking UniqueAssetAPIClient.swift
[16/23] Compiling AdyenNetworking AnyResponseValidator.swift
[17/23] Compiling AdyenNetworking BackoffScheduler.swift
[18/23] Compiling AdyenNetworking Request.swift
[19/23] Compiling AdyenNetworking RetryAPIClient.swift
[20/23] Compiling AdyenNetworking Coder.swift
[21/23] Compiling AdyenNetworking DebugLogger.swift
[22/23] Compiling AdyenNetworking URLHelpers.swift
[23/23] Compiling AdyenNetworking URLSessionHelpers.swift
BUILD FAILURE 6.0 macosSpm