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 5.10 for macOS (SPM) on 22 Jul 2025 11:21:52 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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:             5.10
Building package at path:  $PWD
https://github.com/Adyen/adyen-networking-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/21] Compiling AdyenNetworking Request.swift
[4/21] Compiling AdyenNetworking RetryAPIClient.swift
[5/21] Compiling AdyenNetworking Coder.swift
[6/21] Compiling AdyenNetworking DebugLogger.swift
[7/21] Compiling AdyenNetworking DebugLogging.swift
[8/21] Compiling AdyenNetworking Logging.swift
[9/21] Compiling AdyenNetworking SimpleScheduler.swift
[10/21] Compiling AdyenNetworking UniqueAssetAPIClient.swift
[11/21] Compiling AdyenNetworking RetryOnErrorAPIClient.swift
[12/21] Compiling AdyenNetworking Scheduler.swift
[13/21] Compiling AdyenNetworking AnyAPIEnvironment.swift
[14/21] Compiling AdyenNetworking AnyCoder.swift
[15/21] Compiling AdyenNetworking Errors.swift
[16/21] Compiling AdyenNetworking HTTPResponse.swift
[17/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
        let (locationUrl, urlResponse) = try await urlSession.download(for: urlRequest)
                                                              ^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:400:63: note: add 'if #available' version check
        let (locationUrl, urlResponse) = try await urlSession.download(for: urlRequest)
                                                              ^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:396:17: note: add @available attribute to enclosing instance method
    public func perform<R>(
                ^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:385:1: note: add @available attribute to enclosing extension
extension APIClient: AsyncAPIClientProtocol {
^
/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
        let (asyncBytes, urlResponse) = try await urlSession.bytes(for: urlRequest)
                                                             ^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:415:62: note: add 'if #available' version check
        let (asyncBytes, urlResponse) = try await urlSession.bytes(for: urlRequest)
                                                             ^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:411:17: note: add @available attribute to enclosing instance method
    public func perform<R>(
                ^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:385:1: note: add @available attribute to enclosing extension
extension APIClient: AsyncAPIClientProtocol {
^
[18/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
        let (locationUrl, urlResponse) = try await urlSession.download(for: urlRequest)
                                                              ^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:400:63: note: add 'if #available' version check
        let (locationUrl, urlResponse) = try await urlSession.download(for: urlRequest)
                                                              ^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:396:17: note: add @available attribute to enclosing instance method
    public func perform<R>(
                ^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:385:1: note: add @available attribute to enclosing extension
extension APIClient: AsyncAPIClientProtocol {
^
/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
        let (asyncBytes, urlResponse) = try await urlSession.bytes(for: urlRequest)
                                                             ^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:415:62: note: add 'if #available' version check
        let (asyncBytes, urlResponse) = try await urlSession.bytes(for: urlRequest)
                                                             ^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:411:17: note: add @available attribute to enclosing instance method
    public func perform<R>(
                ^
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:385:1: note: add @available attribute to enclosing extension
extension APIClient: AsyncAPIClientProtocol {
^
[19/21] Emitting module AdyenNetworking
[20/21] Compiling AdyenNetworking AnyResponseValidator.swift
[21/21] Compiling AdyenNetworking BackoffScheduler.swift
[22/23] Compiling AdyenNetworking URLHelpers.swift
[23/23] Compiling AdyenNetworking URLSessionHelpers.swift
error: fatalError
BUILD FAILURE 5.10 macosSpm