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 (cc93bc), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 08:34:12 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 cc93bc0 Merge pull request #48 from Adyen/fixing-prepare-release-workflow
Cloned https://github.com/Adyen/adyen-networking-ios.git
Revision (git rev-parse @):
cc93bc0e4f58038b0f87f091b58e7f2cbc530fd7
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 SimpleScheduler.swift
[4/21] Compiling AdyenNetworking UniqueAssetAPIClient.swift
[5/23] Compiling AdyenNetworking Request.swift
[6/23] Compiling AdyenNetworking RetryAPIClient.swift
[7/23] Compiling AdyenNetworking Errors.swift
[8/23] Compiling AdyenNetworking HTTPResponse.swift
[9/23] Compiling AdyenNetworking AnyResponseValidator.swift
[10/23] Compiling AdyenNetworking BackoffScheduler.swift
[11/23] Compiling AdyenNetworking DebugLogging.swift
[12/23] Compiling AdyenNetworking Logging.swift
[13/23] Compiling AdyenNetworking RetryOnErrorAPIClient.swift
[14/23] Compiling AdyenNetworking Scheduler.swift
[15/23] Compiling AdyenNetworking Coder.swift
[16/23] Compiling AdyenNetworking DebugLogger.swift
[17/23] Compiling AdyenNetworking AnyAPIEnvironment.swift
[18/23] Compiling AdyenNetworking AnyCoder.swift
[19/23] Emitting module AdyenNetworking
[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