The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "adyen-networking-ios",
      "name": "AdyenNetworking",
      "url": "https://github.com/Adyen/adyen-networking-ios.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/adyen-networking-ios",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Adyen/adyen-networking-ios.git
[1/1430] Fetching adyen-networking-ios
Fetched https://github.com/Adyen/adyen-networking-ios.git from cache (0.85s)
Creating working copy for https://github.com/Adyen/adyen-networking-ios.git
Working copy of https://github.com/Adyen/adyen-networking-ios.git resolved at develop (729258d)
warning: '.resolve-product-dependencies': dependency 'adyen-networking-ios' is not used by any target
Found 0 product dependencies
========================================
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 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 |
[4/21] 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 |
[5/23] Compiling AdyenNetworking Errors.swift
[6/23] Compiling AdyenNetworking HTTPResponse.swift
[7/23] Compiling AdyenNetworking SimpleScheduler.swift
[8/23] Compiling AdyenNetworking UniqueAssetAPIClient.swift
[9/23] Compiling AdyenNetworking AnyResponseValidator.swift
[10/23] Compiling AdyenNetworking BackoffScheduler.swift
[11/23] Compiling AdyenNetworking AnyAPIEnvironment.swift
[12/23] Compiling AdyenNetworking AnyCoder.swift
[13/23] Compiling AdyenNetworking Request.swift
[14/23] Compiling AdyenNetworking RetryAPIClient.swift
[15/23] Compiling AdyenNetworking RetryOnErrorAPIClient.swift
[16/23] Compiling AdyenNetworking Scheduler.swift
[17/23] Compiling AdyenNetworking Coder.swift
[18/23] Compiling AdyenNetworking DebugLogger.swift
[19/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 |
[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
/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 Coder.swift
[3/20] Compiling AdyenNetworking DebugLogger.swift
[4/20] Compiling AdyenNetworking DebugLogging.swift
[5/20] Compiling AdyenNetworking Logging.swift
[6/22] Compiling AdyenNetworking SimpleScheduler.swift
[7/22] Compiling AdyenNetworking UniqueAssetAPIClient.swift
[8/22] Compiling AdyenNetworking Request.swift
[9/22] Compiling AdyenNetworking RetryAPIClient.swift
[10/22] Compiling AdyenNetworking RetryOnErrorAPIClient.swift
[11/22] Compiling AdyenNetworking Scheduler.swift
[12/22] Compiling AdyenNetworking AnyAPIEnvironment.swift
[13/22] Compiling AdyenNetworking AnyCoder.swift
[14/22] Compiling AdyenNetworking Errors.swift
[15/22] Compiling AdyenNetworking HTTPResponse.swift
[16/22] Compiling AdyenNetworking AnyResponseValidator.swift
[17/22] Compiling AdyenNetworking BackoffScheduler.swift
[18/22] Emitting module AdyenNetworking
[19/22] 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 |
[20/22] 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 |
[21/22] Compiling AdyenNetworking URLHelpers.swift
[22/22] Compiling AdyenNetworking URLSessionHelpers.swift
BUILD FAILURE 6.1 macosSpm