The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftPhoenixClient with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/davidstump/SwiftPhoenixClient.git
Reference: master
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/davidstump/SwiftPhoenixClient
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7d23b4a Merge pull request #255 from ejensen/channel-thread-safety
Cloned https://github.com/davidstump/SwiftPhoenixClient.git
Revision (git rev-parse @):
7d23b4a67144950607b66297fa8c73384781fb83
SUCCESS checkout https://github.com/davidstump/SwiftPhoenixClient.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/davidstump/SwiftPhoenixClient.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling SwiftPhoenixClient SynchronizedArray.swift
[4/14] Compiling SwiftPhoenixClient Push.swift
[5/14] Compiling SwiftPhoenixClient Socket.swift
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:39:67: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let open: SynchronizedArray<(ref: String, callback: Delegated<URLResponse?, Void>)> = .init()
                                                                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:41:76: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let error: SynchronizedArray<(ref: String, callback: Delegated<(Error, URLResponse?), Void>)> = .init()
                                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:337:43: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public func onOpen(callback: @escaping (URLResponse?) -> Void) -> String {
                                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:374:69: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                           callback: @escaping ((T, URLResponse?) -> Void)) -> String {
                                                                    ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:462:52: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public func onError(callback: @escaping ((Error, URLResponse?)) -> Void) -> String {
                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:482:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                            callback: @escaping ((T, (Error, URLResponse?)) -> Void)) -> String {
                                                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:648:44: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal func onConnectionOpen(response: URLResponse?) {
                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:685:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal func onConnectionError(_ error: Error, response: URLResponse?) {
                                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:808:4: error: Objective-C interoperability is disabled
  @objc func sendHeartbeat() {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:854:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public func onOpen(response: URLResponse?) {
                               ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:858:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public func onError(error: Error, response: URLResponse?) {
                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:177:67: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
  public init(url: URL, configuration: URLSessionConfiguration = .default) {
                                                                 ~^~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:338:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var delegated = Delegated<URLResponse?, Void>()
                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:375:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var delegated = Delegated<URLResponse?, Void>()
                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:463:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var delegated = Delegated<(Error, URLResponse?), Void>()
                                      ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:483:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var delegated = Delegated<(Error, URLResponse?), Void>()
                                      ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/14] Compiling SwiftPhoenixClient Delegated.swift
[7/14] Compiling SwiftPhoenixClient HeartbeatTimer.swift
[8/14] Compiling SwiftPhoenixClient Channel.swift
[9/14] Compiling SwiftPhoenixClient Defaults.swift
[10/14] Emitting module SwiftPhoenixClient
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:78:25: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func onOpen(response: URLResponse?)
                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:87:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func onError(error: Error, response: URLResponse?)
                                       ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:147:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal let configuration: URLSessionConfiguration
                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:150:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  private var session: URLSession? = nil
                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:153:21: error: cannot find type 'URLSessionWebSocketTask' in scope
  private var task: URLSessionWebSocketTask? = nil
                    ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:177:40: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public init(url: URL, configuration: URLSessionConfiguration = .default) {
                                       ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:177:67: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
  public init(url: URL, configuration: URLSessionConfiguration = .default) {
                                                                 ~^~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:244:39: error: cannot find type 'URLSessionWebSocketTask' in scope
                       webSocketTask: URLSessionWebSocketTask,
                                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:243:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:255:39: error: cannot find type 'URLSessionWebSocketTask' in scope
                       webSocketTask: URLSessionWebSocketTask,
                                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:256:48: error: cannot find type 'URLSessionWebSocketTask' in scope
                       didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
                                               ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:254:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:263:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:264:30: 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/SwiftPhoenixClient/PhoenixTransport.swift:299:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  private func abnormalErrorReceived(_ error: Error, response: URLResponse?) {
                                                               ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:140:61: error: cannot find type 'URLSessionWebSocketDelegate' in scope
open class URLSessionTransport: NSObject, PhoenixTransport, URLSessionWebSocketDelegate {
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:39:67: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let open: SynchronizedArray<(ref: String, callback: Delegated<URLResponse?, Void>)> = .init()
                                                                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:41:76: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let error: SynchronizedArray<(ref: String, callback: Delegated<(Error, URLResponse?), Void>)> = .init()
                                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:337:43: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public func onOpen(callback: @escaping (URLResponse?) -> Void) -> String {
                                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:374:69: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                           callback: @escaping ((T, URLResponse?) -> Void)) -> String {
                                                                    ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:462:52: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public func onError(callback: @escaping ((Error, URLResponse?)) -> Void) -> String {
                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:482:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                            callback: @escaping ((T, (Error, URLResponse?)) -> Void)) -> String {
                                                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:648:44: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal func onConnectionOpen(response: URLResponse?) {
                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:685:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal func onConnectionError(_ error: Error, response: URLResponse?) {
                                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:808:4: error: Objective-C interoperability is disabled
  @objc func sendHeartbeat() {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:854:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public func onOpen(response: URLResponse?) {
                               ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:858:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public func onError(error: Error, response: URLResponse?) {
                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[11/14] Compiling SwiftPhoenixClient Message.swift
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:78:25: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func onOpen(response: URLResponse?)
                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:87:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func onError(error: Error, response: URLResponse?)
                                       ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:147:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal let configuration: URLSessionConfiguration
                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:150:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  private var session: URLSession? = nil
                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:153:21: error: cannot find type 'URLSessionWebSocketTask' in scope
  private var task: URLSessionWebSocketTask? = nil
                    ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:177:40: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public init(url: URL, configuration: URLSessionConfiguration = .default) {
                                       ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:177:67: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
  public init(url: URL, configuration: URLSessionConfiguration = .default) {
                                                                 ~^~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:244:39: error: cannot find type 'URLSessionWebSocketTask' in scope
                       webSocketTask: URLSessionWebSocketTask,
                                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:243:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:255:39: error: cannot find type 'URLSessionWebSocketTask' in scope
                       webSocketTask: URLSessionWebSocketTask,
                                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:256:48: error: cannot find type 'URLSessionWebSocketTask' in scope
                       didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
                                               ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:254:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:263:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:264:30: 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/SwiftPhoenixClient/PhoenixTransport.swift:299:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  private func abnormalErrorReceived(_ error: Error, response: URLResponse?) {
                                                               ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:140:61: error: cannot find type 'URLSessionWebSocketDelegate' in scope
open class URLSessionTransport: NSObject, PhoenixTransport, URLSessionWebSocketDelegate {
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:204:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    self.session = URLSession(configuration: self.configuration, delegate: self, delegateQueue: nil)
                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:204:97: error: 'nil' requires a contextual type
    self.session = URLSession(configuration: self.configuration, delegate: self, delegateQueue: nil)
                                                                                                ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:205:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:212:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
    self.task = self.session?.webSocketTask(with: request)
                ~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:226:27: error: cannot find 'URLSessionWebSocketTask' in scope
    guard let closeCode = URLSessionWebSocketTask.CloseCode.init(rawValue: code) else {
                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:232:19: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
    self.session?.finishTasksAndInvalidate()
    ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:236:22: error: cannot infer contextual base in reference to member 'string'
    self.task?.send(.string(String(data: data, encoding: .utf8)!)) { (error) in
                    ~^~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:270:52: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
    self.abnormalErrorReceived(err, response: task.response)
                                              ~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:276:38: error: cannot infer type of closure parameter 'result' without a type annotation
    self.task?.receive { [weak self] result in
                                     ^
[12/14] Compiling SwiftPhoenixClient PhoenixTransport.swift
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:78:25: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func onOpen(response: URLResponse?)
                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:87:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func onError(error: Error, response: URLResponse?)
                                       ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:147:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal let configuration: URLSessionConfiguration
                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:150:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  private var session: URLSession? = nil
                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:153:21: error: cannot find type 'URLSessionWebSocketTask' in scope
  private var task: URLSessionWebSocketTask? = nil
                    ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:177:40: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public init(url: URL, configuration: URLSessionConfiguration = .default) {
                                       ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:177:67: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
  public init(url: URL, configuration: URLSessionConfiguration = .default) {
                                                                 ~^~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:244:39: error: cannot find type 'URLSessionWebSocketTask' in scope
                       webSocketTask: URLSessionWebSocketTask,
                                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:243:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:255:39: error: cannot find type 'URLSessionWebSocketTask' in scope
                       webSocketTask: URLSessionWebSocketTask,
                                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:256:48: error: cannot find type 'URLSessionWebSocketTask' in scope
                       didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
                                               ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:254:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:263:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:264:30: 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/SwiftPhoenixClient/PhoenixTransport.swift:299:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  private func abnormalErrorReceived(_ error: Error, response: URLResponse?) {
                                                               ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:140:61: error: cannot find type 'URLSessionWebSocketDelegate' in scope
open class URLSessionTransport: NSObject, PhoenixTransport, URLSessionWebSocketDelegate {
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:204:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    self.session = URLSession(configuration: self.configuration, delegate: self, delegateQueue: nil)
                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:204:97: error: 'nil' requires a contextual type
    self.session = URLSession(configuration: self.configuration, delegate: self, delegateQueue: nil)
                                                                                                ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:205:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:212:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
    self.task = self.session?.webSocketTask(with: request)
                ~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:226:27: error: cannot find 'URLSessionWebSocketTask' in scope
    guard let closeCode = URLSessionWebSocketTask.CloseCode.init(rawValue: code) else {
                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:232:19: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
    self.session?.finishTasksAndInvalidate()
    ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:236:22: error: cannot infer contextual base in reference to member 'string'
    self.task?.send(.string(String(data: data, encoding: .utf8)!)) { (error) in
                    ~^~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:270:52: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
    self.abnormalErrorReceived(err, response: task.response)
                                              ~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:276:38: error: cannot infer type of closure parameter 'result' without a type annotation
    self.task?.receive { [weak self] result in
                                     ^
[13/14] Compiling SwiftPhoenixClient TimeoutTimer.swift
[14/14] Compiling SwiftPhoenixClient Presence.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Compiling SwiftPhoenixClient Message.swift
[3/5] Emitting module SwiftPhoenixClient
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:78:25: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func onOpen(response: URLResponse?)
                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:87:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func onError(error: Error, response: URLResponse?)
                                       ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:147:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal let configuration: URLSessionConfiguration
                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:150:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  private var session: URLSession? = nil
                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:153:21: error: cannot find type 'URLSessionWebSocketTask' in scope
  private var task: URLSessionWebSocketTask? = nil
                    ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:177:40: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public init(url: URL, configuration: URLSessionConfiguration = .default) {
                                       ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:177:67: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
  public init(url: URL, configuration: URLSessionConfiguration = .default) {
                                                                 ~^~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:244:39: error: cannot find type 'URLSessionWebSocketTask' in scope
                       webSocketTask: URLSessionWebSocketTask,
                                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:243:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:255:39: error: cannot find type 'URLSessionWebSocketTask' in scope
                       webSocketTask: URLSessionWebSocketTask,
                                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:256:48: error: cannot find type 'URLSessionWebSocketTask' in scope
                       didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
                                               ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:254:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:263:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:264:30: 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/SwiftPhoenixClient/PhoenixTransport.swift:299:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  private func abnormalErrorReceived(_ error: Error, response: URLResponse?) {
                                                               ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:140:61: error: cannot find type 'URLSessionWebSocketDelegate' in scope
open class URLSessionTransport: NSObject, PhoenixTransport, URLSessionWebSocketDelegate {
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:39:67: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let open: SynchronizedArray<(ref: String, callback: Delegated<URLResponse?, Void>)> = .init()
                                                                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:41:76: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let error: SynchronizedArray<(ref: String, callback: Delegated<(Error, URLResponse?), Void>)> = .init()
                                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:337:43: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public func onOpen(callback: @escaping (URLResponse?) -> Void) -> String {
                                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:374:69: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                           callback: @escaping ((T, URLResponse?) -> Void)) -> String {
                                                                    ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:462:52: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public func onError(callback: @escaping ((Error, URLResponse?)) -> Void) -> String {
                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:482:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                            callback: @escaping ((T, (Error, URLResponse?)) -> Void)) -> String {
                                                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:648:44: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal func onConnectionOpen(response: URLResponse?) {
                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:685:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal func onConnectionError(_ error: Error, response: URLResponse?) {
                                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:808:4: error: Objective-C interoperability is disabled
  @objc func sendHeartbeat() {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:854:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public func onOpen(response: URLResponse?) {
                               ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:858:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public func onError(error: Error, response: URLResponse?) {
                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[4/5] Compiling SwiftPhoenixClient PhoenixTransport.swift
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:78:25: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func onOpen(response: URLResponse?)
                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:87:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func onError(error: Error, response: URLResponse?)
                                       ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:147:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal let configuration: URLSessionConfiguration
                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:150:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  private var session: URLSession? = nil
                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:153:21: error: cannot find type 'URLSessionWebSocketTask' in scope
  private var task: URLSessionWebSocketTask? = nil
                    ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:177:40: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public init(url: URL, configuration: URLSessionConfiguration = .default) {
                                       ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:177:67: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
  public init(url: URL, configuration: URLSessionConfiguration = .default) {
                                                                 ~^~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:244:39: error: cannot find type 'URLSessionWebSocketTask' in scope
                       webSocketTask: URLSessionWebSocketTask,
                                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:243:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:255:39: error: cannot find type 'URLSessionWebSocketTask' in scope
                       webSocketTask: URLSessionWebSocketTask,
                                      ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:256:48: error: cannot find type 'URLSessionWebSocketTask' in scope
                       didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
                                               ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:254:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:263:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:264:30: 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/SwiftPhoenixClient/PhoenixTransport.swift:299:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  private func abnormalErrorReceived(_ error: Error, response: URLResponse?) {
                                                               ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:140:61: error: cannot find type 'URLSessionWebSocketDelegate' in scope
open class URLSessionTransport: NSObject, PhoenixTransport, URLSessionWebSocketDelegate {
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:204:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    self.session = URLSession(configuration: self.configuration, delegate: self, delegateQueue: nil)
                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:204:97: error: 'nil' requires a contextual type
    self.session = URLSession(configuration: self.configuration, delegate: self, delegateQueue: nil)
                                                                                                ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:205:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:212:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
    self.task = self.session?.webSocketTask(with: request)
                ~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:226:27: error: cannot find 'URLSessionWebSocketTask' in scope
    guard let closeCode = URLSessionWebSocketTask.CloseCode.init(rawValue: code) else {
                          ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:232:19: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
    self.session?.finishTasksAndInvalidate()
    ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:236:22: error: cannot infer contextual base in reference to member 'string'
    self.task?.send(.string(String(data: data, encoding: .utf8)!)) { (error) in
                    ~^~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:270:52: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
    self.abnormalErrorReceived(err, response: task.response)
                                              ~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:276:38: error: cannot infer type of closure parameter 'result' without a type annotation
    self.task?.receive { [weak self] result in
                                     ^
[5/5] Compiling SwiftPhoenixClient Socket.swift
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:39:67: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let open: SynchronizedArray<(ref: String, callback: Delegated<URLResponse?, Void>)> = .init()
                                                                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:41:76: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    let error: SynchronizedArray<(ref: String, callback: Delegated<(Error, URLResponse?), Void>)> = .init()
                                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:337:43: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public func onOpen(callback: @escaping (URLResponse?) -> Void) -> String {
                                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:374:69: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                           callback: @escaping ((T, URLResponse?) -> Void)) -> String {
                                                                    ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:462:52: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public func onError(callback: @escaping ((Error, URLResponse?)) -> Void) -> String {
                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:482:78: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                            callback: @escaping ((T, (Error, URLResponse?)) -> Void)) -> String {
                                                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:648:44: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal func onConnectionOpen(response: URLResponse?) {
                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:685:61: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  internal func onConnectionError(_ error: Error, response: URLResponse?) {
                                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:808:4: error: Objective-C interoperability is disabled
  @objc func sendHeartbeat() {
  ~^~~~~

/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:854:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public func onOpen(response: URLResponse?) {
                               ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:858:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public func onError(error: Error, response: URLResponse?) {
                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/PhoenixTransport.swift:177:67: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
  public init(url: URL, configuration: URLSessionConfiguration = .default) {
                                                                 ~^~~~~~~
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:338:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var delegated = Delegated<URLResponse?, Void>()
                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:375:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var delegated = Delegated<URLResponse?, Void>()
                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:463:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var delegated = Delegated<(Error, URLResponse?), Void>()
                                      ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftPhoenixClient/Socket.swift:483:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var delegated = Delegated<(Error, URLResponse?), Void>()
                                      ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[6/8] Compiling SwiftPhoenixClient Push.swift
[7/8] Compiling SwiftPhoenixClient Presence.swift
[8/8] Compiling SwiftPhoenixClient Channel.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1