The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AdyenNetworking, reference develop (e9562f), with Swift 6.1 for macOS (SPM) on 12 Sep 2026 01:25:22 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
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 e9562fc Merge pull request #72 from Adyen/end-carthage-support
Cloned https://github.com/Adyen/adyen-networking-ios.git
Revision (git rev-parse @):
e9562fcfb3438822cec7ad833208cdb974638e54
SUCCESS checkout https://github.com/Adyen/adyen-networking-ios.git at develop
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Adyen/adyen-networking-ios.git
https://github.com/Adyen/adyen-networking-ios.git
{
  "default_localization" : "en-us",
  "dependencies" : [
  ],
  "manifest_display_name" : "AdyenNetworking",
  "name" : "AdyenNetworking",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "AdyenNetworking",
      "targets" : [
        "AdyenNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AdyenNetworking",
      "module_type" : "SwiftTarget",
      "name" : "AdyenNetworking",
      "path" : "AdyenNetworking",
      "product_memberships" : [
        "AdyenNetworking"
      ],
      "sources" : [
        "APIClient/APIClient.swift",
        "APIClient/AnyAPIContext.swift",
        "APIClient/AnyAPIEnvironment.swift",
        "APIClient/AnyCoder.swift",
        "APIClient/AnyResponseValidator.swift",
        "APIClient/BackoffScheduler.swift",
        "APIClient/Errors.swift",
        "APIClient/HTTPResponse.swift",
        "APIClient/Request.swift",
        "APIClient/RetryAPIClient.swift",
        "APIClient/RetryOnErrorAPIClient.swift",
        "APIClient/Scheduler.swift",
        "APIClient/SimpleScheduler.swift",
        "APIClient/UniqueAssetAPIClient.swift",
        "Helpers/Coder.swift",
        "Helpers/Logging/DebugLogger.swift",
        "Helpers/Logging/DebugLogging.swift",
        "Helpers/Logging/Logging.swift",
        "Helpers/URLHelpers.swift",
        "Helpers/URLSessionHelpers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/21] Compiling AdyenNetworking Coder.swift
[4/21] Compiling AdyenNetworking DebugLogger.swift
[5/23] Compiling AdyenNetworking SimpleScheduler.swift
[6/23] Compiling AdyenNetworking UniqueAssetAPIClient.swift
[7/23] Compiling AdyenNetworking RetryOnErrorAPIClient.swift
[8/23] Compiling AdyenNetworking Scheduler.swift
[9/23] Compiling AdyenNetworking DebugLogging.swift
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/Helpers/Logging/Logging.swift:12:23: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public enum Logging {
11 |     /// Indicates whether to enable printing to the console.
12 |     public static var isEnabled: Bool = false
   |                       |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
[10/23] Compiling AdyenNetworking Logging.swift
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/Helpers/Logging/Logging.swift:12:23: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public enum Logging {
11 |     /// Indicates whether to enable printing to the console.
12 |     public static var isEnabled: Bool = false
   |                       |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
[11/23] Compiling AdyenNetworking Errors.swift
[12/23] Compiling AdyenNetworking HTTPResponse.swift
[13/23] Compiling AdyenNetworking AnyAPIEnvironment.swift
[14/23] Compiling AdyenNetworking AnyCoder.swift
[15/23] Compiling AdyenNetworking AnyResponseValidator.swift
[16/23] Compiling AdyenNetworking BackoffScheduler.swift
[17/23] Emitting module AdyenNetworking
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/Helpers/Logging/Logging.swift:12:23: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public enum Logging {
11 |     /// Indicates whether to enable printing to the console.
12 |     public static var isEnabled: Bool = false
   |                       |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
[18/23] Compiling AdyenNetworking Request.swift
[19/23] Compiling AdyenNetworking RetryAPIClient.swift
[20/23] Compiling AdyenNetworking APIClient.swift
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:383:63: error: 'download(for:delegate:)' is only available in macOS 12.0 or newer
366 | }
367 |
368 | extension APIClient: AsyncAPIClientProtocol {
    | `- note: add @available attribute to enclosing extension
369 |     @available(iOS 15.0.0, *)
370 |     public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
    :
377 |
378 |     @available(iOS 15.0.0, *)
379 |     public func perform<R>(
    |                 `- note: add @available attribute to enclosing instance method
380 |         _ request: R
381 |     ) async throws -> HTTPResponse<R.ResponseType> where R: Request, R.ResponseType == DownloadResponse {
382 |         let urlRequest = try buildUrlRequest(from: request)
383 |         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
384 |         try handleHttpErrorCodes(from: urlResponse)
385 |         let destinationUrl = try generateFileDestination(
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:398:62: error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
366 | }
367 |
368 | extension APIClient: AsyncAPIClientProtocol {
    | `- note: add @available attribute to enclosing extension
369 |     @available(iOS 15.0.0, *)
370 |     public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
    :
392 |
393 |     @available(iOS 15.0.0, *)
394 |     public func perform<R>(
    |                 `- note: add @available attribute to enclosing instance method
395 |         _ request: R
396 |     ) async throws -> HTTPResponse<R.ResponseType> where R: AsyncDownloadRequest, R.ResponseType == DownloadResponse {
397 |         let urlRequest = try buildUrlRequest(from: request)
398 |         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
399 |         try handleHttpErrorCodes(from: urlResponse)
400 |
[21/23] Compiling AdyenNetworking AnyAPIContext.swift
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:383:63: error: 'download(for:delegate:)' is only available in macOS 12.0 or newer
366 | }
367 |
368 | extension APIClient: AsyncAPIClientProtocol {
    | `- note: add @available attribute to enclosing extension
369 |     @available(iOS 15.0.0, *)
370 |     public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
    :
377 |
378 |     @available(iOS 15.0.0, *)
379 |     public func perform<R>(
    |                 `- note: add @available attribute to enclosing instance method
380 |         _ request: R
381 |     ) async throws -> HTTPResponse<R.ResponseType> where R: Request, R.ResponseType == DownloadResponse {
382 |         let urlRequest = try buildUrlRequest(from: request)
383 |         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
384 |         try handleHttpErrorCodes(from: urlResponse)
385 |         let destinationUrl = try generateFileDestination(
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:398:62: error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
366 | }
367 |
368 | extension APIClient: AsyncAPIClientProtocol {
    | `- note: add @available attribute to enclosing extension
369 |     @available(iOS 15.0.0, *)
370 |     public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
    :
392 |
393 |     @available(iOS 15.0.0, *)
394 |     public func perform<R>(
    |                 `- note: add @available attribute to enclosing instance method
395 |         _ request: R
396 |     ) async throws -> HTTPResponse<R.ResponseType> where R: AsyncDownloadRequest, R.ResponseType == DownloadResponse {
397 |         let urlRequest = try buildUrlRequest(from: request)
398 |         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
399 |         try handleHttpErrorCodes(from: urlResponse)
400 |
[22/23] Compiling AdyenNetworking URLHelpers.swift
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:59:17: warning: capture of 'completion' with non-sendable type '(Result<URLSessionSuccess, any Error>) -> Void' in a '@Sendable' closure
57 |         dataTask(with: urlRequest) { data, response, error in
58 |             if let error = error {
59 |                 completion(.failure(error))
   |                 |- warning: capture of 'completion' with non-sendable type '(Result<URLSessionSuccess, any Error>) -> Void' in a '@Sendable' closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 |             } else {
61 |                 completion(.init(catching: { try URLSessionSuccess(data: data, response: response) }))
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:73:17: warning: capture of 'completion' with non-sendable type '(Result<URLSessionDownloadSuccess, any Error>) -> Void' in a '@Sendable' closure
71 |         downloadTask(with: urlRequest) { url, response, error in
72 |             if let error = error {
73 |                 completion(.failure(error))
   |                 |- warning: capture of 'completion' with non-sendable type '(Result<URLSessionDownloadSuccess, any Error>) -> Void' in a '@Sendable' closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
74 |             } else {
75 |                 completion(.init(catching: {
[23/23] Compiling AdyenNetworking URLSessionHelpers.swift
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:59:17: warning: capture of 'completion' with non-sendable type '(Result<URLSessionSuccess, any Error>) -> Void' in a '@Sendable' closure
57 |         dataTask(with: urlRequest) { data, response, error in
58 |             if let error = error {
59 |                 completion(.failure(error))
   |                 |- warning: capture of 'completion' with non-sendable type '(Result<URLSessionSuccess, any Error>) -> Void' in a '@Sendable' closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 |             } else {
61 |                 completion(.init(catching: { try URLSessionSuccess(data: data, response: response) }))
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:73:17: warning: capture of 'completion' with non-sendable type '(Result<URLSessionDownloadSuccess, any Error>) -> Void' in a '@Sendable' closure
71 |         downloadTask(with: urlRequest) { url, response, error in
72 |             if let error = error {
73 |                 completion(.failure(error))
   |                 |- warning: capture of 'completion' with non-sendable type '(Result<URLSessionDownloadSuccess, any Error>) -> Void' in a '@Sendable' closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
74 |             } else {
75 |                 completion(.init(catching: {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/20] Compiling AdyenNetworking SimpleScheduler.swift
[3/20] Compiling AdyenNetworking UniqueAssetAPIClient.swift
[4/20] Compiling AdyenNetworking Errors.swift
[5/20] Compiling AdyenNetworking HTTPResponse.swift
[6/20] Compiling AdyenNetworking DebugLogging.swift
[7/20] Compiling AdyenNetworking Logging.swift
[8/20] Compiling AdyenNetworking RetryOnErrorAPIClient.swift
[9/20] Compiling AdyenNetworking Scheduler.swift
[10/20] Compiling AdyenNetworking Coder.swift
[11/20] Compiling AdyenNetworking DebugLogger.swift
[12/22] Compiling AdyenNetworking AnyResponseValidator.swift
[13/22] Compiling AdyenNetworking BackoffScheduler.swift
[14/22] Compiling AdyenNetworking AnyAPIEnvironment.swift
[15/22] Compiling AdyenNetworking AnyCoder.swift
[16/22] Emitting module AdyenNetworking
[17/22] Compiling AdyenNetworking Request.swift
[18/22] Compiling AdyenNetworking RetryAPIClient.swift
[19/22] Compiling AdyenNetworking APIClient.swift
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:383:63: error: 'download(for:delegate:)' is only available in macOS 12.0 or newer
366 | }
367 |
368 | extension APIClient: AsyncAPIClientProtocol {
    | `- note: add @available attribute to enclosing extension
369 |     @available(iOS 15.0.0, *)
370 |     public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
    :
377 |
378 |     @available(iOS 15.0.0, *)
379 |     public func perform<R>(
    |                 `- note: add @available attribute to enclosing instance method
380 |         _ request: R
381 |     ) async throws -> HTTPResponse<R.ResponseType> where R: Request, R.ResponseType == DownloadResponse {
382 |         let urlRequest = try buildUrlRequest(from: request)
383 |         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
384 |         try handleHttpErrorCodes(from: urlResponse)
385 |         let destinationUrl = try generateFileDestination(
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:398:62: error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
366 | }
367 |
368 | extension APIClient: AsyncAPIClientProtocol {
    | `- note: add @available attribute to enclosing extension
369 |     @available(iOS 15.0.0, *)
370 |     public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
    :
392 |
393 |     @available(iOS 15.0.0, *)
394 |     public func perform<R>(
    |                 `- note: add @available attribute to enclosing instance method
395 |         _ request: R
396 |     ) async throws -> HTTPResponse<R.ResponseType> where R: AsyncDownloadRequest, R.ResponseType == DownloadResponse {
397 |         let urlRequest = try buildUrlRequest(from: request)
398 |         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
399 |         try handleHttpErrorCodes(from: urlResponse)
400 |
[20/22] Compiling AdyenNetworking AnyAPIContext.swift
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:383:63: error: 'download(for:delegate:)' is only available in macOS 12.0 or newer
366 | }
367 |
368 | extension APIClient: AsyncAPIClientProtocol {
    | `- note: add @available attribute to enclosing extension
369 |     @available(iOS 15.0.0, *)
370 |     public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
    :
377 |
378 |     @available(iOS 15.0.0, *)
379 |     public func perform<R>(
    |                 `- note: add @available attribute to enclosing instance method
380 |         _ request: R
381 |     ) async throws -> HTTPResponse<R.ResponseType> where R: Request, R.ResponseType == DownloadResponse {
382 |         let urlRequest = try buildUrlRequest(from: request)
383 |         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
384 |         try handleHttpErrorCodes(from: urlResponse)
385 |         let destinationUrl = try generateFileDestination(
/Users/admin/builder/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:398:62: error: 'bytes(for:delegate:)' is only available in macOS 12.0 or newer
366 | }
367 |
368 | extension APIClient: AsyncAPIClientProtocol {
    | `- note: add @available attribute to enclosing extension
369 |     @available(iOS 15.0.0, *)
370 |     public func perform<R>(_ request: R) async throws -> HTTPResponse<R.ResponseType> where R: Request {
    :
392 |
393 |     @available(iOS 15.0.0, *)
394 |     public func perform<R>(
    |                 `- note: add @available attribute to enclosing instance method
395 |         _ request: R
396 |     ) async throws -> HTTPResponse<R.ResponseType> where R: AsyncDownloadRequest, R.ResponseType == DownloadResponse {
397 |         let urlRequest = try buildUrlRequest(from: request)
398 |         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
399 |         try handleHttpErrorCodes(from: urlResponse)
400 |
[21/22] Compiling AdyenNetworking URLHelpers.swift
[22/22] Compiling AdyenNetworking URLSessionHelpers.swift
BUILD FAILURE 6.1 macosSpm