The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AdyenNetworking, reference develop (729258), with Swift 6.2 for macOS (SPM) on 22 Jul 2025 11:21:58 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.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.2
Building package at path:  $PWD
https://github.com/Adyen/adyen-networking-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/21] Compiling AdyenNetworking Coder.swift
[4/21] Compiling AdyenNetworking DebugLogger.swift
[5/21] Compiling AdyenNetworking DebugLogging.swift
[6/21] Compiling AdyenNetworking Logging.swift
[7/21] Compiling AdyenNetworking RetryOnErrorAPIClient.swift
[8/21] Compiling AdyenNetworking Scheduler.swift
[9/23] Compiling AdyenNetworking SimpleScheduler.swift
[10/23] Compiling AdyenNetworking UniqueAssetAPIClient.swift
[11/23] Compiling AdyenNetworking Request.swift
[12/23] Compiling AdyenNetworking RetryAPIClient.swift
[13/23] Compiling AdyenNetworking AnyResponseValidator.swift
[14/23] Compiling AdyenNetworking BackoffScheduler.swift
[15/23] Compiling AdyenNetworking AnyAPIEnvironment.swift
[16/23] Compiling AdyenNetworking AnyCoder.swift
[17/23] Emitting module AdyenNetworking
[18/23] Compiling AdyenNetworking Errors.swift
[19/23] Compiling AdyenNetworking HTTPResponse.swift
[20/23] 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 |
[21/23] 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 |
[22/23] Compiling AdyenNetworking URLHelpers.swift
[23/23] Compiling AdyenNetworking URLSessionHelpers.swift
BUILD FAILURE 6.2 macosSpm