Build Information
Failed to build Glider with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
^~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
$0.stream = Darwin.stderr
^~~~~~
[31/72] Compiling Glider ThrottledTransport.swift
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
selector: #selector(tick),
^
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
selector: #selector(tick),
^
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
^~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
$0.stream = Darwin.stdout
^~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
$0.stream = Darwin.stderr
^~~~~~
[32/72] Compiling Glider ConsoleTransport.swift
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
selector: #selector(tick),
^
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
selector: #selector(tick),
^
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
^~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
$0.stream = Darwin.stdout
^~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
$0.stream = Darwin.stderr
^~~~~~
[33/72] Compiling Glider OSLogTransport.swift
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
selector: #selector(tick),
^
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
selector: #selector(tick),
^
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
^~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
$0.stream = Darwin.stdout
^~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
$0.stream = Darwin.stderr
^~~~~~
[34/72] Compiling Glider FileTransport.swift
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
selector: #selector(tick),
^
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
selector: #selector(tick),
^
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
^~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
$0.stream = Darwin.stdout
^~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
$0.stream = Darwin.stderr
^~~~~~
[35/72] Compiling Glider POSIXStreamTransport.swift
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
selector: #selector(tick),
^
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
selector: #selector(tick),
^
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
^~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
$0.stream = Darwin.stdout
^~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
$0.stream = Darwin.stderr
^~~~~~
[36/72] Compiling Glider StdStreamsTransport.swift
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:168:37: error: '#selector' can only be used with the Objective-C runtime
selector: #selector(tick),
^
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:137:37: error: '#selector' can only be used with the Objective-C runtime
selector: #selector(tick),
^
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
^~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:63:25: error: cannot find 'Darwin' in scope
$0.stream = Darwin.stdout
^~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:77:25: error: cannot find 'Darwin' in scope
$0.stream = Darwin.stderr
^~~~~~
[37/72] Compiling Glider SerializableObject.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:133:24: error: cannot find 'mach_task_basic_info' in scope
var info = mach_task_basic_info()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:25: error: cannot find 'mach_msg_type_number_t' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:61: error: cannot find type 'mach_task_basic_info' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:136:23: error: cannot find type 'kern_return_t' in scope
let kerr: kern_return_t = withUnsafeMutablePointer(to: &info) {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:147:24: error: cannot find 'KERN_SUCCESS' in scope
if kerr == KERN_SUCCESS {
^~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:149:21: error: cannot find 'UIDevice' in scope
os[.name] = UIDevice.current.systemName
^~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:150:24: error: cannot find 'UIDevice' in scope
os[.version] = UIDevice.current.systemVersion
^~~~~~~~
[38/72] Compiling Glider SerializationStrategies.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:133:24: error: cannot find 'mach_task_basic_info' in scope
var info = mach_task_basic_info()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:25: error: cannot find 'mach_msg_type_number_t' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:61: error: cannot find type 'mach_task_basic_info' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:136:23: error: cannot find type 'kern_return_t' in scope
let kerr: kern_return_t = withUnsafeMutablePointer(to: &info) {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:147:24: error: cannot find 'KERN_SUCCESS' in scope
if kerr == KERN_SUCCESS {
^~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:149:21: error: cannot find 'UIDevice' in scope
os[.name] = UIDevice.current.systemName
^~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:150:24: error: cannot find 'UIDevice' in scope
os[.version] = UIDevice.current.systemVersion
^~~~~~~~
[39/72] Compiling Glider StatusMonitor.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:133:24: error: cannot find 'mach_task_basic_info' in scope
var info = mach_task_basic_info()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:25: error: cannot find 'mach_msg_type_number_t' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:61: error: cannot find type 'mach_task_basic_info' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:136:23: error: cannot find type 'kern_return_t' in scope
let kerr: kern_return_t = withUnsafeMutablePointer(to: &info) {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:147:24: error: cannot find 'KERN_SUCCESS' in scope
if kerr == KERN_SUCCESS {
^~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:149:21: error: cannot find 'UIDevice' in scope
os[.name] = UIDevice.current.systemName
^~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:150:24: error: cannot find 'UIDevice' in scope
os[.version] = UIDevice.current.systemVersion
^~~~~~~~
[40/72] Compiling Glider User.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:133:24: error: cannot find 'mach_task_basic_info' in scope
var info = mach_task_basic_info()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:25: error: cannot find 'mach_msg_type_number_t' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:61: error: cannot find type 'mach_task_basic_info' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:136:23: error: cannot find type 'kern_return_t' in scope
let kerr: kern_return_t = withUnsafeMutablePointer(to: &info) {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:147:24: error: cannot find 'KERN_SUCCESS' in scope
if kerr == KERN_SUCCESS {
^~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:149:21: error: cannot find 'UIDevice' in scope
os[.name] = UIDevice.current.systemName
^~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:150:24: error: cannot find 'UIDevice' in scope
os[.version] = UIDevice.current.systemVersion
^~~~~~~~
[41/72] Compiling Glider Channel.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:133:24: error: cannot find 'mach_task_basic_info' in scope
var info = mach_task_basic_info()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:25: error: cannot find 'mach_msg_type_number_t' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:61: error: cannot find type 'mach_task_basic_info' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:136:23: error: cannot find type 'kern_return_t' in scope
let kerr: kern_return_t = withUnsafeMutablePointer(to: &info) {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:147:24: error: cannot find 'KERN_SUCCESS' in scope
if kerr == KERN_SUCCESS {
^~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:149:21: error: cannot find 'UIDevice' in scope
os[.name] = UIDevice.current.systemName
^~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:150:24: error: cannot find 'UIDevice' in scope
os[.version] = UIDevice.current.systemVersion
^~~~~~~~
[42/72] Compiling Glider Context.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:133:24: error: cannot find 'mach_task_basic_info' in scope
var info = mach_task_basic_info()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:25: error: cannot find 'mach_msg_type_number_t' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:61: error: cannot find type 'mach_task_basic_info' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:136:23: error: cannot find type 'kern_return_t' in scope
let kerr: kern_return_t = withUnsafeMutablePointer(to: &info) {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:147:24: error: cannot find 'KERN_SUCCESS' in scope
if kerr == KERN_SUCCESS {
^~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:149:21: error: cannot find 'UIDevice' in scope
os[.name] = UIDevice.current.systemName
^~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:150:24: error: cannot find 'UIDevice' in scope
os[.version] = UIDevice.current.systemVersion
^~~~~~~~
[43/72] Compiling Glider Log.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:133:24: error: cannot find 'mach_task_basic_info' in scope
var info = mach_task_basic_info()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:25: error: cannot find 'mach_msg_type_number_t' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:61: error: cannot find type 'mach_task_basic_info' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:136:23: error: cannot find type 'kern_return_t' in scope
let kerr: kern_return_t = withUnsafeMutablePointer(to: &info) {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:147:24: error: cannot find 'KERN_SUCCESS' in scope
if kerr == KERN_SUCCESS {
^~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:149:21: error: cannot find 'UIDevice' in scope
os[.name] = UIDevice.current.systemName
^~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:150:24: error: cannot find 'UIDevice' in scope
os[.version] = UIDevice.current.systemVersion
^~~~~~~~
[44/72] Compiling Glider Transport.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:133:24: error: cannot find 'mach_task_basic_info' in scope
var info = mach_task_basic_info()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:25: error: cannot find 'mach_msg_type_number_t' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:61: error: cannot find type 'mach_task_basic_info' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:136:23: error: cannot find type 'kern_return_t' in scope
let kerr: kern_return_t = withUnsafeMutablePointer(to: &info) {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:147:24: error: cannot find 'KERN_SUCCESS' in scope
if kerr == KERN_SUCCESS {
^~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:149:21: error: cannot find 'UIDevice' in scope
os[.name] = UIDevice.current.systemName
^~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:150:24: error: cannot find 'UIDevice' in scope
os[.version] = UIDevice.current.systemVersion
^~~~~~~~
[45/72] Compiling Glider TransportFilter.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:133:24: error: cannot find 'mach_task_basic_info' in scope
var info = mach_task_basic_info()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:25: error: cannot find 'mach_msg_type_number_t' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:134:61: error: cannot find type 'mach_task_basic_info' in scope
var count = mach_msg_type_number_t(MemoryLayout<mach_task_basic_info>.size)/4
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:136:23: error: cannot find type 'kern_return_t' in scope
let kerr: kern_return_t = withUnsafeMutablePointer(to: &info) {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/StatusMonitor.swift:147:24: error: cannot find 'KERN_SUCCESS' in scope
if kerr == KERN_SUCCESS {
^~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:149:21: error: cannot find 'UIDevice' in scope
os[.name] = UIDevice.current.systemName
^~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Context.swift:150:24: error: cannot find 'UIDevice' in scope
os[.version] = UIDevice.current.systemVersion
^~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/72] Emitting module Glider
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Styles.swift:54:39: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
case measure(unit: Unit, options: MeasurementFormatter.UnitOptions, style: Formatter.UnitStyle = .short)
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:9: error: cannot find 'pthread_threadid_np' in scope
pthread_threadid_np(nil, &threadID)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:29: error: 'nil' requires a contextual type
pthread_threadid_np(nil, &threadID)
^
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/AsyncTransport.swift:179:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Glider/Sources/Transports/Base Transports/ThrottledTransport.swift:149:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Glider/Sources/Transports/File/POSIXTransports/POSIXStreamTransport.swift:112:57: error: cannot find 'Darwin' in scope
public var stream: UnsafeMutablePointer<FILE> = Darwin.stdout
^~~~~~
/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.
public var urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:30:28: error: cannot find type 'URLRequest' in scope
public let urlRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:49:29: error: cannot find type 'URLRequest' in scope
public init(urlRequest: URLRequest, _ builder: ((inout Configuration) -> Void)? = nil) {
^~~~~~~~~~
/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.
case invalidResponse(URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/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.
case emptyResponse(HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
case httpError(HTTPURLResponse, Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:40:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/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.
private var session: URLSession?
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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')
completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/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.
func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:57: error: cannot find type 'URLSessionDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:77: error: cannot find type 'URLSessionTaskDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:101: error: cannot find type 'URLSessionStreamDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:19:11: error: cannot find type 'RemoteTransport' in scope
extension RemoteTransport {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:19:11: error: cannot find type 'RemoteTransportServer' in scope
extension RemoteTransportServer {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransportServer/RemoteTransportServerClient.swift:139:11: error: cannot find type 'RemoteTransportServer' in scope
extension RemoteTransportServer {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/Support/RemoteTransportPackets.swift:25:11: error: cannot find type 'RemoteTransport' in scope
extension RemoteTransport {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/Support/RemoteTransportPackets.swift:65:11: error: cannot find type 'RemoteTransport' in scope
extension RemoteTransport {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/Support/RemoteTransportPackets.swift:225:11: error: cannot find type 'RemoteTransport' in scope
extension RemoteTransport {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/Support/RemoteTransportPackets.swift:49:15: error: cannot find type 'RemoteTransport' in scope
var code: RemoteTransport.PacketCode { get }
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/Support/RemoteTransportPackets.swift:60:34: error: cannot find type 'RemoteTransport' in scope
static func decode(_ packet: RemoteTransport.RawPacket) throws -> Self?
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
private var netService: NetService
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
public func start(options: NetService.Options = [.listenForConnections],
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
func netServiceDidPublish(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
func netServiceDidStop(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
internal extension NetService {
^~~~~~~~~~
[47/72] Compiling Glider Level.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:94:29: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
let formatter = MeasurementFormatter()
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: extra argument 'unit' in call
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:40: error: incorrect argument label in call (have 'from:', expected 'fromByteCount:')
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
^~~~~
fromByteCount
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: cannot infer contextual base in reference to member 'bytes'
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~^~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Styles.swift:54:39: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
case measure(unit: Unit, options: MeasurementFormatter.UnitOptions, style: Formatter.UnitStyle = .short)
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:9: error: cannot find 'pthread_threadid_np' in scope
pthread_threadid_np(nil, &threadID)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:29: error: 'nil' requires a contextual type
pthread_threadid_np(nil, &threadID)
^
[48/72] Compiling Glider LogInterpolation+Formatters.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:94:29: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
let formatter = MeasurementFormatter()
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: extra argument 'unit' in call
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:40: error: incorrect argument label in call (have 'from:', expected 'fromByteCount:')
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
^~~~~
fromByteCount
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: cannot infer contextual base in reference to member 'bytes'
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~^~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Styles.swift:54:39: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
case measure(unit: Unit, options: MeasurementFormatter.UnitOptions, style: Formatter.UnitStyle = .short)
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:9: error: cannot find 'pthread_threadid_np' in scope
pthread_threadid_np(nil, &threadID)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:29: error: 'nil' requires a contextual type
pthread_threadid_np(nil, &threadID)
^
[49/72] Compiling Glider LogInterpolation+Styles.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:94:29: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
let formatter = MeasurementFormatter()
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: extra argument 'unit' in call
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:40: error: incorrect argument label in call (have 'from:', expected 'fromByteCount:')
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
^~~~~
fromByteCount
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: cannot infer contextual base in reference to member 'bytes'
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~^~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Styles.swift:54:39: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
case measure(unit: Unit, options: MeasurementFormatter.UnitOptions, style: Formatter.UnitStyle = .short)
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:9: error: cannot find 'pthread_threadid_np' in scope
pthread_threadid_np(nil, &threadID)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:29: error: 'nil' requires a contextual type
pthread_threadid_np(nil, &threadID)
^
[50/72] Compiling Glider LogInterpolation.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:94:29: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
let formatter = MeasurementFormatter()
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: extra argument 'unit' in call
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:40: error: incorrect argument label in call (have 'from:', expected 'fromByteCount:')
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
^~~~~
fromByteCount
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: cannot infer contextual base in reference to member 'bytes'
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~^~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Styles.swift:54:39: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
case measure(unit: Unit, options: MeasurementFormatter.UnitOptions, style: Formatter.UnitStyle = .short)
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:9: error: cannot find 'pthread_threadid_np' in scope
pthread_threadid_np(nil, &threadID)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:29: error: 'nil' requires a contextual type
pthread_threadid_np(nil, &threadID)
^
[51/72] Compiling Glider Message.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:94:29: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
let formatter = MeasurementFormatter()
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: extra argument 'unit' in call
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:40: error: incorrect argument label in call (have 'from:', expected 'fromByteCount:')
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
^~~~~
fromByteCount
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: cannot infer contextual base in reference to member 'bytes'
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~^~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Styles.swift:54:39: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
case measure(unit: Unit, options: MeasurementFormatter.UnitOptions, style: Formatter.UnitStyle = .short)
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:9: error: cannot find 'pthread_threadid_np' in scope
pthread_threadid_np(nil, &threadID)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:29: error: 'nil' requires a contextual type
pthread_threadid_np(nil, &threadID)
^
[52/72] Compiling Glider Metadata.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:94:29: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
let formatter = MeasurementFormatter()
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: extra argument 'unit' in call
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:40: error: incorrect argument label in call (have 'from:', expected 'fromByteCount:')
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
^~~~~
fromByteCount
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: cannot infer contextual base in reference to member 'bytes'
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~^~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Styles.swift:54:39: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
case measure(unit: Unit, options: MeasurementFormatter.UnitOptions, style: Formatter.UnitStyle = .short)
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:9: error: cannot find 'pthread_threadid_np' in scope
pthread_threadid_np(nil, &threadID)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:29: error: 'nil' requires a contextual type
pthread_threadid_np(nil, &threadID)
^
[53/72] Compiling Glider ProcessIdentification.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:94:29: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
let formatter = MeasurementFormatter()
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: extra argument 'unit' in call
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:40: error: incorrect argument label in call (have 'from:', expected 'fromByteCount:')
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
^~~~~
fromByteCount
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: cannot infer contextual base in reference to member 'bytes'
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~^~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Styles.swift:54:39: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
case measure(unit: Unit, options: MeasurementFormatter.UnitOptions, style: Formatter.UnitStyle = .short)
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:9: error: cannot find 'pthread_threadid_np' in scope
pthread_threadid_np(nil, &threadID)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:29: error: 'nil' requires a contextual type
pthread_threadid_np(nil, &threadID)
^
[54/72] Compiling Glider Scope.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:94:29: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
let formatter = MeasurementFormatter()
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: extra argument 'unit' in call
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:40: error: incorrect argument label in call (have 'from:', expected 'fromByteCount:')
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
^~~~~
fromByteCount
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: cannot infer contextual base in reference to member 'bytes'
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~^~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Styles.swift:54:39: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
case measure(unit: Unit, options: MeasurementFormatter.UnitOptions, style: Formatter.UnitStyle = .short)
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:9: error: cannot find 'pthread_threadid_np' in scope
pthread_threadid_np(nil, &threadID)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:29: error: 'nil' requires a contextual type
pthread_threadid_np(nil, &threadID)
^
[55/72] Compiling Glider UIImage+Serialization.swift
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:94:29: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
let formatter = MeasurementFormatter()
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: extra argument 'unit' in call
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:40: error: incorrect argument label in call (have 'from:', expected 'fromByteCount:')
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
^~~~~
fromByteCount
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Formatters.swift:107:86: error: cannot infer contextual base in reference to member 'bytes'
return formatter.string(from: .init(value: value.doubleValue, unit: .bytes)).removeGroupingSeparatorAndUseDotDecimal()
~^~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/LogInterpolation/LogInterpolation+Styles.swift:54:39: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
case measure(unit: Unit, options: MeasurementFormatter.UnitOptions, style: Formatter.UnitStyle = .short)
^~~~~~~~~~~~~~~~~~~~
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
open class MeasurementFormatter : Formatter, NSSecureCoding {
^
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:9: error: cannot find 'pthread_threadid_np' in scope
pthread_threadid_np(nil, &threadID)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Log/Additional Structures/ProcessIdentification.swift:59:29: error: 'nil' requires a contextual type
pthread_threadid_np(nil, &threadID)
^
[56/72] Compiling Glider SQLite+Statement.swift
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:198:43: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETE' in scope
case .protectComplete: return SQLITE_OPEN_FILEPROTECTION_COMPLETE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:199:53: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETEUNLESSOPEN' in scope
case .protectCompleteUnlessOpen: return SQLITE_OPEN_FILEPROTECTION_COMPLETEUNLESSOPEN
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:200:61: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETEUNTILFIRSTUSERAUTHENTICATION' in scope
case .protectCompleteUntilFirstUserAuth: return SQLITE_OPEN_FILEPROTECTION_COMPLETEUNTILFIRSTUSERAUTHENTICATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:201:32: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_NONE' in scope
case .none: return SQLITE_OPEN_FILEPROTECTION_NONE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
private var netService: NetService
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
public func start(options: NetService.Options = [.listenForConnections],
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
func netServiceDidPublish(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
func netServiceDidStop(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:82:31: error: 'nil' requires a contextual type
netService.delegate = nil
^
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
netService.schedule(in: runLoop, forMode: .default)
~^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
internal extension NetService {
^~~~~~~~~~
[57/72] Compiling Glider SQLiteDb+Additions.swift
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:198:43: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETE' in scope
case .protectComplete: return SQLITE_OPEN_FILEPROTECTION_COMPLETE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:199:53: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETEUNLESSOPEN' in scope
case .protectCompleteUnlessOpen: return SQLITE_OPEN_FILEPROTECTION_COMPLETEUNLESSOPEN
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:200:61: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETEUNTILFIRSTUSERAUTHENTICATION' in scope
case .protectCompleteUntilFirstUserAuth: return SQLITE_OPEN_FILEPROTECTION_COMPLETEUNTILFIRSTUSERAUTHENTICATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:201:32: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_NONE' in scope
case .none: return SQLITE_OPEN_FILEPROTECTION_NONE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
private var netService: NetService
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
public func start(options: NetService.Options = [.listenForConnections],
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
func netServiceDidPublish(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
func netServiceDidStop(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:82:31: error: 'nil' requires a contextual type
netService.delegate = nil
^
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
netService.schedule(in: runLoop, forMode: .default)
~^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
internal extension NetService {
^~~~~~~~~~
[58/72] Compiling Glider SQLiteDb+Support.swift
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:198:43: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETE' in scope
case .protectComplete: return SQLITE_OPEN_FILEPROTECTION_COMPLETE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:199:53: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETEUNLESSOPEN' in scope
case .protectCompleteUnlessOpen: return SQLITE_OPEN_FILEPROTECTION_COMPLETEUNLESSOPEN
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:200:61: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETEUNTILFIRSTUSERAUTHENTICATION' in scope
case .protectCompleteUntilFirstUserAuth: return SQLITE_OPEN_FILEPROTECTION_COMPLETEUNTILFIRSTUSERAUTHENTICATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:201:32: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_NONE' in scope
case .none: return SQLITE_OPEN_FILEPROTECTION_NONE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
private var netService: NetService
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
public func start(options: NetService.Options = [.listenForConnections],
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
func netServiceDidPublish(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
func netServiceDidStop(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:82:31: error: 'nil' requires a contextual type
netService.delegate = nil
^
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
netService.schedule(in: runLoop, forMode: .default)
~^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
internal extension NetService {
^~~~~~~~~~
[59/72] Compiling Glider SQLiteDb.swift
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:198:43: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETE' in scope
case .protectComplete: return SQLITE_OPEN_FILEPROTECTION_COMPLETE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:199:53: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETEUNLESSOPEN' in scope
case .protectCompleteUnlessOpen: return SQLITE_OPEN_FILEPROTECTION_COMPLETEUNLESSOPEN
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:200:61: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETEUNTILFIRSTUSERAUTHENTICATION' in scope
case .protectCompleteUntilFirstUserAuth: return SQLITE_OPEN_FILEPROTECTION_COMPLETEUNTILFIRSTUSERAUTHENTICATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:201:32: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_NONE' in scope
case .none: return SQLITE_OPEN_FILEPROTECTION_NONE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
private var netService: NetService
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
public func start(options: NetService.Options = [.listenForConnections],
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
func netServiceDidPublish(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
func netServiceDidStop(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:82:31: error: 'nil' requires a contextual type
netService.delegate = nil
^
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
netService.schedule(in: runLoop, forMode: .default)
~^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
internal extension NetService {
^~~~~~~~~~
[60/72] Compiling Glider BonjourPublisher+Configuration.swift
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:198:43: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETE' in scope
case .protectComplete: return SQLITE_OPEN_FILEPROTECTION_COMPLETE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:199:53: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETEUNLESSOPEN' in scope
case .protectCompleteUnlessOpen: return SQLITE_OPEN_FILEPROTECTION_COMPLETEUNLESSOPEN
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:200:61: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETEUNTILFIRSTUSERAUTHENTICATION' in scope
case .protectCompleteUntilFirstUserAuth: return SQLITE_OPEN_FILEPROTECTION_COMPLETEUNTILFIRSTUSERAUTHENTICATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:201:32: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_NONE' in scope
case .none: return SQLITE_OPEN_FILEPROTECTION_NONE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
private var netService: NetService
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
public func start(options: NetService.Options = [.listenForConnections],
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
func netServiceDidPublish(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
func netServiceDidStop(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:82:31: error: 'nil' requires a contextual type
netService.delegate = nil
^
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
netService.schedule(in: runLoop, forMode: .default)
~^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
internal extension NetService {
^~~~~~~~~~
[61/72] Compiling Glider BonjourPublisher.swift
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:198:43: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETE' in scope
case .protectComplete: return SQLITE_OPEN_FILEPROTECTION_COMPLETE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:199:53: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETEUNLESSOPEN' in scope
case .protectCompleteUnlessOpen: return SQLITE_OPEN_FILEPROTECTION_COMPLETEUNLESSOPEN
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:200:61: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETEUNTILFIRSTUSERAUTHENTICATION' in scope
case .protectCompleteUntilFirstUserAuth: return SQLITE_OPEN_FILEPROTECTION_COMPLETEUNTILFIRSTUSERAUTHENTICATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:201:32: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_NONE' in scope
case .none: return SQLITE_OPEN_FILEPROTECTION_NONE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
private var netService: NetService
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
public func start(options: NetService.Options = [.listenForConnections],
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
func netServiceDidPublish(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
func netServiceDidStop(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:82:31: error: 'nil' requires a contextual type
netService.delegate = nil
^
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
netService.schedule(in: runLoop, forMode: .default)
~^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
internal extension NetService {
^~~~~~~~~~
[62/72] Compiling Glider NetService+Extensions.swift
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:198:43: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETE' in scope
case .protectComplete: return SQLITE_OPEN_FILEPROTECTION_COMPLETE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:199:53: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETEUNLESSOPEN' in scope
case .protectCompleteUnlessOpen: return SQLITE_OPEN_FILEPROTECTION_COMPLETEUNLESSOPEN
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:200:61: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETEUNTILFIRSTUSERAUTHENTICATION' in scope
case .protectCompleteUntilFirstUserAuth: return SQLITE_OPEN_FILEPROTECTION_COMPLETEUNTILFIRSTUSERAUTHENTICATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:201:32: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_NONE' in scope
case .none: return SQLITE_OPEN_FILEPROTECTION_NONE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
private var netService: NetService
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
public func start(options: NetService.Options = [.listenForConnections],
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
func netServiceDidPublish(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
func netServiceDidStop(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:82:31: error: 'nil' requires a contextual type
netService.delegate = nil
^
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
netService.schedule(in: runLoop, forMode: .default)
~^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
internal extension NetService {
^~~~~~~~~~
[63/72] Compiling Glider WebSocketClient.swift
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:198:43: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETE' in scope
case .protectComplete: return SQLITE_OPEN_FILEPROTECTION_COMPLETE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:199:53: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETEUNLESSOPEN' in scope
case .protectCompleteUnlessOpen: return SQLITE_OPEN_FILEPROTECTION_COMPLETEUNLESSOPEN
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:200:61: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_COMPLETEUNTILFIRSTUSERAUTHENTICATION' in scope
case .protectCompleteUntilFirstUserAuth: return SQLITE_OPEN_FILEPROTECTION_COMPLETEUNTILFIRSTUSERAUTHENTICATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/SQLiteTransport/Support/SQLiteDb+Support.swift:201:32: error: cannot find 'SQLITE_OPEN_FILEPROTECTION_NONE' in scope
case .none: return SQLITE_OPEN_FILEPROTECTION_NONE
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:41:29: error: cannot find type 'NetService' in scope
private var netService: NetService
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:93:32: error: cannot find type 'NetService' in scope
public func start(options: NetService.Options = [.listenForConnections],
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:127:41: error: cannot find type 'NetService' in scope
func netServiceDidPublish(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:132:31: error: cannot find type 'NetService' in scope
func netService(_ sender: NetService, didNotPublish errorDict: [String: NSNumber]) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:138:38: error: cannot find type 'NetService' in scope
func netServiceDidStop(_ sender: NetService) {
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:118:57: error: cannot find type 'NetServiceDelegate' in scope
private class BonjourPublisherObjectDelegate: NSObject, NetServiceDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:74:22: error: cannot find 'NetService' in scope
netService = NetService(domain: cfg.domain, type: cfg.type.description, name: cfg.name, port: cfg.port)
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:82:31: error: 'nil' requires a contextual type
netService.delegate = nil
^
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/BonjourPublisher.swift:103:52: error: cannot infer contextual base in reference to member 'default'
netService.schedule(in: runLoop, forMode: .default)
~^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/WebSocketTransport/Support/BonjourService/NetService+Extensions.swift:18:20: error: cannot find type 'NetService' in scope
internal extension NetService {
^~~~~~~~~~
[64/72] Compiling Glider SizeRotationFileTransport.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.
public var urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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
self.urlSession = URLSession(configuration: .default)
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:223:58: error: cannot infer contextual base in reference to member 'default'
self.urlSession = URLSession(configuration: .default)
~^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:30:28: error: cannot find type 'URLRequest' in scope
public let urlRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:49:29: error: cannot find type 'URLRequest' in scope
public init(urlRequest: URLRequest, _ builder: ((inout Configuration) -> Void)? = nil) {
^~~~~~~~~~
/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.
case invalidResponse(URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/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.
case emptyResponse(HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
case httpError(HTTPURLResponse, Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncURLRequestsOperation.swift:54:45: error: value of type 'URLSession' (aka 'AnyObject') has no member 'execute'
transport?.configuration.urlSession.execute(request)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:40:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/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.
private var session: URLSession?
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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')
completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/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.
func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:57: error: cannot find type 'URLSessionDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:77: error: cannot find type 'URLSessionTaskDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:101: error: cannot find type 'URLSessionStreamDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~
/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
self.session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:70:51: error: cannot infer contextual base in reference to member 'ephemeral'
self.session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:92:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
session?.invalidateAndCancel()
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/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
session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:93:46: error: cannot infer contextual base in reference to member 'ephemeral'
session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:129:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'streamTask'
let task = session.streamTask(withHostName: configuration.host, port: configuration.port)
~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:146:83: error: cannot infer type of closure parameter 'error' without a type annotation
task.write(messageData, timeout: configuration.timeout) { [weak self] error in
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:305:27: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
if challenge.protectionSpace.host == transport?.configuration.host,
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:306:39: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
let trust = challenge.protectionSpace.serverTrust {
~~~~~~~~~ ^~~~~~~~~~~~~~~
/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
let credential = URLCredential(trust: trust)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:308:36: error: cannot infer contextual base in reference to member 'useCredential'
completionHandler(.useCredential, credential)
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:36: error: cannot infer contextual base in reference to member 'cancelAuthenticationChallenge'
completionHandler(.cancelAuthenticationChallenge, nil)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:67: error: 'nil' requires a contextual type
completionHandler(.cancelAuthenticationChallenge, nil)
^
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:19:11: error: cannot find type 'RemoteTransport' in scope
extension RemoteTransport {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:58:78: error: cannot find type 'Configuration' in scope
public init(serviceType: String = "_glider._tcp", _ builder: ((inout Configuration) -> Void)?) {
^~~~~~~~~~~~~
[65/72] Compiling Glider HTTPTransport.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.
public var urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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
self.urlSession = URLSession(configuration: .default)
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:223:58: error: cannot infer contextual base in reference to member 'default'
self.urlSession = URLSession(configuration: .default)
~^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:30:28: error: cannot find type 'URLRequest' in scope
public let urlRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:49:29: error: cannot find type 'URLRequest' in scope
public init(urlRequest: URLRequest, _ builder: ((inout Configuration) -> Void)? = nil) {
^~~~~~~~~~
/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.
case invalidResponse(URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/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.
case emptyResponse(HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
case httpError(HTTPURLResponse, Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncURLRequestsOperation.swift:54:45: error: value of type 'URLSession' (aka 'AnyObject') has no member 'execute'
transport?.configuration.urlSession.execute(request)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:40:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/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.
private var session: URLSession?
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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')
completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/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.
func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:57: error: cannot find type 'URLSessionDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:77: error: cannot find type 'URLSessionTaskDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:101: error: cannot find type 'URLSessionStreamDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~
/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
self.session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:70:51: error: cannot infer contextual base in reference to member 'ephemeral'
self.session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:92:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
session?.invalidateAndCancel()
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/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
session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:93:46: error: cannot infer contextual base in reference to member 'ephemeral'
session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:129:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'streamTask'
let task = session.streamTask(withHostName: configuration.host, port: configuration.port)
~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:146:83: error: cannot infer type of closure parameter 'error' without a type annotation
task.write(messageData, timeout: configuration.timeout) { [weak self] error in
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:305:27: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
if challenge.protectionSpace.host == transport?.configuration.host,
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:306:39: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
let trust = challenge.protectionSpace.serverTrust {
~~~~~~~~~ ^~~~~~~~~~~~~~~
/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
let credential = URLCredential(trust: trust)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:308:36: error: cannot infer contextual base in reference to member 'useCredential'
completionHandler(.useCredential, credential)
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:36: error: cannot infer contextual base in reference to member 'cancelAuthenticationChallenge'
completionHandler(.cancelAuthenticationChallenge, nil)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:67: error: 'nil' requires a contextual type
completionHandler(.cancelAuthenticationChallenge, nil)
^
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:19:11: error: cannot find type 'RemoteTransport' in scope
extension RemoteTransport {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:58:78: error: cannot find type 'Configuration' in scope
public init(serviceType: String = "_glider._tcp", _ builder: ((inout Configuration) -> Void)?) {
^~~~~~~~~~~~~
[66/72] Compiling Glider HTTPTransportRequest.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.
public var urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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
self.urlSession = URLSession(configuration: .default)
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:223:58: error: cannot infer contextual base in reference to member 'default'
self.urlSession = URLSession(configuration: .default)
~^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:30:28: error: cannot find type 'URLRequest' in scope
public let urlRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:49:29: error: cannot find type 'URLRequest' in scope
public init(urlRequest: URLRequest, _ builder: ((inout Configuration) -> Void)? = nil) {
^~~~~~~~~~
/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.
case invalidResponse(URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/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.
case emptyResponse(HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
case httpError(HTTPURLResponse, Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncURLRequestsOperation.swift:54:45: error: value of type 'URLSession' (aka 'AnyObject') has no member 'execute'
transport?.configuration.urlSession.execute(request)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:40:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/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.
private var session: URLSession?
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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')
completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/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.
func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:57: error: cannot find type 'URLSessionDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:77: error: cannot find type 'URLSessionTaskDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:101: error: cannot find type 'URLSessionStreamDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~
/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
self.session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:70:51: error: cannot infer contextual base in reference to member 'ephemeral'
self.session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:92:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
session?.invalidateAndCancel()
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/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
session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:93:46: error: cannot infer contextual base in reference to member 'ephemeral'
session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:129:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'streamTask'
let task = session.streamTask(withHostName: configuration.host, port: configuration.port)
~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:146:83: error: cannot infer type of closure parameter 'error' without a type annotation
task.write(messageData, timeout: configuration.timeout) { [weak self] error in
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:305:27: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
if challenge.protectionSpace.host == transport?.configuration.host,
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:306:39: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
let trust = challenge.protectionSpace.serverTrust {
~~~~~~~~~ ^~~~~~~~~~~~~~~
/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
let credential = URLCredential(trust: trust)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:308:36: error: cannot infer contextual base in reference to member 'useCredential'
completionHandler(.useCredential, credential)
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:36: error: cannot infer contextual base in reference to member 'cancelAuthenticationChallenge'
completionHandler(.cancelAuthenticationChallenge, nil)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:67: error: 'nil' requires a contextual type
completionHandler(.cancelAuthenticationChallenge, nil)
^
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:19:11: error: cannot find type 'RemoteTransport' in scope
extension RemoteTransport {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:58:78: error: cannot find type 'Configuration' in scope
public init(serviceType: String = "_glider._tcp", _ builder: ((inout Configuration) -> Void)?) {
^~~~~~~~~~~~~
[67/72] Compiling Glider AsyncOperation.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.
public var urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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
self.urlSession = URLSession(configuration: .default)
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:223:58: error: cannot infer contextual base in reference to member 'default'
self.urlSession = URLSession(configuration: .default)
~^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:30:28: error: cannot find type 'URLRequest' in scope
public let urlRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:49:29: error: cannot find type 'URLRequest' in scope
public init(urlRequest: URLRequest, _ builder: ((inout Configuration) -> Void)? = nil) {
^~~~~~~~~~
/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.
case invalidResponse(URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/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.
case emptyResponse(HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
case httpError(HTTPURLResponse, Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncURLRequestsOperation.swift:54:45: error: value of type 'URLSession' (aka 'AnyObject') has no member 'execute'
transport?.configuration.urlSession.execute(request)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:40:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/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.
private var session: URLSession?
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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')
completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/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.
func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:57: error: cannot find type 'URLSessionDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:77: error: cannot find type 'URLSessionTaskDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:101: error: cannot find type 'URLSessionStreamDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~
/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
self.session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:70:51: error: cannot infer contextual base in reference to member 'ephemeral'
self.session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:92:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
session?.invalidateAndCancel()
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/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
session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:93:46: error: cannot infer contextual base in reference to member 'ephemeral'
session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:129:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'streamTask'
let task = session.streamTask(withHostName: configuration.host, port: configuration.port)
~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:146:83: error: cannot infer type of closure parameter 'error' without a type annotation
task.write(messageData, timeout: configuration.timeout) { [weak self] error in
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:305:27: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
if challenge.protectionSpace.host == transport?.configuration.host,
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:306:39: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
let trust = challenge.protectionSpace.serverTrust {
~~~~~~~~~ ^~~~~~~~~~~~~~~
/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
let credential = URLCredential(trust: trust)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:308:36: error: cannot infer contextual base in reference to member 'useCredential'
completionHandler(.useCredential, credential)
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:36: error: cannot infer contextual base in reference to member 'cancelAuthenticationChallenge'
completionHandler(.cancelAuthenticationChallenge, nil)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:67: error: 'nil' requires a contextual type
completionHandler(.cancelAuthenticationChallenge, nil)
^
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:19:11: error: cannot find type 'RemoteTransport' in scope
extension RemoteTransport {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:58:78: error: cannot find type 'Configuration' in scope
public init(serviceType: String = "_glider._tcp", _ builder: ((inout Configuration) -> Void)?) {
^~~~~~~~~~~~~
[68/72] Compiling Glider AsyncURLRequestsOperation.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.
public var urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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
self.urlSession = URLSession(configuration: .default)
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:223:58: error: cannot infer contextual base in reference to member 'default'
self.urlSession = URLSession(configuration: .default)
~^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:30:28: error: cannot find type 'URLRequest' in scope
public let urlRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:49:29: error: cannot find type 'URLRequest' in scope
public init(urlRequest: URLRequest, _ builder: ((inout Configuration) -> Void)? = nil) {
^~~~~~~~~~
/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.
case invalidResponse(URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/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.
case emptyResponse(HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
case httpError(HTTPURLResponse, Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncURLRequestsOperation.swift:54:45: error: value of type 'URLSession' (aka 'AnyObject') has no member 'execute'
transport?.configuration.urlSession.execute(request)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:40:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/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.
private var session: URLSession?
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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')
completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/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.
func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:57: error: cannot find type 'URLSessionDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:77: error: cannot find type 'URLSessionTaskDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:101: error: cannot find type 'URLSessionStreamDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~
/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
self.session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:70:51: error: cannot infer contextual base in reference to member 'ephemeral'
self.session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:92:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
session?.invalidateAndCancel()
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/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
session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:93:46: error: cannot infer contextual base in reference to member 'ephemeral'
session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:129:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'streamTask'
let task = session.streamTask(withHostName: configuration.host, port: configuration.port)
~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:146:83: error: cannot infer type of closure parameter 'error' without a type annotation
task.write(messageData, timeout: configuration.timeout) { [weak self] error in
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:305:27: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
if challenge.protectionSpace.host == transport?.configuration.host,
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:306:39: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
let trust = challenge.protectionSpace.serverTrust {
~~~~~~~~~ ^~~~~~~~~~~~~~~
/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
let credential = URLCredential(trust: trust)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:308:36: error: cannot infer contextual base in reference to member 'useCredential'
completionHandler(.useCredential, credential)
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:36: error: cannot infer contextual base in reference to member 'cancelAuthenticationChallenge'
completionHandler(.cancelAuthenticationChallenge, nil)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:67: error: 'nil' requires a contextual type
completionHandler(.cancelAuthenticationChallenge, nil)
^
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:19:11: error: cannot find type 'RemoteTransport' in scope
extension RemoteTransport {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:58:78: error: cannot find type 'Configuration' in scope
public init(serviceType: String = "_glider._tcp", _ builder: ((inout Configuration) -> Void)?) {
^~~~~~~~~~~~~
[69/72] Compiling Glider URLSession+Extensions.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.
public var urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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
self.urlSession = URLSession(configuration: .default)
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:223:58: error: cannot infer contextual base in reference to member 'default'
self.urlSession = URLSession(configuration: .default)
~^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:30:28: error: cannot find type 'URLRequest' in scope
public let urlRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:49:29: error: cannot find type 'URLRequest' in scope
public init(urlRequest: URLRequest, _ builder: ((inout Configuration) -> Void)? = nil) {
^~~~~~~~~~
/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.
case invalidResponse(URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/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.
case emptyResponse(HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
case httpError(HTTPURLResponse, Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncURLRequestsOperation.swift:54:45: error: value of type 'URLSession' (aka 'AnyObject') has no member 'execute'
transport?.configuration.urlSession.execute(request)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:40:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/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.
private var session: URLSession?
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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')
completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/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.
func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:57: error: cannot find type 'URLSessionDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:77: error: cannot find type 'URLSessionTaskDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:101: error: cannot find type 'URLSessionStreamDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~
/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
self.session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:70:51: error: cannot infer contextual base in reference to member 'ephemeral'
self.session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:92:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
session?.invalidateAndCancel()
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/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
session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:93:46: error: cannot infer contextual base in reference to member 'ephemeral'
session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:129:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'streamTask'
let task = session.streamTask(withHostName: configuration.host, port: configuration.port)
~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:146:83: error: cannot infer type of closure parameter 'error' without a type annotation
task.write(messageData, timeout: configuration.timeout) { [weak self] error in
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:305:27: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
if challenge.protectionSpace.host == transport?.configuration.host,
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:306:39: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
let trust = challenge.protectionSpace.serverTrust {
~~~~~~~~~ ^~~~~~~~~~~~~~~
/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
let credential = URLCredential(trust: trust)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:308:36: error: cannot infer contextual base in reference to member 'useCredential'
completionHandler(.useCredential, credential)
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:36: error: cannot infer contextual base in reference to member 'cancelAuthenticationChallenge'
completionHandler(.cancelAuthenticationChallenge, nil)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:67: error: 'nil' requires a contextual type
completionHandler(.cancelAuthenticationChallenge, nil)
^
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:19:11: error: cannot find type 'RemoteTransport' in scope
extension RemoteTransport {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:58:78: error: cannot find type 'Configuration' in scope
public init(serviceType: String = "_glider._tcp", _ builder: ((inout Configuration) -> Void)?) {
^~~~~~~~~~~~~
[70/72] Compiling Glider LogstashTransport.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.
public var urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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
self.urlSession = URLSession(configuration: .default)
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:223:58: error: cannot infer contextual base in reference to member 'default'
self.urlSession = URLSession(configuration: .default)
~^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:30:28: error: cannot find type 'URLRequest' in scope
public let urlRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:49:29: error: cannot find type 'URLRequest' in scope
public init(urlRequest: URLRequest, _ builder: ((inout Configuration) -> Void)? = nil) {
^~~~~~~~~~
/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.
case invalidResponse(URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/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.
case emptyResponse(HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
case httpError(HTTPURLResponse, Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncURLRequestsOperation.swift:54:45: error: value of type 'URLSession' (aka 'AnyObject') has no member 'execute'
transport?.configuration.urlSession.execute(request)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:40:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/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.
private var session: URLSession?
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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')
completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/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.
func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:57: error: cannot find type 'URLSessionDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:77: error: cannot find type 'URLSessionTaskDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:101: error: cannot find type 'URLSessionStreamDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~
/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
self.session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:70:51: error: cannot infer contextual base in reference to member 'ephemeral'
self.session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:92:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
session?.invalidateAndCancel()
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/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
session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:93:46: error: cannot infer contextual base in reference to member 'ephemeral'
session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:129:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'streamTask'
let task = session.streamTask(withHostName: configuration.host, port: configuration.port)
~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:146:83: error: cannot infer type of closure parameter 'error' without a type annotation
task.write(messageData, timeout: configuration.timeout) { [weak self] error in
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:305:27: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
if challenge.protectionSpace.host == transport?.configuration.host,
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:306:39: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
let trust = challenge.protectionSpace.serverTrust {
~~~~~~~~~ ^~~~~~~~~~~~~~~
/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
let credential = URLCredential(trust: trust)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:308:36: error: cannot infer contextual base in reference to member 'useCredential'
completionHandler(.useCredential, credential)
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:36: error: cannot infer contextual base in reference to member 'cancelAuthenticationChallenge'
completionHandler(.cancelAuthenticationChallenge, nil)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:67: error: 'nil' requires a contextual type
completionHandler(.cancelAuthenticationChallenge, nil)
^
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:19:11: error: cannot find type 'RemoteTransport' in scope
extension RemoteTransport {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:58:78: error: cannot find type 'Configuration' in scope
public init(serviceType: String = "_glider._tcp", _ builder: ((inout Configuration) -> Void)?) {
^~~~~~~~~~~~~
[71/72] Compiling Glider RemoteTransport+Config.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.
public var urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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
self.urlSession = URLSession(configuration: .default)
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:223:58: error: cannot infer contextual base in reference to member 'default'
self.urlSession = URLSession(configuration: .default)
~^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:30:28: error: cannot find type 'URLRequest' in scope
public let urlRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:49:29: error: cannot find type 'URLRequest' in scope
public init(urlRequest: URLRequest, _ builder: ((inout Configuration) -> Void)? = nil) {
^~~~~~~~~~
/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.
case invalidResponse(URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/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.
case emptyResponse(HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
case httpError(HTTPURLResponse, Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncURLRequestsOperation.swift:54:45: error: value of type 'URLSession' (aka 'AnyObject') has no member 'execute'
transport?.configuration.urlSession.execute(request)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:40:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/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.
private var session: URLSession?
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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')
completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/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.
func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:57: error: cannot find type 'URLSessionDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:77: error: cannot find type 'URLSessionTaskDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:101: error: cannot find type 'URLSessionStreamDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~
/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
self.session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:70:51: error: cannot infer contextual base in reference to member 'ephemeral'
self.session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:92:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
session?.invalidateAndCancel()
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/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
session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:93:46: error: cannot infer contextual base in reference to member 'ephemeral'
session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:129:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'streamTask'
let task = session.streamTask(withHostName: configuration.host, port: configuration.port)
~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:146:83: error: cannot infer type of closure parameter 'error' without a type annotation
task.write(messageData, timeout: configuration.timeout) { [weak self] error in
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:305:27: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
if challenge.protectionSpace.host == transport?.configuration.host,
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:306:39: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
let trust = challenge.protectionSpace.serverTrust {
~~~~~~~~~ ^~~~~~~~~~~~~~~
/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
let credential = URLCredential(trust: trust)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:308:36: error: cannot infer contextual base in reference to member 'useCredential'
completionHandler(.useCredential, credential)
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:36: error: cannot infer contextual base in reference to member 'cancelAuthenticationChallenge'
completionHandler(.cancelAuthenticationChallenge, nil)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:67: error: 'nil' requires a contextual type
completionHandler(.cancelAuthenticationChallenge, nil)
^
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:19:11: error: cannot find type 'RemoteTransport' in scope
extension RemoteTransport {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:58:78: error: cannot find type 'Configuration' in scope
public init(serviceType: String = "_glider._tcp", _ builder: ((inout Configuration) -> Void)?) {
^~~~~~~~~~~~~
[72/72] Compiling Glider RemoteTransport.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.
public var urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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
self.urlSession = URLSession(configuration: .default)
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransport.swift:223:58: error: cannot infer contextual base in reference to member 'default'
self.urlSession = URLSession(configuration: .default)
~^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:30:28: error: cannot find type 'URLRequest' in scope
public let urlRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/HTTPTransportRequest.swift:49:29: error: cannot find type 'URLRequest' in scope
public init(urlRequest: URLRequest, _ builder: ((inout Configuration) -> Void)? = nil) {
^~~~~~~~~~
/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.
case invalidResponse(URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/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.
case emptyResponse(HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
case httpError(HTTPURLResponse, Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/AsyncURLRequestsOperation.swift:54:45: error: value of type 'URLSession' (aka 'AnyObject') has no member 'execute'
transport?.configuration.urlSession.execute(request)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:17:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/HTTPTransport/Support/URLSession+Extensions.swift:40:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
private extension URLSession {
^ ~~~~~~~~~~
/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.
private var session: URLSession?
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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')
completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/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.
func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:57: error: cannot find type 'URLSessionDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:77: error: cannot find type 'URLSessionTaskDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:287:101: error: cannot find type 'URLSessionStreamDelegate' in scope
private class LogstashURLSessionDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionStreamDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~
/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
self.session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:70:51: error: cannot infer contextual base in reference to member 'ephemeral'
self.session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:92:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
session?.invalidateAndCancel()
~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/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
session = URLSession(configuration: .ephemeral,
^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:93:46: error: cannot infer contextual base in reference to member 'ephemeral'
session = URLSession(configuration: .ephemeral,
~^~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:129:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'streamTask'
let task = session.streamTask(withHostName: configuration.host, port: configuration.port)
~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:146:83: error: cannot infer type of closure parameter 'error' without a type annotation
task.write(messageData, timeout: configuration.timeout) { [weak self] error in
^
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:305:27: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
if challenge.protectionSpace.host == transport?.configuration.host,
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:306:39: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
let trust = challenge.protectionSpace.serverTrust {
~~~~~~~~~ ^~~~~~~~~~~~~~~
/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
let credential = URLCredential(trust: trust)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:308:36: error: cannot infer contextual base in reference to member 'useCredential'
completionHandler(.useCredential, credential)
~^~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:36: error: cannot infer contextual base in reference to member 'cancelAuthenticationChallenge'
completionHandler(.cancelAuthenticationChallenge, nil)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/LogstashTransport/LogstashTransport.swift:311:67: error: 'nil' requires a contextual type
completionHandler(.cancelAuthenticationChallenge, nil)
^
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:19:11: error: cannot find type 'RemoteTransport' in scope
extension RemoteTransport {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Glider/Sources/Transports/RemoteTransport/RemoteTransport+Config.swift:58:78: error: cannot find type 'Configuration' in scope
public init(serviceType: String = "_glider._tcp", _ builder: ((inout Configuration) -> Void)?) {
^~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux
Build Machine: Linux 2