Build Information
Failed to build AdyenNetworking, reference develop (cc93bc
), with Swift 6.0 for macOS (SPM) on 14 Mar 2025 14:58:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.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
========================================
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/1271] Fetching adyen-networking-ios
Fetched https://github.com/Adyen/adyen-networking-ios.git from cache (0.95s)
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 (cc93bc0)
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.0
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.2.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-5BDAB9E9C0126B9D.txt
[3/21] Compiling AdyenNetworking RetryOnErrorAPIClient.swift
[4/21] Compiling AdyenNetworking Scheduler.swift
[5/21] Compiling AdyenNetworking Request.swift
[6/21] Compiling AdyenNetworking RetryAPIClient.swift
[7/21] Compiling AdyenNetworking Coder.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: annotate 'isEnabled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
[8/21] Compiling AdyenNetworking DebugLogger.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: annotate 'isEnabled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
[9/21] Compiling AdyenNetworking SimpleScheduler.swift
[10/21] Compiling AdyenNetworking UniqueAssetAPIClient.swift
[11/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: annotate 'isEnabled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
[12/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: annotate 'isEnabled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
[13/21] Compiling AdyenNetworking AnyAPIEnvironment.swift
[14/21] Compiling AdyenNetworking AnyCoder.swift
[15/21] Compiling AdyenNetworking AnyResponseValidator.swift
[16/21] Compiling AdyenNetworking BackoffScheduler.swift
[17/21] Compiling AdyenNetworking Errors.swift
[18/21] Compiling AdyenNetworking HTTPResponse.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: annotate 'isEnabled' with '@MainActor' if property should only be accessed from the main actor
| `- 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.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/20] Compiling AdyenNetworking DebugLogging.swift
[3/20] Compiling AdyenNetworking Logging.swift
[4/20] Compiling AdyenNetworking RetryOnErrorAPIClient.swift
[5/20] Compiling AdyenNetworking Scheduler.swift
[6/20] Compiling AdyenNetworking Coder.swift
[7/20] Compiling AdyenNetworking DebugLogger.swift
[8/22] Compiling AdyenNetworking SimpleScheduler.swift
[9/22] Compiling AdyenNetworking UniqueAssetAPIClient.swift
[10/22] Compiling AdyenNetworking Errors.swift
[11/22] Compiling AdyenNetworking HTTPResponse.swift
[12/22] Compiling AdyenNetworking AnyAPIEnvironment.swift
[13/22] Compiling AdyenNetworking AnyCoder.swift
[14/22] Compiling AdyenNetworking AnyResponseValidator.swift
[15/22] Compiling AdyenNetworking BackoffScheduler.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: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.0 macosSpm