The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TriforkSwiftNetworking, reference main (4ff071), with Swift 6.1 for Android on 28 May 2025 01:11:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/trifork/TriforkSwiftNetworking.git
Reference: main
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/trifork/TriforkSwiftNetworking
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4ff0711 Merge pull request #5 from trifork/tkc/mock-helpers
Cloned https://github.com/trifork/TriforkSwiftNetworking.git
Revision (git rev-parse @):
4ff071159447d6f4fe6c4454d4538aabe112029e
SUCCESS checkout https://github.com/trifork/TriforkSwiftNetworking.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/trifork/TriforkSwiftNetworking.git
https://github.com/trifork/TriforkSwiftNetworking.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TriforkSwiftNetworking",
  "name" : "TriforkSwiftNetworking",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TriforkSwiftNetworking",
      "targets" : [
        "TriforkSwiftNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TSNMockHelpers",
      "targets" : [
        "TSNMockHelpers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TriforkSwiftNetworkingTests",
      "module_type" : "SwiftTarget",
      "name" : "TriforkSwiftNetworkingTests",
      "path" : "Tests/TriforkSwiftNetworkingTests",
      "sources" : [
        "Helpers/MockNetworkSession.swift",
        "Helpers/TestRequest.swift",
        "HttpRequestTests.swift",
        "NetworkSessionTests.swift",
        "RequestBuilderTests.swift"
      ],
      "target_dependencies" : [
        "TriforkSwiftNetworking",
        "TSNMockHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TriforkSwiftNetworking",
      "module_type" : "SwiftTarget",
      "name" : "TriforkSwiftNetworking",
      "path" : "Sources/TriforkSwiftNetworking",
      "product_memberships" : [
        "TriforkSwiftNetworking"
      ],
      "sources" : [
        "Config/Logger.swift",
        "Config/TriforkSwiftNetworkingConfig.swift",
        "Extensions/URL+URLComponents.swift",
        "NetworkSession.swift",
        "Request/HTTPRequest.swift",
        "Response/CollectionResponse.swift",
        "Response/EntityResponse.swift",
        "Response/Response.swift",
        "URLSession+NetworkSession.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TSNMockHelpersTests",
      "module_type" : "SwiftTarget",
      "name" : "TSNMockHelpersTests",
      "path" : "Tests/TSNMockHelpersTests",
      "sources" : [
        "URLSessionMockTests.swift"
      ],
      "target_dependencies" : [
        "TSNMockHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TSNMockHelpers",
      "module_type" : "SwiftTarget",
      "name" : "TSNMockHelpers",
      "path" : "Sources/TSNMockHelpers",
      "product_memberships" : [
        "TSNMockHelpers"
      ],
      "sources" : [
        "URLSession+Extensions.swift",
        "URLSessionMockProtocol.swift",
        "URLSessionMockResult.swift",
        "URLSessionStubResponses.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/17] Emitting module TSNMockHelpers
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSession+Extensions.swift:3:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 1 | import Foundation
 2 |
 3 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 |     /// Creates a `URLSession` which mocks all requests with results provided via `URLSessionStubResults`
 5 |     public static var mockSession: URLSession {
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:4:2: error: Objective-C interoperability is disabled
 2 |
 3 | /// Internal protocol class for mocking `URLSession`
 4 | @objc class URLSessionMockProtocol: URLProtocol {
   |  `- error: Objective-C interoperability is disabled
 5 |
 6 |     override class func canInit(with request: URLRequest) -> Bool {
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:6:47: error: cannot find type 'URLRequest' in scope
 4 | @objc class URLSessionMockProtocol: URLProtocol {
 5 |
 6 |     override class func canInit(with request: URLRequest) -> Bool {
   |                                               `- error: cannot find type 'URLRequest' in scope
 7 |         return true
 8 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:10:44: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |     }
 9 |
10 |     override class func canInit(with task: URLSessionTask) -> Bool {
   |                                            `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |         return true
12 |     }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:10:25: error: method does not override any method from its superclass
 8 |     }
 9 |
10 |     override class func canInit(with task: URLSessionTask) -> Bool {
   |                         `- error: method does not override any method from its superclass
11 |         return true
12 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:70: error: cannot find type 'URLRequest' in scope
12 |     }
13 |
14 |     override class func canonicalRequest(for request: URLRequest) -> URLRequest {
   |                                                                      `- error: cannot find type 'URLRequest' in scope
15 |         return request
16 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:55: error: cannot find type 'URLRequest' in scope
12 |     }
13 |
14 |     override class func canonicalRequest(for request: URLRequest) -> URLRequest {
   |                                                       `- error: cannot find type 'URLRequest' in scope
15 |         return request
16 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:18:19: error: method does not override any method from its superclass
16 |     }
17 |
18 |     override func startLoading() {
   |                   `- error: method does not override any method from its superclass
19 |         if let results = URLSessionStubResults.resultsForUrls[request.url] {
20 |             if let data = results.data {
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:37:19: error: method does not override any method from its superclass
35 |
36 |     // This method is required, but we doesn't need to do anything
37 |     override func stopLoading() {
   |                   `- error: method does not override any method from its superclass
38 |
39 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:4:37: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 2 |
 3 | /// Internal protocol class for mocking `URLSession`
 4 | @objc class URLSessionMockProtocol: URLProtocol {
   |                                     `- error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 |     override class func canInit(with request: URLRequest) -> Bool {
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLProtocol = AnyObject
  |                  `- note: 'URLProtocol' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockResult.swift:6:23: warning: static property 'resultsForUrls' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | public struct URLSessionStubResults {
 5 |     /// Contains stub results for specific URLs, which will be used when mocking `URLSession` via `URLSessionMockProtocol`
 6 |     public static var resultsForUrls: [URL?: URLSessionStubResult] = [:]
   |                       |- warning: static property 'resultsForUrls' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'resultsForUrls' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'resultsForUrls' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |     /// Resets the stub storage
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockResult.swift:16:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | /// Stub results for `URLSession` mocking via `URLSessionMockProtocol`
15 | public struct URLSessionStubResult {
16 |     public let response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     public let error: NSError?
18 |     public let data: Data?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockResult.swift:21:28: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |     /// Private init to make sure that we don't create unrealistic setups
21 |     private init(response: URLResponse?, error: NSError?, data: Data?) {
   |                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |         self.response = response
23 |         self.error = error
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockResult.swift:28:59: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |
27 |     /// Stub for successful networkRequest with response and data
28 |     public static func dataResponse(data: Data, response: URLResponse) -> URLSessionStubResult {
   |                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |         URLSessionStubResult(
30 |             response: response,
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionStubResponses.swift:11:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     ///   - statusCode: Defaults to `200`
10 |     ///   - headers: HTTP headers.
11 |     public static func response(url: URL, statusCode: Int = 200, headers: [String: String]? = nil) -> HTTPURLResponse? {
   |                                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         HTTPURLResponse(
13 |             url: url,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[5/17] Compiling TriforkSwiftNetworking Response.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | final class Logger {
[6/18] Compiling TriforkSwiftNetworking CollectionResponse.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | final class Logger {
[7/18] Compiling TriforkSwiftNetworking EntityResponse.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | final class Logger {
[8/18] Compiling TSNMockHelpers URLSessionStubResponses.swift
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionStubResponses.swift:11:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     ///   - statusCode: Defaults to `200`
10 |     ///   - headers: HTTP headers.
11 |     public static func response(url: URL, statusCode: Int = 200, headers: [String: String]? = nil) -> HTTPURLResponse? {
   |                                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         HTTPURLResponse(
13 |             url: url,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionStubResponses.swift:12:9: error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
10 |     ///   - headers: HTTP headers.
11 |     public static func response(url: URL, statusCode: Int = 200, headers: [String: String]? = nil) -> HTTPURLResponse? {
12 |         HTTPURLResponse(
   |         `- error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
13 |             url: url,
14 |             statusCode: statusCode,
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionStubResponses.swift:15:26: error: 'nil' requires a contextual type
13 |             url: url,
14 |             statusCode: statusCode,
15 |             httpVersion: nil,
   |                          `- error: 'nil' requires a contextual type
16 |             headerFields: headers
17 |         )
[9/18] Compiling TSNMockHelpers URLSessionMockProtocol.swift
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:4:2: error: Objective-C interoperability is disabled
 2 |
 3 | /// Internal protocol class for mocking `URLSession`
 4 | @objc class URLSessionMockProtocol: URLProtocol {
   |  `- error: Objective-C interoperability is disabled
 5 |
 6 |     override class func canInit(with request: URLRequest) -> Bool {
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:6:47: error: cannot find type 'URLRequest' in scope
 4 | @objc class URLSessionMockProtocol: URLProtocol {
 5 |
 6 |     override class func canInit(with request: URLRequest) -> Bool {
   |                                               `- error: cannot find type 'URLRequest' in scope
 7 |         return true
 8 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:10:44: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |     }
 9 |
10 |     override class func canInit(with task: URLSessionTask) -> Bool {
   |                                            `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |         return true
12 |     }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:10:25: error: method does not override any method from its superclass
 8 |     }
 9 |
10 |     override class func canInit(with task: URLSessionTask) -> Bool {
   |                         `- error: method does not override any method from its superclass
11 |         return true
12 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:70: error: cannot find type 'URLRequest' in scope
12 |     }
13 |
14 |     override class func canonicalRequest(for request: URLRequest) -> URLRequest {
   |                                                                      `- error: cannot find type 'URLRequest' in scope
15 |         return request
16 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:55: error: cannot find type 'URLRequest' in scope
12 |     }
13 |
14 |     override class func canonicalRequest(for request: URLRequest) -> URLRequest {
   |                                                       `- error: cannot find type 'URLRequest' in scope
15 |         return request
16 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:18:19: error: method does not override any method from its superclass
16 |     }
17 |
18 |     override func startLoading() {
   |                   `- error: method does not override any method from its superclass
19 |         if let results = URLSessionStubResults.resultsForUrls[request.url] {
20 |             if let data = results.data {
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:37:19: error: method does not override any method from its superclass
35 |
36 |     // This method is required, but we doesn't need to do anything
37 |     override func stopLoading() {
   |                   `- error: method does not override any method from its superclass
38 |
39 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:4:37: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 2 |
 3 | /// Internal protocol class for mocking `URLSession`
 4 | @objc class URLSessionMockProtocol: URLProtocol {
   |                                     `- error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 |     override class func canInit(with request: URLRequest) -> Bool {
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLProtocol = AnyObject
  |                  `- note: 'URLProtocol' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:19:63: error: cannot find 'request' in scope
17 |
18 |     override func startLoading() {
19 |         if let results = URLSessionStubResults.resultsForUrls[request.url] {
   |                                                               `- error: cannot find 'request' in scope
20 |             if let data = results.data {
21 |                 self.client?.urlProtocol(self, didLoad: data)
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:21:22: error: value of type 'URLSessionMockProtocol' has no member 'client'
19 |         if let results = URLSessionStubResults.resultsForUrls[request.url] {
20 |             if let data = results.data {
21 |                 self.client?.urlProtocol(self, didLoad: data)
   |                      `- error: value of type 'URLSessionMockProtocol' has no member 'client'
22 |             }
23 |
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:25:22: error: value of type 'URLSessionMockProtocol' has no member 'client'
23 |
24 |             if let response = results.response {
25 |                 self.client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
   |                      `- error: value of type 'URLSessionMockProtocol' has no member 'client'
26 |             }
27 |
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:25:91: error: cannot infer contextual base in reference to member 'notAllowed'
23 |
24 |             if let response = results.response {
25 |                 self.client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
   |                                                                                           `- error: cannot infer contextual base in reference to member 'notAllowed'
26 |             }
27 |
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:29:22: error: value of type 'URLSessionMockProtocol' has no member 'client'
27 |
28 |             if let error = results.error {
29 |                 self.client?.urlProtocol(self, didFailWithError: error)
   |                      `- error: value of type 'URLSessionMockProtocol' has no member 'client'
30 |             }
31 |         }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:33:14: error: value of type 'URLSessionMockProtocol' has no member 'client'
31 |         }
32 |
33 |         self.client?.urlProtocolDidFinishLoading(self)
   |              `- error: value of type 'URLSessionMockProtocol' has no member 'client'
34 |     }
35 |
[10/18] Compiling TSNMockHelpers URLSessionMockResult.swift
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockResult.swift:6:23: warning: static property 'resultsForUrls' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | public struct URLSessionStubResults {
 5 |     /// Contains stub results for specific URLs, which will be used when mocking `URLSession` via `URLSessionMockProtocol`
 6 |     public static var resultsForUrls: [URL?: URLSessionStubResult] = [:]
   |                       |- warning: static property 'resultsForUrls' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'resultsForUrls' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'resultsForUrls' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |     /// Resets the stub storage
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockResult.swift:16:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | /// Stub results for `URLSession` mocking via `URLSessionMockProtocol`
15 | public struct URLSessionStubResult {
16 |     public let response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     public let error: NSError?
18 |     public let data: Data?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockResult.swift:21:28: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |     /// Private init to make sure that we don't create unrealistic setups
21 |     private init(response: URLResponse?, error: NSError?, data: Data?) {
   |                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |         self.response = response
23 |         self.error = error
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockResult.swift:28:59: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |
27 |     /// Stub for successful networkRequest with response and data
28 |     public static func dataResponse(data: Data, response: URLResponse) -> URLSessionStubResult {
   |                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |         URLSessionStubResult(
30 |             response: response,
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
[11/18] Compiling TSNMockHelpers URLSession+Extensions.swift
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSession+Extensions.swift:3:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 1 | import Foundation
 2 |
 3 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 |     /// Creates a `URLSession` which mocks all requests with results provided via `URLSessionStubResults`
 5 |     public static var mockSession: URLSession {
[12/18] Compiling TriforkSwiftNetworking URL+URLComponents.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | final class Logger {
[13/18] Compiling TriforkSwiftNetworking NetworkSession.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | final class Logger {
[14/18] Compiling TriforkSwiftNetworking Logger.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | final class Logger {
[15/18] Compiling TriforkSwiftNetworking TriforkSwiftNetworkingConfig.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | final class Logger {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/18] Emitting module TriforkSwiftNetworking
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | final class Logger {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling TriforkSwiftNetworking URL+URLComponents.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | final class Logger {
[3/16] Compiling TSNMockHelpers URLSessionMockProtocol.swift
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:4:2: error: Objective-C interoperability is disabled
 2 |
 3 | /// Internal protocol class for mocking `URLSession`
 4 | @objc class URLSessionMockProtocol: URLProtocol {
   |  `- error: Objective-C interoperability is disabled
 5 |
 6 |     override class func canInit(with request: URLRequest) -> Bool {
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:6:47: error: cannot find type 'URLRequest' in scope
 4 | @objc class URLSessionMockProtocol: URLProtocol {
 5 |
 6 |     override class func canInit(with request: URLRequest) -> Bool {
   |                                               `- error: cannot find type 'URLRequest' in scope
 7 |         return true
 8 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:10:44: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |     }
 9 |
10 |     override class func canInit(with task: URLSessionTask) -> Bool {
   |                                            `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |         return true
12 |     }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:10:25: error: method does not override any method from its superclass
 8 |     }
 9 |
10 |     override class func canInit(with task: URLSessionTask) -> Bool {
   |                         `- error: method does not override any method from its superclass
11 |         return true
12 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:70: error: cannot find type 'URLRequest' in scope
12 |     }
13 |
14 |     override class func canonicalRequest(for request: URLRequest) -> URLRequest {
   |                                                                      `- error: cannot find type 'URLRequest' in scope
15 |         return request
16 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:55: error: cannot find type 'URLRequest' in scope
12 |     }
13 |
14 |     override class func canonicalRequest(for request: URLRequest) -> URLRequest {
   |                                                       `- error: cannot find type 'URLRequest' in scope
15 |         return request
16 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:18:19: error: method does not override any method from its superclass
16 |     }
17 |
18 |     override func startLoading() {
   |                   `- error: method does not override any method from its superclass
19 |         if let results = URLSessionStubResults.resultsForUrls[request.url] {
20 |             if let data = results.data {
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:37:19: error: method does not override any method from its superclass
35 |
36 |     // This method is required, but we doesn't need to do anything
37 |     override func stopLoading() {
   |                   `- error: method does not override any method from its superclass
38 |
39 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:4:37: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 2 |
 3 | /// Internal protocol class for mocking `URLSession`
 4 | @objc class URLSessionMockProtocol: URLProtocol {
   |                                     `- error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 |     override class func canInit(with request: URLRequest) -> Bool {
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLProtocol = AnyObject
  |                  `- note: 'URLProtocol' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:19:63: error: cannot find 'request' in scope
17 |
18 |     override func startLoading() {
19 |         if let results = URLSessionStubResults.resultsForUrls[request.url] {
   |                                                               `- error: cannot find 'request' in scope
20 |             if let data = results.data {
21 |                 self.client?.urlProtocol(self, didLoad: data)
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:21:22: error: value of type 'URLSessionMockProtocol' has no member 'client'
19 |         if let results = URLSessionStubResults.resultsForUrls[request.url] {
20 |             if let data = results.data {
21 |                 self.client?.urlProtocol(self, didLoad: data)
   |                      `- error: value of type 'URLSessionMockProtocol' has no member 'client'
22 |             }
23 |
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:25:22: error: value of type 'URLSessionMockProtocol' has no member 'client'
23 |
24 |             if let response = results.response {
25 |                 self.client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
   |                      `- error: value of type 'URLSessionMockProtocol' has no member 'client'
26 |             }
27 |
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:25:91: error: cannot infer contextual base in reference to member 'notAllowed'
23 |
24 |             if let response = results.response {
25 |                 self.client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
   |                                                                                           `- error: cannot infer contextual base in reference to member 'notAllowed'
26 |             }
27 |
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:29:22: error: value of type 'URLSessionMockProtocol' has no member 'client'
27 |
28 |             if let error = results.error {
29 |                 self.client?.urlProtocol(self, didFailWithError: error)
   |                      `- error: value of type 'URLSessionMockProtocol' has no member 'client'
30 |             }
31 |         }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:33:14: error: value of type 'URLSessionMockProtocol' has no member 'client'
31 |         }
32 |
33 |         self.client?.urlProtocolDidFinishLoading(self)
   |              `- error: value of type 'URLSessionMockProtocol' has no member 'client'
34 |     }
35 |
[4/16] Compiling TSNMockHelpers URLSessionMockResult.swift
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockResult.swift:16:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | /// Stub results for `URLSession` mocking via `URLSessionMockProtocol`
15 | public struct URLSessionStubResult {
16 |     public let response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     public let error: NSError?
18 |     public let data: Data?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockResult.swift:21:28: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |     /// Private init to make sure that we don't create unrealistic setups
21 |     private init(response: URLResponse?, error: NSError?, data: Data?) {
   |                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |         self.response = response
23 |         self.error = error
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockResult.swift:28:59: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |
27 |     /// Stub for successful networkRequest with response and data
28 |     public static func dataResponse(data: Data, response: URLResponse) -> URLSessionStubResult {
   |                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |         URLSessionStubResult(
30 |             response: response,
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
[5/16] Compiling TSNMockHelpers URLSession+Extensions.swift
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSession+Extensions.swift:3:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 1 | import Foundation
 2 |
 3 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 |     /// Creates a `URLSession` which mocks all requests with results provided via `URLSessionStubResults`
 5 |     public static var mockSession: URLSession {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/16] Emitting module TSNMockHelpers
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSession+Extensions.swift:3:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 1 | import Foundation
 2 |
 3 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 4 |     /// Creates a `URLSession` which mocks all requests with results provided via `URLSessionStubResults`
 5 |     public static var mockSession: URLSession {
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:4:2: error: Objective-C interoperability is disabled
 2 |
 3 | /// Internal protocol class for mocking `URLSession`
 4 | @objc class URLSessionMockProtocol: URLProtocol {
   |  `- error: Objective-C interoperability is disabled
 5 |
 6 |     override class func canInit(with request: URLRequest) -> Bool {
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:6:47: error: cannot find type 'URLRequest' in scope
 4 | @objc class URLSessionMockProtocol: URLProtocol {
 5 |
 6 |     override class func canInit(with request: URLRequest) -> Bool {
   |                                               `- error: cannot find type 'URLRequest' in scope
 7 |         return true
 8 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:10:44: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |     }
 9 |
10 |     override class func canInit(with task: URLSessionTask) -> Bool {
   |                                            `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |         return true
12 |     }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:10:25: error: method does not override any method from its superclass
 8 |     }
 9 |
10 |     override class func canInit(with task: URLSessionTask) -> Bool {
   |                         `- error: method does not override any method from its superclass
11 |         return true
12 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:70: error: cannot find type 'URLRequest' in scope
12 |     }
13 |
14 |     override class func canonicalRequest(for request: URLRequest) -> URLRequest {
   |                                                                      `- error: cannot find type 'URLRequest' in scope
15 |         return request
16 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:55: error: cannot find type 'URLRequest' in scope
12 |     }
13 |
14 |     override class func canonicalRequest(for request: URLRequest) -> URLRequest {
   |                                                       `- error: cannot find type 'URLRequest' in scope
15 |         return request
16 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:18:19: error: method does not override any method from its superclass
16 |     }
17 |
18 |     override func startLoading() {
   |                   `- error: method does not override any method from its superclass
19 |         if let results = URLSessionStubResults.resultsForUrls[request.url] {
20 |             if let data = results.data {
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:37:19: error: method does not override any method from its superclass
35 |
36 |     // This method is required, but we doesn't need to do anything
37 |     override func stopLoading() {
   |                   `- error: method does not override any method from its superclass
38 |
39 |     }
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:4:37: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 2 |
 3 | /// Internal protocol class for mocking `URLSession`
 4 | @objc class URLSessionMockProtocol: URLProtocol {
   |                                     `- error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 |     override class func canInit(with request: URLRequest) -> Bool {
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLProtocol = AnyObject
  |                  `- note: 'URLProtocol' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockResult.swift:16:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | /// Stub results for `URLSession` mocking via `URLSessionMockProtocol`
15 | public struct URLSessionStubResult {
16 |     public let response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     public let error: NSError?
18 |     public let data: Data?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockResult.swift:21:28: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |     /// Private init to make sure that we don't create unrealistic setups
21 |     private init(response: URLResponse?, error: NSError?, data: Data?) {
   |                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |         self.response = response
23 |         self.error = error
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockResult.swift:28:59: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |
27 |     /// Stub for successful networkRequest with response and data
28 |     public static func dataResponse(data: Data, response: URLResponse) -> URLSessionStubResult {
   |                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |         URLSessionStubResult(
30 |             response: response,
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionStubResponses.swift:11:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     ///   - statusCode: Defaults to `200`
10 |     ///   - headers: HTTP headers.
11 |     public static func response(url: URL, statusCode: Int = 200, headers: [String: String]? = nil) -> HTTPURLResponse? {
   |                                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         HTTPURLResponse(
13 |             url: url,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[7/16] Compiling TSNMockHelpers URLSessionStubResponses.swift
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionStubResponses.swift:11:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     ///   - statusCode: Defaults to `200`
10 |     ///   - headers: HTTP headers.
11 |     public static func response(url: URL, statusCode: Int = 200, headers: [String: String]? = nil) -> HTTPURLResponse? {
   |                                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         HTTPURLResponse(
13 |             url: url,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionStubResponses.swift:12:9: error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
10 |     ///   - headers: HTTP headers.
11 |     public static func response(url: URL, statusCode: Int = 200, headers: [String: String]? = nil) -> HTTPURLResponse? {
12 |         HTTPURLResponse(
   |         `- error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
13 |             url: url,
14 |             statusCode: statusCode,
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionStubResponses.swift:15:26: error: 'nil' requires a contextual type
13 |             url: url,
14 |             statusCode: statusCode,
15 |             httpVersion: nil,
   |                          `- error: 'nil' requires a contextual type
16 |             headerFields: headers
17 |         )
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/16] Emitting module TriforkSwiftNetworking
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | final class Logger {
[9/16] Compiling TriforkSwiftNetworking Logger.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | final class Logger {
[10/16] Compiling TriforkSwiftNetworking TriforkSwiftNetworkingConfig.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | final class Logger {
[11/16] Compiling TriforkSwiftNetworking CollectionResponse.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | final class Logger {
[12/16] Compiling TriforkSwiftNetworking HTTPRequest.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | final class Logger {
[13/16] Compiling TriforkSwiftNetworking EntityResponse.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | final class Logger {
[14/16] Compiling TriforkSwiftNetworking Response.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
 1 | import Foundation
 2 | import os.log
   |        `- error: no such module 'os.log'
 3 |
 4 | final class Logger {
BUILD FAILURE 6.1 android