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 develop (cc93bc), with Swift 5.9 for macOS (SPM) on 14 Mar 2025 14:58:44 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: 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:             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 AnyAPIEnvironment.swift
[8/21] Compiling AdyenNetworking AnyCoder.swift
[9/21] Compiling AdyenNetworking RetryOnErrorAPIClient.swift
[10/21] Compiling AdyenNetworking Scheduler.swift
[11/21] Compiling AdyenNetworking Request.swift
[12/21] Compiling AdyenNetworking RetryAPIClient.swift
[13/21] Compiling AdyenNetworking Errors.swift
[14/21] Compiling AdyenNetworking HTTPResponse.swift
[15/21] Emitting module AdyenNetworking
[16/21] Compiling AdyenNetworking AnyResponseValidator.swift
[17/21] Compiling AdyenNetworking BackoffScheduler.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