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 WebOSClient, reference main (754990), with Swift 5.10 for Linux on 16 Aug 2024 13:16:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.50.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jareksedy/WebOSClient.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/jareksedy/WebOSClient
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 754990e Add getPowerState method to retrieve the TVs power state.
Cloned https://github.com/jareksedy/WebOSClient.git
Revision (git rev-parse @):
754990e6a8321ebaba3f3bf8ff3c90c19e9f9719
SUCCESS checkout https://github.com/jareksedy/WebOSClient.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/jareksedy/WebOSClient.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:f99c45c6693c369319405b8761f4e4d2fe7d5bc9f23302c8842c79031f22f7c0
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/30] Emitting module WebOSClient
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/Message.swift:8:11: error: cannot find type 'URLSessionWebSocketTask' in scope
extension URLSessionWebSocketTask.Message {
          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/Logging.swift:21:36: error: cannot find type 'URLSessionWebSocketTask' in scope
    func logSentMessage(_ message: URLSessionWebSocketTask.Message) {
                                   ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/Logging.swift:34:49: error: cannot find type 'URLSessionWebSocketTask' in scope
    func logReceivedResponse(_ response: Result<URLSessionWebSocketTask.Message, any Error>) {
                                                ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/SendPing.swift:9:25: error: cannot find type 'URLSessionWebSocketTask' in scope
    func sendPing(task: URLSessionWebSocketTask?) {
                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:10:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:11:39: error: cannot find type 'URLSessionWebSocketTask' in scope
    private var primaryWebSocketTask: URLSessionWebSocketTask?
                                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:12:41: error: cannot find type 'URLSessionWebSocketTask' in scope
    private var secondaryWebSocketTask: URLSessionWebSocketTask?
                                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:88:21: error: cannot find type 'URLSessionWebSocketTask' in scope
        task: inout URLSessionWebSocketTask?
                    ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:96:20: error: cannot find type 'URLSessionWebSocketTask' in scope
        _ message: URLSessionWebSocketTask.Message,
                   ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:97:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        task: URLSessionWebSocketTask?
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:127:21: error: cannot find type 'URLSessionWebSocketTask' in scope
        _ response: URLSessionWebSocketTask.Message,
                    ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:184:24: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension WebOSClient: URLSessionWebSocketDelegate {
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:187:24: error: cannot find type 'URLSessionWebSocketTask' in scope
        webSocketTask: URLSessionWebSocketTask,
                       ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:186:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:204:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:205:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        task: URLSessionTask,
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:214:24: error: cannot find type 'URLSessionWebSocketTask' in scope
        webSocketTask: URLSessionWebSocketTask,
                       ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:215:33: error: cannot find type 'URLSessionWebSocketTask' in scope
        didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
                                ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:213:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:228:50: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                      ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:226:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:227:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        didReceive challenge: URLAuthenticationChallenge,
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
[4/33] Compiling WebOSClient WebOSResponseCurrentWidget.swift
[5/33] Compiling WebOSClient WebOSResponseDevice.swift
[6/33] Compiling WebOSClient WebOSResponseForegroundAppInfo.swift
[7/33] Compiling WebOSClient WebOSResponsePayload.swift
[8/33] Compiling WebOSClient WebOSTarget.swift
[9/33] Compiling WebOSClient WebOSPairingType.swift
[10/33] Compiling WebOSClient WebOSRequestType.swift
[11/33] Compiling WebOSClient WebOSRequestSignature.swift
[12/33] Compiling WebOSClient WebOSRequestSigned.swift
[13/33] Compiling WebOSClient WebOSResponse.swift
[14/33] Compiling WebOSClient WebOSResponseApplication.swift
[15/33] Compiling WebOSClient SendPing.swift
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/SendPing.swift:9:25: error: cannot find type 'URLSessionWebSocketTask' in scope
    func sendPing(task: URLSessionWebSocketTask?) {
                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/SendPing.swift:10:38: error: cannot infer type of closure parameter 'error' without a type annotation
        task?.sendPing { [weak self] error in
                                     ^
[16/33] Compiling WebOSClient WebOSRequest.swift
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/SendPing.swift:9:25: error: cannot find type 'URLSessionWebSocketTask' in scope
    func sendPing(task: URLSessionWebSocketTask?) {
                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/SendPing.swift:10:38: error: cannot infer type of closure parameter 'error' without a type annotation
        task?.sendPing { [weak self] error in
                                     ^
[17/33] Compiling WebOSClient WebOSRequestManifest.swift
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/SendPing.swift:9:25: error: cannot find type 'URLSessionWebSocketTask' in scope
    func sendPing(task: URLSessionWebSocketTask?) {
                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/SendPing.swift:10:38: error: cannot infer type of closure parameter 'error' without a type annotation
        task?.sendPing { [weak self] error in
                                     ^
[18/33] Compiling WebOSClient WebOSRequestPayload.swift
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/SendPing.swift:9:25: error: cannot find type 'URLSessionWebSocketTask' in scope
    func sendPing(task: URLSessionWebSocketTask?) {
                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/SendPing.swift:10:38: error: cannot infer type of closure parameter 'error' without a type annotation
        task?.sendPing { [weak self] error in
                                     ^
[19/33] Compiling WebOSClient WebOSResponseVolumeStatus.swift
[20/33] Compiling WebOSClient WebOSClientDelegate.swift
[21/33] Compiling WebOSClient WebOSClientProtocol.swift
[22/33] Compiling WebOSClient WebOSKeyTargetExtension.swift
[23/33] Compiling WebOSClient WebOSTargetExtension.swift
[24/33] Compiling WebOSClient WebOSKeyTargetProtocol.swift
[25/33] Compiling WebOSClient WebOSTargetProtocol.swift
[26/33] Compiling WebOSClient WebOSKeyTarget.swift
[27/33] Compiling WebOSClient Encodable.swift
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/Message.swift:8:11: error: cannot find type 'URLSessionWebSocketTask' in scope
extension URLSessionWebSocketTask.Message {
          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/Logging.swift:21:36: error: cannot find type 'URLSessionWebSocketTask' in scope
    func logSentMessage(_ message: URLSessionWebSocketTask.Message) {
                                   ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/Logging.swift:34:49: error: cannot find type 'URLSessionWebSocketTask' in scope
    func logReceivedResponse(_ response: Result<URLSessionWebSocketTask.Message, any Error>) {
                                                ^~~~~~~~~~~~~~~~~~~~~~~
[28/33] Compiling WebOSClient Message.swift
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/Message.swift:8:11: error: cannot find type 'URLSessionWebSocketTask' in scope
extension URLSessionWebSocketTask.Message {
          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/Logging.swift:21:36: error: cannot find type 'URLSessionWebSocketTask' in scope
    func logSentMessage(_ message: URLSessionWebSocketTask.Message) {
                                   ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/Logging.swift:34:49: error: cannot find type 'URLSessionWebSocketTask' in scope
    func logReceivedResponse(_ response: Result<URLSessionWebSocketTask.Message, any Error>) {
                                                ^~~~~~~~~~~~~~~~~~~~~~~
[29/33] Compiling WebOSClient String.swift
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/Message.swift:8:11: error: cannot find type 'URLSessionWebSocketTask' in scope
extension URLSessionWebSocketTask.Message {
          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/Logging.swift:21:36: error: cannot find type 'URLSessionWebSocketTask' in scope
    func logSentMessage(_ message: URLSessionWebSocketTask.Message) {
                                   ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/Logging.swift:34:49: error: cannot find type 'URLSessionWebSocketTask' in scope
    func logReceivedResponse(_ response: Result<URLSessionWebSocketTask.Message, any Error>) {
                                                ^~~~~~~~~~~~~~~~~~~~~~~
[30/33] Compiling WebOSClient Logging.swift
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/Message.swift:8:11: error: cannot find type 'URLSessionWebSocketTask' in scope
extension URLSessionWebSocketTask.Message {
          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/Logging.swift:21:36: error: cannot find type 'URLSessionWebSocketTask' in scope
    func logSentMessage(_ message: URLSessionWebSocketTask.Message) {
                                   ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/Logging.swift:34:49: error: cannot find type 'URLSessionWebSocketTask' in scope
    func logReceivedResponse(_ response: Result<URLSessionWebSocketTask.Message, any Error>) {
                                                ^~~~~~~~~~~~~~~~~~~~~~~
[31/33] Compiling WebOSClient WebOSResponseType.swift
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:10:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:11:39: error: cannot find type 'URLSessionWebSocketTask' in scope
    private var primaryWebSocketTask: URLSessionWebSocketTask?
                                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:12:41: error: cannot find type 'URLSessionWebSocketTask' in scope
    private var secondaryWebSocketTask: URLSessionWebSocketTask?
                                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:88:21: error: cannot find type 'URLSessionWebSocketTask' in scope
        task: inout URLSessionWebSocketTask?
                    ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:96:20: error: cannot find type 'URLSessionWebSocketTask' in scope
        _ message: URLSessionWebSocketTask.Message,
                   ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:97:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        task: URLSessionWebSocketTask?
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:127:21: error: cannot find type 'URLSessionWebSocketTask' in scope
        _ response: URLSessionWebSocketTask.Message,
                    ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:184:24: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension WebOSClient: URLSessionWebSocketDelegate {
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:187:24: error: cannot find type 'URLSessionWebSocketTask' in scope
        webSocketTask: URLSessionWebSocketTask,
                       ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:186:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:204:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:205:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        task: URLSessionTask,
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:214:24: error: cannot find type 'URLSessionWebSocketTask' in scope
        webSocketTask: URLSessionWebSocketTask,
                       ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:215:33: error: cannot find type 'URLSessionWebSocketTask' in scope
        didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
                                ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:213:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:228:50: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                      ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:226:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:227:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        didReceive challenge: URLAuthenticationChallenge,
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:37:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: nil)
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:37:49: error: cannot infer contextual base in reference to member 'default'
        urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: nil)
                                               ~^~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:37:89: error: 'nil' requires a contextual type
        urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: nil)
                                                                                        ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:38:16: error: argument passed to call that takes no arguments
        connect(url, task: &primaryWebSocketTask)
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:46:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.string(jsonRequest)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:52:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.string(jsonRequest)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:60:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.data(request)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:65:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.data(keyData)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/SendPing.swift:9:25: error: cannot find type 'URLSessionWebSocketTask' in scope
    func sendPing(task: URLSessionWebSocketTask?) {
                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:70:24: error: argument passed to call that takes no arguments
        sendPing(task: primaryWebSocketTask)
                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:76:47: error: cannot infer contextual base in reference to member 'goingAway'
        secondaryWebSocketTask?.cancel(with: .goingAway, reason: nil)
                                             ~^~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:76:66: error: 'nil' requires a contextual type
        secondaryWebSocketTask?.cancel(with: .goingAway, reason: nil)
                                                                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:77:45: error: cannot infer contextual base in reference to member 'goingAway'
        primaryWebSocketTask?.cancel(with: .goingAway, reason: nil)
                                           ~^~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:77:64: error: 'nil' requires a contextual type
        primaryWebSocketTask?.cancel(with: .goingAway, reason: nil)
                                                               ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:90:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
        task = urlSession?.webSocketTask(with: url)
               ~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:99:43: error: cannot infer type of closure parameter 'error' without a type annotation
        task?.send(message) { [weak self] error in
                                          ^
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/Logging.swift:21:36: error: cannot find type 'URLSessionWebSocketTask' in scope
    func logSentMessage(_ message: URLSessionWebSocketTask.Message) {
                                   ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:114:53: error: cannot infer type of closure parameter 'result' without a type annotation
        primaryWebSocketTask?.receive { [weak self] result in
                                                    ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:150:50: error: cannot infer contextual base in reference to member 'prompt'
            if response.payload?.pairingType == .prompt {
                                                ~^~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:153:50: error: cannot infer contextual base in reference to member 'pin'
            if response.payload?.pairingType == .pin {
                                                ~^~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:159:24: error: argument passed to call that takes no arguments
                connect(url, task: &secondaryWebSocketTask)
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:177:28: error: argument passed to call that takes no arguments
            sendPing(task: secondaryWebSocketTask)
                    ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:232:38: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
            .authenticationMethod == NSURLAuthenticationMethodServerTrust {
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:231:14: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
            .protectionSpace
             ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:234:18: error: cannot infer contextual base in reference to member 'useCredential'
                .useCredential,
                ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:235:17: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
                URLCredential(trust: challenge.protectionSpace.serverTrust!)
                ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:235:48: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
                URLCredential(trust: challenge.protectionSpace.serverTrust!)
                                     ~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:238:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:238:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
[32/33] Compiling WebOSClient WebOSSoundOutputType.swift
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:10:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:11:39: error: cannot find type 'URLSessionWebSocketTask' in scope
    private var primaryWebSocketTask: URLSessionWebSocketTask?
                                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:12:41: error: cannot find type 'URLSessionWebSocketTask' in scope
    private var secondaryWebSocketTask: URLSessionWebSocketTask?
                                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:88:21: error: cannot find type 'URLSessionWebSocketTask' in scope
        task: inout URLSessionWebSocketTask?
                    ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:96:20: error: cannot find type 'URLSessionWebSocketTask' in scope
        _ message: URLSessionWebSocketTask.Message,
                   ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:97:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        task: URLSessionWebSocketTask?
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:127:21: error: cannot find type 'URLSessionWebSocketTask' in scope
        _ response: URLSessionWebSocketTask.Message,
                    ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:184:24: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension WebOSClient: URLSessionWebSocketDelegate {
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:187:24: error: cannot find type 'URLSessionWebSocketTask' in scope
        webSocketTask: URLSessionWebSocketTask,
                       ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:186:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:204:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:205:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        task: URLSessionTask,
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:214:24: error: cannot find type 'URLSessionWebSocketTask' in scope
        webSocketTask: URLSessionWebSocketTask,
                       ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:215:33: error: cannot find type 'URLSessionWebSocketTask' in scope
        didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
                                ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:213:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:228:50: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                      ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:226:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:227:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        didReceive challenge: URLAuthenticationChallenge,
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:37:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: nil)
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:37:49: error: cannot infer contextual base in reference to member 'default'
        urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: nil)
                                               ~^~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:37:89: error: 'nil' requires a contextual type
        urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: nil)
                                                                                        ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:38:16: error: argument passed to call that takes no arguments
        connect(url, task: &primaryWebSocketTask)
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:46:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.string(jsonRequest)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:52:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.string(jsonRequest)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:60:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.data(request)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:65:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.data(keyData)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/SendPing.swift:9:25: error: cannot find type 'URLSessionWebSocketTask' in scope
    func sendPing(task: URLSessionWebSocketTask?) {
                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:70:24: error: argument passed to call that takes no arguments
        sendPing(task: primaryWebSocketTask)
                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:76:47: error: cannot infer contextual base in reference to member 'goingAway'
        secondaryWebSocketTask?.cancel(with: .goingAway, reason: nil)
                                             ~^~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:76:66: error: 'nil' requires a contextual type
        secondaryWebSocketTask?.cancel(with: .goingAway, reason: nil)
                                                                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:77:45: error: cannot infer contextual base in reference to member 'goingAway'
        primaryWebSocketTask?.cancel(with: .goingAway, reason: nil)
                                           ~^~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:77:64: error: 'nil' requires a contextual type
        primaryWebSocketTask?.cancel(with: .goingAway, reason: nil)
                                                               ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:90:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
        task = urlSession?.webSocketTask(with: url)
               ~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:99:43: error: cannot infer type of closure parameter 'error' without a type annotation
        task?.send(message) { [weak self] error in
                                          ^
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/Logging.swift:21:36: error: cannot find type 'URLSessionWebSocketTask' in scope
    func logSentMessage(_ message: URLSessionWebSocketTask.Message) {
                                   ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:114:53: error: cannot infer type of closure parameter 'result' without a type annotation
        primaryWebSocketTask?.receive { [weak self] result in
                                                    ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:150:50: error: cannot infer contextual base in reference to member 'prompt'
            if response.payload?.pairingType == .prompt {
                                                ~^~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:153:50: error: cannot infer contextual base in reference to member 'pin'
            if response.payload?.pairingType == .pin {
                                                ~^~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:159:24: error: argument passed to call that takes no arguments
                connect(url, task: &secondaryWebSocketTask)
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:177:28: error: argument passed to call that takes no arguments
            sendPing(task: secondaryWebSocketTask)
                    ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:232:38: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
            .authenticationMethod == NSURLAuthenticationMethodServerTrust {
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:231:14: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
            .protectionSpace
             ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:234:18: error: cannot infer contextual base in reference to member 'useCredential'
                .useCredential,
                ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:235:17: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
                URLCredential(trust: challenge.protectionSpace.serverTrust!)
                ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:235:48: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
                URLCredential(trust: challenge.protectionSpace.serverTrust!)
                                     ~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:238:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:238:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
[33/33] Compiling WebOSClient WebOSClient.swift
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:10:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var urlSession: URLSession?
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:11:39: error: cannot find type 'URLSessionWebSocketTask' in scope
    private var primaryWebSocketTask: URLSessionWebSocketTask?
                                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:12:41: error: cannot find type 'URLSessionWebSocketTask' in scope
    private var secondaryWebSocketTask: URLSessionWebSocketTask?
                                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:88:21: error: cannot find type 'URLSessionWebSocketTask' in scope
        task: inout URLSessionWebSocketTask?
                    ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:96:20: error: cannot find type 'URLSessionWebSocketTask' in scope
        _ message: URLSessionWebSocketTask.Message,
                   ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:97:15: error: cannot find type 'URLSessionWebSocketTask' in scope
        task: URLSessionWebSocketTask?
              ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:127:21: error: cannot find type 'URLSessionWebSocketTask' in scope
        _ response: URLSessionWebSocketTask.Message,
                    ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:184:24: error: cannot find type 'URLSessionWebSocketDelegate' in scope
extension WebOSClient: URLSessionWebSocketDelegate {
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:187:24: error: cannot find type 'URLSessionWebSocketTask' in scope
        webSocketTask: URLSessionWebSocketTask,
                       ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:186:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:204:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:205:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        task: URLSessionTask,
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:214:24: error: cannot find type 'URLSessionWebSocketTask' in scope
        webSocketTask: URLSessionWebSocketTask,
                       ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:215:33: error: cannot find type 'URLSessionWebSocketTask' in scope
        didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
                                ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:213:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:228:50: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
                                      ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:226:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:227:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        didReceive challenge: URLAuthenticationChallenge,
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:37:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: nil)
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:37:49: error: cannot infer contextual base in reference to member 'default'
        urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: nil)
                                               ~^~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:37:89: error: 'nil' requires a contextual type
        urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: nil)
                                                                                        ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:38:16: error: argument passed to call that takes no arguments
        connect(url, task: &primaryWebSocketTask)
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:46:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.string(jsonRequest)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:52:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.string(jsonRequest)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:60:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.data(request)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:65:23: error: cannot find 'URLSessionWebSocketTask' in scope
        let message = URLSessionWebSocketTask.Message.data(keyData)
                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/SendPing.swift:9:25: error: cannot find type 'URLSessionWebSocketTask' in scope
    func sendPing(task: URLSessionWebSocketTask?) {
                        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:70:24: error: argument passed to call that takes no arguments
        sendPing(task: primaryWebSocketTask)
                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:76:47: error: cannot infer contextual base in reference to member 'goingAway'
        secondaryWebSocketTask?.cancel(with: .goingAway, reason: nil)
                                             ~^~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:76:66: error: 'nil' requires a contextual type
        secondaryWebSocketTask?.cancel(with: .goingAway, reason: nil)
                                                                 ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:77:45: error: cannot infer contextual base in reference to member 'goingAway'
        primaryWebSocketTask?.cancel(with: .goingAway, reason: nil)
                                           ~^~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:77:64: error: 'nil' requires a contextual type
        primaryWebSocketTask?.cancel(with: .goingAway, reason: nil)
                                                               ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:90:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
        task = urlSession?.webSocketTask(with: url)
               ~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:99:43: error: cannot infer type of closure parameter 'error' without a type annotation
        task?.send(message) { [weak self] error in
                                          ^
/host/spi-builder-workspace/Sources/WebOSClient/Extensions/WebOSClientExtensions/Logging.swift:21:36: error: cannot find type 'URLSessionWebSocketTask' in scope
    func logSentMessage(_ message: URLSessionWebSocketTask.Message) {
                                   ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:114:53: error: cannot infer type of closure parameter 'result' without a type annotation
        primaryWebSocketTask?.receive { [weak self] result in
                                                    ^
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:150:50: error: cannot infer contextual base in reference to member 'prompt'
            if response.payload?.pairingType == .prompt {
                                                ~^~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:153:50: error: cannot infer contextual base in reference to member 'pin'
            if response.payload?.pairingType == .pin {
                                                ~^~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:159:24: error: argument passed to call that takes no arguments
                connect(url, task: &secondaryWebSocketTask)
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:177:28: error: argument passed to call that takes no arguments
            sendPing(task: secondaryWebSocketTask)
                    ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:232:38: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
            .authenticationMethod == NSURLAuthenticationMethodServerTrust {
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:231:14: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
            .protectionSpace
             ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:234:18: error: cannot infer contextual base in reference to member 'useCredential'
                .useCredential,
                ~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:235:17: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
                URLCredential(trust: challenge.protectionSpace.serverTrust!)
                ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:235:48: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
                URLCredential(trust: challenge.protectionSpace.serverTrust!)
                                     ~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:238:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
            completionHandler(.performDefaultHandling, nil)
                              ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:238:56: error: 'nil' requires a contextual type
            completionHandler(.performDefaultHandling, nil)
                                                       ^
error: fatalError
BUILD FAILURE 5.10 linux