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 TriforkSwiftNetworking with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
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:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/trifork/TriforkSwiftNetworking.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/17] Compiling TriforkSwiftNetworking Response.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[5/18] Compiling TriforkSwiftNetworking EntityResponse.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[6/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.
    public static func response(url: URL, statusCode: Int = 200, headers: [String: String]? = nil) -> HTTPURLResponse? {
                                                                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionStubResponses.swift:12:9: error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        HTTPURLResponse(
        ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionStubResponses.swift:15:26: error: 'nil' requires a contextual type
            httpVersion: nil,
                         ^
[7/18] 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.
    public let response: URLResponse?
                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    private init(response: URLResponse?, error: NSError?, data: Data?) {
                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    public static func dataResponse(data: Data, response: URLResponse) -> URLSessionStubResult {
                                                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[8/18] Compiling TriforkSwiftNetworking CollectionResponse.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[9/18] Compiling TriforkSwiftNetworking HTTPRequest.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[10/18] Compiling TriforkSwiftNetworking NetworkSession.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[11/18] Compiling TriforkSwiftNetworking URLSession+NetworkSession.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/18] Emitting module TSNMockHelpers
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSession+Extensions.swift:3:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:4:2: error: Objective-C interoperability is disabled
@objc class URLSessionMockProtocol: URLProtocol {
~^~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:6:47: error: cannot find type 'URLRequest' in scope
    override class func canInit(with request: URLRequest) -> Bool {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:6:25: error: method does not override any method from its superclass
    override class func canInit(with request: URLRequest) -> Bool {
    ~~~~~~~~            ^
/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.
    override class func canInit(with task: URLSessionTask) -> Bool {
                                           ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:10:25: error: method does not override any method from its superclass
    override class func canInit(with task: URLSessionTask) -> Bool {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:70: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:55: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:25: error: method does not override any method from its superclass
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:18:19: error: method does not override any method from its superclass
    override func startLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:37:19: error: method does not override any method from its superclass
    override func stopLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:4:13: error: only protocols can inherit from 'AnyObject'
@objc class URLSessionMockProtocol: URLProtocol {
            ^
/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.
@objc class URLSessionMockProtocol: URLProtocol {
                                    ^~~~~~~~~~~
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
public typealias URLProtocol = AnyObject
                 ^
/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.
    public let response: URLResponse?
                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    private init(response: URLResponse?, error: NSError?, data: Data?) {
                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    public static func dataResponse(data: Data, response: URLResponse) -> URLSessionStubResult {
                                                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    public static func response(url: URL, statusCode: Int = 200, headers: [String: String]? = nil) -> HTTPURLResponse? {
                                                                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[13/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
extension URLSession {
^         ~~~~~~~~~~
[14/18] Compiling TSNMockHelpers URLSessionMockProtocol.swift
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:4:2: error: Objective-C interoperability is disabled
@objc class URLSessionMockProtocol: URLProtocol {
~^~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:6:47: error: cannot find type 'URLRequest' in scope
    override class func canInit(with request: URLRequest) -> Bool {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:6:25: error: method does not override any method from its superclass
    override class func canInit(with request: URLRequest) -> Bool {
    ~~~~~~~~            ^
/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.
    override class func canInit(with task: URLSessionTask) -> Bool {
                                           ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:10:25: error: method does not override any method from its superclass
    override class func canInit(with task: URLSessionTask) -> Bool {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:70: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:55: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:25: error: method does not override any method from its superclass
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:18:19: error: method does not override any method from its superclass
    override func startLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:37:19: error: method does not override any method from its superclass
    override func stopLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:4:13: error: only protocols can inherit from 'AnyObject'
@objc class URLSessionMockProtocol: URLProtocol {
            ^
/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.
@objc class URLSessionMockProtocol: URLProtocol {
                                    ^~~~~~~~~~~
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
public typealias URLProtocol = AnyObject
                 ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:19:63: error: cannot find 'request' in scope
        if let results = URLSessionStubResults.resultsForUrls[request.url] {
                                                              ^~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:21:22: error: value of type 'URLSessionMockProtocol' has no member 'client'
                self.client?.urlProtocol(self, didLoad: data)
                ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:25:22: error: value of type 'URLSessionMockProtocol' has no member 'client'
                self.client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
                ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:25:91: error: cannot infer contextual base in reference to member 'notAllowed'
                self.client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
                                                                                         ~^~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:29:22: error: value of type 'URLSessionMockProtocol' has no member 'client'
                self.client?.urlProtocol(self, didFailWithError: error)
                ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:33:14: error: value of type 'URLSessionMockProtocol' has no member 'client'
        self.client?.urlProtocolDidFinishLoading(self)
        ~~~~ ^~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/18] Emitting module TriforkSwiftNetworking
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[16/18] Compiling TriforkSwiftNetworking URL+URLComponents.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[17/18] Compiling TriforkSwiftNetworking Logger.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[18/18] Compiling TriforkSwiftNetworking TriforkSwiftNetworkingConfig.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling TriforkSwiftNetworking EntityResponse.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[3/16] Compiling TriforkSwiftNetworking Response.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[4/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.
    public static func response(url: URL, statusCode: Int = 200, headers: [String: String]? = nil) -> HTTPURLResponse? {
                                                                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionStubResponses.swift:12:9: error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        HTTPURLResponse(
        ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionStubResponses.swift:15:26: error: 'nil' requires a contextual type
            httpVersion: nil,
                         ^
[5/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.
    public let response: URLResponse?
                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    private init(response: URLResponse?, error: NSError?, data: Data?) {
                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    public static func dataResponse(data: Data, response: URLResponse) -> URLSessionStubResult {
                                                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[6/16] Compiling TSNMockHelpers URLSessionMockProtocol.swift
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:4:2: error: Objective-C interoperability is disabled
@objc class URLSessionMockProtocol: URLProtocol {
~^~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:6:47: error: cannot find type 'URLRequest' in scope
    override class func canInit(with request: URLRequest) -> Bool {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:6:25: error: method does not override any method from its superclass
    override class func canInit(with request: URLRequest) -> Bool {
    ~~~~~~~~            ^
/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.
    override class func canInit(with task: URLSessionTask) -> Bool {
                                           ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:10:25: error: method does not override any method from its superclass
    override class func canInit(with task: URLSessionTask) -> Bool {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:70: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:55: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:25: error: method does not override any method from its superclass
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:18:19: error: method does not override any method from its superclass
    override func startLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:37:19: error: method does not override any method from its superclass
    override func stopLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:4:13: error: only protocols can inherit from 'AnyObject'
@objc class URLSessionMockProtocol: URLProtocol {
            ^
/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.
@objc class URLSessionMockProtocol: URLProtocol {
                                    ^~~~~~~~~~~
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
public typealias URLProtocol = AnyObject
                 ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:19:63: error: cannot find 'request' in scope
        if let results = URLSessionStubResults.resultsForUrls[request.url] {
                                                              ^~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:21:22: error: value of type 'URLSessionMockProtocol' has no member 'client'
                self.client?.urlProtocol(self, didLoad: data)
                ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:25:22: error: value of type 'URLSessionMockProtocol' has no member 'client'
                self.client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
                ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:25:91: error: cannot infer contextual base in reference to member 'notAllowed'
                self.client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
                                                                                         ~^~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:29:22: error: value of type 'URLSessionMockProtocol' has no member 'client'
                self.client?.urlProtocol(self, didFailWithError: error)
                ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:33:14: error: value of type 'URLSessionMockProtocol' has no member 'client'
        self.client?.urlProtocolDidFinishLoading(self)
        ~~~~ ^~~~~~
[7/16] Compiling TriforkSwiftNetworking CollectionResponse.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/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
extension URLSession {
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:4:2: error: Objective-C interoperability is disabled
@objc class URLSessionMockProtocol: URLProtocol {
~^~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:6:47: error: cannot find type 'URLRequest' in scope
    override class func canInit(with request: URLRequest) -> Bool {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:6:25: error: method does not override any method from its superclass
    override class func canInit(with request: URLRequest) -> Bool {
    ~~~~~~~~            ^
/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.
    override class func canInit(with task: URLSessionTask) -> Bool {
                                           ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:10:25: error: method does not override any method from its superclass
    override class func canInit(with task: URLSessionTask) -> Bool {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:70: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:55: error: cannot find type 'URLRequest' in scope
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:14:25: error: method does not override any method from its superclass
    override class func canonicalRequest(for request: URLRequest) -> URLRequest {
    ~~~~~~~~            ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:18:19: error: method does not override any method from its superclass
    override func startLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:37:19: error: method does not override any method from its superclass
    override func stopLoading() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/TSNMockHelpers/URLSessionMockProtocol.swift:4:13: error: only protocols can inherit from 'AnyObject'
@objc class URLSessionMockProtocol: URLProtocol {
            ^
/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.
@objc class URLSessionMockProtocol: URLProtocol {
                                    ^~~~~~~~~~~
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
public typealias URLProtocol = AnyObject
                 ^
/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.
    public let response: URLResponse?
                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    private init(response: URLResponse?, error: NSError?, data: Data?) {
                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    public static func dataResponse(data: Data, response: URLResponse) -> URLSessionStubResult {
                                                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    public static func response(url: URL, statusCode: Int = 200, headers: [String: String]? = nil) -> HTTPURLResponse? {
                                                                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[9/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
extension URLSession {
^         ~~~~~~~~~~
[10/16] Compiling TriforkSwiftNetworking URLSession+NetworkSession.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/16] Emitting module TriforkSwiftNetworking
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[12/16] Compiling TriforkSwiftNetworking URL+URLComponents.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[13/16] Compiling TriforkSwiftNetworking NetworkSession.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[14/16] Compiling TriforkSwiftNetworking HTTPRequest.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[15/16] Compiling TriforkSwiftNetworking Logger.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
[16/16] Compiling TriforkSwiftNetworking TriforkSwiftNetworkingConfig.swift
/host/spi-builder-workspace/Sources/TriforkSwiftNetworking/Config/Logger.swift:2:8: error: no such module 'os.log'
import os.log
       ^
error: fatalError
BUILD FAILURE 5.10 linux