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.10 for Linux on 14 Mar 2025 14:57:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/Adyen/adyen-networking-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/21] Emitting module AdyenNetworking
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:81:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:109:29: error: cannot find type 'URLSessionDelegate' in scope
        urlSessionDelegate: URLSessionDelegate? = nil
                            ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:106:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        configuration: URLSessionConfiguration? = nil,
                       ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:129:29: error: cannot find type 'URLSessionDelegate' in scope
        urlSessionDelegate: URLSessionDelegate? = nil
                            ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:125:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlSession: URLSession,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:196:73: error: cannot find type 'URLRequest' in scope
    private func buildUrlRequest<R: Request>(from request: R) throws -> URLRequest {
                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:269:46: error: cannot find type 'URLRequest' in scope
    private func log<R: Request>(urlRequest: URLRequest, request: R) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:323:56: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private static func buildDefaultConfiguration() -> URLSessionConfiguration {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:342:83: error: cannot find type 'URLRequest' in scope
    private func generateFilename(from urlResponse: URLResponse, with urlRequest: URLRequest) -> String {
                                                                                  ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:342:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func generateFilename(from urlResponse: URLResponse, with urlRequest: URLRequest) -> String {
                                                    ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:441:57: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handleHttpErrorCodes(from urlResponse: URLResponse) throws {
                                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/Request.swift:74:16: warning: stored property 'url' of 'Sendable'-conforming struct 'DownloadResponse' has non-sendable type 'URL'
    public let url: URL
               ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/Request.swift:7:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:50:10: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
internal extension URLSession {
         ^         ~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:16:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal init(data: Data?, response: URLResponse?) throws {
                                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:36:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal init(url: URL?, response: URLResponse?) throws {
                                       ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[4/23] Compiling AdyenNetworking APIClient.swift
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:81:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:109:29: error: cannot find type 'URLSessionDelegate' in scope
        urlSessionDelegate: URLSessionDelegate? = nil
                            ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:106:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        configuration: URLSessionConfiguration? = nil,
                       ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:129:29: error: cannot find type 'URLSessionDelegate' in scope
        urlSessionDelegate: URLSessionDelegate? = nil
                            ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:125:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlSession: URLSession,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:196:73: error: cannot find type 'URLRequest' in scope
    private func buildUrlRequest<R: Request>(from request: R) throws -> URLRequest {
                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:269:46: error: cannot find type 'URLRequest' in scope
    private func log<R: Request>(urlRequest: URLRequest, request: R) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:323:56: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private static func buildDefaultConfiguration() -> URLSessionConfiguration {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:342:83: error: cannot find type 'URLRequest' in scope
    private func generateFilename(from urlResponse: URLResponse, with urlRequest: URLRequest) -> String {
                                                                                  ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:342:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func generateFilename(from urlResponse: URLResponse, with urlRequest: URLRequest) -> String {
                                                    ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:441:57: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handleHttpErrorCodes(from urlResponse: URLResponse) throws {
                                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:112:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.urlSession = URLSession(
                          ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:115:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:143:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
            urlSession.dataTask(with: try buildUrlRequest(from: request)) { [weak self] result in
            ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:143:89: error: cannot infer type of closure parameter 'result' without a type annotation
            urlSession.dataTask(with: try buildUrlRequest(from: request)) { [weak self] result in
                                                                                        ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:146:45: error: cannot infer contextual base in reference to member 'init'
                    .flatMap { response in .init(catching: {
                                           ~^~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:150:26: error: cannot infer key path type from context; consider explicitly specifying a root type
                    .map(\.responseBody)
                         ^
                          <#Root#>
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:178:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
            urlSession.downloadTask(with: try buildUrlRequest(from: request)) { [weak self]
            ~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:179:17: error: cannot infer type of closure parameter 'result' without a type annotation
                result in
                ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:182:45: error: cannot infer contextual base in reference to member 'init'
                    .flatMap { response in .init(catching: { try self.handle(response, request) }) }
                                           ~^~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:183:26: error: cannot infer key path type from context; consider explicitly specifying a root type
                    .map(\.responseBody)
                         ^
                          <#Root#>
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:199:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: add(queryParameters: request.queryParameters + apiContext.queryParameters, to: url))
                         ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:206:9: error: no exact matches in call to instance method 'log'
        log(urlRequest: urlRequest, request: request)
        ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:291:18: note: incorrect labels for candidate (have: '(urlRequest:request:)', expected: '(result:request:)')
    private func log<R: Request>(result: URLSessionSuccess, request: R) {
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:302:18: note: incorrect labels for candidate (have: '(urlRequest:request:)', expected: '(result:request:)')
    private func log<R: Request>(result: URLSessionDownloadSuccess, request: R) {
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:324:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
        let config = URLSessionConfiguration.ephemeral
                     ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:325:27: error: 'nil' requires a contextual type
        config.urlCache = nil
                          ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:328:58: error: cannot infer contextual base in reference to member 'TLSv12'
            config.tlsMinimumSupportedProtocolVersion = .TLSv12
                                                        ~^~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:330:51: error: cannot infer contextual base in reference to member 'tlsProtocol12'
            config.tlsMinimumSupportedProtocol = .tlsProtocol12
                                                 ~^~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:343:21: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'suggestedFilename'
        urlResponse.suggestedFilename ??
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:344:21: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'url'
        urlResponse.url?.lastPathComponent ??
        ~~~~~~~~~~~ ^~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:389:14: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            .data(for: try buildUrlRequest(from: request)) as (data: Data, urlResponse: URLResponse)
             ^~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:400:63: error: value of type 'URLSession' (aka 'AnyObject') has no member 'download'
        let (locationUrl, urlResponse) = try await urlSession.download(for: urlRequest)
                                                   ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:415:62: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
        let (asyncBytes, urlResponse) = try await urlSession.bytes(for: urlRequest)
                                                  ~~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:442:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
        if let httpResponse = urlResponse as? HTTPURLResponse,
                                          ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:442:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        if let httpResponse = urlResponse as? HTTPURLResponse,
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:443:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
           (400...599).contains(httpResponse.statusCode),
                                ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:444:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
           let headers = httpResponse.allHeaderFields as? [String: String] {
                         ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:447:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                statusCode: httpResponse.statusCode,
                            ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:146:45: error: cannot infer contextual base in reference to member 'init'
                    .flatMap { response in .init(catching: {
                                           ~^~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:150:26: error: cannot infer key path type from context; consider explicitly specifying a root type
                    .map(\.responseBody)
                         ^
                          <#Root#>
[5/23] Compiling AdyenNetworking AnyAPIContext.swift
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:81:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:109:29: error: cannot find type 'URLSessionDelegate' in scope
        urlSessionDelegate: URLSessionDelegate? = nil
                            ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:106:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        configuration: URLSessionConfiguration? = nil,
                       ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:129:29: error: cannot find type 'URLSessionDelegate' in scope
        urlSessionDelegate: URLSessionDelegate? = nil
                            ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:125:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlSession: URLSession,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:196:73: error: cannot find type 'URLRequest' in scope
    private func buildUrlRequest<R: Request>(from request: R) throws -> URLRequest {
                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:269:46: error: cannot find type 'URLRequest' in scope
    private func log<R: Request>(urlRequest: URLRequest, request: R) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:323:56: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private static func buildDefaultConfiguration() -> URLSessionConfiguration {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:342:83: error: cannot find type 'URLRequest' in scope
    private func generateFilename(from urlResponse: URLResponse, with urlRequest: URLRequest) -> String {
                                                                                  ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:342:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func generateFilename(from urlResponse: URLResponse, with urlRequest: URLRequest) -> String {
                                                    ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:441:57: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handleHttpErrorCodes(from urlResponse: URLResponse) throws {
                                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:112:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.urlSession = URLSession(
                          ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:115:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:143:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
            urlSession.dataTask(with: try buildUrlRequest(from: request)) { [weak self] result in
            ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:143:89: error: cannot infer type of closure parameter 'result' without a type annotation
            urlSession.dataTask(with: try buildUrlRequest(from: request)) { [weak self] result in
                                                                                        ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:146:45: error: cannot infer contextual base in reference to member 'init'
                    .flatMap { response in .init(catching: {
                                           ~^~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:150:26: error: cannot infer key path type from context; consider explicitly specifying a root type
                    .map(\.responseBody)
                         ^
                          <#Root#>
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:178:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
            urlSession.downloadTask(with: try buildUrlRequest(from: request)) { [weak self]
            ~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:179:17: error: cannot infer type of closure parameter 'result' without a type annotation
                result in
                ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:182:45: error: cannot infer contextual base in reference to member 'init'
                    .flatMap { response in .init(catching: { try self.handle(response, request) }) }
                                           ~^~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:183:26: error: cannot infer key path type from context; consider explicitly specifying a root type
                    .map(\.responseBody)
                         ^
                          <#Root#>
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:199:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: add(queryParameters: request.queryParameters + apiContext.queryParameters, to: url))
                         ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:206:9: error: no exact matches in call to instance method 'log'
        log(urlRequest: urlRequest, request: request)
        ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:291:18: note: incorrect labels for candidate (have: '(urlRequest:request:)', expected: '(result:request:)')
    private func log<R: Request>(result: URLSessionSuccess, request: R) {
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:302:18: note: incorrect labels for candidate (have: '(urlRequest:request:)', expected: '(result:request:)')
    private func log<R: Request>(result: URLSessionDownloadSuccess, request: R) {
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:324:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
        let config = URLSessionConfiguration.ephemeral
                     ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:325:27: error: 'nil' requires a contextual type
        config.urlCache = nil
                          ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:328:58: error: cannot infer contextual base in reference to member 'TLSv12'
            config.tlsMinimumSupportedProtocolVersion = .TLSv12
                                                        ~^~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:330:51: error: cannot infer contextual base in reference to member 'tlsProtocol12'
            config.tlsMinimumSupportedProtocol = .tlsProtocol12
                                                 ~^~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:343:21: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'suggestedFilename'
        urlResponse.suggestedFilename ??
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:344:21: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'url'
        urlResponse.url?.lastPathComponent ??
        ~~~~~~~~~~~ ^~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:389:14: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            .data(for: try buildUrlRequest(from: request)) as (data: Data, urlResponse: URLResponse)
             ^~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:400:63: error: value of type 'URLSession' (aka 'AnyObject') has no member 'download'
        let (locationUrl, urlResponse) = try await urlSession.download(for: urlRequest)
                                                   ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:415:62: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
        let (asyncBytes, urlResponse) = try await urlSession.bytes(for: urlRequest)
                                                  ~~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:442:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
        if let httpResponse = urlResponse as? HTTPURLResponse,
                                          ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:442:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        if let httpResponse = urlResponse as? HTTPURLResponse,
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:443:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
           (400...599).contains(httpResponse.statusCode),
                                ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:444:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
           let headers = httpResponse.allHeaderFields as? [String: String] {
                         ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:447:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                statusCode: httpResponse.statusCode,
                            ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:146:45: error: cannot infer contextual base in reference to member 'init'
                    .flatMap { response in .init(catching: {
                                           ~^~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:150:26: error: cannot infer key path type from context; consider explicitly specifying a root type
                    .map(\.responseBody)
                         ^
                          <#Root#>
[6/23] Compiling AdyenNetworking AnyAPIEnvironment.swift
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:81:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:109:29: error: cannot find type 'URLSessionDelegate' in scope
        urlSessionDelegate: URLSessionDelegate? = nil
                            ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:106:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        configuration: URLSessionConfiguration? = nil,
                       ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:129:29: error: cannot find type 'URLSessionDelegate' in scope
        urlSessionDelegate: URLSessionDelegate? = nil
                            ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:125:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        urlSession: URLSession,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:196:73: error: cannot find type 'URLRequest' in scope
    private func buildUrlRequest<R: Request>(from request: R) throws -> URLRequest {
                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:269:46: error: cannot find type 'URLRequest' in scope
    private func log<R: Request>(urlRequest: URLRequest, request: R) {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:323:56: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private static func buildDefaultConfiguration() -> URLSessionConfiguration {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:342:83: error: cannot find type 'URLRequest' in scope
    private func generateFilename(from urlResponse: URLResponse, with urlRequest: URLRequest) -> String {
                                                                                  ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:342:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func generateFilename(from urlResponse: URLResponse, with urlRequest: URLRequest) -> String {
                                                    ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:441:57: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handleHttpErrorCodes(from urlResponse: URLResponse) throws {
                                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:112:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.urlSession = URLSession(
                          ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:115:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:143:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
            urlSession.dataTask(with: try buildUrlRequest(from: request)) { [weak self] result in
            ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:143:89: error: cannot infer type of closure parameter 'result' without a type annotation
            urlSession.dataTask(with: try buildUrlRequest(from: request)) { [weak self] result in
                                                                                        ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:146:45: error: cannot infer contextual base in reference to member 'init'
                    .flatMap { response in .init(catching: {
                                           ~^~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:150:26: error: cannot infer key path type from context; consider explicitly specifying a root type
                    .map(\.responseBody)
                         ^
                          <#Root#>
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:178:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
            urlSession.downloadTask(with: try buildUrlRequest(from: request)) { [weak self]
            ~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:179:17: error: cannot infer type of closure parameter 'result' without a type annotation
                result in
                ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:182:45: error: cannot infer contextual base in reference to member 'init'
                    .flatMap { response in .init(catching: { try self.handle(response, request) }) }
                                           ~^~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:183:26: error: cannot infer key path type from context; consider explicitly specifying a root type
                    .map(\.responseBody)
                         ^
                          <#Root#>
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:199:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: add(queryParameters: request.queryParameters + apiContext.queryParameters, to: url))
                         ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:206:9: error: no exact matches in call to instance method 'log'
        log(urlRequest: urlRequest, request: request)
        ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:291:18: note: incorrect labels for candidate (have: '(urlRequest:request:)', expected: '(result:request:)')
    private func log<R: Request>(result: URLSessionSuccess, request: R) {
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:302:18: note: incorrect labels for candidate (have: '(urlRequest:request:)', expected: '(result:request:)')
    private func log<R: Request>(result: URLSessionDownloadSuccess, request: R) {
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:324:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
        let config = URLSessionConfiguration.ephemeral
                     ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:325:27: error: 'nil' requires a contextual type
        config.urlCache = nil
                          ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:328:58: error: cannot infer contextual base in reference to member 'TLSv12'
            config.tlsMinimumSupportedProtocolVersion = .TLSv12
                                                        ~^~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:330:51: error: cannot infer contextual base in reference to member 'tlsProtocol12'
            config.tlsMinimumSupportedProtocol = .tlsProtocol12
                                                 ~^~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:343:21: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'suggestedFilename'
        urlResponse.suggestedFilename ??
        ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:344:21: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'url'
        urlResponse.url?.lastPathComponent ??
        ~~~~~~~~~~~ ^~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:389:14: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            .data(for: try buildUrlRequest(from: request)) as (data: Data, urlResponse: URLResponse)
             ^~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:400:63: error: value of type 'URLSession' (aka 'AnyObject') has no member 'download'
        let (locationUrl, urlResponse) = try await urlSession.download(for: urlRequest)
                                                   ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:415:62: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
        let (asyncBytes, urlResponse) = try await urlSession.bytes(for: urlRequest)
                                                  ~~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:442:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
        if let httpResponse = urlResponse as? HTTPURLResponse,
                                          ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:442:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        if let httpResponse = urlResponse as? HTTPURLResponse,
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:443:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
           (400...599).contains(httpResponse.statusCode),
                                ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:444:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
           let headers = httpResponse.allHeaderFields as? [String: String] {
                         ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:447:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                statusCode: httpResponse.statusCode,
                            ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:146:45: error: cannot infer contextual base in reference to member 'init'
                    .flatMap { response in .init(catching: {
                                           ~^~~~
/host/spi-builder-workspace/AdyenNetworking/APIClient/APIClient.swift:150:26: error: cannot infer key path type from context; consider explicitly specifying a root type
                    .map(\.responseBody)
                         ^
                          <#Root#>
[7/23] Compiling AdyenNetworking SimpleScheduler.swift
[8/23] Compiling AdyenNetworking UniqueAssetAPIClient.swift
[9/23] Compiling AdyenNetworking URLHelpers.swift
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:50:10: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
internal extension URLSession {
         ^         ~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:16:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal init(data: Data?, response: URLResponse?) throws {
                                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:36:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal init(url: URL?, response: URLResponse?) throws {
                                       ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:18:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
              let httpResponse = response as? HTTPURLResponse,
                                 ~~~~~~~~~^~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:18:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
              let httpResponse = response as? HTTPURLResponse,
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:19:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
              let headers = httpResponse.allHeaderFields as? [String: String] else {
                            ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:25:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        self.statusCode = httpResponse.statusCode
                          ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:38:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
              let httpResponse = response as? HTTPURLResponse,
                                 ~~~~~~~~~^~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:38:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
              let httpResponse = response as? HTTPURLResponse,
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:39:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
              let headers = httpResponse.allHeaderFields as? [String: String] else {
                            ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:45:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        self.statusCode = httpResponse.statusCode
                          ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:54:26: error: cannot find type 'URLRequest' in scope
        with urlRequest: URLRequest,
                         ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:68:26: error: cannot find type 'URLRequest' in scope
        with urlRequest: URLRequest,
                         ^~~~~~~~~~
[10/23] Compiling AdyenNetworking URLSessionHelpers.swift
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:50:10: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
internal extension URLSession {
         ^         ~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:16:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal init(data: Data?, response: URLResponse?) throws {
                                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:36:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal init(url: URL?, response: URLResponse?) throws {
                                       ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:18:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
              let httpResponse = response as? HTTPURLResponse,
                                 ~~~~~~~~~^~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:18:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
              let httpResponse = response as? HTTPURLResponse,
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:19:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
              let headers = httpResponse.allHeaderFields as? [String: String] else {
                            ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:25:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        self.statusCode = httpResponse.statusCode
                          ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:38:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
              let httpResponse = response as? HTTPURLResponse,
                                 ~~~~~~~~~^~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:38:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
              let httpResponse = response as? HTTPURLResponse,
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:39:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
              let headers = httpResponse.allHeaderFields as? [String: String] else {
                            ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:45:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        self.statusCode = httpResponse.statusCode
                          ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:54:26: error: cannot find type 'URLRequest' in scope
        with urlRequest: URLRequest,
                         ^~~~~~~~~~
/host/spi-builder-workspace/AdyenNetworking/Helpers/URLSessionHelpers.swift:68:26: error: cannot find type 'URLRequest' in scope
        with urlRequest: URLRequest,
                         ^~~~~~~~~~
[11/23] Compiling AdyenNetworking Errors.swift
/host/spi-builder-workspace/AdyenNetworking/APIClient/Request.swift:74:16: warning: stored property 'url' of 'Sendable'-conforming struct 'DownloadResponse' has non-sendable type 'URL'
    public let url: URL
               ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/Request.swift:7:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[12/23] Compiling AdyenNetworking HTTPResponse.swift
/host/spi-builder-workspace/AdyenNetworking/APIClient/Request.swift:74:16: warning: stored property 'url' of 'Sendable'-conforming struct 'DownloadResponse' has non-sendable type 'URL'
    public let url: URL
               ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/Request.swift:7:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[13/23] Compiling AdyenNetworking Request.swift
/host/spi-builder-workspace/AdyenNetworking/APIClient/Request.swift:74:16: warning: stored property 'url' of 'Sendable'-conforming struct 'DownloadResponse' has non-sendable type 'URL'
    public let url: URL
               ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/AdyenNetworking/APIClient/Request.swift:7:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[14/23] Compiling AdyenNetworking RetryAPIClient.swift
[15/23] Compiling AdyenNetworking RetryOnErrorAPIClient.swift
[16/23] Compiling AdyenNetworking Scheduler.swift
[17/23] Compiling AdyenNetworking DebugLogging.swift
[18/23] Compiling AdyenNetworking Logging.swift
[19/23] Compiling AdyenNetworking Coder.swift
[20/23] Compiling AdyenNetworking DebugLogger.swift
[21/23] Compiling AdyenNetworking AnyCoder.swift
[22/23] Compiling AdyenNetworking AnyResponseValidator.swift
[23/23] Compiling AdyenNetworking BackoffScheduler.swift
error: fatalError
BUILD FAILURE 5.10 linux