Build Information
Failed to build Glider, reference 2.0.6 (c93275
), with Swift 6.1 for Linux on 28 Apr 2025 07:47:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
28 |
29 | /// URLRequest to execute.
30 | public let urlRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
31 |
32 | /// Configuration
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:49:29: error: cannot find type 'URLRequest' in scope
47 | /// - urlRequest: url request to execute.
48 | /// - builder: builder function to customize the call.
49 | public init(urlRequest: URLRequest, _ builder: ((inout Configuration) -> Void)? = nil) {
| `- error: cannot find type 'URLRequest' in scope
50 | self.configuration = Configuration(builder)
51 | self.urlRequest = urlRequest
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:127:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
125 | case `internal`(Swift.Error)
126 | case noResponse
127 | case invalidResponse(URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 | case emptyResponse(HTTPURLResponse)
129 | case httpError(HTTPURLResponse, Data?)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:128:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | case noResponse
127 | case invalidResponse(URLResponse)
128 | case emptyResponse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 | case httpError(HTTPURLResponse, Data?)
130 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:129:24: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
127 | case invalidResponse(URLResponse)
128 | case emptyResponse(HTTPURLResponse)
129 | case httpError(HTTPURLResponse, Data?)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 | }
131 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncOperation.swift:19:14: warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
17 |
18 | /// This class allows subclasses in order to make an async Operation.
19 | public class AsyncOperation: Operation {
| `- warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
20 |
21 | /// Identifier of the operation.
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncURLRequestsOperation.swift:18:20: warning: class 'AsyncURLRequestOperation' must restate inherited '@unchecked Sendable' conformance
16 | import Foundation
17 |
18 | public final class AsyncURLRequestOperation: AsyncOperation {
| `- warning: class 'AsyncURLRequestOperation' must restate inherited '@unchecked Sendable' conformance
19 | public typealias Response = Result<Data, Error>
20 | typealias Callback = ((Response) -> Void)
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncURLRequestsOperation.swift:54:45: error: value of type 'URLSession' (aka 'AnyObject') has no member 'execute'
52 | self?.asyncFinish()
53 | }
54 | transport?.configuration.urlSession.execute(request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'execute'
55 | }
56 |
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
15 | // MARK: - Public Functions
16 |
17 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
18 |
19 | /// Execute the `URLSessionDataTask` which is part of the request, then call validate on it where we can decide if we need to retry or not.
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:40:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
38 | }
39 |
40 | private extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 |
42 | /// Process results of `URLSessionDataTask` and converts it into `DataResult` instance
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:47:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 | /// URLSession to use.
47 | private var session: URLSession?
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// Session delegate.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:57: error: cannot find type 'URLSessionDelegate' in scope
285 | extension LogstashTransport {
286 |
287 | private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
| `- error: cannot find type 'URLSessionDelegate' in scope
288 |
289 | // MARK: - Private Properties
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:77: error: cannot find type 'URLSessionTaskDelegate' in scope
285 | extension LogstashTransport {
286 |
287 | private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
288 |
289 | // MARK: - Private Properties
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:101: error: cannot find type 'URLSessionStreamDelegate' in scope
285 | extension LogstashTransport {
286 |
287 | private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
| `- error: cannot find type 'URLSessionStreamDelegate' in scope
288 |
289 | // MARK: - Private Properties
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:303:66: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
301 | func urlSession(_ session: URLSession,
302 | didReceive challenge: URLAuthenticationChallenge,
303 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
304 |
305 | if challenge.protectionSpace.host == transport?.configuration.host,
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:301:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
299 | }
300 |
301 | func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
302 | didReceive challenge: URLAuthenticationChallenge,
303 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:302:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
300 |
301 | func urlSession(_ session: URLSession,
302 | didReceive challenge: URLAuthenticationChallenge,
| `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
303 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
304 |
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
| `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:70:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
68 | configuration: configuration.asyncTransportConfiguration)
69 | self.sessionDelegate = LogstashURLSessionDelegate(transport: self)
70 | self.session = URLSession(configuration: .ephemeral,
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
71 | delegate: self.sessionDelegate,
72 | delegateQueue: socketQueue)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:70:51: error: cannot infer contextual base in reference to member 'ephemeral'
68 | configuration: configuration.asyncTransportConfiguration)
69 | self.sessionDelegate = LogstashURLSessionDelegate(transport: self)
70 | self.session = URLSession(configuration: .ephemeral,
| `- error: cannot infer contextual base in reference to member 'ephemeral'
71 | delegate: self.sessionDelegate,
72 | delegateQueue: socketQueue)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:92:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
90 | /// Cancel all active tasks, invalidate the session and create the new one.
91 | open func reset() {
92 | session?.invalidateAndCancel()
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
93 | session = URLSession(configuration: .ephemeral,
94 | delegate: sessionDelegate,
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:93:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | open func reset() {
92 | session?.invalidateAndCancel()
93 | session = URLSession(configuration: .ephemeral,
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | delegate: sessionDelegate,
95 | delegateQueue: socketQueue)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:93:46: error: cannot infer contextual base in reference to member 'ephemeral'
91 | open func reset() {
92 | session?.invalidateAndCancel()
93 | session = URLSession(configuration: .ephemeral,
| `- error: cannot infer contextual base in reference to member 'ephemeral'
94 | delegate: sessionDelegate,
95 | delegateQueue: socketQueue)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:129:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'streamTask'
127 | }
128 |
129 | let task = session.streamTask(withHostName: configuration.host, port: configuration.port)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'streamTask'
130 | if !configuration.allowUntrustedServer {
131 | task.startSecureConnection()
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:146:83: error: cannot infer type of closure parameter 'error' without a type annotation
144 | dispatchGroup.enter()
145 |
146 | task.write(messageData, timeout: configuration.timeout) { [weak self] error in
| `- error: cannot infer type of closure parameter 'error' without a type annotation
147 | guard let self = self else {
148 | dispatchGroup.leave()
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:305:27: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
303 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
304 |
305 | if challenge.protectionSpace.host == transport?.configuration.host,
| `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
306 | let trust = challenge.protectionSpace.serverTrust {
307 | let credential = URLCredential(trust: trust)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:306:39: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
304 |
305 | if challenge.protectionSpace.host == transport?.configuration.host,
306 | let trust = challenge.protectionSpace.serverTrust {
| `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
307 | let credential = URLCredential(trust: trust)
308 | completionHandler(.useCredential, credential)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:307:34: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
305 | if challenge.protectionSpace.host == transport?.configuration.host,
306 | let trust = challenge.protectionSpace.serverTrust {
307 | let credential = URLCredential(trust: trust)
| `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
308 | completionHandler(.useCredential, credential)
309 | } else {
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:308:36: error: cannot infer contextual base in reference to member 'useCredential'
306 | let trust = challenge.protectionSpace.serverTrust {
307 | let credential = URLCredential(trust: trust)
308 | completionHandler(.useCredential, credential)
| `- error: cannot infer contextual base in reference to member 'useCredential'
309 | } else {
310 | transport?.delegate?.logstashTransport(transport!, didFailTrustingService: transport!.configuration.host)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:36: error: cannot infer contextual base in reference to member 'cancelAuthenticationChallenge'
309 | } else {
310 | transport?.delegate?.logstashTransport(transport!, didFailTrustingService: transport!.configuration.host)
311 | completionHandler(.cancelAuthenticationChallenge, nil)
| `- error: cannot infer contextual base in reference to member 'cancelAuthenticationChallenge'
312 | }
313 | }
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:67: error: 'nil' requires a contextual type
309 | } else {
310 | transport?.delegate?.logstashTransport(transport!, didFailTrustingService: transport!.configuration.host)
311 | completionHandler(.cancelAuthenticationChallenge, nil)
| `- error: 'nil' requires a contextual type
312 | }
313 | }
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:19:11: error: cannot find type 'RemoteTransport' in scope
17 |
18 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, macCatalyst 13.0, *)
19 | extension RemoteTransport {
| `- error: cannot find type 'RemoteTransport' in scope
20 |
21 | /// Represent the configuration settings used to create a new `RemoteTransport` instance.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:19:11: error: cannot find type 'RemoteTransportServer' in scope
17 |
18 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, macCatalyst 13.0, *)
19 | extension RemoteTransportServer {
| `- error: cannot find type 'RemoteTransportServer' in scope
20 |
21 | /// Identify a client connected to the server.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:139:11: error: cannot find type 'RemoteTransportServer' in scope
137 |
138 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, macCatalyst 13.0, *)
139 | extension RemoteTransportServer {
| `- error: cannot find type 'RemoteTransportServer' in scope
140 |
141 | public struct ClientId: Hashable {
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:58:78: error: cannot find type 'Configuration' in scope
56 | ///
57 | /// - Parameter builder: builder callback.
58 | public init(serviceType: String = "_glider._tcp", _ builder: ((inout Configuration) -> Void)?) {
| `- error: cannot find type 'Configuration' in scope
59 | self.serviceType = serviceType
60 | self.queue = DispatchQueue(label: String(describing: type(of: self)), attributes: [])
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:26:44: error: cannot find type 'ClientId' in scope
24 | // MARK: - Public Properties
25 |
26 | public internal(set) var clientId: ClientId?
| `- error: cannot find type 'ClientId' in scope
27 |
28 | /// Client info.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:29:39: error: cannot find type 'RemoteTransport' in scope
27 |
28 | /// Client info.
29 | public private(set) var info: RemoteTransport.PacketHello.Info
| `- error: cannot find type 'RemoteTransport' in scope
30 |
31 | /// Parent connection.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:32:46: error: cannot find type 'RemoteTransport' in scope
30 |
31 | /// Parent connection.
32 | public internal(set) var connection: RemoteTransport.Connection?
| `- error: cannot find type 'RemoteTransport' in scope
33 |
34 | /// Is the client connected.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:56:32: error: cannot find type 'RemoteTransport' in scope
54 | ///
55 | /// - Parameter request: request.
56 | internal init(request: RemoteTransport.PacketHello) {
| `- error: cannot find type 'RemoteTransport' in scope
57 | self.info = request.info
58 |
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:144:32: error: cannot find type 'RemoteTransport' in scope
142 | public let raw: String
143 |
144 | internal init(request: RemoteTransport.PacketHello) {
| `- error: cannot find type 'RemoteTransport' in scope
145 | self.raw = (request.info.deviceId?.uuidString ?? "") +
146 | (request.info.appInfo.bundleIdentifier ?? "–")
[47/96] Compiling Glider RemoteTransportDelegate.swift
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:163:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
161 | /// URL Session used to send data.
162 | /// By default `.default` is used
163 | public var urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
164 |
165 | /// Formatters set.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:223:31: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
221 | public init(_ builder: ((inout Configuration) -> Void)?) throws {
222 | self.asyncTransportConfiguration = .init()
223 | self.urlSession = URLSession(configuration: .default)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
224 | self.queue = DispatchQueue(label: String(describing: type(of: self)), attributes: [])
225 | builder?(&self)
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:223:58: error: cannot infer contextual base in reference to member 'default'
221 | public init(_ builder: ((inout Configuration) -> Void)?) throws {
222 | self.asyncTransportConfiguration = .init()
223 | self.urlSession = URLSession(configuration: .default)
| `- error: cannot infer contextual base in reference to member 'default'
224 | self.queue = DispatchQueue(label: String(describing: type(of: self)), attributes: [])
225 | builder?(&self)
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:30:28: error: cannot find type 'URLRequest' in scope
28 |
29 | /// URLRequest to execute.
30 | public let urlRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
31 |
32 | /// Configuration
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:49:29: error: cannot find type 'URLRequest' in scope
47 | /// - urlRequest: url request to execute.
48 | /// - builder: builder function to customize the call.
49 | public init(urlRequest: URLRequest, _ builder: ((inout Configuration) -> Void)? = nil) {
| `- error: cannot find type 'URLRequest' in scope
50 | self.configuration = Configuration(builder)
51 | self.urlRequest = urlRequest
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:127:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
125 | case `internal`(Swift.Error)
126 | case noResponse
127 | case invalidResponse(URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 | case emptyResponse(HTTPURLResponse)
129 | case httpError(HTTPURLResponse, Data?)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:128:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | case noResponse
127 | case invalidResponse(URLResponse)
128 | case emptyResponse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 | case httpError(HTTPURLResponse, Data?)
130 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:129:24: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
127 | case invalidResponse(URLResponse)
128 | case emptyResponse(HTTPURLResponse)
129 | case httpError(HTTPURLResponse, Data?)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 | }
131 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncOperation.swift:19:14: warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
17 |
18 | /// This class allows subclasses in order to make an async Operation.
19 | public class AsyncOperation: Operation {
| `- warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
20 |
21 | /// Identifier of the operation.
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncURLRequestsOperation.swift:18:20: warning: class 'AsyncURLRequestOperation' must restate inherited '@unchecked Sendable' conformance
16 | import Foundation
17 |
18 | public final class AsyncURLRequestOperation: AsyncOperation {
| `- warning: class 'AsyncURLRequestOperation' must restate inherited '@unchecked Sendable' conformance
19 | public typealias Response = Result<Data, Error>
20 | typealias Callback = ((Response) -> Void)
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncURLRequestsOperation.swift:54:45: error: value of type 'URLSession' (aka 'AnyObject') has no member 'execute'
52 | self?.asyncFinish()
53 | }
54 | transport?.configuration.urlSession.execute(request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'execute'
55 | }
56 |
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
15 | // MARK: - Public Functions
16 |
17 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
18 |
19 | /// Execute the `URLSessionDataTask` which is part of the request, then call validate on it where we can decide if we need to retry or not.
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:40:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
38 | }
39 |
40 | private extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 |
42 | /// Process results of `URLSessionDataTask` and converts it into `DataResult` instance
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:47:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 | /// URLSession to use.
47 | private var session: URLSession?
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// Session delegate.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:57: error: cannot find type 'URLSessionDelegate' in scope
285 | extension LogstashTransport {
286 |
287 | private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
| `- error: cannot find type 'URLSessionDelegate' in scope
288 |
289 | // MARK: - Private Properties
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:77: error: cannot find type 'URLSessionTaskDelegate' in scope
285 | extension LogstashTransport {
286 |
287 | private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
288 |
289 | // MARK: - Private Properties
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:101: error: cannot find type 'URLSessionStreamDelegate' in scope
285 | extension LogstashTransport {
286 |
287 | private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
| `- error: cannot find type 'URLSessionStreamDelegate' in scope
288 |
289 | // MARK: - Private Properties
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:303:66: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
301 | func urlSession(_ session: URLSession,
302 | didReceive challenge: URLAuthenticationChallenge,
303 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
304 |
305 | if challenge.protectionSpace.host == transport?.configuration.host,
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:301:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
299 | }
300 |
301 | func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
302 | didReceive challenge: URLAuthenticationChallenge,
303 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:302:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
300 |
301 | func urlSession(_ session: URLSession,
302 | didReceive challenge: URLAuthenticationChallenge,
| `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
303 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
304 |
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
| `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:70:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
68 | configuration: configuration.asyncTransportConfiguration)
69 | self.sessionDelegate = LogstashURLSessionDelegate(transport: self)
70 | self.session = URLSession(configuration: .ephemeral,
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
71 | delegate: self.sessionDelegate,
72 | delegateQueue: socketQueue)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:70:51: error: cannot infer contextual base in reference to member 'ephemeral'
68 | configuration: configuration.asyncTransportConfiguration)
69 | self.sessionDelegate = LogstashURLSessionDelegate(transport: self)
70 | self.session = URLSession(configuration: .ephemeral,
| `- error: cannot infer contextual base in reference to member 'ephemeral'
71 | delegate: self.sessionDelegate,
72 | delegateQueue: socketQueue)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:92:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
90 | /// Cancel all active tasks, invalidate the session and create the new one.
91 | open func reset() {
92 | session?.invalidateAndCancel()
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
93 | session = URLSession(configuration: .ephemeral,
94 | delegate: sessionDelegate,
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:93:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | open func reset() {
92 | session?.invalidateAndCancel()
93 | session = URLSession(configuration: .ephemeral,
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | delegate: sessionDelegate,
95 | delegateQueue: socketQueue)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:93:46: error: cannot infer contextual base in reference to member 'ephemeral'
91 | open func reset() {
92 | session?.invalidateAndCancel()
93 | session = URLSession(configuration: .ephemeral,
| `- error: cannot infer contextual base in reference to member 'ephemeral'
94 | delegate: sessionDelegate,
95 | delegateQueue: socketQueue)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:129:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'streamTask'
127 | }
128 |
129 | let task = session.streamTask(withHostName: configuration.host, port: configuration.port)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'streamTask'
130 | if !configuration.allowUntrustedServer {
131 | task.startSecureConnection()
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:146:83: error: cannot infer type of closure parameter 'error' without a type annotation
144 | dispatchGroup.enter()
145 |
146 | task.write(messageData, timeout: configuration.timeout) { [weak self] error in
| `- error: cannot infer type of closure parameter 'error' without a type annotation
147 | guard let self = self else {
148 | dispatchGroup.leave()
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:305:27: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
303 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
304 |
305 | if challenge.protectionSpace.host == transport?.configuration.host,
| `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
306 | let trust = challenge.protectionSpace.serverTrust {
307 | let credential = URLCredential(trust: trust)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:306:39: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
304 |
305 | if challenge.protectionSpace.host == transport?.configuration.host,
306 | let trust = challenge.protectionSpace.serverTrust {
| `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
307 | let credential = URLCredential(trust: trust)
308 | completionHandler(.useCredential, credential)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:307:34: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
305 | if challenge.protectionSpace.host == transport?.configuration.host,
306 | let trust = challenge.protectionSpace.serverTrust {
307 | let credential = URLCredential(trust: trust)
| `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
308 | completionHandler(.useCredential, credential)
309 | } else {
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:308:36: error: cannot infer contextual base in reference to member 'useCredential'
306 | let trust = challenge.protectionSpace.serverTrust {
307 | let credential = URLCredential(trust: trust)
308 | completionHandler(.useCredential, credential)
| `- error: cannot infer contextual base in reference to member 'useCredential'
309 | } else {
310 | transport?.delegate?.logstashTransport(transport!, didFailTrustingService: transport!.configuration.host)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:36: error: cannot infer contextual base in reference to member 'cancelAuthenticationChallenge'
309 | } else {
310 | transport?.delegate?.logstashTransport(transport!, didFailTrustingService: transport!.configuration.host)
311 | completionHandler(.cancelAuthenticationChallenge, nil)
| `- error: cannot infer contextual base in reference to member 'cancelAuthenticationChallenge'
312 | }
313 | }
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:67: error: 'nil' requires a contextual type
309 | } else {
310 | transport?.delegate?.logstashTransport(transport!, didFailTrustingService: transport!.configuration.host)
311 | completionHandler(.cancelAuthenticationChallenge, nil)
| `- error: 'nil' requires a contextual type
312 | }
313 | }
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:19:11: error: cannot find type 'RemoteTransport' in scope
17 |
18 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, macCatalyst 13.0, *)
19 | extension RemoteTransport {
| `- error: cannot find type 'RemoteTransport' in scope
20 |
21 | /// Represent the configuration settings used to create a new `RemoteTransport` instance.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:19:11: error: cannot find type 'RemoteTransportServer' in scope
17 |
18 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, macCatalyst 13.0, *)
19 | extension RemoteTransportServer {
| `- error: cannot find type 'RemoteTransportServer' in scope
20 |
21 | /// Identify a client connected to the server.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:139:11: error: cannot find type 'RemoteTransportServer' in scope
137 |
138 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, macCatalyst 13.0, *)
139 | extension RemoteTransportServer {
| `- error: cannot find type 'RemoteTransportServer' in scope
140 |
141 | public struct ClientId: Hashable {
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:58:78: error: cannot find type 'Configuration' in scope
56 | ///
57 | /// - Parameter builder: builder callback.
58 | public init(serviceType: String = "_glider._tcp", _ builder: ((inout Configuration) -> Void)?) {
| `- error: cannot find type 'Configuration' in scope
59 | self.serviceType = serviceType
60 | self.queue = DispatchQueue(label: String(describing: type(of: self)), attributes: [])
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:26:44: error: cannot find type 'ClientId' in scope
24 | // MARK: - Public Properties
25 |
26 | public internal(set) var clientId: ClientId?
| `- error: cannot find type 'ClientId' in scope
27 |
28 | /// Client info.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:29:39: error: cannot find type 'RemoteTransport' in scope
27 |
28 | /// Client info.
29 | public private(set) var info: RemoteTransport.PacketHello.Info
| `- error: cannot find type 'RemoteTransport' in scope
30 |
31 | /// Parent connection.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:32:46: error: cannot find type 'RemoteTransport' in scope
30 |
31 | /// Parent connection.
32 | public internal(set) var connection: RemoteTransport.Connection?
| `- error: cannot find type 'RemoteTransport' in scope
33 |
34 | /// Is the client connected.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:56:32: error: cannot find type 'RemoteTransport' in scope
54 | ///
55 | /// - Parameter request: request.
56 | internal init(request: RemoteTransport.PacketHello) {
| `- error: cannot find type 'RemoteTransport' in scope
57 | self.info = request.info
58 |
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:144:32: error: cannot find type 'RemoteTransport' in scope
142 | public let raw: String
143 |
144 | internal init(request: RemoteTransport.PacketHello) {
| `- error: cannot find type 'RemoteTransport' in scope
145 | self.raw = (request.info.deviceId?.uuidString ?? "") +
146 | (request.info.appInfo.bundleIdentifier ?? "–")
[48/96] Compiling Glider RemoteTransportServer.swift
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:163:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
161 | /// URL Session used to send data.
162 | /// By default `.default` is used
163 | public var urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
164 |
165 | /// Formatters set.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:223:31: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
221 | public init(_ builder: ((inout Configuration) -> Void)?) throws {
222 | self.asyncTransportConfiguration = .init()
223 | self.urlSession = URLSession(configuration: .default)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
224 | self.queue = DispatchQueue(label: String(describing: type(of: self)), attributes: [])
225 | builder?(&self)
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:223:58: error: cannot infer contextual base in reference to member 'default'
221 | public init(_ builder: ((inout Configuration) -> Void)?) throws {
222 | self.asyncTransportConfiguration = .init()
223 | self.urlSession = URLSession(configuration: .default)
| `- error: cannot infer contextual base in reference to member 'default'
224 | self.queue = DispatchQueue(label: String(describing: type(of: self)), attributes: [])
225 | builder?(&self)
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:30:28: error: cannot find type 'URLRequest' in scope
28 |
29 | /// URLRequest to execute.
30 | public let urlRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
31 |
32 | /// Configuration
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:49:29: error: cannot find type 'URLRequest' in scope
47 | /// - urlRequest: url request to execute.
48 | /// - builder: builder function to customize the call.
49 | public init(urlRequest: URLRequest, _ builder: ((inout Configuration) -> Void)? = nil) {
| `- error: cannot find type 'URLRequest' in scope
50 | self.configuration = Configuration(builder)
51 | self.urlRequest = urlRequest
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:127:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
125 | case `internal`(Swift.Error)
126 | case noResponse
127 | case invalidResponse(URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 | case emptyResponse(HTTPURLResponse)
129 | case httpError(HTTPURLResponse, Data?)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:128:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | case noResponse
127 | case invalidResponse(URLResponse)
128 | case emptyResponse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 | case httpError(HTTPURLResponse, Data?)
130 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:129:24: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
127 | case invalidResponse(URLResponse)
128 | case emptyResponse(HTTPURLResponse)
129 | case httpError(HTTPURLResponse, Data?)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 | }
131 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncOperation.swift:19:14: warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
17 |
18 | /// This class allows subclasses in order to make an async Operation.
19 | public class AsyncOperation: Operation {
| `- warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
20 |
21 | /// Identifier of the operation.
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncURLRequestsOperation.swift:18:20: warning: class 'AsyncURLRequestOperation' must restate inherited '@unchecked Sendable' conformance
16 | import Foundation
17 |
18 | public final class AsyncURLRequestOperation: AsyncOperation {
| `- warning: class 'AsyncURLRequestOperation' must restate inherited '@unchecked Sendable' conformance
19 | public typealias Response = Result<Data, Error>
20 | typealias Callback = ((Response) -> Void)
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncURLRequestsOperation.swift:54:45: error: value of type 'URLSession' (aka 'AnyObject') has no member 'execute'
52 | self?.asyncFinish()
53 | }
54 | transport?.configuration.urlSession.execute(request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'execute'
55 | }
56 |
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
15 | // MARK: - Public Functions
16 |
17 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
18 |
19 | /// Execute the `URLSessionDataTask` which is part of the request, then call validate on it where we can decide if we need to retry or not.
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:40:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
38 | }
39 |
40 | private extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 |
42 | /// Process results of `URLSessionDataTask` and converts it into `DataResult` instance
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:47:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 | /// URLSession to use.
47 | private var session: URLSession?
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// Session delegate.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:57: error: cannot find type 'URLSessionDelegate' in scope
285 | extension LogstashTransport {
286 |
287 | private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
| `- error: cannot find type 'URLSessionDelegate' in scope
288 |
289 | // MARK: - Private Properties
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:77: error: cannot find type 'URLSessionTaskDelegate' in scope
285 | extension LogstashTransport {
286 |
287 | private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
288 |
289 | // MARK: - Private Properties
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:101: error: cannot find type 'URLSessionStreamDelegate' in scope
285 | extension LogstashTransport {
286 |
287 | private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
| `- error: cannot find type 'URLSessionStreamDelegate' in scope
288 |
289 | // MARK: - Private Properties
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:303:66: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
301 | func urlSession(_ session: URLSession,
302 | didReceive challenge: URLAuthenticationChallenge,
303 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
304 |
305 | if challenge.protectionSpace.host == transport?.configuration.host,
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:301:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
299 | }
300 |
301 | func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
302 | didReceive challenge: URLAuthenticationChallenge,
303 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:302:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
300 |
301 | func urlSession(_ session: URLSession,
302 | didReceive challenge: URLAuthenticationChallenge,
| `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
303 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
304 |
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
| `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:70:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
68 | configuration: configuration.asyncTransportConfiguration)
69 | self.sessionDelegate = LogstashURLSessionDelegate(transport: self)
70 | self.session = URLSession(configuration: .ephemeral,
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
71 | delegate: self.sessionDelegate,
72 | delegateQueue: socketQueue)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:70:51: error: cannot infer contextual base in reference to member 'ephemeral'
68 | configuration: configuration.asyncTransportConfiguration)
69 | self.sessionDelegate = LogstashURLSessionDelegate(transport: self)
70 | self.session = URLSession(configuration: .ephemeral,
| `- error: cannot infer contextual base in reference to member 'ephemeral'
71 | delegate: self.sessionDelegate,
72 | delegateQueue: socketQueue)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:92:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
90 | /// Cancel all active tasks, invalidate the session and create the new one.
91 | open func reset() {
92 | session?.invalidateAndCancel()
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
93 | session = URLSession(configuration: .ephemeral,
94 | delegate: sessionDelegate,
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:93:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | open func reset() {
92 | session?.invalidateAndCancel()
93 | session = URLSession(configuration: .ephemeral,
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | delegate: sessionDelegate,
95 | delegateQueue: socketQueue)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:93:46: error: cannot infer contextual base in reference to member 'ephemeral'
91 | open func reset() {
92 | session?.invalidateAndCancel()
93 | session = URLSession(configuration: .ephemeral,
| `- error: cannot infer contextual base in reference to member 'ephemeral'
94 | delegate: sessionDelegate,
95 | delegateQueue: socketQueue)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:129:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'streamTask'
127 | }
128 |
129 | let task = session.streamTask(withHostName: configuration.host, port: configuration.port)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'streamTask'
130 | if !configuration.allowUntrustedServer {
131 | task.startSecureConnection()
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:146:83: error: cannot infer type of closure parameter 'error' without a type annotation
144 | dispatchGroup.enter()
145 |
146 | task.write(messageData, timeout: configuration.timeout) { [weak self] error in
| `- error: cannot infer type of closure parameter 'error' without a type annotation
147 | guard let self = self else {
148 | dispatchGroup.leave()
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:305:27: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
303 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
304 |
305 | if challenge.protectionSpace.host == transport?.configuration.host,
| `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
306 | let trust = challenge.protectionSpace.serverTrust {
307 | let credential = URLCredential(trust: trust)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:306:39: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
304 |
305 | if challenge.protectionSpace.host == transport?.configuration.host,
306 | let trust = challenge.protectionSpace.serverTrust {
| `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
307 | let credential = URLCredential(trust: trust)
308 | completionHandler(.useCredential, credential)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:307:34: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
305 | if challenge.protectionSpace.host == transport?.configuration.host,
306 | let trust = challenge.protectionSpace.serverTrust {
307 | let credential = URLCredential(trust: trust)
| `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
308 | completionHandler(.useCredential, credential)
309 | } else {
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:308:36: error: cannot infer contextual base in reference to member 'useCredential'
306 | let trust = challenge.protectionSpace.serverTrust {
307 | let credential = URLCredential(trust: trust)
308 | completionHandler(.useCredential, credential)
| `- error: cannot infer contextual base in reference to member 'useCredential'
309 | } else {
310 | transport?.delegate?.logstashTransport(transport!, didFailTrustingService: transport!.configuration.host)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:36: error: cannot infer contextual base in reference to member 'cancelAuthenticationChallenge'
309 | } else {
310 | transport?.delegate?.logstashTransport(transport!, didFailTrustingService: transport!.configuration.host)
311 | completionHandler(.cancelAuthenticationChallenge, nil)
| `- error: cannot infer contextual base in reference to member 'cancelAuthenticationChallenge'
312 | }
313 | }
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:67: error: 'nil' requires a contextual type
309 | } else {
310 | transport?.delegate?.logstashTransport(transport!, didFailTrustingService: transport!.configuration.host)
311 | completionHandler(.cancelAuthenticationChallenge, nil)
| `- error: 'nil' requires a contextual type
312 | }
313 | }
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:19:11: error: cannot find type 'RemoteTransport' in scope
17 |
18 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, macCatalyst 13.0, *)
19 | extension RemoteTransport {
| `- error: cannot find type 'RemoteTransport' in scope
20 |
21 | /// Represent the configuration settings used to create a new `RemoteTransport` instance.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:19:11: error: cannot find type 'RemoteTransportServer' in scope
17 |
18 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, macCatalyst 13.0, *)
19 | extension RemoteTransportServer {
| `- error: cannot find type 'RemoteTransportServer' in scope
20 |
21 | /// Identify a client connected to the server.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:139:11: error: cannot find type 'RemoteTransportServer' in scope
137 |
138 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, macCatalyst 13.0, *)
139 | extension RemoteTransportServer {
| `- error: cannot find type 'RemoteTransportServer' in scope
140 |
141 | public struct ClientId: Hashable {
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:58:78: error: cannot find type 'Configuration' in scope
56 | ///
57 | /// - Parameter builder: builder callback.
58 | public init(serviceType: String = "_glider._tcp", _ builder: ((inout Configuration) -> Void)?) {
| `- error: cannot find type 'Configuration' in scope
59 | self.serviceType = serviceType
60 | self.queue = DispatchQueue(label: String(describing: type(of: self)), attributes: [])
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:26:44: error: cannot find type 'ClientId' in scope
24 | // MARK: - Public Properties
25 |
26 | public internal(set) var clientId: ClientId?
| `- error: cannot find type 'ClientId' in scope
27 |
28 | /// Client info.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:29:39: error: cannot find type 'RemoteTransport' in scope
27 |
28 | /// Client info.
29 | public private(set) var info: RemoteTransport.PacketHello.Info
| `- error: cannot find type 'RemoteTransport' in scope
30 |
31 | /// Parent connection.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:32:46: error: cannot find type 'RemoteTransport' in scope
30 |
31 | /// Parent connection.
32 | public internal(set) var connection: RemoteTransport.Connection?
| `- error: cannot find type 'RemoteTransport' in scope
33 |
34 | /// Is the client connected.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:56:32: error: cannot find type 'RemoteTransport' in scope
54 | ///
55 | /// - Parameter request: request.
56 | internal init(request: RemoteTransport.PacketHello) {
| `- error: cannot find type 'RemoteTransport' in scope
57 | self.info = request.info
58 |
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:144:32: error: cannot find type 'RemoteTransport' in scope
142 | public let raw: String
143 |
144 | internal init(request: RemoteTransport.PacketHello) {
| `- error: cannot find type 'RemoteTransport' in scope
145 | self.raw = (request.info.deviceId?.uuidString ?? "") +
146 | (request.info.appInfo.bundleIdentifier ?? "–")
[49/96] Compiling Glider RemoteTransportServerClient.swift
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:163:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
161 | /// URL Session used to send data.
162 | /// By default `.default` is used
163 | public var urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
164 |
165 | /// Formatters set.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:223:31: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
221 | public init(_ builder: ((inout Configuration) -> Void)?) throws {
222 | self.asyncTransportConfiguration = .init()
223 | self.urlSession = URLSession(configuration: .default)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
224 | self.queue = DispatchQueue(label: String(describing: type(of: self)), attributes: [])
225 | builder?(&self)
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:223:58: error: cannot infer contextual base in reference to member 'default'
221 | public init(_ builder: ((inout Configuration) -> Void)?) throws {
222 | self.asyncTransportConfiguration = .init()
223 | self.urlSession = URLSession(configuration: .default)
| `- error: cannot infer contextual base in reference to member 'default'
224 | self.queue = DispatchQueue(label: String(describing: type(of: self)), attributes: [])
225 | builder?(&self)
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:30:28: error: cannot find type 'URLRequest' in scope
28 |
29 | /// URLRequest to execute.
30 | public let urlRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
31 |
32 | /// Configuration
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:49:29: error: cannot find type 'URLRequest' in scope
47 | /// - urlRequest: url request to execute.
48 | /// - builder: builder function to customize the call.
49 | public init(urlRequest: URLRequest, _ builder: ((inout Configuration) -> Void)? = nil) {
| `- error: cannot find type 'URLRequest' in scope
50 | self.configuration = Configuration(builder)
51 | self.urlRequest = urlRequest
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:127:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
125 | case `internal`(Swift.Error)
126 | case noResponse
127 | case invalidResponse(URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 | case emptyResponse(HTTPURLResponse)
129 | case httpError(HTTPURLResponse, Data?)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:128:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | case noResponse
127 | case invalidResponse(URLResponse)
128 | case emptyResponse(HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 | case httpError(HTTPURLResponse, Data?)
130 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:129:24: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
127 | case invalidResponse(URLResponse)
128 | case emptyResponse(HTTPURLResponse)
129 | case httpError(HTTPURLResponse, Data?)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 | }
131 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncOperation.swift:19:14: warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
17 |
18 | /// This class allows subclasses in order to make an async Operation.
19 | public class AsyncOperation: Operation {
| `- warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
20 |
21 | /// Identifier of the operation.
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncURLRequestsOperation.swift:18:20: warning: class 'AsyncURLRequestOperation' must restate inherited '@unchecked Sendable' conformance
16 | import Foundation
17 |
18 | public final class AsyncURLRequestOperation: AsyncOperation {
| `- warning: class 'AsyncURLRequestOperation' must restate inherited '@unchecked Sendable' conformance
19 | public typealias Response = Result<Data, Error>
20 | typealias Callback = ((Response) -> Void)
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncURLRequestsOperation.swift:54:45: error: value of type 'URLSession' (aka 'AnyObject') has no member 'execute'
52 | self?.asyncFinish()
53 | }
54 | transport?.configuration.urlSession.execute(request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'execute'
55 | }
56 |
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
15 | // MARK: - Public Functions
16 |
17 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
18 |
19 | /// Execute the `URLSessionDataTask` which is part of the request, then call validate on it where we can decide if we need to retry or not.
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:40:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
38 | }
39 |
40 | private extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 |
42 | /// Process results of `URLSessionDataTask` and converts it into `DataResult` instance
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:47:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |
46 | /// URLSession to use.
47 | private var session: URLSession?
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 |
49 | /// Session delegate.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:57: error: cannot find type 'URLSessionDelegate' in scope
285 | extension LogstashTransport {
286 |
287 | private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
| `- error: cannot find type 'URLSessionDelegate' in scope
288 |
289 | // MARK: - Private Properties
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:77: error: cannot find type 'URLSessionTaskDelegate' in scope
285 | extension LogstashTransport {
286 |
287 | private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
288 |
289 | // MARK: - Private Properties
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:101: error: cannot find type 'URLSessionStreamDelegate' in scope
285 | extension LogstashTransport {
286 |
287 | private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
| `- error: cannot find type 'URLSessionStreamDelegate' in scope
288 |
289 | // MARK: - Private Properties
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:303:66: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
301 | func urlSession(_ session: URLSession,
302 | didReceive challenge: URLAuthenticationChallenge,
303 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
304 |
305 | if challenge.protectionSpace.host == transport?.configuration.host,
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:301:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
299 | }
300 |
301 | func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
302 | didReceive challenge: URLAuthenticationChallenge,
303 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:302:47: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
300 |
301 | func urlSession(_ session: URLSession,
302 | didReceive challenge: URLAuthenticationChallenge,
| `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
303 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
304 |
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
| `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:70:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
68 | configuration: configuration.asyncTransportConfiguration)
69 | self.sessionDelegate = LogstashURLSessionDelegate(transport: self)
70 | self.session = URLSession(configuration: .ephemeral,
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
71 | delegate: self.sessionDelegate,
72 | delegateQueue: socketQueue)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:70:51: error: cannot infer contextual base in reference to member 'ephemeral'
68 | configuration: configuration.asyncTransportConfiguration)
69 | self.sessionDelegate = LogstashURLSessionDelegate(transport: self)
70 | self.session = URLSession(configuration: .ephemeral,
| `- error: cannot infer contextual base in reference to member 'ephemeral'
71 | delegate: self.sessionDelegate,
72 | delegateQueue: socketQueue)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:92:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
90 | /// Cancel all active tasks, invalidate the session and create the new one.
91 | open func reset() {
92 | session?.invalidateAndCancel()
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
93 | session = URLSession(configuration: .ephemeral,
94 | delegate: sessionDelegate,
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:93:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
91 | open func reset() {
92 | session?.invalidateAndCancel()
93 | session = URLSession(configuration: .ephemeral,
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
94 | delegate: sessionDelegate,
95 | delegateQueue: socketQueue)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:93:46: error: cannot infer contextual base in reference to member 'ephemeral'
91 | open func reset() {
92 | session?.invalidateAndCancel()
93 | session = URLSession(configuration: .ephemeral,
| `- error: cannot infer contextual base in reference to member 'ephemeral'
94 | delegate: sessionDelegate,
95 | delegateQueue: socketQueue)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:129:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'streamTask'
127 | }
128 |
129 | let task = session.streamTask(withHostName: configuration.host, port: configuration.port)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'streamTask'
130 | if !configuration.allowUntrustedServer {
131 | task.startSecureConnection()
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:146:83: error: cannot infer type of closure parameter 'error' without a type annotation
144 | dispatchGroup.enter()
145 |
146 | task.write(messageData, timeout: configuration.timeout) { [weak self] error in
| `- error: cannot infer type of closure parameter 'error' without a type annotation
147 | guard let self = self else {
148 | dispatchGroup.leave()
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:305:27: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
303 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
304 |
305 | if challenge.protectionSpace.host == transport?.configuration.host,
| `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
306 | let trust = challenge.protectionSpace.serverTrust {
307 | let credential = URLCredential(trust: trust)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:306:39: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
304 |
305 | if challenge.protectionSpace.host == transport?.configuration.host,
306 | let trust = challenge.protectionSpace.serverTrust {
| `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
307 | let credential = URLCredential(trust: trust)
308 | completionHandler(.useCredential, credential)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:307:34: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
305 | if challenge.protectionSpace.host == transport?.configuration.host,
306 | let trust = challenge.protectionSpace.serverTrust {
307 | let credential = URLCredential(trust: trust)
| `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
308 | completionHandler(.useCredential, credential)
309 | } else {
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:308:36: error: cannot infer contextual base in reference to member 'useCredential'
306 | let trust = challenge.protectionSpace.serverTrust {
307 | let credential = URLCredential(trust: trust)
308 | completionHandler(.useCredential, credential)
| `- error: cannot infer contextual base in reference to member 'useCredential'
309 | } else {
310 | transport?.delegate?.logstashTransport(transport!, didFailTrustingService: transport!.configuration.host)
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:36: error: cannot infer contextual base in reference to member 'cancelAuthenticationChallenge'
309 | } else {
310 | transport?.delegate?.logstashTransport(transport!, didFailTrustingService: transport!.configuration.host)
311 | completionHandler(.cancelAuthenticationChallenge, nil)
| `- error: cannot infer contextual base in reference to member 'cancelAuthenticationChallenge'
312 | }
313 | }
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:67: error: 'nil' requires a contextual type
309 | } else {
310 | transport?.delegate?.logstashTransport(transport!, didFailTrustingService: transport!.configuration.host)
311 | completionHandler(.cancelAuthenticationChallenge, nil)
| `- error: 'nil' requires a contextual type
312 | }
313 | }
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:19:11: error: cannot find type 'RemoteTransport' in scope
17 |
18 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, macCatalyst 13.0, *)
19 | extension RemoteTransport {
| `- error: cannot find type 'RemoteTransport' in scope
20 |
21 | /// Represent the configuration settings used to create a new `RemoteTransport` instance.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:19:11: error: cannot find type 'RemoteTransportServer' in scope
17 |
18 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, macCatalyst 13.0, *)
19 | extension RemoteTransportServer {
| `- error: cannot find type 'RemoteTransportServer' in scope
20 |
21 | /// Identify a client connected to the server.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:139:11: error: cannot find type 'RemoteTransportServer' in scope
137 |
138 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, macCatalyst 13.0, *)
139 | extension RemoteTransportServer {
| `- error: cannot find type 'RemoteTransportServer' in scope
140 |
141 | public struct ClientId: Hashable {
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:58:78: error: cannot find type 'Configuration' in scope
56 | ///
57 | /// - Parameter builder: builder callback.
58 | public init(serviceType: String = "_glider._tcp", _ builder: ((inout Configuration) -> Void)?) {
| `- error: cannot find type 'Configuration' in scope
59 | self.serviceType = serviceType
60 | self.queue = DispatchQueue(label: String(describing: type(of: self)), attributes: [])
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:26:44: error: cannot find type 'ClientId' in scope
24 | // MARK: - Public Properties
25 |
26 | public internal(set) var clientId: ClientId?
| `- error: cannot find type 'ClientId' in scope
27 |
28 | /// Client info.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:29:39: error: cannot find type 'RemoteTransport' in scope
27 |
28 | /// Client info.
29 | public private(set) var info: RemoteTransport.PacketHello.Info
| `- error: cannot find type 'RemoteTransport' in scope
30 |
31 | /// Parent connection.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:32:46: error: cannot find type 'RemoteTransport' in scope
30 |
31 | /// Parent connection.
32 | public internal(set) var connection: RemoteTransport.Connection?
| `- error: cannot find type 'RemoteTransport' in scope
33 |
34 | /// Is the client connected.
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:56:32: error: cannot find type 'RemoteTransport' in scope
54 | ///
55 | /// - Parameter request: request.
56 | internal init(request: RemoteTransport.PacketHello) {
| `- error: cannot find type 'RemoteTransport' in scope
57 | self.info = request.info
58 |
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:144:32: error: cannot find type 'RemoteTransport' in scope
142 | public let raw: String
143 |
144 | internal init(request: RemoteTransport.PacketHello) {
| `- error: cannot find type 'RemoteTransport' in scope
145 | self.raw = (request.info.deviceId?.uuidString ?? "") +
146 | (request.info.appInfo.bundleIdentifier ?? "–")
[50/96] Compiling Glider Log.swift
/host/spi-builder-workspace/Glider/Sources/Log/TransportManager.swift:116:45: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
110 | /// - Returns:`(@escaping () -> Void) -> Void`
111 | private func dispatcherForQueue(_ queue: DispatchQueue, synchronous: Bool) -> (@escaping () -> Void) -> Void {
112 | let dispatcher: (@escaping () -> Void) -> Void = { block in
| `- note: parameter 'block' is implicitly non-sendable
113 | if synchronous {
114 | return queue.sync(execute: block)
115 | } else {
116 | return queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
117 | }
118 | }
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
177 | }
178 |
179 | @objc
| `- error: Objective-C interoperability is disabled
180 | private func tick() {
181 | queue.async {
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
166 | let timer = Timer(timeInterval: flushInterval,
167 | target: self,
168 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
169 | userInfo: nil,
170 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
147 |
148 | /// Called by timer.
149 | @objc
| `- error: Objective-C interoperability is disabled
150 | private func tick() {
151 | self.lastFlushDate = Date()
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
135 | let timer = Timer(timeInterval: flushInterval,
136 | target: self,
137 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
138 | userInfo: nil,
139 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
110 |
111 | /// POSIX stream.
112 | public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
113 |
114 | /// Formatter used to transform a payload into a string.
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
61 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
62 | POSIXStreamTransport {
63 | $0.stream = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
64 | $0.queue = queue
65 | $0.formatters = formatters
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
75 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
76 | POSIXStreamTransport {
77 | $0.stream = Darwin.stderr
| `- error: cannot find 'Darwin' in scope
78 | $0.queue = queue
79 | $0.formatters = formatters
[51/96] Compiling Glider Transport.swift
/host/spi-builder-workspace/Glider/Sources/Log/TransportManager.swift:116:45: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
110 | /// - Returns:`(@escaping () -> Void) -> Void`
111 | private func dispatcherForQueue(_ queue: DispatchQueue, synchronous: Bool) -> (@escaping () -> Void) -> Void {
112 | let dispatcher: (@escaping () -> Void) -> Void = { block in
| `- note: parameter 'block' is implicitly non-sendable
113 | if synchronous {
114 | return queue.sync(execute: block)
115 | } else {
116 | return queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
117 | }
118 | }
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
177 | }
178 |
179 | @objc
| `- error: Objective-C interoperability is disabled
180 | private func tick() {
181 | queue.async {
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
166 | let timer = Timer(timeInterval: flushInterval,
167 | target: self,
168 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
169 | userInfo: nil,
170 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
147 |
148 | /// Called by timer.
149 | @objc
| `- error: Objective-C interoperability is disabled
150 | private func tick() {
151 | self.lastFlushDate = Date()
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
135 | let timer = Timer(timeInterval: flushInterval,
136 | target: self,
137 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
138 | userInfo: nil,
139 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
110 |
111 | /// POSIX stream.
112 | public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
113 |
114 | /// Formatter used to transform a payload into a string.
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
61 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
62 | POSIXStreamTransport {
63 | $0.stream = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
64 | $0.queue = queue
65 | $0.formatters = formatters
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
75 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
76 | POSIXStreamTransport {
77 | $0.stream = Darwin.stderr
| `- error: cannot find 'Darwin' in scope
78 | $0.queue = queue
79 | $0.formatters = formatters
[52/96] Compiling Glider TransportFilter.swift
/host/spi-builder-workspace/Glider/Sources/Log/TransportManager.swift:116:45: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
110 | /// - Returns:`(@escaping () -> Void) -> Void`
111 | private func dispatcherForQueue(_ queue: DispatchQueue, synchronous: Bool) -> (@escaping () -> Void) -> Void {
112 | let dispatcher: (@escaping () -> Void) -> Void = { block in
| `- note: parameter 'block' is implicitly non-sendable
113 | if synchronous {
114 | return queue.sync(execute: block)
115 | } else {
116 | return queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
117 | }
118 | }
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
177 | }
178 |
179 | @objc
| `- error: Objective-C interoperability is disabled
180 | private func tick() {
181 | queue.async {
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
166 | let timer = Timer(timeInterval: flushInterval,
167 | target: self,
168 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
169 | userInfo: nil,
170 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
147 |
148 | /// Called by timer.
149 | @objc
| `- error: Objective-C interoperability is disabled
150 | private func tick() {
151 | self.lastFlushDate = Date()
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
135 | let timer = Timer(timeInterval: flushInterval,
136 | target: self,
137 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
138 | userInfo: nil,
139 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
110 |
111 | /// POSIX stream.
112 | public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
113 |
114 | /// Formatter used to transform a payload into a string.
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
61 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
62 | POSIXStreamTransport {
63 | $0.stream = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
64 | $0.queue = queue
65 | $0.formatters = formatters
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
75 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
76 | POSIXStreamTransport {
77 | $0.stream = Darwin.stderr
| `- error: cannot find 'Darwin' in scope
78 | $0.queue = queue
79 | $0.formatters = formatters
[53/96] Compiling Glider TransportManager.swift
/host/spi-builder-workspace/Glider/Sources/Log/TransportManager.swift:116:45: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
110 | /// - Returns:`(@escaping () -> Void) -> Void`
111 | private func dispatcherForQueue(_ queue: DispatchQueue, synchronous: Bool) -> (@escaping () -> Void) -> Void {
112 | let dispatcher: (@escaping () -> Void) -> Void = { block in
| `- note: parameter 'block' is implicitly non-sendable
113 | if synchronous {
114 | return queue.sync(execute: block)
115 | } else {
116 | return queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
117 | }
118 | }
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
177 | }
178 |
179 | @objc
| `- error: Objective-C interoperability is disabled
180 | private func tick() {
181 | queue.async {
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
166 | let timer = Timer(timeInterval: flushInterval,
167 | target: self,
168 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
169 | userInfo: nil,
170 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
147 |
148 | /// Called by timer.
149 | @objc
| `- error: Objective-C interoperability is disabled
150 | private func tick() {
151 | self.lastFlushDate = Date()
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
135 | let timer = Timer(timeInterval: flushInterval,
136 | target: self,
137 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
138 | userInfo: nil,
139 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
110 |
111 | /// POSIX stream.
112 | public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
113 |
114 | /// Formatter used to transform a payload into a string.
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
61 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
62 | POSIXStreamTransport {
63 | $0.stream = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
64 | $0.queue = queue
65 | $0.formatters = formatters
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
75 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
76 | POSIXStreamTransport {
77 | $0.stream = Darwin.stderr
| `- error: cannot find 'Darwin' in scope
78 | $0.queue = queue
79 | $0.formatters = formatters
[54/96] Compiling Glider AsyncTransport.swift
/host/spi-builder-workspace/Glider/Sources/Log/TransportManager.swift:116:45: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
110 | /// - Returns:`(@escaping () -> Void) -> Void`
111 | private func dispatcherForQueue(_ queue: DispatchQueue, synchronous: Bool) -> (@escaping () -> Void) -> Void {
112 | let dispatcher: (@escaping () -> Void) -> Void = { block in
| `- note: parameter 'block' is implicitly non-sendable
113 | if synchronous {
114 | return queue.sync(execute: block)
115 | } else {
116 | return queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
117 | }
118 | }
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
177 | }
178 |
179 | @objc
| `- error: Objective-C interoperability is disabled
180 | private func tick() {
181 | queue.async {
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
166 | let timer = Timer(timeInterval: flushInterval,
167 | target: self,
168 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
169 | userInfo: nil,
170 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
147 |
148 | /// Called by timer.
149 | @objc
| `- error: Objective-C interoperability is disabled
150 | private func tick() {
151 | self.lastFlushDate = Date()
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
135 | let timer = Timer(timeInterval: flushInterval,
136 | target: self,
137 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
138 | userInfo: nil,
139 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
110 |
111 | /// POSIX stream.
112 | public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
113 |
114 | /// Formatter used to transform a payload into a string.
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
61 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
62 | POSIXStreamTransport {
63 | $0.stream = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
64 | $0.queue = queue
65 | $0.formatters = formatters
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
75 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
76 | POSIXStreamTransport {
77 | $0.stream = Darwin.stderr
| `- error: cannot find 'Darwin' in scope
78 | $0.queue = queue
79 | $0.formatters = formatters
[55/96] Compiling Glider BufferedTransport.swift
/host/spi-builder-workspace/Glider/Sources/Log/TransportManager.swift:116:45: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
110 | /// - Returns:`(@escaping () -> Void) -> Void`
111 | private func dispatcherForQueue(_ queue: DispatchQueue, synchronous: Bool) -> (@escaping () -> Void) -> Void {
112 | let dispatcher: (@escaping () -> Void) -> Void = { block in
| `- note: parameter 'block' is implicitly non-sendable
113 | if synchronous {
114 | return queue.sync(execute: block)
115 | } else {
116 | return queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
117 | }
118 | }
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
177 | }
178 |
179 | @objc
| `- error: Objective-C interoperability is disabled
180 | private func tick() {
181 | queue.async {
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
166 | let timer = Timer(timeInterval: flushInterval,
167 | target: self,
168 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
169 | userInfo: nil,
170 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
147 |
148 | /// Called by timer.
149 | @objc
| `- error: Objective-C interoperability is disabled
150 | private func tick() {
151 | self.lastFlushDate = Date()
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
135 | let timer = Timer(timeInterval: flushInterval,
136 | target: self,
137 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
138 | userInfo: nil,
139 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
110 |
111 | /// POSIX stream.
112 | public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
113 |
114 | /// Formatter used to transform a payload into a string.
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
61 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
62 | POSIXStreamTransport {
63 | $0.stream = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
64 | $0.queue = queue
65 | $0.formatters = formatters
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
75 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
76 | POSIXStreamTransport {
77 | $0.stream = Darwin.stderr
| `- error: cannot find 'Darwin' in scope
78 | $0.queue = queue
79 | $0.formatters = formatters
[56/96] Compiling Glider ThrottledTransport.swift
/host/spi-builder-workspace/Glider/Sources/Log/TransportManager.swift:116:45: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
110 | /// - Returns:`(@escaping () -> Void) -> Void`
111 | private func dispatcherForQueue(_ queue: DispatchQueue, synchronous: Bool) -> (@escaping () -> Void) -> Void {
112 | let dispatcher: (@escaping () -> Void) -> Void = { block in
| `- note: parameter 'block' is implicitly non-sendable
113 | if synchronous {
114 | return queue.sync(execute: block)
115 | } else {
116 | return queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
117 | }
118 | }
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
177 | }
178 |
179 | @objc
| `- error: Objective-C interoperability is disabled
180 | private func tick() {
181 | queue.async {
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
166 | let timer = Timer(timeInterval: flushInterval,
167 | target: self,
168 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
169 | userInfo: nil,
170 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
147 |
148 | /// Called by timer.
149 | @objc
| `- error: Objective-C interoperability is disabled
150 | private func tick() {
151 | self.lastFlushDate = Date()
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
135 | let timer = Timer(timeInterval: flushInterval,
136 | target: self,
137 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
138 | userInfo: nil,
139 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
110 |
111 | /// POSIX stream.
112 | public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
113 |
114 | /// Formatter used to transform a payload into a string.
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
61 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
62 | POSIXStreamTransport {
63 | $0.stream = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
64 | $0.queue = queue
65 | $0.formatters = formatters
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
75 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
76 | POSIXStreamTransport {
77 | $0.stream = Darwin.stderr
| `- error: cannot find 'Darwin' in scope
78 | $0.queue = queue
79 | $0.formatters = formatters
[57/96] Compiling Glider ConsoleTransport.swift
/host/spi-builder-workspace/Glider/Sources/Log/TransportManager.swift:116:45: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
110 | /// - Returns:`(@escaping () -> Void) -> Void`
111 | private func dispatcherForQueue(_ queue: DispatchQueue, synchronous: Bool) -> (@escaping () -> Void) -> Void {
112 | let dispatcher: (@escaping () -> Void) -> Void = { block in
| `- note: parameter 'block' is implicitly non-sendable
113 | if synchronous {
114 | return queue.sync(execute: block)
115 | } else {
116 | return queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
117 | }
118 | }
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
177 | }
178 |
179 | @objc
| `- error: Objective-C interoperability is disabled
180 | private func tick() {
181 | queue.async {
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
166 | let timer = Timer(timeInterval: flushInterval,
167 | target: self,
168 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
169 | userInfo: nil,
170 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
147 |
148 | /// Called by timer.
149 | @objc
| `- error: Objective-C interoperability is disabled
150 | private func tick() {
151 | self.lastFlushDate = Date()
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
135 | let timer = Timer(timeInterval: flushInterval,
136 | target: self,
137 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
138 | userInfo: nil,
139 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
110 |
111 | /// POSIX stream.
112 | public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
113 |
114 | /// Formatter used to transform a payload into a string.
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
61 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
62 | POSIXStreamTransport {
63 | $0.stream = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
64 | $0.queue = queue
65 | $0.formatters = formatters
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
75 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
76 | POSIXStreamTransport {
77 | $0.stream = Darwin.stderr
| `- error: cannot find 'Darwin' in scope
78 | $0.queue = queue
79 | $0.formatters = formatters
[58/96] Compiling Glider OSLogTransport.swift
/host/spi-builder-workspace/Glider/Sources/Log/TransportManager.swift:116:45: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
110 | /// - Returns:`(@escaping () -> Void) -> Void`
111 | private func dispatcherForQueue(_ queue: DispatchQueue, synchronous: Bool) -> (@escaping () -> Void) -> Void {
112 | let dispatcher: (@escaping () -> Void) -> Void = { block in
| `- note: parameter 'block' is implicitly non-sendable
113 | if synchronous {
114 | return queue.sync(execute: block)
115 | } else {
116 | return queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
117 | }
118 | }
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
177 | }
178 |
179 | @objc
| `- error: Objective-C interoperability is disabled
180 | private func tick() {
181 | queue.async {
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
166 | let timer = Timer(timeInterval: flushInterval,
167 | target: self,
168 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
169 | userInfo: nil,
170 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
147 |
148 | /// Called by timer.
149 | @objc
| `- error: Objective-C interoperability is disabled
150 | private func tick() {
151 | self.lastFlushDate = Date()
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
135 | let timer = Timer(timeInterval: flushInterval,
136 | target: self,
137 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
138 | userInfo: nil,
139 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
110 |
111 | /// POSIX stream.
112 | public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
113 |
114 | /// Formatter used to transform a payload into a string.
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
61 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
62 | POSIXStreamTransport {
63 | $0.stream = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
64 | $0.queue = queue
65 | $0.formatters = formatters
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
75 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
76 | POSIXStreamTransport {
77 | $0.stream = Darwin.stderr
| `- error: cannot find 'Darwin' in scope
78 | $0.queue = queue
79 | $0.formatters = formatters
[59/96] Compiling Glider FileTransport.swift
/host/spi-builder-workspace/Glider/Sources/Log/TransportManager.swift:116:45: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
110 | /// - Returns:`(@escaping () -> Void) -> Void`
111 | private func dispatcherForQueue(_ queue: DispatchQueue, synchronous: Bool) -> (@escaping () -> Void) -> Void {
112 | let dispatcher: (@escaping () -> Void) -> Void = { block in
| `- note: parameter 'block' is implicitly non-sendable
113 | if synchronous {
114 | return queue.sync(execute: block)
115 | } else {
116 | return queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
117 | }
118 | }
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
177 | }
178 |
179 | @objc
| `- error: Objective-C interoperability is disabled
180 | private func tick() {
181 | queue.async {
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
166 | let timer = Timer(timeInterval: flushInterval,
167 | target: self,
168 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
169 | userInfo: nil,
170 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
147 |
148 | /// Called by timer.
149 | @objc
| `- error: Objective-C interoperability is disabled
150 | private func tick() {
151 | self.lastFlushDate = Date()
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
135 | let timer = Timer(timeInterval: flushInterval,
136 | target: self,
137 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
138 | userInfo: nil,
139 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
110 |
111 | /// POSIX stream.
112 | public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
113 |
114 | /// Formatter used to transform a payload into a string.
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
61 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
62 | POSIXStreamTransport {
63 | $0.stream = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
64 | $0.queue = queue
65 | $0.formatters = formatters
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
75 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
76 | POSIXStreamTransport {
77 | $0.stream = Darwin.stderr
| `- error: cannot find 'Darwin' in scope
78 | $0.queue = queue
79 | $0.formatters = formatters
[60/96] Compiling Glider POSIXStreamTransport.swift
/host/spi-builder-workspace/Glider/Sources/Log/TransportManager.swift:116:45: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
110 | /// - Returns:`(@escaping () -> Void) -> Void`
111 | private func dispatcherForQueue(_ queue: DispatchQueue, synchronous: Bool) -> (@escaping () -> Void) -> Void {
112 | let dispatcher: (@escaping () -> Void) -> Void = { block in
| `- note: parameter 'block' is implicitly non-sendable
113 | if synchronous {
114 | return queue.sync(execute: block)
115 | } else {
116 | return queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
117 | }
118 | }
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
177 | }
178 |
179 | @objc
| `- error: Objective-C interoperability is disabled
180 | private func tick() {
181 | queue.async {
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
166 | let timer = Timer(timeInterval: flushInterval,
167 | target: self,
168 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
169 | userInfo: nil,
170 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
147 |
148 | /// Called by timer.
149 | @objc
| `- error: Objective-C interoperability is disabled
150 | private func tick() {
151 | self.lastFlushDate = Date()
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
135 | let timer = Timer(timeInterval: flushInterval,
136 | target: self,
137 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
138 | userInfo: nil,
139 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
110 |
111 | /// POSIX stream.
112 | public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
113 |
114 | /// Formatter used to transform a payload into a string.
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
61 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
62 | POSIXStreamTransport {
63 | $0.stream = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
64 | $0.queue = queue
65 | $0.formatters = formatters
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
75 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
76 | POSIXStreamTransport {
77 | $0.stream = Darwin.stderr
| `- error: cannot find 'Darwin' in scope
78 | $0.queue = queue
79 | $0.formatters = formatters
[61/96] Compiling Glider StdStreamsTransport.swift
/host/spi-builder-workspace/Glider/Sources/Log/TransportManager.swift:116:45: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
110 | /// - Returns:`(@escaping () -> Void) -> Void`
111 | private func dispatcherForQueue(_ queue: DispatchQueue, synchronous: Bool) -> (@escaping () -> Void) -> Void {
112 | let dispatcher: (@escaping () -> Void) -> Void = { block in
| `- note: parameter 'block' is implicitly non-sendable
113 | if synchronous {
114 | return queue.sync(execute: block)
115 | } else {
116 | return queue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
117 | }
118 | }
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
177 | }
178 |
179 | @objc
| `- error: Objective-C interoperability is disabled
180 | private func tick() {
181 | queue.async {
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
166 | let timer = Timer(timeInterval: flushInterval,
167 | target: self,
168 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
169 | userInfo: nil,
170 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
147 |
148 | /// Called by timer.
149 | @objc
| `- error: Objective-C interoperability is disabled
150 | private func tick() {
151 | self.lastFlushDate = Date()
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
135 | let timer = Timer(timeInterval: flushInterval,
136 | target: self,
137 | selector: #selector(tick),
| `- error: '#selector' can only be used with the Objective-C runtime
138 | userInfo: nil,
139 | repeats: true)
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
110 |
111 | /// POSIX stream.
112 | public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
113 |
114 | /// Formatter used to transform a payload into a string.
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
61 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
62 | POSIXStreamTransport {
63 | $0.stream = Darwin.stdout
| `- error: cannot find 'Darwin' in scope
64 | $0.queue = queue
65 | $0.formatters = formatters
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
75 | queue: DispatchQueue = DispatchQueue(label: "Glider.\(UUID().uuidString)")) -> POSIXStreamTransport {
76 | POSIXStreamTransport {
77 | $0.stream = Darwin.stderr
| `- error: cannot find 'Darwin' in scope
78 | $0.queue = queue
79 | $0.formatters = formatters
[62/96] Compiling Glider BonjourPublisher.swift
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
39 |
40 | /// NetService used to publish services over bonjour.
41 | private var netService: NetService
| `- error: cannot find type 'NetService' in scope
42 |
43 | /// Delegate.
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
91 | /// - options: options.
92 | /// - success: success handler.
93 | public func start(options: NetService.Options = [.listenForConnections],
| `- error: cannot find type 'NetService' in scope
94 | success: ((Bool) -> Void)? = nil) {
95 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
116 |
117 | /// This class is used only to incapsulate the objective-c requirements of the NetServiceDelegate.
118 | private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
| `- error: cannot find type 'NetServiceDelegate' in scope
119 | weak var server: BonjourPublisher?
120 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
125 | }
126 |
127 | func netServiceDidPublish(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
128 | server?.started = true
129 | delegate?.bonjourPublisherDidStart(server!)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
130 | }
131 |
132 | func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
| `- error: cannot find type 'NetService' in scope
133 | server?.started = false
134 | let error = GliderError(message: errorDict.description)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
136 | }
137 |
138 | func netServiceDidStop(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
139 | server?.started = false
140 | delegate?.bonjourPublisher(server!, didStopWithError: nil)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
72 | self.configuration = cfg
73 |
74 | netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
| `- error: cannot find 'NetService' in scope
75 | objectDelegate = BonjourPublisherObjectDelegate()
76 | objectDelegate?.server = self
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
101 |
102 | successCallback = success
103 | netService.schedule(in: runLoop, forMode: .default)
| `- error: cannot infer contextual base in reference to member 'default'
104 | netService.publish(options: options)
105 | // runLoop.run()
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
16 | import Foundation
17 |
18 | internal extension NetService {
| `- error: cannot find type 'NetService' in scope
19 |
20 | class func dictionary(fromTXTRecord data: Data) -> [String: String] {
[63/96] Compiling Glider NetService+Extensions.swift
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
39 |
40 | /// NetService used to publish services over bonjour.
41 | private var netService: NetService
| `- error: cannot find type 'NetService' in scope
42 |
43 | /// Delegate.
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
91 | /// - options: options.
92 | /// - success: success handler.
93 | public func start(options: NetService.Options = [.listenForConnections],
| `- error: cannot find type 'NetService' in scope
94 | success: ((Bool) -> Void)? = nil) {
95 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
116 |
117 | /// This class is used only to incapsulate the objective-c requirements of the NetServiceDelegate.
118 | private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
| `- error: cannot find type 'NetServiceDelegate' in scope
119 | weak var server: BonjourPublisher?
120 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
125 | }
126 |
127 | func netServiceDidPublish(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
128 | server?.started = true
129 | delegate?.bonjourPublisherDidStart(server!)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
130 | }
131 |
132 | func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
| `- error: cannot find type 'NetService' in scope
133 | server?.started = false
134 | let error = GliderError(message: errorDict.description)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
136 | }
137 |
138 | func netServiceDidStop(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
139 | server?.started = false
140 | delegate?.bonjourPublisher(server!, didStopWithError: nil)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
72 | self.configuration = cfg
73 |
74 | netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
| `- error: cannot find 'NetService' in scope
75 | objectDelegate = BonjourPublisherObjectDelegate()
76 | objectDelegate?.server = self
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
101 |
102 | successCallback = success
103 | netService.schedule(in: runLoop, forMode: .default)
| `- error: cannot infer contextual base in reference to member 'default'
104 | netService.publish(options: options)
105 | // runLoop.run()
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
16 | import Foundation
17 |
18 | internal extension NetService {
| `- error: cannot find type 'NetService' in scope
19 |
20 | class func dictionary(fromTXTRecord data: Data) -> [String: String] {
[64/96] Compiling Glider WebSocketClient.swift
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
39 |
40 | /// NetService used to publish services over bonjour.
41 | private var netService: NetService
| `- error: cannot find type 'NetService' in scope
42 |
43 | /// Delegate.
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
91 | /// - options: options.
92 | /// - success: success handler.
93 | public func start(options: NetService.Options = [.listenForConnections],
| `- error: cannot find type 'NetService' in scope
94 | success: ((Bool) -> Void)? = nil) {
95 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
116 |
117 | /// This class is used only to incapsulate the objective-c requirements of the NetServiceDelegate.
118 | private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
| `- error: cannot find type 'NetServiceDelegate' in scope
119 | weak var server: BonjourPublisher?
120 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
125 | }
126 |
127 | func netServiceDidPublish(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
128 | server?.started = true
129 | delegate?.bonjourPublisherDidStart(server!)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
130 | }
131 |
132 | func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
| `- error: cannot find type 'NetService' in scope
133 | server?.started = false
134 | let error = GliderError(message: errorDict.description)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
136 | }
137 |
138 | func netServiceDidStop(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
139 | server?.started = false
140 | delegate?.bonjourPublisher(server!, didStopWithError: nil)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
72 | self.configuration = cfg
73 |
74 | netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
| `- error: cannot find 'NetService' in scope
75 | objectDelegate = BonjourPublisherObjectDelegate()
76 | objectDelegate?.server = self
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
101 |
102 | successCallback = success
103 | netService.schedule(in: runLoop, forMode: .default)
| `- error: cannot infer contextual base in reference to member 'default'
104 | netService.publish(options: options)
105 | // runLoop.run()
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
16 | import Foundation
17 |
18 | internal extension NetService {
| `- error: cannot find type 'NetService' in scope
19 |
20 | class func dictionary(fromTXTRecord data: Data) -> [String: String] {
[65/96] Compiling Glider WebSocketClientDelegate.swift
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
39 |
40 | /// NetService used to publish services over bonjour.
41 | private var netService: NetService
| `- error: cannot find type 'NetService' in scope
42 |
43 | /// Delegate.
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
91 | /// - options: options.
92 | /// - success: success handler.
93 | public func start(options: NetService.Options = [.listenForConnections],
| `- error: cannot find type 'NetService' in scope
94 | success: ((Bool) -> Void)? = nil) {
95 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
116 |
117 | /// This class is used only to incapsulate the objective-c requirements of the NetServiceDelegate.
118 | private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
| `- error: cannot find type 'NetServiceDelegate' in scope
119 | weak var server: BonjourPublisher?
120 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
125 | }
126 |
127 | func netServiceDidPublish(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
128 | server?.started = true
129 | delegate?.bonjourPublisherDidStart(server!)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
130 | }
131 |
132 | func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
| `- error: cannot find type 'NetService' in scope
133 | server?.started = false
134 | let error = GliderError(message: errorDict.description)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
136 | }
137 |
138 | func netServiceDidStop(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
139 | server?.started = false
140 | delegate?.bonjourPublisher(server!, didStopWithError: nil)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
72 | self.configuration = cfg
73 |
74 | netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
| `- error: cannot find 'NetService' in scope
75 | objectDelegate = BonjourPublisherObjectDelegate()
76 | objectDelegate?.server = self
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
101 |
102 | successCallback = success
103 | netService.schedule(in: runLoop, forMode: .default)
| `- error: cannot infer contextual base in reference to member 'default'
104 | netService.publish(options: options)
105 | // runLoop.run()
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
16 | import Foundation
17 |
18 | internal extension NetService {
| `- error: cannot find type 'NetService' in scope
19 |
20 | class func dictionary(fromTXTRecord data: Data) -> [String: String] {
[66/96] Compiling Glider WebSocketPeer.swift
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
39 |
40 | /// NetService used to publish services over bonjour.
41 | private var netService: NetService
| `- error: cannot find type 'NetService' in scope
42 |
43 | /// Delegate.
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
91 | /// - options: options.
92 | /// - success: success handler.
93 | public func start(options: NetService.Options = [.listenForConnections],
| `- error: cannot find type 'NetService' in scope
94 | success: ((Bool) -> Void)? = nil) {
95 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
116 |
117 | /// This class is used only to incapsulate the objective-c requirements of the NetServiceDelegate.
118 | private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
| `- error: cannot find type 'NetServiceDelegate' in scope
119 | weak var server: BonjourPublisher?
120 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
125 | }
126 |
127 | func netServiceDidPublish(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
128 | server?.started = true
129 | delegate?.bonjourPublisherDidStart(server!)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
130 | }
131 |
132 | func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
| `- error: cannot find type 'NetService' in scope
133 | server?.started = false
134 | let error = GliderError(message: errorDict.description)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
136 | }
137 |
138 | func netServiceDidStop(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
139 | server?.started = false
140 | delegate?.bonjourPublisher(server!, didStopWithError: nil)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
72 | self.configuration = cfg
73 |
74 | netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
| `- error: cannot find 'NetService' in scope
75 | objectDelegate = BonjourPublisherObjectDelegate()
76 | objectDelegate?.server = self
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
101 |
102 | successCallback = success
103 | netService.schedule(in: runLoop, forMode: .default)
| `- error: cannot infer contextual base in reference to member 'default'
104 | netService.publish(options: options)
105 | // runLoop.run()
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
16 | import Foundation
17 |
18 | internal extension NetService {
| `- error: cannot find type 'NetService' in scope
19 |
20 | class func dictionary(fromTXTRecord data: Data) -> [String: String] {
[67/96] Compiling Glider WebSocketServer.swift
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
39 |
40 | /// NetService used to publish services over bonjour.
41 | private var netService: NetService
| `- error: cannot find type 'NetService' in scope
42 |
43 | /// Delegate.
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
91 | /// - options: options.
92 | /// - success: success handler.
93 | public func start(options: NetService.Options = [.listenForConnections],
| `- error: cannot find type 'NetService' in scope
94 | success: ((Bool) -> Void)? = nil) {
95 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
116 |
117 | /// This class is used only to incapsulate the objective-c requirements of the NetServiceDelegate.
118 | private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
| `- error: cannot find type 'NetServiceDelegate' in scope
119 | weak var server: BonjourPublisher?
120 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
125 | }
126 |
127 | func netServiceDidPublish(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
128 | server?.started = true
129 | delegate?.bonjourPublisherDidStart(server!)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
130 | }
131 |
132 | func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
| `- error: cannot find type 'NetService' in scope
133 | server?.started = false
134 | let error = GliderError(message: errorDict.description)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
136 | }
137 |
138 | func netServiceDidStop(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
139 | server?.started = false
140 | delegate?.bonjourPublisher(server!, didStopWithError: nil)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
72 | self.configuration = cfg
73 |
74 | netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
| `- error: cannot find 'NetService' in scope
75 | objectDelegate = BonjourPublisherObjectDelegate()
76 | objectDelegate?.server = self
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
101 |
102 | successCallback = success
103 | netService.schedule(in: runLoop, forMode: .default)
| `- error: cannot infer contextual base in reference to member 'default'
104 | netService.publish(options: options)
105 | // runLoop.run()
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
16 | import Foundation
17 |
18 | internal extension NetService {
| `- error: cannot find type 'NetService' in scope
19 |
20 | class func dictionary(fromTXTRecord data: Data) -> [String: String] {
[68/96] Compiling Glider WebSocketServerDelegate.swift
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
39 |
40 | /// NetService used to publish services over bonjour.
41 | private var netService: NetService
| `- error: cannot find type 'NetService' in scope
42 |
43 | /// Delegate.
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
91 | /// - options: options.
92 | /// - success: success handler.
93 | public func start(options: NetService.Options = [.listenForConnections],
| `- error: cannot find type 'NetService' in scope
94 | success: ((Bool) -> Void)? = nil) {
95 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
116 |
117 | /// This class is used only to incapsulate the objective-c requirements of the NetServiceDelegate.
118 | private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
| `- error: cannot find type 'NetServiceDelegate' in scope
119 | weak var server: BonjourPublisher?
120 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
125 | }
126 |
127 | func netServiceDidPublish(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
128 | server?.started = true
129 | delegate?.bonjourPublisherDidStart(server!)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
130 | }
131 |
132 | func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
| `- error: cannot find type 'NetService' in scope
133 | server?.started = false
134 | let error = GliderError(message: errorDict.description)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
136 | }
137 |
138 | func netServiceDidStop(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
139 | server?.started = false
140 | delegate?.bonjourPublisher(server!, didStopWithError: nil)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
72 | self.configuration = cfg
73 |
74 | netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
| `- error: cannot find 'NetService' in scope
75 | objectDelegate = BonjourPublisherObjectDelegate()
76 | objectDelegate?.server = self
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
101 |
102 | successCallback = success
103 | netService.schedule(in: runLoop, forMode: .default)
| `- error: cannot infer contextual base in reference to member 'default'
104 | netService.publish(options: options)
105 | // runLoop.run()
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
16 | import Foundation
17 |
18 | internal extension NetService {
| `- error: cannot find type 'NetService' in scope
19 |
20 | class func dictionary(fromTXTRecord data: Data) -> [String: String] {
[69/96] Compiling Glider WebSocketTransportClient.swift
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
39 |
40 | /// NetService used to publish services over bonjour.
41 | private var netService: NetService
| `- error: cannot find type 'NetService' in scope
42 |
43 | /// Delegate.
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
91 | /// - options: options.
92 | /// - success: success handler.
93 | public func start(options: NetService.Options = [.listenForConnections],
| `- error: cannot find type 'NetService' in scope
94 | success: ((Bool) -> Void)? = nil) {
95 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
116 |
117 | /// This class is used only to incapsulate the objective-c requirements of the NetServiceDelegate.
118 | private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
| `- error: cannot find type 'NetServiceDelegate' in scope
119 | weak var server: BonjourPublisher?
120 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
125 | }
126 |
127 | func netServiceDidPublish(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
128 | server?.started = true
129 | delegate?.bonjourPublisherDidStart(server!)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
130 | }
131 |
132 | func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
| `- error: cannot find type 'NetService' in scope
133 | server?.started = false
134 | let error = GliderError(message: errorDict.description)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
136 | }
137 |
138 | func netServiceDidStop(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
139 | server?.started = false
140 | delegate?.bonjourPublisher(server!, didStopWithError: nil)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
72 | self.configuration = cfg
73 |
74 | netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
| `- error: cannot find 'NetService' in scope
75 | objectDelegate = BonjourPublisherObjectDelegate()
76 | objectDelegate?.server = self
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
101 |
102 | successCallback = success
103 | netService.schedule(in: runLoop, forMode: .default)
| `- error: cannot infer contextual base in reference to member 'default'
104 | netService.publish(options: options)
105 | // runLoop.run()
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
16 | import Foundation
17 |
18 | internal extension NetService {
| `- error: cannot find type 'NetService' in scope
19 |
20 | class func dictionary(fromTXTRecord data: Data) -> [String: String] {
[70/96] Compiling Glider WebSocketTransportClientDelegate.swift
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
39 |
40 | /// NetService used to publish services over bonjour.
41 | private var netService: NetService
| `- error: cannot find type 'NetService' in scope
42 |
43 | /// Delegate.
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
91 | /// - options: options.
92 | /// - success: success handler.
93 | public func start(options: NetService.Options = [.listenForConnections],
| `- error: cannot find type 'NetService' in scope
94 | success: ((Bool) -> Void)? = nil) {
95 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
116 |
117 | /// This class is used only to incapsulate the objective-c requirements of the NetServiceDelegate.
118 | private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
| `- error: cannot find type 'NetServiceDelegate' in scope
119 | weak var server: BonjourPublisher?
120 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
125 | }
126 |
127 | func netServiceDidPublish(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
128 | server?.started = true
129 | delegate?.bonjourPublisherDidStart(server!)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
130 | }
131 |
132 | func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
| `- error: cannot find type 'NetService' in scope
133 | server?.started = false
134 | let error = GliderError(message: errorDict.description)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
136 | }
137 |
138 | func netServiceDidStop(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
139 | server?.started = false
140 | delegate?.bonjourPublisher(server!, didStopWithError: nil)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
72 | self.configuration = cfg
73 |
74 | netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
| `- error: cannot find 'NetService' in scope
75 | objectDelegate = BonjourPublisherObjectDelegate()
76 | objectDelegate?.server = self
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
101 |
102 | successCallback = success
103 | netService.schedule(in: runLoop, forMode: .default)
| `- error: cannot infer contextual base in reference to member 'default'
104 | netService.publish(options: options)
105 | // runLoop.run()
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
16 | import Foundation
17 |
18 | internal extension NetService {
| `- error: cannot find type 'NetService' in scope
19 |
20 | class func dictionary(fromTXTRecord data: Data) -> [String: String] {
[71/96] Compiling Glider WebSocketTransportServer.swift
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
39 |
40 | /// NetService used to publish services over bonjour.
41 | private var netService: NetService
| `- error: cannot find type 'NetService' in scope
42 |
43 | /// Delegate.
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
91 | /// - options: options.
92 | /// - success: success handler.
93 | public func start(options: NetService.Options = [.listenForConnections],
| `- error: cannot find type 'NetService' in scope
94 | success: ((Bool) -> Void)? = nil) {
95 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
116 |
117 | /// This class is used only to incapsulate the objective-c requirements of the NetServiceDelegate.
118 | private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
| `- error: cannot find type 'NetServiceDelegate' in scope
119 | weak var server: BonjourPublisher?
120 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
125 | }
126 |
127 | func netServiceDidPublish(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
128 | server?.started = true
129 | delegate?.bonjourPublisherDidStart(server!)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
130 | }
131 |
132 | func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
| `- error: cannot find type 'NetService' in scope
133 | server?.started = false
134 | let error = GliderError(message: errorDict.description)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
136 | }
137 |
138 | func netServiceDidStop(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
139 | server?.started = false
140 | delegate?.bonjourPublisher(server!, didStopWithError: nil)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
72 | self.configuration = cfg
73 |
74 | netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
| `- error: cannot find 'NetService' in scope
75 | objectDelegate = BonjourPublisherObjectDelegate()
76 | objectDelegate?.server = self
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
101 |
102 | successCallback = success
103 | netService.schedule(in: runLoop, forMode: .default)
| `- error: cannot infer contextual base in reference to member 'default'
104 | netService.publish(options: options)
105 | // runLoop.run()
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
16 | import Foundation
17 |
18 | internal extension NetService {
| `- error: cannot find type 'NetService' in scope
19 |
20 | class func dictionary(fromTXTRecord data: Data) -> [String: String] {
[72/96] Compiling Glider WebSocketTransportServerDelegate.swift
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
39 |
40 | /// NetService used to publish services over bonjour.
41 | private var netService: NetService
| `- error: cannot find type 'NetService' in scope
42 |
43 | /// Delegate.
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
91 | /// - options: options.
92 | /// - success: success handler.
93 | public func start(options: NetService.Options = [.listenForConnections],
| `- error: cannot find type 'NetService' in scope
94 | success: ((Bool) -> Void)? = nil) {
95 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
116 |
117 | /// This class is used only to incapsulate the objective-c requirements of the NetServiceDelegate.
118 | private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
| `- error: cannot find type 'NetServiceDelegate' in scope
119 | weak var server: BonjourPublisher?
120 |
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
125 | }
126 |
127 | func netServiceDidPublish(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
128 | server?.started = true
129 | delegate?.bonjourPublisherDidStart(server!)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
130 | }
131 |
132 | func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
| `- error: cannot find type 'NetService' in scope
133 | server?.started = false
134 | let error = GliderError(message: errorDict.description)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
136 | }
137 |
138 | func netServiceDidStop(_ sender: NetService) {
| `- error: cannot find type 'NetService' in scope
139 | server?.started = false
140 | delegate?.bonjourPublisher(server!, didStopWithError: nil)
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
72 | self.configuration = cfg
73 |
74 | netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
| `- error: cannot find 'NetService' in scope
75 | objectDelegate = BonjourPublisherObjectDelegate()
76 | objectDelegate?.server = self
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
101 |
102 | successCallback = success
103 | netService.schedule(in: runLoop, forMode: .default)
| `- error: cannot infer contextual base in reference to member 'default'
104 | netService.publish(options: options)
105 | // runLoop.run()
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
16 | import Foundation
17 |
18 | internal extension NetService {
| `- error: cannot find type 'NetService' in scope
19 |
20 | class func dictionary(fromTXTRecord data: Data) -> [String: String] {
[73/96] Compiling Glider Configuration.swift
[74/96] Compiling Glider EventMessageFormatter.swift
[75/96] Compiling Glider FieldsFormatter+Field.swift
[76/96] Compiling Glider FieldsFormatter.swift
[77/96] Compiling Glider JSONFormatter.swift
[78/96] Compiling Glider MsgPackFormatter.swift
[79/96] Compiling Glider DataStream.swift
[80/96] Compiling Glider FlatValue.swift
[81/96] Compiling Glider Reader+Optionals.swift
[82/96] Compiling Glider Reader.swift
[83/96] Compiling Glider Types.swift
[84/96] Compiling Glider Writer+Optionals.swift
[85/96] Compiling Glider Writer.swift
[86/96] Compiling Glider OSLogFormatter.swift
[87/96] Compiling Glider SysLogFormatter.swift
[88/96] Compiling Glider SysLogPayload.swift
[89/96] Compiling Glider ASCIITable+Borders.swift
[90/96] Compiling Glider ASCIITable+Rendering.swift
[91/96] Compiling Glider ASCIITable.swift
[92/96] Compiling Glider TableFormatter.swift
[93/96] Compiling Glider TerminalFormatter+Colorize.swift
[94/96] Compiling Glider TerminalFormatter.swift
[95/96] Compiling Glider XCodeFormatter+Colorize.swift
[96/96] Compiling Glider XCodeFormatter.swift
BUILD FAILURE 6.1 linux