Build Information
Failed to build SignalRClient, reference master (655e8b
), with Swift 5.9 for Linux on 3 Feb 2025 12:33:06 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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/moozzyk/SignalR-Client-Swift.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/moozzyk/SignalR-Client-Swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 655e8bd Add HubConnection extension methods for non-void hub methods with client streams
Cloned https://github.com/moozzyk/SignalR-Client-Swift.git
Revision (git rev-parse @):
655e8bde45b4e3fc737c8ced9da242e3a76f3e69
SUCCESS checkout https://github.com/moozzyk/SignalR-Client-Swift.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/moozzyk/SignalR-Client-Swift.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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/29] Emitting module SignalRClient
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:13:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private let session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:65:94: error: cannot find type 'URLRequest' in scope
@inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:102: error: cannot find type 'URLRequest' in scope
@inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:85:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:91: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/SignalRClient/DefaultHttpClient.swift:90:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:90:54: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:78:59: error: cannot find type 'URLSessionDelegate' in scope
private class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:15: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/SignalRClient/WebsocketsTransport.swift:16:32: error: cannot find type 'URLSessionWebSocketTask' in scope
private var webSocketTask: URLSessionWebSocketTask?
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:21:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:47: error: cannot find type 'URLSessionWebSocketTask' in scope
_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:85:41: error: cannot find type 'URLSessionWebSocketTask' in scope
private func handleMessage(message: URLSessionWebSocketTask.Message) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:110:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:110:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:47: error: cannot find type 'URLSessionWebSocketTask' in scope
_ session: URLSession, webSocketTask: URLSessionWebSocketTask,
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:138:33: error: cannot find type 'URLSessionWebSocketTask' in scope
didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, webSocketTask: URLSessionWebSocketTask,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:166:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:165:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:165:54: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:207:94: error: cannot find type 'URLRequest' in scope
@inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:213:102: error: cannot find type 'URLRequest' in scope
@inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
[2/32] Compiling SignalRClient NegotiationResponse.swift
[3/32] Compiling SignalRClient ReconnectPolicy.swift
[4/32] Compiling SignalRClient ReconnectableConnection.swift
[5/32] Compiling SignalRClient ServerInvocationHandler.swift
[6/32] Compiling SignalRClient TransportDelegate.swift
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:15: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/SignalRClient/WebsocketsTransport.swift:16:32: error: cannot find type 'URLSessionWebSocketTask' in scope
private var webSocketTask: URLSessionWebSocketTask?
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:21:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:47: error: cannot find type 'URLSessionWebSocketTask' in scope
_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:85:41: error: cannot find type 'URLSessionWebSocketTask' in scope
private func handleMessage(message: URLSessionWebSocketTask.Message) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:110:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:110:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:47: error: cannot find type 'URLSessionWebSocketTask' in scope
_ session: URLSession, webSocketTask: URLSessionWebSocketTask,
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:138:33: error: cannot find type 'URLSessionWebSocketTask' in scope
didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, webSocketTask: URLSessionWebSocketTask,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:166:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:165:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:165:54: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:207:94: error: cannot find type 'URLRequest' in scope
@inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:213:102: error: cannot find type 'URLRequest' in scope
@inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:39:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: convertUrl(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:49: error: cannot infer contextual base in reference to member 'default'
urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
~^~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:43:37: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
webSocketTask = urlSession!.webSocketTask(with: request)
~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:52:23: error: cannot find 'URLSessionWebSocketTask' in scope
let message = URLSessionWebSocketTask.Message.data(data)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:38: error: cannot infer contextual base in reference to member 'normalClosure'
webSocketTask?.cancel(with: .normalClosure, reason: nil)
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:61: error: 'nil' requires a contextual type
webSocketTask?.cancel(with: .normalClosure, reason: nil)
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:58:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
urlSession?.finishTasksAndInvalidate()
~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:88:65: error: cannot infer contextual base in reference to member 'utf8'
delegate?.transportDidReceiveData(text.data(using: .utf8)!)
~^~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:125:84: error: type of expression is ambiguous without a type annotation
let statusCode = (webSocketTask?.response as? HTTPURLResponse)?.statusCode ?? -1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:156:26: error: cannot infer contextual base in reference to member 'normalClosure'
if closeCode == .normalClosure {
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
completionHandler(.performDefaultHandling, nil)
~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:56: error: 'nil' requires a contextual type
completionHandler(.performDefaultHandling, nil)
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:38: error: cannot infer contextual base in reference to member 'normalClosure'
webSocketTask?.cancel(with: .normalClosure, reason: nil)
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:61: error: 'nil' requires a contextual type
webSocketTask?.cancel(with: .normalClosure, reason: nil)
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:191:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
urlSession?.finishTasksAndInvalidate()
~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
[7/32] Compiling SignalRClient TransportType.swift
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:15: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/SignalRClient/WebsocketsTransport.swift:16:32: error: cannot find type 'URLSessionWebSocketTask' in scope
private var webSocketTask: URLSessionWebSocketTask?
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:21:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:47: error: cannot find type 'URLSessionWebSocketTask' in scope
_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:85:41: error: cannot find type 'URLSessionWebSocketTask' in scope
private func handleMessage(message: URLSessionWebSocketTask.Message) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:110:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:110:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:47: error: cannot find type 'URLSessionWebSocketTask' in scope
_ session: URLSession, webSocketTask: URLSessionWebSocketTask,
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:138:33: error: cannot find type 'URLSessionWebSocketTask' in scope
didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, webSocketTask: URLSessionWebSocketTask,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:166:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:165:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:165:54: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:207:94: error: cannot find type 'URLRequest' in scope
@inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:213:102: error: cannot find type 'URLRequest' in scope
@inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:39:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: convertUrl(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:49: error: cannot infer contextual base in reference to member 'default'
urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
~^~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:43:37: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
webSocketTask = urlSession!.webSocketTask(with: request)
~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:52:23: error: cannot find 'URLSessionWebSocketTask' in scope
let message = URLSessionWebSocketTask.Message.data(data)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:38: error: cannot infer contextual base in reference to member 'normalClosure'
webSocketTask?.cancel(with: .normalClosure, reason: nil)
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:61: error: 'nil' requires a contextual type
webSocketTask?.cancel(with: .normalClosure, reason: nil)
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:58:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
urlSession?.finishTasksAndInvalidate()
~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:88:65: error: cannot infer contextual base in reference to member 'utf8'
delegate?.transportDidReceiveData(text.data(using: .utf8)!)
~^~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:125:84: error: type of expression is ambiguous without a type annotation
let statusCode = (webSocketTask?.response as? HTTPURLResponse)?.statusCode ?? -1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:156:26: error: cannot infer contextual base in reference to member 'normalClosure'
if closeCode == .normalClosure {
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
completionHandler(.performDefaultHandling, nil)
~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:56: error: 'nil' requires a contextual type
completionHandler(.performDefaultHandling, nil)
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:38: error: cannot infer contextual base in reference to member 'normalClosure'
webSocketTask?.cancel(with: .normalClosure, reason: nil)
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:61: error: 'nil' requires a contextual type
webSocketTask?.cancel(with: .normalClosure, reason: nil)
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:191:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
urlSession?.finishTasksAndInvalidate()
~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
[8/32] Compiling SignalRClient WebsocketsTransport.swift
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:15: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/SignalRClient/WebsocketsTransport.swift:16:32: error: cannot find type 'URLSessionWebSocketTask' in scope
private var webSocketTask: URLSessionWebSocketTask?
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:21:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:47: error: cannot find type 'URLSessionWebSocketTask' in scope
_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:85:41: error: cannot find type 'URLSessionWebSocketTask' in scope
private func handleMessage(message: URLSessionWebSocketTask.Message) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:110:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:110:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:47: error: cannot find type 'URLSessionWebSocketTask' in scope
_ session: URLSession, webSocketTask: URLSessionWebSocketTask,
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:138:33: error: cannot find type 'URLSessionWebSocketTask' in scope
didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, webSocketTask: URLSessionWebSocketTask,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:166:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:165:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:165:54: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:207:94: error: cannot find type 'URLRequest' in scope
@inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:213:102: error: cannot find type 'URLRequest' in scope
@inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: error: cannot find type 'URLSessionWebSocketDelegate' in scope
public class WebsocketsTransport: NSObject, Transport, URLSessionWebSocketDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:39:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: convertUrl(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:42:49: error: cannot infer contextual base in reference to member 'default'
urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: OperationQueue())
~^~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:43:37: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
webSocketTask = urlSession!.webSocketTask(with: request)
~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:52:23: error: cannot find 'URLSessionWebSocketTask' in scope
let message = URLSessionWebSocketTask.Message.data(data)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:38: error: cannot infer contextual base in reference to member 'normalClosure'
webSocketTask?.cancel(with: .normalClosure, reason: nil)
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:57:61: error: 'nil' requires a contextual type
webSocketTask?.cancel(with: .normalClosure, reason: nil)
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:58:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
urlSession?.finishTasksAndInvalidate()
~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:88:65: error: cannot infer contextual base in reference to member 'utf8'
delegate?.transportDidReceiveData(text.data(using: .utf8)!)
~^~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:125:84: error: type of expression is ambiguous without a type annotation
let statusCode = (webSocketTask?.response as? HTTPURLResponse)?.statusCode ?? -1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:156:26: error: cannot infer contextual base in reference to member 'normalClosure'
if closeCode == .normalClosure {
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
completionHandler(.performDefaultHandling, nil)
~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:175:56: error: 'nil' requires a contextual type
completionHandler(.performDefaultHandling, nil)
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:38: error: cannot infer contextual base in reference to member 'normalClosure'
webSocketTask?.cancel(with: .normalClosure, reason: nil)
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:190:61: error: 'nil' requires a contextual type
webSocketTask?.cancel(with: .normalClosure, reason: nil)
^
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:191:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
urlSession?.finishTasksAndInvalidate()
~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
[9/32] Compiling SignalRClient SignalRError.swift
[10/32] Compiling SignalRClient StreamHandle.swift
[11/32] Compiling SignalRClient TransferFormat.swift
[12/32] Compiling SignalRClient Transport.swift
[13/32] Compiling SignalRClient HubConnectionBuilder.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
[14/32] Compiling SignalRClient HubConnectionDelegate.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
[15/32] Compiling SignalRClient HubConnectionExtensions.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
[16/32] Compiling SignalRClient HubConnectionOptions.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
[17/32] Compiling SignalRClient HttpConnection.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
[18/32] Compiling SignalRClient HttpConnectionOptions.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
[19/32] Compiling SignalRClient HttpResponse.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
[20/32] Compiling SignalRClient HubConnection.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
[21/32] Compiling SignalRClient HubProtocol.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
[22/32] Compiling SignalRClient JSONHubProtocol.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
[23/32] Compiling SignalRClient Logger.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
[24/32] Compiling SignalRClient LongPollingTransport.swift
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
[25/32] Compiling SignalRClient ClientStreamWorker.swift
[26/32] Compiling SignalRClient CodableHelpers.swift
[27/32] Compiling SignalRClient Connection.swift
[28/32] Compiling SignalRClient ConnectionDelegate.swift
[29/32] Compiling SignalRClient DefaultHttpClient.swift
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:13:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private let session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:65:94: error: cannot find type 'URLRequest' in scope
@inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:102: error: cannot find type 'URLRequest' in scope
@inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:85:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:91: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/SignalRClient/DefaultHttpClient.swift:90:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:90:54: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:78:59: error: cannot find type 'URLSessionDelegate' in scope
private class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:17:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let sessionConfig = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:20:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
self.session = URLSession(
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:23:28: error: 'nil' requires a contextual type
delegateQueue: nil
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:28:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
session.finishTasksAndInvalidate()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:46:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:52:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
session.dataTask(
~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:106: error: cannot convert value of type '_' to expected argument type 'Data?'
resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:84: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
completionHandler(.performDefaultHandling, nil)
~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:56: error: 'nil' requires a contextual type
completionHandler(.performDefaultHandling, nil)
^
[30/32] Compiling SignalRClient DefaultTransportFactory.swift
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:13:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private let session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:65:94: error: cannot find type 'URLRequest' in scope
@inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:102: error: cannot find type 'URLRequest' in scope
@inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:85:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:91: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/SignalRClient/DefaultHttpClient.swift:90:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:90:54: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:78:59: error: cannot find type 'URLSessionDelegate' in scope
private class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:17:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let sessionConfig = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:20:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
self.session = URLSession(
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:23:28: error: 'nil' requires a contextual type
delegateQueue: nil
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:28:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
session.finishTasksAndInvalidate()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:46:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:52:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
session.dataTask(
~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:106: error: cannot convert value of type '_' to expected argument type 'Data?'
resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:84: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
completionHandler(.performDefaultHandling, nil)
~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:56: error: 'nil' requires a contextual type
completionHandler(.performDefaultHandling, nil)
^
[31/32] Compiling SignalRClient HandshakeProtocol.swift
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:13:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private let session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:65:94: error: cannot find type 'URLRequest' in scope
@inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:102: error: cannot find type 'URLRequest' in scope
@inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:85:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:91: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/SignalRClient/DefaultHttpClient.swift:90:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:90:54: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:78:59: error: cannot find type 'URLSessionDelegate' in scope
private class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:17:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let sessionConfig = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:20:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
self.session = URLSession(
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:23:28: error: 'nil' requires a contextual type
delegateQueue: nil
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:28:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
session.finishTasksAndInvalidate()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:46:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:52:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
session.dataTask(
~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:106: error: cannot convert value of type '_' to expected argument type 'Data?'
resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:84: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
completionHandler(.performDefaultHandling, nil)
~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:56: error: 'nil' requires a contextual type
completionHandler(.performDefaultHandling, nil)
^
[32/32] Compiling SignalRClient HttpClientProtocol.swift
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:13:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private let session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:65:94: error: cannot find type 'URLRequest' in scope
@inline(__always) private func populateHeaders(headers: [String: String], request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:102: error: cannot find type 'URLRequest' in scope
@inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:85:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:91: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/SignalRClient/DefaultHttpClient.swift:90:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:90:54: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:78:59: error: cannot find type 'URLSessionDelegate' in scope
private class DefaultHttpClientSessionDelegate: NSObject, URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:17:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let sessionConfig = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
_ completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:20:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
self.session = URLSession(
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:23:28: error: 'nil' requires a contextual type
delegateQueue: nil
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:28:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
session.finishTasksAndInvalidate()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:46:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:52:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
session.dataTask(
~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:106: error: cannot convert value of type '_' to expected argument type 'Data?'
resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
^
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:57:84: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
resp = HttpResponse(statusCode: (response as! HTTPURLResponse).statusCode, contents: data)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:32: error: cannot infer contextual base in reference to member 'performDefaultHandling'
completionHandler(.performDefaultHandling, nil)
~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:96:56: error: 'nil' requires a contextual type
completionHandler(.performDefaultHandling, nil)
^
error: fatalError
BUILD FAILURE 5.9 linux