Build Information
Failed to build Siesta with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
^ ~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:58:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration: NetworkingProviderConvertible
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:19:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:22:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(session: URLSession)
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:27:24: error: cannot find type 'URLRequest' in scope
_ request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
_ request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:39:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var task: URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:41:28: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
fileprivate init(task: URLSessionDataTask)
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:69:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var task: URLSessionTask { get }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Networking.swift:91:57: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public typealias RequestNetworkingCompletionCallback = (HTTPURLResponse?, Data?, Error?) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:20:39: error: cannot find type 'URLRequest' in scope
private let requestBuilder: () -> URLRequest // so repeated() can re-read config
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:21:36: error: cannot find type 'URLRequest' in scope
private let underlyingRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:62: error: cannot find type 'URLRequest' in scope
init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:86:33: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
underlyingResponse: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:115:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ underlyingResponse: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/RequestError.swift:61:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:26:2: error: Objective-C interoperability is disabled
@objc(BOSResource)
~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:32:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:36:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:71:46: error: cannot find type 'URLRequest' in scope
internal func configuration(for request: URLRequest) -> Configuration
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:124:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:141:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:150:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:312:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:489:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:511:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:633:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:653:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:673:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:34:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:52:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:68:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:99:6: error: Objective-C interoperability is disabled
@objc(withParam:value:)
~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:240:6: error: Objective-C interoperability is disabled
@objc(removeObserversOwnedBy:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:28:2: error: Objective-C interoperability is disabled
@objc(BOSService)
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:32:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:59:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:97:6: error: Objective-C interoperability is disabled
@objc(resource:)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:370:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:416:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:443:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:456:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:476:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:78:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
internal static func == <T>(lhs: WeakRef<T>, rhs: WeakRef<T>) -> Bool
^
/host/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:61:25: note: 'T' previously declared here
internal struct WeakRef<T: AnyObject>: Hashable
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:48:2: error: Objective-C interoperability is disabled
@objc(BOSEntity)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:51:6: error: Objective-C interoperability is disabled
@objc public var content: AnyObject
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:52:6: error: Objective-C interoperability is disabled
@objc public var contentType: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:53:6: error: Objective-C interoperability is disabled
@objc public var charset: String?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:54:6: error: Objective-C interoperability is disabled
@objc public var etag: String?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:56:6: error: Objective-C interoperability is disabled
@objc public private(set) var timestamp: TimeInterval = 0
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:58:6: error: Objective-C interoperability is disabled
@objc public init(content: AnyObject, contentType: String, headers: [String:String])
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:65:6: error: Objective-C interoperability is disabled
@objc public convenience init(content: AnyObject, contentType: String)
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:77:6: error: Objective-C interoperability is disabled
@objc public func header(_ key: String) -> String?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:80:6: error: Objective-C interoperability is disabled
@objc public override var description: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:92:2: error: Objective-C interoperability is disabled
@objc(BOSError)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:95:6: error: Objective-C interoperability is disabled
@objc public var httpStatusCode: Int
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:96:6: error: Objective-C interoperability is disabled
@objc public var cause: NSError?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:97:6: error: Objective-C interoperability is disabled
@objc public var userMessage: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:98:6: error: Objective-C interoperability is disabled
@objc public var entity: _objc_Entity?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:99:6: error: Objective-C interoperability is disabled
@objc public let timestamp: TimeInterval
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:114:6: error: Objective-C interoperability is disabled
@objc(resourceWithAbsoluteURL:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:118:6: error: Objective-C interoperability is disabled
@objc(resourceWithAbsoluteURLString:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:125:6: error: Objective-C interoperability is disabled
@objc(latestData)
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:134:6: error: Objective-C interoperability is disabled
@objc(latestError)
~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:143:6: error: Objective-C interoperability is disabled
@objc(jsonDict)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:147:6: error: Objective-C interoperability is disabled
@objc(jsonArray)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:151:6: error: Objective-C interoperability is disabled
@objc(text)
~^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:155:6: error: Objective-C interoperability is disabled
@objc(overrideLocalData:)
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:159:6: error: Objective-C interoperability is disabled
@objc(withParams:)
~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:182:2: error: Objective-C interoperability is disabled
@objc(BOSRequest)
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:190:111: error: '(_objc_Entity?, _objc_Error?) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onCompletion(_ objcCallback: @escaping @convention(block) (_objc_Entity?, _objc_Error?) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:190:6: error: Objective-C interoperability is disabled
@objc public func onCompletion(_ objcCallback: @escaping @convention(block) (_objc_Entity?, _objc_Error?) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:206:93: error: '(_objc_Entity) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onSuccess(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:206:6: error: Objective-C interoperability is disabled
@objc public func onSuccess(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:212:93: error: '(_objc_Entity) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onNewData(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:212:6: error: Objective-C interoperability is disabled
@objc public func onNewData(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:218:6: error: Objective-C interoperability is disabled
@objc public func onNotModified(_ objcCallback: @escaping @convention(block) () -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:224:92: error: '(_objc_Error) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onFailure(_ objcCallback: @escaping @convention(block) (_objc_Error) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:224:6: error: Objective-C interoperability is disabled
@objc public func onFailure(_ objcCallback: @escaping @convention(block) (_objc_Error) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:230:6: error: Objective-C interoperability is disabled
@objc public func onProgress(_ objcCallback: @escaping @convention(block) (Float) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:236:6: error: Objective-C interoperability is disabled
@objc public func cancel()
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:239:6: error: Objective-C interoperability is disabled
@objc public override var description: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:245:6: error: Objective-C interoperability is disabled
@objc(load)
~^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:249:6: error: Objective-C interoperability is disabled
@objc(loadIfNeeded)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:261:2: error: Objective-C interoperability is disabled
@objc(BOSResourceObserver)
~^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:265:11: error: 'optional' can only be applied to members of an @objc protocol
@objc optional func resourceRequestProgress(_ resource: Resource, progress: Double)
^~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:265:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
@objc optional func resourceRequestProgress(_ resource: Resource, progress: Double)
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:266:11: error: 'optional' can only be applied to members of an @objc protocol
@objc optional func stoppedObservingResource(_ resource: Resource)
^~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:266:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
@objc optional func stoppedObservingResource(_ resource: Resource)
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:313:6: error: Objective-C interoperability is disabled
@objc(addObserver:)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:317:6: error: Objective-C interoperability is disabled
@objc(addObserver:owner:)
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:322:108: error: '(Resource, String) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
public func _objc_addObserver(owner: AnyObject, block: @escaping @convention(block) (Resource, String) -> Void) -> Self
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:321:6: error: Objective-C interoperability is disabled
@objc(addObserverWithOwner:callback:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:366:69: error: cannot find type 'NSMutableURLRequest' in scope
private static func apply(requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?, to request: inout URLRequest)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:366:119: error: cannot find type 'URLRequest' in scope
private static func apply(requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?, to request: inout URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:376:51: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:373:6: error: Objective-C interoperability is disabled
@objc(requestWithMethod:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:386:6: error: Objective-C interoperability is disabled
@objc(requestWithMethod:)
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:399:51: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:394:6: error: Objective-C interoperability is disabled
@objc(requestWithMethod:data:contentType:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:409:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:text:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:425:52: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:419:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:text:contentType:encoding:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:435:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:json:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:450:52: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:445:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:json:contentType:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:464:54: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:460:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:urlEncoded:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:474:6: error: Objective-C interoperability is disabled
@objc(loadUsingRequest:)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Ω_Deprecations.swift:21:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
[3/68] Compiling Siesta Optional+Siesta.swift
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:48:2: error: Objective-C interoperability is disabled
@objc(BOSEntity)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:51:6: error: Objective-C interoperability is disabled
@objc public var content: AnyObject
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:52:6: error: Objective-C interoperability is disabled
@objc public var contentType: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:53:6: error: Objective-C interoperability is disabled
@objc public var charset: String?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:54:6: error: Objective-C interoperability is disabled
@objc public var etag: String?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:56:6: error: Objective-C interoperability is disabled
@objc public private(set) var timestamp: TimeInterval = 0
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:58:6: error: Objective-C interoperability is disabled
@objc public init(content: AnyObject, contentType: String, headers: [String:String])
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:65:6: error: Objective-C interoperability is disabled
@objc public convenience init(content: AnyObject, contentType: String)
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:77:6: error: Objective-C interoperability is disabled
@objc public func header(_ key: String) -> String?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:80:6: error: Objective-C interoperability is disabled
@objc public override var description: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:92:2: error: Objective-C interoperability is disabled
@objc(BOSError)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:95:6: error: Objective-C interoperability is disabled
@objc public var httpStatusCode: Int
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:96:6: error: Objective-C interoperability is disabled
@objc public var cause: NSError?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:97:6: error: Objective-C interoperability is disabled
@objc public var userMessage: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:98:6: error: Objective-C interoperability is disabled
@objc public var entity: _objc_Entity?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:99:6: error: Objective-C interoperability is disabled
@objc public let timestamp: TimeInterval
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:114:6: error: Objective-C interoperability is disabled
@objc(resourceWithAbsoluteURL:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:118:6: error: Objective-C interoperability is disabled
@objc(resourceWithAbsoluteURLString:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:125:6: error: Objective-C interoperability is disabled
@objc(latestData)
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:134:6: error: Objective-C interoperability is disabled
@objc(latestError)
~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:143:6: error: Objective-C interoperability is disabled
@objc(jsonDict)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:147:6: error: Objective-C interoperability is disabled
@objc(jsonArray)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:151:6: error: Objective-C interoperability is disabled
@objc(text)
~^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:155:6: error: Objective-C interoperability is disabled
@objc(overrideLocalData:)
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:159:6: error: Objective-C interoperability is disabled
@objc(withParams:)
~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:182:2: error: Objective-C interoperability is disabled
@objc(BOSRequest)
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:190:111: error: '(_objc_Entity?, _objc_Error?) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onCompletion(_ objcCallback: @escaping @convention(block) (_objc_Entity?, _objc_Error?) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:190:6: error: Objective-C interoperability is disabled
@objc public func onCompletion(_ objcCallback: @escaping @convention(block) (_objc_Entity?, _objc_Error?) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:206:93: error: '(_objc_Entity) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onSuccess(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:206:6: error: Objective-C interoperability is disabled
@objc public func onSuccess(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:212:93: error: '(_objc_Entity) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onNewData(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:212:6: error: Objective-C interoperability is disabled
@objc public func onNewData(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:218:6: error: Objective-C interoperability is disabled
@objc public func onNotModified(_ objcCallback: @escaping @convention(block) () -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:224:92: error: '(_objc_Error) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onFailure(_ objcCallback: @escaping @convention(block) (_objc_Error) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:224:6: error: Objective-C interoperability is disabled
@objc public func onFailure(_ objcCallback: @escaping @convention(block) (_objc_Error) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:230:6: error: Objective-C interoperability is disabled
@objc public func onProgress(_ objcCallback: @escaping @convention(block) (Float) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:236:6: error: Objective-C interoperability is disabled
@objc public func cancel()
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:239:6: error: Objective-C interoperability is disabled
@objc public override var description: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:245:6: error: Objective-C interoperability is disabled
@objc(load)
~^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:249:6: error: Objective-C interoperability is disabled
@objc(loadIfNeeded)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:261:2: error: Objective-C interoperability is disabled
@objc(BOSResourceObserver)
~^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:265:11: error: 'optional' can only be applied to members of an @objc protocol
@objc optional func resourceRequestProgress(_ resource: Resource, progress: Double)
^~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:265:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
@objc optional func resourceRequestProgress(_ resource: Resource, progress: Double)
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:266:11: error: 'optional' can only be applied to members of an @objc protocol
@objc optional func stoppedObservingResource(_ resource: Resource)
^~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:266:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
@objc optional func stoppedObservingResource(_ resource: Resource)
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:313:6: error: Objective-C interoperability is disabled
@objc(addObserver:)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:317:6: error: Objective-C interoperability is disabled
@objc(addObserver:owner:)
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:322:108: error: '(Resource, String) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
public func _objc_addObserver(owner: AnyObject, block: @escaping @convention(block) (Resource, String) -> Void) -> Self
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:321:6: error: Objective-C interoperability is disabled
@objc(addObserverWithOwner:callback:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:366:69: error: cannot find type 'NSMutableURLRequest' in scope
private static func apply(requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?, to request: inout URLRequest)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:366:119: error: cannot find type 'URLRequest' in scope
private static func apply(requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?, to request: inout URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:376:51: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:373:6: error: Objective-C interoperability is disabled
@objc(requestWithMethod:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:386:6: error: Objective-C interoperability is disabled
@objc(requestWithMethod:)
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:399:51: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:394:6: error: Objective-C interoperability is disabled
@objc(requestWithMethod:data:contentType:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:409:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:text:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:425:52: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:419:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:text:contentType:encoding:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:435:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:json:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:450:52: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:445:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:json:contentType:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:464:54: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:460:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:urlEncoded:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:474:6: error: Objective-C interoperability is disabled
@objc(loadUsingRequest:)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:197:56: error: 'nil' requires a contextual type
objcCallback(_objc_Entity(entity), nil)
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:280:52: error: cannot use optional chaining on non-optional value of type '(Resource) -> ()'
{ objcObserver.stoppedObservingResource?(resource) }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:291:47: error: cannot use optional chaining on non-optional value of type '(Resource, Double) -> ()'
{ objcObserver.resourceRequestProgress?(resource, progress: progress) }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:294:35: error: argument type 'any _objc_ResourceObserver' expected to be an instance of a class or class-constrained type
{ return ObjectIdentifier(objcObserver) }
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:368:38: error: cannot find type 'NSURLRequest' in scope
let mutableReq = (request as NSURLRequest).mutableCopy() as! NSMutableURLRequest
^~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:368:70: error: cannot find type 'NSMutableURLRequest' in scope
let mutableReq = (request as NSURLRequest).mutableCopy() as! NSMutableURLRequest
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:370:33: error: cannot find type 'URLRequest' in scope
request = mutableReq as URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
public typealias RequestMutation = (inout URLRequest) -> Void
^~~~~~~~~~
[4/68] Compiling Siesta Progress.swift
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:48:2: error: Objective-C interoperability is disabled
@objc(BOSEntity)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:51:6: error: Objective-C interoperability is disabled
@objc public var content: AnyObject
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:52:6: error: Objective-C interoperability is disabled
@objc public var contentType: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:53:6: error: Objective-C interoperability is disabled
@objc public var charset: String?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:54:6: error: Objective-C interoperability is disabled
@objc public var etag: String?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:56:6: error: Objective-C interoperability is disabled
@objc public private(set) var timestamp: TimeInterval = 0
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:58:6: error: Objective-C interoperability is disabled
@objc public init(content: AnyObject, contentType: String, headers: [String:String])
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:65:6: error: Objective-C interoperability is disabled
@objc public convenience init(content: AnyObject, contentType: String)
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:77:6: error: Objective-C interoperability is disabled
@objc public func header(_ key: String) -> String?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:80:6: error: Objective-C interoperability is disabled
@objc public override var description: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:92:2: error: Objective-C interoperability is disabled
@objc(BOSError)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:95:6: error: Objective-C interoperability is disabled
@objc public var httpStatusCode: Int
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:96:6: error: Objective-C interoperability is disabled
@objc public var cause: NSError?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:97:6: error: Objective-C interoperability is disabled
@objc public var userMessage: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:98:6: error: Objective-C interoperability is disabled
@objc public var entity: _objc_Entity?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:99:6: error: Objective-C interoperability is disabled
@objc public let timestamp: TimeInterval
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:114:6: error: Objective-C interoperability is disabled
@objc(resourceWithAbsoluteURL:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:118:6: error: Objective-C interoperability is disabled
@objc(resourceWithAbsoluteURLString:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:125:6: error: Objective-C interoperability is disabled
@objc(latestData)
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:134:6: error: Objective-C interoperability is disabled
@objc(latestError)
~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:143:6: error: Objective-C interoperability is disabled
@objc(jsonDict)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:147:6: error: Objective-C interoperability is disabled
@objc(jsonArray)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:151:6: error: Objective-C interoperability is disabled
@objc(text)
~^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:155:6: error: Objective-C interoperability is disabled
@objc(overrideLocalData:)
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:159:6: error: Objective-C interoperability is disabled
@objc(withParams:)
~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:182:2: error: Objective-C interoperability is disabled
@objc(BOSRequest)
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:190:111: error: '(_objc_Entity?, _objc_Error?) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onCompletion(_ objcCallback: @escaping @convention(block) (_objc_Entity?, _objc_Error?) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:190:6: error: Objective-C interoperability is disabled
@objc public func onCompletion(_ objcCallback: @escaping @convention(block) (_objc_Entity?, _objc_Error?) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:206:93: error: '(_objc_Entity) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onSuccess(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:206:6: error: Objective-C interoperability is disabled
@objc public func onSuccess(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:212:93: error: '(_objc_Entity) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onNewData(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:212:6: error: Objective-C interoperability is disabled
@objc public func onNewData(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:218:6: error: Objective-C interoperability is disabled
@objc public func onNotModified(_ objcCallback: @escaping @convention(block) () -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:224:92: error: '(_objc_Error) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onFailure(_ objcCallback: @escaping @convention(block) (_objc_Error) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:224:6: error: Objective-C interoperability is disabled
@objc public func onFailure(_ objcCallback: @escaping @convention(block) (_objc_Error) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:230:6: error: Objective-C interoperability is disabled
@objc public func onProgress(_ objcCallback: @escaping @convention(block) (Float) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:236:6: error: Objective-C interoperability is disabled
@objc public func cancel()
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:239:6: error: Objective-C interoperability is disabled
@objc public override var description: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:245:6: error: Objective-C interoperability is disabled
@objc(load)
~^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:249:6: error: Objective-C interoperability is disabled
@objc(loadIfNeeded)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:261:2: error: Objective-C interoperability is disabled
@objc(BOSResourceObserver)
~^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:265:11: error: 'optional' can only be applied to members of an @objc protocol
@objc optional func resourceRequestProgress(_ resource: Resource, progress: Double)
^~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:265:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
@objc optional func resourceRequestProgress(_ resource: Resource, progress: Double)
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:266:11: error: 'optional' can only be applied to members of an @objc protocol
@objc optional func stoppedObservingResource(_ resource: Resource)
^~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:266:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
@objc optional func stoppedObservingResource(_ resource: Resource)
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:313:6: error: Objective-C interoperability is disabled
@objc(addObserver:)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:317:6: error: Objective-C interoperability is disabled
@objc(addObserver:owner:)
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:322:108: error: '(Resource, String) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
public func _objc_addObserver(owner: AnyObject, block: @escaping @convention(block) (Resource, String) -> Void) -> Self
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:321:6: error: Objective-C interoperability is disabled
@objc(addObserverWithOwner:callback:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:366:69: error: cannot find type 'NSMutableURLRequest' in scope
private static func apply(requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?, to request: inout URLRequest)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:366:119: error: cannot find type 'URLRequest' in scope
private static func apply(requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?, to request: inout URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:376:51: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:373:6: error: Objective-C interoperability is disabled
@objc(requestWithMethod:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:386:6: error: Objective-C interoperability is disabled
@objc(requestWithMethod:)
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:399:51: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:394:6: error: Objective-C interoperability is disabled
@objc(requestWithMethod:data:contentType:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:409:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:text:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:425:52: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:419:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:text:contentType:encoding:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:435:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:json:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:450:52: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:445:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:json:contentType:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:464:54: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:460:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:urlEncoded:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:474:6: error: Objective-C interoperability is disabled
@objc(loadUsingRequest:)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:197:56: error: 'nil' requires a contextual type
objcCallback(_objc_Entity(entity), nil)
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:280:52: error: cannot use optional chaining on non-optional value of type '(Resource) -> ()'
{ objcObserver.stoppedObservingResource?(resource) }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:291:47: error: cannot use optional chaining on non-optional value of type '(Resource, Double) -> ()'
{ objcObserver.resourceRequestProgress?(resource, progress: progress) }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:294:35: error: argument type 'any _objc_ResourceObserver' expected to be an instance of a class or class-constrained type
{ return ObjectIdentifier(objcObserver) }
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:368:38: error: cannot find type 'NSURLRequest' in scope
let mutableReq = (request as NSURLRequest).mutableCopy() as! NSMutableURLRequest
^~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:368:70: error: cannot find type 'NSMutableURLRequest' in scope
let mutableReq = (request as NSURLRequest).mutableCopy() as! NSMutableURLRequest
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:370:33: error: cannot find type 'URLRequest' in scope
request = mutableReq as URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
public typealias RequestMutation = (inout URLRequest) -> Void
^~~~~~~~~~
[5/68] Compiling Siesta Regex+Siesta.swift
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:48:2: error: Objective-C interoperability is disabled
@objc(BOSEntity)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:51:6: error: Objective-C interoperability is disabled
@objc public var content: AnyObject
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:52:6: error: Objective-C interoperability is disabled
@objc public var contentType: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:53:6: error: Objective-C interoperability is disabled
@objc public var charset: String?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:54:6: error: Objective-C interoperability is disabled
@objc public var etag: String?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:56:6: error: Objective-C interoperability is disabled
@objc public private(set) var timestamp: TimeInterval = 0
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:58:6: error: Objective-C interoperability is disabled
@objc public init(content: AnyObject, contentType: String, headers: [String:String])
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:65:6: error: Objective-C interoperability is disabled
@objc public convenience init(content: AnyObject, contentType: String)
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:77:6: error: Objective-C interoperability is disabled
@objc public func header(_ key: String) -> String?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:80:6: error: Objective-C interoperability is disabled
@objc public override var description: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:92:2: error: Objective-C interoperability is disabled
@objc(BOSError)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:95:6: error: Objective-C interoperability is disabled
@objc public var httpStatusCode: Int
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:96:6: error: Objective-C interoperability is disabled
@objc public var cause: NSError?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:97:6: error: Objective-C interoperability is disabled
@objc public var userMessage: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:98:6: error: Objective-C interoperability is disabled
@objc public var entity: _objc_Entity?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:99:6: error: Objective-C interoperability is disabled
@objc public let timestamp: TimeInterval
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:114:6: error: Objective-C interoperability is disabled
@objc(resourceWithAbsoluteURL:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:118:6: error: Objective-C interoperability is disabled
@objc(resourceWithAbsoluteURLString:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:125:6: error: Objective-C interoperability is disabled
@objc(latestData)
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:134:6: error: Objective-C interoperability is disabled
@objc(latestError)
~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:143:6: error: Objective-C interoperability is disabled
@objc(jsonDict)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:147:6: error: Objective-C interoperability is disabled
@objc(jsonArray)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:151:6: error: Objective-C interoperability is disabled
@objc(text)
~^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:155:6: error: Objective-C interoperability is disabled
@objc(overrideLocalData:)
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:159:6: error: Objective-C interoperability is disabled
@objc(withParams:)
~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:182:2: error: Objective-C interoperability is disabled
@objc(BOSRequest)
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:190:111: error: '(_objc_Entity?, _objc_Error?) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onCompletion(_ objcCallback: @escaping @convention(block) (_objc_Entity?, _objc_Error?) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:190:6: error: Objective-C interoperability is disabled
@objc public func onCompletion(_ objcCallback: @escaping @convention(block) (_objc_Entity?, _objc_Error?) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:206:93: error: '(_objc_Entity) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onSuccess(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:206:6: error: Objective-C interoperability is disabled
@objc public func onSuccess(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:212:93: error: '(_objc_Entity) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onNewData(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:212:6: error: Objective-C interoperability is disabled
@objc public func onNewData(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:218:6: error: Objective-C interoperability is disabled
@objc public func onNotModified(_ objcCallback: @escaping @convention(block) () -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:224:92: error: '(_objc_Error) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onFailure(_ objcCallback: @escaping @convention(block) (_objc_Error) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:224:6: error: Objective-C interoperability is disabled
@objc public func onFailure(_ objcCallback: @escaping @convention(block) (_objc_Error) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:230:6: error: Objective-C interoperability is disabled
@objc public func onProgress(_ objcCallback: @escaping @convention(block) (Float) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:236:6: error: Objective-C interoperability is disabled
@objc public func cancel()
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:239:6: error: Objective-C interoperability is disabled
@objc public override var description: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:245:6: error: Objective-C interoperability is disabled
@objc(load)
~^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:249:6: error: Objective-C interoperability is disabled
@objc(loadIfNeeded)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:261:2: error: Objective-C interoperability is disabled
@objc(BOSResourceObserver)
~^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:265:11: error: 'optional' can only be applied to members of an @objc protocol
@objc optional func resourceRequestProgress(_ resource: Resource, progress: Double)
^~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:265:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
@objc optional func resourceRequestProgress(_ resource: Resource, progress: Double)
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:266:11: error: 'optional' can only be applied to members of an @objc protocol
@objc optional func stoppedObservingResource(_ resource: Resource)
^~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:266:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
@objc optional func stoppedObservingResource(_ resource: Resource)
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:313:6: error: Objective-C interoperability is disabled
@objc(addObserver:)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:317:6: error: Objective-C interoperability is disabled
@objc(addObserver:owner:)
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:322:108: error: '(Resource, String) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
public func _objc_addObserver(owner: AnyObject, block: @escaping @convention(block) (Resource, String) -> Void) -> Self
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:321:6: error: Objective-C interoperability is disabled
@objc(addObserverWithOwner:callback:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:366:69: error: cannot find type 'NSMutableURLRequest' in scope
private static func apply(requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?, to request: inout URLRequest)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:366:119: error: cannot find type 'URLRequest' in scope
private static func apply(requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?, to request: inout URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:376:51: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:373:6: error: Objective-C interoperability is disabled
@objc(requestWithMethod:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:386:6: error: Objective-C interoperability is disabled
@objc(requestWithMethod:)
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:399:51: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:394:6: error: Objective-C interoperability is disabled
@objc(requestWithMethod:data:contentType:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:409:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:text:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:425:52: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:419:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:text:contentType:encoding:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:435:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:json:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:450:52: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:445:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:json:contentType:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:464:54: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:460:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:urlEncoded:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:474:6: error: Objective-C interoperability is disabled
@objc(loadUsingRequest:)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:197:56: error: 'nil' requires a contextual type
objcCallback(_objc_Entity(entity), nil)
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:280:52: error: cannot use optional chaining on non-optional value of type '(Resource) -> ()'
{ objcObserver.stoppedObservingResource?(resource) }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:291:47: error: cannot use optional chaining on non-optional value of type '(Resource, Double) -> ()'
{ objcObserver.resourceRequestProgress?(resource, progress: progress) }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:294:35: error: argument type 'any _objc_ResourceObserver' expected to be an instance of a class or class-constrained type
{ return ObjectIdentifier(objcObserver) }
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:368:38: error: cannot find type 'NSURLRequest' in scope
let mutableReq = (request as NSURLRequest).mutableCopy() as! NSMutableURLRequest
^~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:368:70: error: cannot find type 'NSMutableURLRequest' in scope
let mutableReq = (request as NSURLRequest).mutableCopy() as! NSMutableURLRequest
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:370:33: error: cannot find type 'URLRequest' in scope
request = mutableReq as URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
public typealias RequestMutation = (inout URLRequest) -> Void
^~~~~~~~~~
[6/68] Compiling Siesta Siesta-ObjC.swift
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:48:2: error: Objective-C interoperability is disabled
@objc(BOSEntity)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:51:6: error: Objective-C interoperability is disabled
@objc public var content: AnyObject
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:52:6: error: Objective-C interoperability is disabled
@objc public var contentType: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:53:6: error: Objective-C interoperability is disabled
@objc public var charset: String?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:54:6: error: Objective-C interoperability is disabled
@objc public var etag: String?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:56:6: error: Objective-C interoperability is disabled
@objc public private(set) var timestamp: TimeInterval = 0
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:58:6: error: Objective-C interoperability is disabled
@objc public init(content: AnyObject, contentType: String, headers: [String:String])
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:65:6: error: Objective-C interoperability is disabled
@objc public convenience init(content: AnyObject, contentType: String)
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:77:6: error: Objective-C interoperability is disabled
@objc public func header(_ key: String) -> String?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:80:6: error: Objective-C interoperability is disabled
@objc public override var description: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:92:2: error: Objective-C interoperability is disabled
@objc(BOSError)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:95:6: error: Objective-C interoperability is disabled
@objc public var httpStatusCode: Int
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:96:6: error: Objective-C interoperability is disabled
@objc public var cause: NSError?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:97:6: error: Objective-C interoperability is disabled
@objc public var userMessage: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:98:6: error: Objective-C interoperability is disabled
@objc public var entity: _objc_Entity?
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:99:6: error: Objective-C interoperability is disabled
@objc public let timestamp: TimeInterval
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:114:6: error: Objective-C interoperability is disabled
@objc(resourceWithAbsoluteURL:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:118:6: error: Objective-C interoperability is disabled
@objc(resourceWithAbsoluteURLString:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:125:6: error: Objective-C interoperability is disabled
@objc(latestData)
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:134:6: error: Objective-C interoperability is disabled
@objc(latestError)
~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:143:6: error: Objective-C interoperability is disabled
@objc(jsonDict)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:147:6: error: Objective-C interoperability is disabled
@objc(jsonArray)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:151:6: error: Objective-C interoperability is disabled
@objc(text)
~^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:155:6: error: Objective-C interoperability is disabled
@objc(overrideLocalData:)
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:159:6: error: Objective-C interoperability is disabled
@objc(withParams:)
~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:182:2: error: Objective-C interoperability is disabled
@objc(BOSRequest)
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:190:111: error: '(_objc_Entity?, _objc_Error?) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onCompletion(_ objcCallback: @escaping @convention(block) (_objc_Entity?, _objc_Error?) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:190:6: error: Objective-C interoperability is disabled
@objc public func onCompletion(_ objcCallback: @escaping @convention(block) (_objc_Entity?, _objc_Error?) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:206:93: error: '(_objc_Entity) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onSuccess(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:206:6: error: Objective-C interoperability is disabled
@objc public func onSuccess(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:212:93: error: '(_objc_Entity) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onNewData(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:212:6: error: Objective-C interoperability is disabled
@objc public func onNewData(_ objcCallback: @escaping @convention(block) (_objc_Entity) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:218:6: error: Objective-C interoperability is disabled
@objc public func onNotModified(_ objcCallback: @escaping @convention(block) () -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:224:92: error: '(_objc_Error) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
@objc public func onFailure(_ objcCallback: @escaping @convention(block) (_objc_Error) -> Void) -> _objc_Request
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:224:6: error: Objective-C interoperability is disabled
@objc public func onFailure(_ objcCallback: @escaping @convention(block) (_objc_Error) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:230:6: error: Objective-C interoperability is disabled
@objc public func onProgress(_ objcCallback: @escaping @convention(block) (Float) -> Void) -> _objc_Request
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:236:6: error: Objective-C interoperability is disabled
@objc public func cancel()
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:239:6: error: Objective-C interoperability is disabled
@objc public override var description: String
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:245:6: error: Objective-C interoperability is disabled
@objc(load)
~^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:249:6: error: Objective-C interoperability is disabled
@objc(loadIfNeeded)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:261:2: error: Objective-C interoperability is disabled
@objc(BOSResourceObserver)
~^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:265:11: error: 'optional' can only be applied to members of an @objc protocol
@objc optional func resourceRequestProgress(_ resource: Resource, progress: Double)
^~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:265:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
@objc optional func resourceRequestProgress(_ resource: Resource, progress: Double)
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:266:11: error: 'optional' can only be applied to members of an @objc protocol
@objc optional func stoppedObservingResource(_ resource: Resource)
^~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:266:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
@objc optional func stoppedObservingResource(_ resource: Resource)
~^~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:313:6: error: Objective-C interoperability is disabled
@objc(addObserver:)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:317:6: error: Objective-C interoperability is disabled
@objc(addObserver:owner:)
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:322:108: error: '(Resource, String) -> Void' is not representable in Objective-C, so it cannot be used with '@convention(block)'
public func _objc_addObserver(owner: AnyObject, block: @escaping @convention(block) (Resource, String) -> Void) -> Self
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:321:6: error: Objective-C interoperability is disabled
@objc(addObserverWithOwner:callback:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:366:69: error: cannot find type 'NSMutableURLRequest' in scope
private static func apply(requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?, to request: inout URLRequest)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:366:119: error: cannot find type 'URLRequest' in scope
private static func apply(requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?, to request: inout URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:376:51: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:373:6: error: Objective-C interoperability is disabled
@objc(requestWithMethod:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:386:6: error: Objective-C interoperability is disabled
@objc(requestWithMethod:)
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:399:51: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:394:6: error: Objective-C interoperability is disabled
@objc(requestWithMethod:data:contentType:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:409:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:text:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:425:52: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:419:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:text:contentType:encoding:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:435:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:json:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:450:52: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:445:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:json:contentType:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:464:54: error: cannot find type 'NSMutableURLRequest' in scope
requestMutation: (@convention(block) (NSMutableURLRequest) -> Void)?)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:460:7: error: Objective-C interoperability is disabled
@objc(requestWithMethod:urlEncoded:requestMutation:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:474:6: error: Objective-C interoperability is disabled
@objc(loadUsingRequest:)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:197:56: error: 'nil' requires a contextual type
objcCallback(_objc_Entity(entity), nil)
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:280:52: error: cannot use optional chaining on non-optional value of type '(Resource) -> ()'
{ objcObserver.stoppedObservingResource?(resource) }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:291:47: error: cannot use optional chaining on non-optional value of type '(Resource, Double) -> ()'
{ objcObserver.resourceRequestProgress?(resource, progress: progress) }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:294:35: error: argument type 'any _objc_ResourceObserver' expected to be an instance of a class or class-constrained type
{ return ObjectIdentifier(objcObserver) }
^
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:368:38: error: cannot find type 'NSURLRequest' in scope
let mutableReq = (request as NSURLRequest).mutableCopy() as! NSMutableURLRequest
^~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:368:70: error: cannot find type 'NSMutableURLRequest' in scope
let mutableReq = (request as NSURLRequest).mutableCopy() as! NSMutableURLRequest
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Siesta-ObjC.swift:370:33: error: cannot find type 'URLRequest' in scope
request = mutableReq as URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
public typealias RequestMutation = (inout URLRequest) -> Void
^~~~~~~~~~
[7/68] Compiling Siesta Resource.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:58:66: error: cannot find 'arc4random' in scope
return String(format: "alamofire.boundary.%08x%08x", arc4random(), arc4random())
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:58:80: error: cannot find 'arc4random' in scope
return String(format: "alamofire.boundary.%08x%08x", arc4random(), arc4random())
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:214:43: error: value of type 'URL' has no member 'checkPromisedItemIsReachable'
let isReachable = try fileURL.checkPromisedItemIsReachable()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:504:22: error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:504:60: error: cannot find 'kUTTagClassFilenameExtension' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:504:107: error: cannot find type 'CFString' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:504:117: error: 'nil' requires a contextual type
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:505:31: error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:505:67: error: cannot find 'kUTTagClassMIMEType' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:424:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:432:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:439:8: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
public extension URLSessionConfiguration {
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartUpload.swift:48:38: error: cannot find type 'URLRequest' in scope
func build() throws -> (request: URLRequest, uploadable: UploadRequest.Uploadable) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:74:35: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartUpload.swift:80:35: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:100:65: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didResumeTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:104:66: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didSuspendTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:108:65: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didCancelTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:112:67: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didCompleteTask task: URLSessionTask, with error: AFError?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:59:41: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:62:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:101:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:108: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:110:79: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didFailToAdaptURLRequest initialRequest: URLRequest, withError error: AFError)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:113:70: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:119:64: error: cannot find type 'URLSessionTaskMetrics' in scope
func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:156:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:190:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
[8/68] Compiling Siesta HardWiredRequest.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:58:66: error: cannot find 'arc4random' in scope
return String(format: "alamofire.boundary.%08x%08x", arc4random(), arc4random())
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:58:80: error: cannot find 'arc4random' in scope
return String(format: "alamofire.boundary.%08x%08x", arc4random(), arc4random())
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:214:43: error: value of type 'URL' has no member 'checkPromisedItemIsReachable'
let isReachable = try fileURL.checkPromisedItemIsReachable()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:504:22: error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:504:60: error: cannot find 'kUTTagClassFilenameExtension' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:504:107: error: cannot find type 'CFString' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:504:117: error: 'nil' requires a contextual type
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:505:31: error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:505:67: error: cannot find 'kUTTagClassMIMEType' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:424:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:432:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:439:8: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
public extension URLSessionConfiguration {
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartUpload.swift:48:38: error: cannot find type 'URLRequest' in scope
func build() throws -> (request: URLRequest, uploadable: UploadRequest.Uploadable) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:74:35: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartUpload.swift:80:35: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:100:65: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didResumeTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:104:66: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didSuspendTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:108:65: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didCancelTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:112:67: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didCompleteTask task: URLSessionTask, with error: AFError?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:59:41: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:62:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:101:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:108: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:110:79: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didFailToAdaptURLRequest initialRequest: URLRequest, withError error: AFError)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:113:70: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:119:64: error: cannot find type 'URLSessionTaskMetrics' in scope
func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:156:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:190:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
[9/68] Compiling Siesta LiveRequest.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:58:66: error: cannot find 'arc4random' in scope
return String(format: "alamofire.boundary.%08x%08x", arc4random(), arc4random())
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:58:80: error: cannot find 'arc4random' in scope
return String(format: "alamofire.boundary.%08x%08x", arc4random(), arc4random())
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:214:43: error: value of type 'URL' has no member 'checkPromisedItemIsReachable'
let isReachable = try fileURL.checkPromisedItemIsReachable()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:504:22: error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:504:60: error: cannot find 'kUTTagClassFilenameExtension' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:504:107: error: cannot find type 'CFString' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:504:117: error: 'nil' requires a contextual type
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:505:31: error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:505:67: error: cannot find 'kUTTagClassMIMEType' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:424:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:432:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:439:8: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
public extension URLSessionConfiguration {
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartUpload.swift:48:38: error: cannot find type 'URLRequest' in scope
func build() throws -> (request: URLRequest, uploadable: UploadRequest.Uploadable) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:74:35: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartUpload.swift:80:35: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:100:65: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didResumeTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:104:66: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didSuspendTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:108:65: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didCancelTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:112:67: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didCompleteTask task: URLSessionTask, with error: AFError?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:59:41: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:62:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:101:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:108: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:110:79: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didFailToAdaptURLRequest initialRequest: URLRequest, withError error: AFError)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:113:70: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:119:64: error: cannot find type 'URLSessionTaskMetrics' in scope
func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:156:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:190:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
[10/68] Compiling Siesta NetworkRequest.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:58:66: error: cannot find 'arc4random' in scope
return String(format: "alamofire.boundary.%08x%08x", arc4random(), arc4random())
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:58:80: error: cannot find 'arc4random' in scope
return String(format: "alamofire.boundary.%08x%08x", arc4random(), arc4random())
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:214:43: error: value of type 'URL' has no member 'checkPromisedItemIsReachable'
let isReachable = try fileURL.checkPromisedItemIsReachable()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:504:22: error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:504:60: error: cannot find 'kUTTagClassFilenameExtension' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:504:107: error: cannot find type 'CFString' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:504:117: error: 'nil' requires a contextual type
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:505:31: error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:505:67: error: cannot find 'kUTTagClassMIMEType' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:424:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:432:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:439:8: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
public extension URLSessionConfiguration {
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartUpload.swift:48:38: error: cannot find type 'URLRequest' in scope
func build() throws -> (request: URLRequest, uploadable: UploadRequest.Uploadable) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:74:35: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartUpload.swift:80:35: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:100:65: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didResumeTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:104:66: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didSuspendTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:108:65: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didCancelTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:112:67: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didCompleteTask task: URLSessionTask, with error: AFError?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:59:41: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:62:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:101:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:108: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:110:79: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didFailToAdaptURLRequest initialRequest: URLRequest, withError error: AFError)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:113:70: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:119:64: error: cannot find type 'URLSessionTaskMetrics' in scope
func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:156:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:190:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:20:39: error: cannot find type 'URLRequest' in scope
private let requestBuilder: () -> URLRequest // so repeated() can re-read config
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:21:36: error: cannot find type 'URLRequest' in scope
private let underlyingRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:62: error: cannot find type 'URLRequest' in scope
init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:86:33: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
underlyingResponse: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:115:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ underlyingResponse: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:71:46: error: cannot find type 'URLRequest' in scope
internal func configuration(for request: URLRequest) -> Configuration
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
_ request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:93:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
SiestaLog.log(.network, ["Response: ", underlyingResponse?.statusCode ?? error, "←", requestDescription])
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:94:86: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
SiestaLog.log(.networkDetails, ["Raw response headers:", underlyingResponse?.allHeaderFields])
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:120:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if isError(httpStatusCode: underlyingResponse?.statusCode) || error != nil
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:125:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
else if underlyingResponse?.statusCode == 304
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:31:13: error: cannot find 'CFRunLoopTimerCreateWithHandler' in scope
CFRunLoopTimerCreateWithHandler(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:32:21: error: cannot find 'kCFAllocatorDefault' in scope
kCFAllocatorDefault,
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:33:21: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
CFAbsoluteTimeGetCurrent(),
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:35:31: error: cannot infer type of closure parameter '_' without a type annotation
{ [weak self] _ in self?.updateProgress() }
^
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:9: error: cannot find 'CFRunLoopAddTimer' in scope
CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:27: error: cannot find 'CFRunLoopGetCurrent' in scope
CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:71: error: cannot find 'CFRunLoopMode' in scope
CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:20:39: error: cannot find type 'URLRequest' in scope
private let requestBuilder: () -> URLRequest // so repeated() can re-read config
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:21:36: error: cannot find type 'URLRequest' in scope
private let underlyingRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:62: error: cannot find type 'URLRequest' in scope
init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:86:33: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
underlyingResponse: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:115:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ underlyingResponse: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:71:46: error: cannot find type 'URLRequest' in scope
internal func configuration(for request: URLRequest) -> Configuration
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
_ request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:93:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
SiestaLog.log(.network, ["Response: ", underlyingResponse?.statusCode ?? error, "←", requestDescription])
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:94:86: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
SiestaLog.log(.networkDetails, ["Raw response headers:", underlyingResponse?.allHeaderFields])
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:120:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if isError(httpStatusCode: underlyingResponse?.statusCode) || error != nil
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:125:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
else if underlyingResponse?.statusCode == 304
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:31:13: error: cannot find 'CFRunLoopTimerCreateWithHandler' in scope
CFRunLoopTimerCreateWithHandler(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:32:21: error: cannot find 'kCFAllocatorDefault' in scope
kCFAllocatorDefault,
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:33:21: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
CFAbsoluteTimeGetCurrent(),
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:35:31: error: cannot infer type of closure parameter '_' without a type annotation
{ [weak self] _ in self?.updateProgress() }
^
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:9: error: cannot find 'CFRunLoopAddTimer' in scope
CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:27: error: cannot find 'CFRunLoopGetCurrent' in scope
CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:71: error: cannot find 'CFRunLoopMode' in scope
CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:20:39: error: cannot find type 'URLRequest' in scope
private let requestBuilder: () -> URLRequest // so repeated() can re-read config
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:21:36: error: cannot find type 'URLRequest' in scope
private let underlyingRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:62: error: cannot find type 'URLRequest' in scope
init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:86:33: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
underlyingResponse: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:115:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ underlyingResponse: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:71:46: error: cannot find type 'URLRequest' in scope
internal func configuration(for request: URLRequest) -> Configuration
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
_ request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:93:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
SiestaLog.log(.network, ["Response: ", underlyingResponse?.statusCode ?? error, "←", requestDescription])
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:94:86: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
SiestaLog.log(.networkDetails, ["Raw response headers:", underlyingResponse?.allHeaderFields])
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:120:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if isError(httpStatusCode: underlyingResponse?.statusCode) || error != nil
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:125:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
else if underlyingResponse?.statusCode == 304
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:31:13: error: cannot find 'CFRunLoopTimerCreateWithHandler' in scope
CFRunLoopTimerCreateWithHandler(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:32:21: error: cannot find 'kCFAllocatorDefault' in scope
kCFAllocatorDefault,
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:33:21: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
CFAbsoluteTimeGetCurrent(),
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:35:31: error: cannot infer type of closure parameter '_' without a type annotation
{ [weak self] _ in self?.updateProgress() }
^
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:9: error: cannot find 'CFRunLoopAddTimer' in scope
CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:27: error: cannot find 'CFRunLoopGetCurrent' in scope
CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:71: error: cannot find 'CFRunLoopMode' in scope
CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
^~~~~~~~~~~~~
[14/72] Compiling Siesta ProgressTracker.swift
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:20:39: error: cannot find type 'URLRequest' in scope
private let requestBuilder: () -> URLRequest // so repeated() can re-read config
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:21:36: error: cannot find type 'URLRequest' in scope
private let underlyingRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:62: error: cannot find type 'URLRequest' in scope
init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:86:33: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
underlyingResponse: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:115:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ underlyingResponse: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:71:46: error: cannot find type 'URLRequest' in scope
internal func configuration(for request: URLRequest) -> Configuration
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
_ request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:93:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
SiestaLog.log(.network, ["Response: ", underlyingResponse?.statusCode ?? error, "←", requestDescription])
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:94:86: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
SiestaLog.log(.networkDetails, ["Raw response headers:", underlyingResponse?.allHeaderFields])
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:120:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if isError(httpStatusCode: underlyingResponse?.statusCode) || error != nil
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:125:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
else if underlyingResponse?.statusCode == 304
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:31:13: error: cannot find 'CFRunLoopTimerCreateWithHandler' in scope
CFRunLoopTimerCreateWithHandler(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:32:21: error: cannot find 'kCFAllocatorDefault' in scope
kCFAllocatorDefault,
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:33:21: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
CFAbsoluteTimeGetCurrent(),
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:35:31: error: cannot infer type of closure parameter '_' without a type annotation
{ [weak self] _ in self?.updateProgress() }
^
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:9: error: cannot find 'CFRunLoopAddTimer' in scope
CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:27: error: cannot find 'CFRunLoopGetCurrent' in scope
CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:71: error: cannot find 'CFRunLoopMode' in scope
CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
^~~~~~~~~~~~~
[15/72] Compiling Siesta Request.swift
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:20:39: error: cannot find type 'URLRequest' in scope
private let requestBuilder: () -> URLRequest // so repeated() can re-read config
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:21:36: error: cannot find type 'URLRequest' in scope
private let underlyingRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:62: error: cannot find type 'URLRequest' in scope
init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:86:33: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
underlyingResponse: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:115:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ underlyingResponse: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:71:46: error: cannot find type 'URLRequest' in scope
internal func configuration(for request: URLRequest) -> Configuration
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
_ request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:93:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
SiestaLog.log(.network, ["Response: ", underlyingResponse?.statusCode ?? error, "←", requestDescription])
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:94:86: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
SiestaLog.log(.networkDetails, ["Raw response headers:", underlyingResponse?.allHeaderFields])
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:120:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if isError(httpStatusCode: underlyingResponse?.statusCode) || error != nil
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:125:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
else if underlyingResponse?.statusCode == 304
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:31:13: error: cannot find 'CFRunLoopTimerCreateWithHandler' in scope
CFRunLoopTimerCreateWithHandler(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:32:21: error: cannot find 'kCFAllocatorDefault' in scope
kCFAllocatorDefault,
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:33:21: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
CFAbsoluteTimeGetCurrent(),
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:35:31: error: cannot infer type of closure parameter '_' without a type annotation
{ [weak self] _ in self?.updateProgress() }
^
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:9: error: cannot find 'CFRunLoopAddTimer' in scope
CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:27: error: cannot find 'CFRunLoopGetCurrent' in scope
CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:71: error: cannot find 'CFRunLoopMode' in scope
CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
^~~~~~~~~~~~~
error: compile command failed due to signal 6 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:130:31: error: cannot find type 'SecTrust' in scope
public let trust: SecTrust
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:132:32: error: cannot find type 'OSStatus' in scope
public let status: OSStatus
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:134:32: error: cannot find type 'SecTrustResultType' in scope
public let result: SecTrustResultType
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:137:43: error: cannot find type 'SecTrust' in scope
init(_ host: String, _ trust: SecTrust, _ status: OSStatus, _ result: SecTrustResultType) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:137:63: error: cannot find type 'OSStatus' in scope
init(_ host: String, _ trust: SecTrust, _ status: OSStatus, _ result: SecTrustResultType) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:137:83: error: cannot find type 'SecTrustResultType' in scope
init(_ host: String, _ trust: SecTrust, _ status: OSStatus, _ result: SecTrustResultType) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:152:45: error: cannot find type 'SecTrust' in scope
case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:152:63: error: cannot find type 'SecPolicy' in scope
case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:152:82: error: cannot find type 'OSStatus' in scope
case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:154:54: error: cannot find type 'OSStatus' in scope
case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:154:79: error: cannot find type 'SecCertificate' in scope
case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:166:60: error: cannot find type 'SecTrust' in scope
case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:166:91: error: cannot find type 'SecCertificate' in scope
case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:166:129: error: cannot find type 'SecCertificate' in scope
case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:168:58: error: cannot find type 'SecTrust' in scope
case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:168:81: error: cannot find type 'SecKey' in scope
case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
^~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:168:103: error: cannot find type 'SecKey' in scope
case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
^~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:139:30: error: cannot find type 'CFOptionFlags' in scope
public let rawValue: CFOptionFlags
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:41:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func dataTask(_ task: URLSessionDataTask,
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:42:47: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
willCacheResponse response: CachedURLResponse,
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:43:42: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
completion: @escaping (CachedURLResponse?) -> Void)
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:58:22: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:58:42: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:58:64: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:78:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func dataTask(_ task: URLSessionDataTask,
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:79:54: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
willCacheResponse response: CachedURLResponse,
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:80:49: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
completion: @escaping (CachedURLResponse?) -> Void) {
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
Can't demangle: $s9Alamofire7AFErrorO24ServerTrustFailureReasonO24certificatePinningFailed33_E6FE27F77E4165F94EC7579EB4CCE715LLXeF4hostL_SSvp
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AlamofireExtended.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/DispatchQueue+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPMethod.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartUpload.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/OperationQueue+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Result+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RetryPolicy.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLEncodedFormEncoder.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift -supplementary-output-file-map /tmp/TemporaryDirectory.IWZQXA/supplementaryOutputs-1 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name Alamofire -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AFError.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/Alamofire.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AlamofireExtended.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/CachedResponseHandler.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1. Swift version 5.10-dev (LLVM dbfaba0078e9380, Swift 63c8b551eb2f613)
2. Compiling with the current language version
3. While walking into 'AFError' (at /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:29:8)
4. While walking into 'ServerTrustFailureReason' (at /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:124:12)
5. While evaluating request USRGenerationRequest(Alamofire.(file).AFError.ServerTrustFailureReason.certificatePinningFailed(host:trust:pinnedCertificates:serverCertificates:).host@/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:166:39)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/usr/bin/swift-frontend(+0x7307d73)[0x558e48d2dd73]
/usr/bin/swift-frontend(+0x7305abe)[0x558e48d2babe]
/usr/bin/swift-frontend(+0x73080ea)[0x558e48d2e0ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f4ecbb1a520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f4ecbb6e9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f4ecbb1a476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f4ecbb007f3]
/usr/bin/swift-frontend(+0x2af4275)[0x558e4451a275]
/usr/bin/swift-frontend(+0x2755c54)[0x558e4417bc54]
/usr/bin/swift-frontend(+0x2ab869b)[0x558e444de69b]
/usr/bin/swift-frontend(+0x2347a0c)[0x558e43d6da0c]
/usr/bin/swift-frontend(+0x106859c)[0x558e42a8e59c]
/usr/bin/swift-frontend(+0x1068102)[0x558e42a8e102]
/usr/bin/swift-frontend(+0x106716b)[0x558e42a8d16b]
/usr/bin/swift-frontend(+0x2ab91aa)[0x558e444df1aa]
/usr/bin/swift-frontend(+0x1036d5b)[0x558e42a5cd5b]
/usr/bin/swift-frontend(+0x10362a7)[0x558e42a5c2a7]
/usr/bin/swift-frontend(+0x1033c59)[0x558e42a59c59]
/usr/bin/swift-frontend(+0x1cb4cd1)[0x558e436dacd1]
/usr/bin/swift-frontend(+0x27ad05c)[0x558e441d305c]
/usr/bin/swift-frontend(+0x27aeb3c)[0x558e441d4b3c]
/usr/bin/swift-frontend(+0x27b10e7)[0x558e441d70e7]
/usr/bin/swift-frontend(+0x27ad07c)[0x558e441d307c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x558e441d7c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x558e441d686b]
/usr/bin/swift-frontend(+0x27ad07c)[0x558e441d307c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x558e441d7c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x558e441d686b]
/usr/bin/swift-frontend(+0x27ad07c)[0x558e441d307c]
/usr/bin/swift-frontend(+0x27acf73)[0x558e441d2f73]
/usr/bin/swift-frontend(+0x298b1e2)[0x558e443b11e2]
/usr/bin/swift-frontend(+0x1cb26a6)[0x558e436d86a6]
/usr/bin/swift-frontend(+0x1032c84)[0x558e42a58c84]
/usr/bin/swift-frontend(+0x1032b2a)[0x558e42a58b2a]
/usr/bin/swift-frontend(+0x1027f82)[0x558e42a4df82]
/usr/bin/swift-frontend(+0x1027978)[0x558e42a4d978]
/usr/bin/swift-frontend(+0xe3f242)[0x558e42865242]
/usr/bin/swift-frontend(+0xe3d09c)[0x558e4286309c]
/usr/bin/swift-frontend(+0xe382cd)[0x558e4285e2cd]
/usr/bin/swift-frontend(+0xe369db)[0x558e4285c9db]
/usr/bin/swift-frontend(+0xcc3315)[0x558e426e9315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f4ecbb01d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f4ecbb01e40]
/usr/bin/swift-frontend(+0xcc2375)[0x558e426e8375]
[16/72] Compiling Siesta String+Siesta.swift
/host/spi-builder-workspace/Source/Siesta/Support/WeakCache.swift:39:26: error: cannot find 'memoryWarningNotification' in scope
forName: memoryWarningNotification,
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Ω_Deprecations.swift:21:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
[17/72] Compiling Siesta URL+Siesta.swift
/host/spi-builder-workspace/Source/Siesta/Support/WeakCache.swift:39:26: error: cannot find 'memoryWarningNotification' in scope
forName: memoryWarningNotification,
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Ω_Deprecations.swift:21:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
[18/72] Compiling Siesta WeakCache.swift
/host/spi-builder-workspace/Source/Siesta/Support/WeakCache.swift:39:26: error: cannot find 'memoryWarningNotification' in scope
forName: memoryWarningNotification,
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Ω_Deprecations.swift:21:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
[19/72] Compiling Siesta Ω_Deprecations.swift
/host/spi-builder-workspace/Source/Siesta/Support/WeakCache.swift:39:26: error: cannot find 'memoryWarningNotification' in scope
forName: memoryWarningNotification,
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/Ω_Deprecations.swift:21:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
[20/72] Compiling Siesta ResourceNavigation.swift
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:34:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:52:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:68:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:99:6: error: Objective-C interoperability is disabled
@objc(withParam:value:)
~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:240:6: error: Objective-C interoperability is disabled
@objc(removeObserversOwnedBy:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:28:2: error: Objective-C interoperability is disabled
@objc(BOSService)
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:32:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
_ request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:59:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:97:6: error: Objective-C interoperability is disabled
@objc(resource:)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:370:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:416:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:443:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:456:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:476:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
public typealias RequestMutation = (inout URLRequest) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:78:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
internal static func == <T>(lhs: WeakRef<T>, rhs: WeakRef<T>) -> Bool
^
/host/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:61:25: note: 'T' previously declared here
internal struct WeakRef<T: AnyObject>: Hashable
^
[21/72] Compiling Siesta ResourceObserver.swift
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:34:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:52:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:68:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:99:6: error: Objective-C interoperability is disabled
@objc(withParam:value:)
~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:240:6: error: Objective-C interoperability is disabled
@objc(removeObserversOwnedBy:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:28:2: error: Objective-C interoperability is disabled
@objc(BOSService)
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:32:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
_ request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:59:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:97:6: error: Objective-C interoperability is disabled
@objc(resource:)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:370:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:416:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:443:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:456:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:476:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
public typealias RequestMutation = (inout URLRequest) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:78:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
internal static func == <T>(lhs: WeakRef<T>, rhs: WeakRef<T>) -> Bool
^
/host/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:61:25: note: 'T' previously declared here
internal struct WeakRef<T: AnyObject>: Hashable
^
[22/72] Compiling Siesta Service.swift
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:34:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:52:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:68:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:99:6: error: Objective-C interoperability is disabled
@objc(withParam:value:)
~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:240:6: error: Objective-C interoperability is disabled
@objc(removeObserversOwnedBy:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:28:2: error: Objective-C interoperability is disabled
@objc(BOSService)
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:32:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
_ request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:59:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:97:6: error: Objective-C interoperability is disabled
@objc(resource:)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:370:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:416:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:443:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:456:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:476:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
public typealias RequestMutation = (inout URLRequest) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:78:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
internal static func == <T>(lhs: WeakRef<T>, rhs: WeakRef<T>) -> Bool
^
/host/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:61:25: note: 'T' previously declared here
internal struct WeakRef<T: AnyObject>: Hashable
^
[23/72] Compiling Siesta ARC+Siesta.swift
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:34:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:52:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:68:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:99:6: error: Objective-C interoperability is disabled
@objc(withParam:value:)
~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:240:6: error: Objective-C interoperability is disabled
@objc(removeObserversOwnedBy:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:28:2: error: Objective-C interoperability is disabled
@objc(BOSService)
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:32:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
_ request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:59:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:97:6: error: Objective-C interoperability is disabled
@objc(resource:)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:370:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:416:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:443:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:456:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:476:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
public typealias RequestMutation = (inout URLRequest) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:78:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
internal static func == <T>(lhs: WeakRef<T>, rhs: WeakRef<T>) -> Bool
^
/host/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:61:25: note: 'T' previously declared here
internal struct WeakRef<T: AnyObject>: Hashable
^
[24/72] Compiling Alamofire URLEncodedFormEncoder.swift
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:34:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:52:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:68:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:99:6: error: Objective-C interoperability is disabled
@objc(withParam:value:)
~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:240:6: error: Objective-C interoperability is disabled
@objc(removeObserversOwnedBy:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:28:2: error: Objective-C interoperability is disabled
@objc(BOSService)
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:32:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
_ request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:59:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:97:6: error: Objective-C interoperability is disabled
@objc(resource:)
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:370:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:416:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:443:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:456:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Service.swift:476:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
public typealias RequestMutation = (inout URLRequest) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:78:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
internal static func == <T>(lhs: WeakRef<T>, rhs: WeakRef<T>) -> Bool
^
/host/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:61:25: note: 'T' previously declared here
internal struct WeakRef<T: AnyObject>: Hashable
^
[25/72] Compiling Siesta DebugFormatting.swift
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
public typealias RequestMutation = (inout URLRequest) -> Void
^~~~~~~~~~
[26/72] Compiling Siesta GCD+Siesta.swift
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
public typealias RequestMutation = (inout URLRequest) -> Void
^~~~~~~~~~
[27/72] Compiling Siesta Logging.swift
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
public typealias RequestMutation = (inout URLRequest) -> Void
^~~~~~~~~~
[28/72] Compiling Siesta OpenEnum.swift
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
public typealias RequestMutation = (inout URLRequest) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
public typealias RequestMutation = (inout URLRequest) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/RequestCreation.swift:62:19: error: cannot find 'CFStringConvertEncodingToIANACharSetName' in scope
CFStringConvertEncodingToIANACharSetName(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/RequestCreation.swift:63:23: error: cannot find 'CFStringConvertNSStringEncodingToEncoding' in scope
CFStringConvertNSStringEncodingToEncoding(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/RequestError.swift:61:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Source/Siesta/RequestError.swift:66:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
self.httpStatusCode = response?.statusCode
~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/RequestError.swift:77:50: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
{ self.userMessage = HTTPURLResponse.localizedString(forStatusCode: code).capitalized }
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:26:2: error: Objective-C interoperability is disabled
@objc(BOSResource)
~^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:32:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:36:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:71:46: error: cannot find type 'URLRequest' in scope
internal func configuration(for request: URLRequest) -> Configuration
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:124:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:141:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:150:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:312:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:489:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:511:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:633:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:653:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:673:6: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:269:37: error: cannot find 'URLRequest' in scope
var underlyingRequest = URLRequest(url: self.url)
^~~~~~~~~~
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:62: error: cannot find type 'URLRequest' in scope
init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
^~~~~~~~~~
BUILD FAILURE 5.10 linux
Build Machine: Linux 2