The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build AdyenNetworking, reference 3.0.1 (43fd5d), with Swift 5.9 for macOS (SPM) on 14 Mar 2025 14:59:36 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Adyen/adyen-networking-ios.git
Reference: 3.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Adyen/adyen-networking-ios
 * tag               3.0.1      -> FETCH_HEAD
HEAD is now at 43fd5d9 Merge pull request #46 from Adyen/release/3.0.1
Cloned https://github.com/Adyen/adyen-networking-ios.git
Revision (git rev-parse @):
43fd5d93f8587623eb134e3968f099e0417e74f6
SUCCESS checkout https://github.com/Adyen/adyen-networking-ios.git at 3.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/Adyen/adyen-networking-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/19] Compiling AdyenNetworking Coder.swift
[2/19] Compiling AdyenNetworking DebugLogger.swift
[3/21] Compiling AdyenNetworking DebugLogging.swift
[4/21] Compiling AdyenNetworking Logging.swift
[5/21] Compiling AdyenNetworking SimpleScheduler.swift
[6/21] Compiling AdyenNetworking UniqueAssetAPIClient.swift
[7/21] Compiling AdyenNetworking Errors.swift
[8/21] Compiling AdyenNetworking HTTPResponse.swift
[9/21] Compiling AdyenNetworking AnyResponseValidator.swift
[10/21] Compiling AdyenNetworking BackoffScheduler.swift
[11/21] Compiling AdyenNetworking Request.swift
[12/21] Compiling AdyenNetworking RetryAPIClient.swift
[13/21] Emitting module AdyenNetworking
[14/21] Compiling AdyenNetworking AnyAPIEnvironment.swift
[15/21] Compiling AdyenNetworking AnyCoder.swift
[16/21] Compiling AdyenNetworking RetryOnErrorAPIClient.swift
[17/21] Compiling AdyenNetworking Scheduler.swift
[18/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 {
^
[19/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 {
^
[20/21] Compiling AdyenNetworking URLHelpers.swift
[21/21] Compiling AdyenNetworking URLSessionHelpers.swift
error: fatalError
BUILD FAILURE 5.9 macosSpm