Build Information
Failed to build Siesta, reference 1.5.2 (43f340
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 19:02:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/RequestError.swift:66:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
64 | userMessage: String? = nil)
65 | {
66 | self.httpStatusCode = response?.statusCode
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
67 | self.cause = cause
68 |
/host/spi-builder-workspace/Source/Siesta/RequestError.swift:77:50: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
75 | { self.userMessage = message }
76 | else if let code = self.httpStatusCode
77 | { self.userMessage = HTTPURLResponse.localizedString(forStatusCode: code).capitalized }
| `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
78 | else
79 | { self.userMessage = NSLocalizedString("Request failed", comment: "userMessage") } // Is this reachable?
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:26:2: error: Objective-C interoperability is disabled
24 | questions changes.
25 | */
26 | @objc(BOSResource)
| `- error: Objective-C interoperability is disabled
27 | public final class Resource: NSObject
28 | {
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:32:6: error: Objective-C interoperability is disabled
30 |
31 | /// The API to which this resource belongs. Provides configuration defaults and instance uniqueness.
32 | @objc
| `- error: Objective-C interoperability is disabled
33 | public let service: Service
34 |
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:36:6: error: Objective-C interoperability is disabled
34 |
35 | /// The canoncial URL of this resource.
36 | @objc
| `- error: Objective-C interoperability is disabled
37 | public let url: URL
38 |
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:71:46: error: cannot find type 'URLRequest' in scope
69 | }
70 |
71 | internal func configuration(for request: URLRequest) -> Configuration
| `- error: cannot find type 'URLRequest' in scope
72 | {
73 | return configuration(for:
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:124:6: error: Objective-C interoperability is disabled
122 |
123 | /// The time of the most recent update to either `latestData` or `latestError`.
124 | @objc
| `- error: Objective-C interoperability is disabled
125 | public var timestamp: TimeInterval
126 | {
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:141:6: error: Objective-C interoperability is disabled
139 | /// True if any load requests (i.e. from calls to `load(...)` and `loadIfNeeded()`)
140 | /// for this resource are in progress.
141 | @objc
| `- error: Objective-C interoperability is disabled
142 | public var isLoading: Bool
143 | {
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:150:6: error: Objective-C interoperability is disabled
148 |
149 | /// True if any requests for this resource are in progress.
150 | @objc
| `- error: Objective-C interoperability is disabled
151 | public var isRequesting: Bool
152 | {
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:312:6: error: Objective-C interoperability is disabled
310 | - the timestamp on `latestError` is more recent than `retryTime` seconds ago.
311 | */
312 | @objc
| `- error: Objective-C interoperability is disabled
313 | public var isUpToDate: Bool
314 | {
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:489:6: error: Objective-C interoperability is disabled
487 | If this resource has no observers, cancels all `loadRequests`.
488 | */
489 | @objc
| `- error: Objective-C interoperability is disabled
490 | public func cancelLoadIfUnobserved()
491 | {
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:511:6: error: Objective-C interoperability is disabled
509 | The `callback` is called after the given delay, regardless of whether the request was cancelled.
510 | */
511 | @objc
| `- error: Objective-C interoperability is disabled
512 | public func cancelLoadIfUnobserved(afterDelay delay: TimeInterval, then callback: @escaping () -> Void = {})
513 | {
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:633:6: error: Objective-C interoperability is disabled
631 | If this resource has no content, this method sets the content type to `application/binary`.
632 | */
633 | @objc
| `- error: Objective-C interoperability is disabled
634 | public func overrideLocalContent(with content: Any)
635 | {
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:653:6: error: Objective-C interoperability is disabled
651 | - SeeAlso: `wipe()`
652 | */
653 | @objc
| `- error: Objective-C interoperability is disabled
654 | public func invalidate()
655 | {
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:673:6: error: Objective-C interoperability is disabled
671 | - SeeAlso: `invalidate()`
672 | */
673 | @objc
| `- error: Objective-C interoperability is disabled
674 | public func wipe()
675 | {
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:269:37: error: cannot find 'URLRequest' in scope
267 | let delegate = NetworkRequestDelegate(resource: self)
268 | {
269 | var underlyingRequest = URLRequest(url: self.url)
| `- error: cannot find 'URLRequest' in scope
270 | underlyingRequest.httpMethod = method.rawValue.uppercased()
271 | let config = self.configuration(for: method)
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:62: error: cannot find type 'URLRequest' in scope
27 | // MARK: Managing request
28 |
29 | init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
| `- error: cannot find type 'URLRequest' in scope
30 | {
31 | self.resource = resource
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:46: error: @escaping attribute only applies to function types
27 | // MARK: Managing request
28 |
29 | init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
| `- error: @escaping attribute only applies to function types
30 | {
31 | self.resource = resource
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:442:28: error: cannot infer contextual base in reference to member 'get'
440 | public func load() -> Request
441 | {
442 | let req = request(.get)
| `- error: cannot infer contextual base in reference to member 'get'
443 | {
444 | underlyingRequest in
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
220 | - SeeAlso: `Resource.request(...)`
221 | */
222 | public typealias RequestMutation = (inout URLRequest) -> Void
| `- error: cannot find type 'URLRequest' in scope
223 |
224 | /**
/host/spi-builder-workspace/Source/Siesta/Configuration.swift:65:56: error: @escaping attribute only applies to function types
63 | mutations, and then use the post-mutation HTTP method for any further configuration.
64 | */
65 | public mutating func mutateRequests(with mutation: @escaping Resource.RequestMutation)
| `- error: @escaping attribute only applies to function types
66 | { requestMutations.append(mutation) }
67 |
/host/spi-builder-workspace/Source/Siesta/Entity.swift:93:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
91 | Extracts data from a network response.
92 | */
93 | public init(response: HTTPURLResponse?, content: ContentType)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
94 | {
95 | let headers = (response?.allHeaderFields ?? [:])
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Entity.swift:95:34: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
93 | public init(response: HTTPURLResponse?, content: ContentType)
94 | {
95 | let headers = (response?.allHeaderFields ?? [:])
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
96 | .flatMapDict { ($0 as? String, $1 as? String) }
97 |
/host/spi-builder-workspace/Source/Siesta/Entity.swift:100:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'textEncodingName'
98 | self.init(
99 | content: content,
100 | charset: response?.textEncodingName,
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'textEncodingName'
101 | headers: headers)
102 | }
/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.
17 | {
18 | /// Session which will create `URLSessionDataTask`s.
19 | public let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | /// :nodoc:
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/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.
20 |
21 | /// :nodoc:
22 | public init(session: URLSession)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | { self.session = session }
24 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:27:24: error: cannot find type 'URLRequest' in scope
25 | /// :nodoc:
26 | public func startRequest(
27 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
28 | completion: @escaping RequestNetworkingCompletionCallback)
29 | -> RequestNetworking
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/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.
37 | private struct URLSessionRequestNetworking: RequestNetworking, SessionTaskContainer
38 | {
39 | var task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 | fileprivate init(task: URLSessionDataTask)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/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.
39 | var task: URLSessionTask
40 |
41 | fileprivate init(task: URLSessionDataTask)
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | {
43 | self.task = task
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:51:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
49 | }
50 |
51 | extension URLSession: NetworkingProviderConvertible
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
52 | {
53 | /// You can pass a `URLSession` when creating a `Service`.
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:58:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended [#NominalTypes]
56 | }
57 |
58 | extension URLSessionConfiguration: NetworkingProviderConvertible
| `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended [#NominalTypes]
59 | {
60 | /// You can pass a `URLSessionConfiguration` when creating a `Service`.
/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.
67 | {
68 | /// Underlying networking task that can report request progress.
69 | var task: URLSessionTask { get }
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:31:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
29 | -> RequestNetworking
30 | {
31 | let task = session.dataTask(with: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
32 | { completion($1 as? HTTPURLResponse, $0, $2) }
33 | return URLSessionRequestNetworking(task: task)
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:44:14: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
42 | {
43 | self.task = task
44 | task.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
45 | }
46 |
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:48:16: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
46 |
47 | func cancel()
48 | { task.cancel() }
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
49 | }
50 |
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:78:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesSent'
76 | {
77 | return RequestTransferMetrics(
78 | requestBytesSent: task.countOfBytesSent,
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesSent'
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
80 | responseBytesReceived: task.countOfBytesReceived,
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:79:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToSend'
77 | return RequestTransferMetrics(
78 | requestBytesSent: task.countOfBytesSent,
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToSend'
80 | responseBytesReceived: task.countOfBytesReceived,
81 | responseBytesTotal: task.countOfBytesExpectedToReceive)
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:80:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesReceived'
78 | requestBytesSent: task.countOfBytesSent,
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
80 | responseBytesReceived: task.countOfBytesReceived,
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesReceived'
81 | responseBytesTotal: task.countOfBytesExpectedToReceive)
82 | }
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:81:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToReceive'
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
80 | responseBytesReceived: task.countOfBytesReceived,
81 | responseBytesTotal: task.countOfBytesExpectedToReceive)
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToReceive'
82 | }
83 | }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[29/89] Compiling Alamofire RequestTaskMap.swift
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
220 | - SeeAlso: `Resource.request(...)`
221 | */
222 | public typealias RequestMutation = (inout URLRequest) -> Void
| `- error: cannot find type 'URLRequest' in scope
223 |
224 | /**
/host/spi-builder-workspace/Source/Siesta/Configuration.swift:65:56: error: @escaping attribute only applies to function types
63 | mutations, and then use the post-mutation HTTP method for any further configuration.
64 | */
65 | public mutating func mutateRequests(with mutation: @escaping Resource.RequestMutation)
| `- error: @escaping attribute only applies to function types
66 | { requestMutations.append(mutation) }
67 |
/host/spi-builder-workspace/Source/Siesta/Entity.swift:93:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
91 | Extracts data from a network response.
92 | */
93 | public init(response: HTTPURLResponse?, content: ContentType)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
94 | {
95 | let headers = (response?.allHeaderFields ?? [:])
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Entity.swift:95:34: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
93 | public init(response: HTTPURLResponse?, content: ContentType)
94 | {
95 | let headers = (response?.allHeaderFields ?? [:])
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
96 | .flatMapDict { ($0 as? String, $1 as? String) }
97 |
/host/spi-builder-workspace/Source/Siesta/Entity.swift:100:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'textEncodingName'
98 | self.init(
99 | content: content,
100 | charset: response?.textEncodingName,
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'textEncodingName'
101 | headers: headers)
102 | }
/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.
17 | {
18 | /// Session which will create `URLSessionDataTask`s.
19 | public let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | /// :nodoc:
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/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.
20 |
21 | /// :nodoc:
22 | public init(session: URLSession)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | { self.session = session }
24 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:27:24: error: cannot find type 'URLRequest' in scope
25 | /// :nodoc:
26 | public func startRequest(
27 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
28 | completion: @escaping RequestNetworkingCompletionCallback)
29 | -> RequestNetworking
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/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.
37 | private struct URLSessionRequestNetworking: RequestNetworking, SessionTaskContainer
38 | {
39 | var task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 | fileprivate init(task: URLSessionDataTask)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/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.
39 | var task: URLSessionTask
40 |
41 | fileprivate init(task: URLSessionDataTask)
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | {
43 | self.task = task
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:51:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
49 | }
50 |
51 | extension URLSession: NetworkingProviderConvertible
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
52 | {
53 | /// You can pass a `URLSession` when creating a `Service`.
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:58:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended [#NominalTypes]
56 | }
57 |
58 | extension URLSessionConfiguration: NetworkingProviderConvertible
| `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended [#NominalTypes]
59 | {
60 | /// You can pass a `URLSessionConfiguration` when creating a `Service`.
/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.
67 | {
68 | /// Underlying networking task that can report request progress.
69 | var task: URLSessionTask { get }
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:31:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
29 | -> RequestNetworking
30 | {
31 | let task = session.dataTask(with: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
32 | { completion($1 as? HTTPURLResponse, $0, $2) }
33 | return URLSessionRequestNetworking(task: task)
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:44:14: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
42 | {
43 | self.task = task
44 | task.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
45 | }
46 |
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:48:16: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
46 |
47 | func cancel()
48 | { task.cancel() }
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
49 | }
50 |
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:78:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesSent'
76 | {
77 | return RequestTransferMetrics(
78 | requestBytesSent: task.countOfBytesSent,
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesSent'
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
80 | responseBytesReceived: task.countOfBytesReceived,
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:79:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToSend'
77 | return RequestTransferMetrics(
78 | requestBytesSent: task.countOfBytesSent,
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToSend'
80 | responseBytesReceived: task.countOfBytesReceived,
81 | responseBytesTotal: task.countOfBytesExpectedToReceive)
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:80:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesReceived'
78 | requestBytesSent: task.countOfBytesSent,
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
80 | responseBytesReceived: task.countOfBytesReceived,
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesReceived'
81 | responseBytesTotal: task.countOfBytesExpectedToReceive)
82 | }
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:81:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToReceive'
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
80 | responseBytesReceived: task.countOfBytesReceived,
81 | responseBytesTotal: task.countOfBytesExpectedToReceive)
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToReceive'
82 | }
83 | }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[30/89] Compiling Alamofire Response.swift
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
220 | - SeeAlso: `Resource.request(...)`
221 | */
222 | public typealias RequestMutation = (inout URLRequest) -> Void
| `- error: cannot find type 'URLRequest' in scope
223 |
224 | /**
/host/spi-builder-workspace/Source/Siesta/Configuration.swift:65:56: error: @escaping attribute only applies to function types
63 | mutations, and then use the post-mutation HTTP method for any further configuration.
64 | */
65 | public mutating func mutateRequests(with mutation: @escaping Resource.RequestMutation)
| `- error: @escaping attribute only applies to function types
66 | { requestMutations.append(mutation) }
67 |
/host/spi-builder-workspace/Source/Siesta/Entity.swift:93:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
91 | Extracts data from a network response.
92 | */
93 | public init(response: HTTPURLResponse?, content: ContentType)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
94 | {
95 | let headers = (response?.allHeaderFields ?? [:])
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Entity.swift:95:34: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
93 | public init(response: HTTPURLResponse?, content: ContentType)
94 | {
95 | let headers = (response?.allHeaderFields ?? [:])
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
96 | .flatMapDict { ($0 as? String, $1 as? String) }
97 |
/host/spi-builder-workspace/Source/Siesta/Entity.swift:100:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'textEncodingName'
98 | self.init(
99 | content: content,
100 | charset: response?.textEncodingName,
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'textEncodingName'
101 | headers: headers)
102 | }
/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.
17 | {
18 | /// Session which will create `URLSessionDataTask`s.
19 | public let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | /// :nodoc:
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/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.
20 |
21 | /// :nodoc:
22 | public init(session: URLSession)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | { self.session = session }
24 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:27:24: error: cannot find type 'URLRequest' in scope
25 | /// :nodoc:
26 | public func startRequest(
27 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
28 | completion: @escaping RequestNetworkingCompletionCallback)
29 | -> RequestNetworking
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/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.
37 | private struct URLSessionRequestNetworking: RequestNetworking, SessionTaskContainer
38 | {
39 | var task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 | fileprivate init(task: URLSessionDataTask)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/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.
39 | var task: URLSessionTask
40 |
41 | fileprivate init(task: URLSessionDataTask)
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | {
43 | self.task = task
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:51:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
49 | }
50 |
51 | extension URLSession: NetworkingProviderConvertible
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
52 | {
53 | /// You can pass a `URLSession` when creating a `Service`.
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:58:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended [#NominalTypes]
56 | }
57 |
58 | extension URLSessionConfiguration: NetworkingProviderConvertible
| `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended [#NominalTypes]
59 | {
60 | /// You can pass a `URLSessionConfiguration` when creating a `Service`.
/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.
67 | {
68 | /// Underlying networking task that can report request progress.
69 | var task: URLSessionTask { get }
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:31:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
29 | -> RequestNetworking
30 | {
31 | let task = session.dataTask(with: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
32 | { completion($1 as? HTTPURLResponse, $0, $2) }
33 | return URLSessionRequestNetworking(task: task)
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:44:14: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
42 | {
43 | self.task = task
44 | task.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
45 | }
46 |
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:48:16: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
46 |
47 | func cancel()
48 | { task.cancel() }
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
49 | }
50 |
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:78:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesSent'
76 | {
77 | return RequestTransferMetrics(
78 | requestBytesSent: task.countOfBytesSent,
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesSent'
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
80 | responseBytesReceived: task.countOfBytesReceived,
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:79:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToSend'
77 | return RequestTransferMetrics(
78 | requestBytesSent: task.countOfBytesSent,
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToSend'
80 | responseBytesReceived: task.countOfBytesReceived,
81 | responseBytesTotal: task.countOfBytesExpectedToReceive)
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:80:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesReceived'
78 | requestBytesSent: task.countOfBytesSent,
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
80 | responseBytesReceived: task.countOfBytesReceived,
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesReceived'
81 | responseBytesTotal: task.countOfBytesExpectedToReceive)
82 | }
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:81:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToReceive'
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
80 | responseBytesReceived: task.countOfBytesReceived,
81 | responseBytesTotal: task.countOfBytesExpectedToReceive)
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToReceive'
82 | }
83 | }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[31/89] Compiling Alamofire Session.swift
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
220 | - SeeAlso: `Resource.request(...)`
221 | */
222 | public typealias RequestMutation = (inout URLRequest) -> Void
| `- error: cannot find type 'URLRequest' in scope
223 |
224 | /**
/host/spi-builder-workspace/Source/Siesta/Configuration.swift:65:56: error: @escaping attribute only applies to function types
63 | mutations, and then use the post-mutation HTTP method for any further configuration.
64 | */
65 | public mutating func mutateRequests(with mutation: @escaping Resource.RequestMutation)
| `- error: @escaping attribute only applies to function types
66 | { requestMutations.append(mutation) }
67 |
/host/spi-builder-workspace/Source/Siesta/Entity.swift:93:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
91 | Extracts data from a network response.
92 | */
93 | public init(response: HTTPURLResponse?, content: ContentType)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
94 | {
95 | let headers = (response?.allHeaderFields ?? [:])
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Entity.swift:95:34: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
93 | public init(response: HTTPURLResponse?, content: ContentType)
94 | {
95 | let headers = (response?.allHeaderFields ?? [:])
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
96 | .flatMapDict { ($0 as? String, $1 as? String) }
97 |
/host/spi-builder-workspace/Source/Siesta/Entity.swift:100:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'textEncodingName'
98 | self.init(
99 | content: content,
100 | charset: response?.textEncodingName,
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'textEncodingName'
101 | headers: headers)
102 | }
/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.
17 | {
18 | /// Session which will create `URLSessionDataTask`s.
19 | public let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | /// :nodoc:
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/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.
20 |
21 | /// :nodoc:
22 | public init(session: URLSession)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | { self.session = session }
24 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:27:24: error: cannot find type 'URLRequest' in scope
25 | /// :nodoc:
26 | public func startRequest(
27 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
28 | completion: @escaping RequestNetworkingCompletionCallback)
29 | -> RequestNetworking
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/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.
37 | private struct URLSessionRequestNetworking: RequestNetworking, SessionTaskContainer
38 | {
39 | var task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 | fileprivate init(task: URLSessionDataTask)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/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.
39 | var task: URLSessionTask
40 |
41 | fileprivate init(task: URLSessionDataTask)
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | {
43 | self.task = task
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:51:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
49 | }
50 |
51 | extension URLSession: NetworkingProviderConvertible
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
52 | {
53 | /// You can pass a `URLSession` when creating a `Service`.
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:58:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended [#NominalTypes]
56 | }
57 |
58 | extension URLSessionConfiguration: NetworkingProviderConvertible
| `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended [#NominalTypes]
59 | {
60 | /// You can pass a `URLSessionConfiguration` when creating a `Service`.
/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.
67 | {
68 | /// Underlying networking task that can report request progress.
69 | var task: URLSessionTask { get }
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:31:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
29 | -> RequestNetworking
30 | {
31 | let task = session.dataTask(with: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
32 | { completion($1 as? HTTPURLResponse, $0, $2) }
33 | return URLSessionRequestNetworking(task: task)
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:44:14: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
42 | {
43 | self.task = task
44 | task.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
45 | }
46 |
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:48:16: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
46 |
47 | func cancel()
48 | { task.cancel() }
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
49 | }
50 |
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:78:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesSent'
76 | {
77 | return RequestTransferMetrics(
78 | requestBytesSent: task.countOfBytesSent,
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesSent'
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
80 | responseBytesReceived: task.countOfBytesReceived,
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:79:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToSend'
77 | return RequestTransferMetrics(
78 | requestBytesSent: task.countOfBytesSent,
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToSend'
80 | responseBytesReceived: task.countOfBytesReceived,
81 | responseBytesTotal: task.countOfBytesExpectedToReceive)
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:80:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesReceived'
78 | requestBytesSent: task.countOfBytesSent,
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
80 | responseBytesReceived: task.countOfBytesReceived,
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesReceived'
81 | responseBytesTotal: task.countOfBytesExpectedToReceive)
82 | }
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:81:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToReceive'
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
80 | responseBytesReceived: task.countOfBytesReceived,
81 | responseBytesTotal: task.countOfBytesExpectedToReceive)
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToReceive'
82 | }
83 | }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[32/89] Compiling Alamofire SessionDelegate.swift
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
220 | - SeeAlso: `Resource.request(...)`
221 | */
222 | public typealias RequestMutation = (inout URLRequest) -> Void
| `- error: cannot find type 'URLRequest' in scope
223 |
224 | /**
/host/spi-builder-workspace/Source/Siesta/Configuration.swift:65:56: error: @escaping attribute only applies to function types
63 | mutations, and then use the post-mutation HTTP method for any further configuration.
64 | */
65 | public mutating func mutateRequests(with mutation: @escaping Resource.RequestMutation)
| `- error: @escaping attribute only applies to function types
66 | { requestMutations.append(mutation) }
67 |
/host/spi-builder-workspace/Source/Siesta/Entity.swift:93:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
91 | Extracts data from a network response.
92 | */
93 | public init(response: HTTPURLResponse?, content: ContentType)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
94 | {
95 | let headers = (response?.allHeaderFields ?? [:])
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Entity.swift:95:34: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
93 | public init(response: HTTPURLResponse?, content: ContentType)
94 | {
95 | let headers = (response?.allHeaderFields ?? [:])
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
96 | .flatMapDict { ($0 as? String, $1 as? String) }
97 |
/host/spi-builder-workspace/Source/Siesta/Entity.swift:100:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'textEncodingName'
98 | self.init(
99 | content: content,
100 | charset: response?.textEncodingName,
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'textEncodingName'
101 | headers: headers)
102 | }
/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.
17 | {
18 | /// Session which will create `URLSessionDataTask`s.
19 | public let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | /// :nodoc:
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/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.
20 |
21 | /// :nodoc:
22 | public init(session: URLSession)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | { self.session = session }
24 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:27:24: error: cannot find type 'URLRequest' in scope
25 | /// :nodoc:
26 | public func startRequest(
27 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
28 | completion: @escaping RequestNetworkingCompletionCallback)
29 | -> RequestNetworking
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/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.
37 | private struct URLSessionRequestNetworking: RequestNetworking, SessionTaskContainer
38 | {
39 | var task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 | fileprivate init(task: URLSessionDataTask)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/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.
39 | var task: URLSessionTask
40 |
41 | fileprivate init(task: URLSessionDataTask)
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | {
43 | self.task = task
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:51:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
49 | }
50 |
51 | extension URLSession: NetworkingProviderConvertible
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
52 | {
53 | /// You can pass a `URLSession` when creating a `Service`.
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:58:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended [#NominalTypes]
56 | }
57 |
58 | extension URLSessionConfiguration: NetworkingProviderConvertible
| `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended [#NominalTypes]
59 | {
60 | /// You can pass a `URLSessionConfiguration` when creating a `Service`.
/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.
67 | {
68 | /// Underlying networking task that can report request progress.
69 | var task: URLSessionTask { get }
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | }
71 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:31:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
29 | -> RequestNetworking
30 | {
31 | let task = session.dataTask(with: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
32 | { completion($1 as? HTTPURLResponse, $0, $2) }
33 | return URLSessionRequestNetworking(task: task)
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:44:14: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
42 | {
43 | self.task = task
44 | task.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
45 | }
46 |
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:48:16: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
46 |
47 | func cancel()
48 | { task.cancel() }
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
49 | }
50 |
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:78:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesSent'
76 | {
77 | return RequestTransferMetrics(
78 | requestBytesSent: task.countOfBytesSent,
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesSent'
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
80 | responseBytesReceived: task.countOfBytesReceived,
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:79:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToSend'
77 | return RequestTransferMetrics(
78 | requestBytesSent: task.countOfBytesSent,
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToSend'
80 | responseBytesReceived: task.countOfBytesReceived,
81 | responseBytesTotal: task.countOfBytesExpectedToReceive)
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:80:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesReceived'
78 | requestBytesSent: task.countOfBytesSent,
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
80 | responseBytesReceived: task.countOfBytesReceived,
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesReceived'
81 | responseBytesTotal: task.countOfBytesExpectedToReceive)
82 | }
/host/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:81:41: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToReceive'
79 | requestBytesTotal: task.countOfBytesExpectedToSend,
80 | responseBytesReceived: task.countOfBytesReceived,
81 | responseBytesTotal: task.countOfBytesExpectedToReceive)
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToReceive'
82 | }
83 | }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[33/89] Compiling Siesta ResourceNavigation.swift
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:34:6: error: Objective-C interoperability is disabled
32 | - SeeAlso: `relative(_:)`
33 | */
34 | @objc
| `- error: Objective-C interoperability is disabled
35 | public func child(_ subpath: String) -> Resource
36 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:52:6: error: Objective-C interoperability is disabled
50 | - `child(_:)`
51 | */
52 | @objc
| `- error: Objective-C interoperability is disabled
53 | public func relative(_ href: String) -> Resource
54 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:68:6: error: Objective-C interoperability is disabled
66 | }
67 | */
68 | @objc
| `- error: Objective-C interoperability is disabled
69 | public func optionalRelative(_ href: String?) -> Resource?
70 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:99:6: error: Objective-C interoperability is disabled
97 | - SeeAlso: `withParams(_:)`
98 | */
99 | @objc(withParam:value:)
| `- error: Objective-C interoperability is disabled
100 | public func withParam(_ name: String, _ value: String?) -> Resource
101 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:240:6: error: Objective-C interoperability is disabled
238 | Removes all observers owned by the given object.
239 | */
240 | @objc(removeObserversOwnedBy:)
| `- error: Objective-C interoperability is disabled
241 | public func removeObservers(ownedBy owner: AnyObject?)
242 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:28:2: error: Objective-C interoperability is disabled
26 | If you want to feed your service arbitrary URLs with no common root, use `resource(absoluteURL:)`.
27 | */
28 | @objc(BOSService)
| `- error: Objective-C interoperability is disabled
29 | open class Service: NSObject
30 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:32:6: error: Objective-C interoperability is disabled
30 | {
31 | /// The root URL of the API. If nil, then `resource(_:)` will only accept absolute URLs.
32 | @objc
| `- error: Objective-C interoperability is disabled
33 | public let baseURL: URL?
34 |
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/host/spi-builder-workspace/Source/Siesta/Service.swift:59:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
57 | baseURL: URLConvertible? = nil,
58 | standardTransformers: [StandardTransformer] = [.json, .text, .image],
59 | networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
60 | {
61 | DispatchQueue.mainThreadPrecondition()
/host/spi-builder-workspace/Source/Siesta/Service.swift:97:6: error: Objective-C interoperability is disabled
95 | If you want to pass a relative URL to be resolved against `baseURL`, use `resource("/").relative(relativeURL)`.
96 | */
97 | @objc(resource:)
| `- error: Objective-C interoperability is disabled
98 | public final func resource(_ path: String) -> Resource
99 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:370:6: error: Objective-C interoperability is disabled
368 | over subsequent resource interactions.
369 | */
370 | @objc
| `- error: Objective-C interoperability is disabled
371 | public final func invalidateConfiguration()
372 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:416:6: error: Objective-C interoperability is disabled
414 | Applies to resources matching the predicate, or all resources by default.
415 | */
416 | @objc
| `- error: Objective-C interoperability is disabled
417 | public final func wipeResources(matching predicate: (Resource) -> Bool = { _ in true })
418 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:443:6: error: Objective-C interoperability is disabled
441 | Useful for making shared predicates that you can pass to both `configure(...)` and this method.
442 | */
443 | @objc
| `- error: Objective-C interoperability is disabled
444 | public final func wipeResources(withURLsMatching predicate: (URL) -> Bool)
445 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:456:6: error: Objective-C interoperability is disabled
454 | in the cache, no matter how many there are.
455 | */
456 | @objc
| `- error: Objective-C interoperability is disabled
457 | public var cachedResourceCountLimit: Int
458 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:476:6: error: Objective-C interoperability is disabled
474 | call it preemptively before a memory-intensive operation, to prevent memory churn.
475 | */
476 | @objc
| `- error: Objective-C interoperability is disabled
477 | public final func flushUnusedResources()
478 | {
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
220 | - SeeAlso: `Resource.request(...)`
221 | */
222 | public typealias RequestMutation = (inout URLRequest) -> Void
| `- error: cannot find type 'URLRequest' in scope
223 |
224 | /**
/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 the Swift 6 language mode
59 | after the referenced object has been deallocated, making it suitable for use as a Set member and a Dictionary key.
60 | */
61 | internal struct WeakRef<T: AnyObject>: Hashable
| `- note: 'T' previously declared here
62 | {
63 | private(set) weak var value: T?
:
76 | { hasher.combine(originalHash) }
77 |
78 | internal static func == <T>(lhs: WeakRef<T>, rhs: WeakRef<T>) -> Bool
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
79 | {
80 | return lhs.originalIdentity == rhs.originalIdentity
[34/89] Compiling Siesta ResourceObserver.swift
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:34:6: error: Objective-C interoperability is disabled
32 | - SeeAlso: `relative(_:)`
33 | */
34 | @objc
| `- error: Objective-C interoperability is disabled
35 | public func child(_ subpath: String) -> Resource
36 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:52:6: error: Objective-C interoperability is disabled
50 | - `child(_:)`
51 | */
52 | @objc
| `- error: Objective-C interoperability is disabled
53 | public func relative(_ href: String) -> Resource
54 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:68:6: error: Objective-C interoperability is disabled
66 | }
67 | */
68 | @objc
| `- error: Objective-C interoperability is disabled
69 | public func optionalRelative(_ href: String?) -> Resource?
70 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:99:6: error: Objective-C interoperability is disabled
97 | - SeeAlso: `withParams(_:)`
98 | */
99 | @objc(withParam:value:)
| `- error: Objective-C interoperability is disabled
100 | public func withParam(_ name: String, _ value: String?) -> Resource
101 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:240:6: error: Objective-C interoperability is disabled
238 | Removes all observers owned by the given object.
239 | */
240 | @objc(removeObserversOwnedBy:)
| `- error: Objective-C interoperability is disabled
241 | public func removeObservers(ownedBy owner: AnyObject?)
242 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:28:2: error: Objective-C interoperability is disabled
26 | If you want to feed your service arbitrary URLs with no common root, use `resource(absoluteURL:)`.
27 | */
28 | @objc(BOSService)
| `- error: Objective-C interoperability is disabled
29 | open class Service: NSObject
30 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:32:6: error: Objective-C interoperability is disabled
30 | {
31 | /// The root URL of the API. If nil, then `resource(_:)` will only accept absolute URLs.
32 | @objc
| `- error: Objective-C interoperability is disabled
33 | public let baseURL: URL?
34 |
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/host/spi-builder-workspace/Source/Siesta/Service.swift:59:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
57 | baseURL: URLConvertible? = nil,
58 | standardTransformers: [StandardTransformer] = [.json, .text, .image],
59 | networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
60 | {
61 | DispatchQueue.mainThreadPrecondition()
/host/spi-builder-workspace/Source/Siesta/Service.swift:97:6: error: Objective-C interoperability is disabled
95 | If you want to pass a relative URL to be resolved against `baseURL`, use `resource("/").relative(relativeURL)`.
96 | */
97 | @objc(resource:)
| `- error: Objective-C interoperability is disabled
98 | public final func resource(_ path: String) -> Resource
99 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:370:6: error: Objective-C interoperability is disabled
368 | over subsequent resource interactions.
369 | */
370 | @objc
| `- error: Objective-C interoperability is disabled
371 | public final func invalidateConfiguration()
372 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:416:6: error: Objective-C interoperability is disabled
414 | Applies to resources matching the predicate, or all resources by default.
415 | */
416 | @objc
| `- error: Objective-C interoperability is disabled
417 | public final func wipeResources(matching predicate: (Resource) -> Bool = { _ in true })
418 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:443:6: error: Objective-C interoperability is disabled
441 | Useful for making shared predicates that you can pass to both `configure(...)` and this method.
442 | */
443 | @objc
| `- error: Objective-C interoperability is disabled
444 | public final func wipeResources(withURLsMatching predicate: (URL) -> Bool)
445 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:456:6: error: Objective-C interoperability is disabled
454 | in the cache, no matter how many there are.
455 | */
456 | @objc
| `- error: Objective-C interoperability is disabled
457 | public var cachedResourceCountLimit: Int
458 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:476:6: error: Objective-C interoperability is disabled
474 | call it preemptively before a memory-intensive operation, to prevent memory churn.
475 | */
476 | @objc
| `- error: Objective-C interoperability is disabled
477 | public final func flushUnusedResources()
478 | {
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
220 | - SeeAlso: `Resource.request(...)`
221 | */
222 | public typealias RequestMutation = (inout URLRequest) -> Void
| `- error: cannot find type 'URLRequest' in scope
223 |
224 | /**
/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 the Swift 6 language mode
59 | after the referenced object has been deallocated, making it suitable for use as a Set member and a Dictionary key.
60 | */
61 | internal struct WeakRef<T: AnyObject>: Hashable
| `- note: 'T' previously declared here
62 | {
63 | private(set) weak var value: T?
:
76 | { hasher.combine(originalHash) }
77 |
78 | internal static func == <T>(lhs: WeakRef<T>, rhs: WeakRef<T>) -> Bool
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
79 | {
80 | return lhs.originalIdentity == rhs.originalIdentity
[35/89] Compiling Siesta Service.swift
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:34:6: error: Objective-C interoperability is disabled
32 | - SeeAlso: `relative(_:)`
33 | */
34 | @objc
| `- error: Objective-C interoperability is disabled
35 | public func child(_ subpath: String) -> Resource
36 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:52:6: error: Objective-C interoperability is disabled
50 | - `child(_:)`
51 | */
52 | @objc
| `- error: Objective-C interoperability is disabled
53 | public func relative(_ href: String) -> Resource
54 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:68:6: error: Objective-C interoperability is disabled
66 | }
67 | */
68 | @objc
| `- error: Objective-C interoperability is disabled
69 | public func optionalRelative(_ href: String?) -> Resource?
70 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:99:6: error: Objective-C interoperability is disabled
97 | - SeeAlso: `withParams(_:)`
98 | */
99 | @objc(withParam:value:)
| `- error: Objective-C interoperability is disabled
100 | public func withParam(_ name: String, _ value: String?) -> Resource
101 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:240:6: error: Objective-C interoperability is disabled
238 | Removes all observers owned by the given object.
239 | */
240 | @objc(removeObserversOwnedBy:)
| `- error: Objective-C interoperability is disabled
241 | public func removeObservers(ownedBy owner: AnyObject?)
242 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:28:2: error: Objective-C interoperability is disabled
26 | If you want to feed your service arbitrary URLs with no common root, use `resource(absoluteURL:)`.
27 | */
28 | @objc(BOSService)
| `- error: Objective-C interoperability is disabled
29 | open class Service: NSObject
30 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:32:6: error: Objective-C interoperability is disabled
30 | {
31 | /// The root URL of the API. If nil, then `resource(_:)` will only accept absolute URLs.
32 | @objc
| `- error: Objective-C interoperability is disabled
33 | public let baseURL: URL?
34 |
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/host/spi-builder-workspace/Source/Siesta/Service.swift:59:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
57 | baseURL: URLConvertible? = nil,
58 | standardTransformers: [StandardTransformer] = [.json, .text, .image],
59 | networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
60 | {
61 | DispatchQueue.mainThreadPrecondition()
/host/spi-builder-workspace/Source/Siesta/Service.swift:97:6: error: Objective-C interoperability is disabled
95 | If you want to pass a relative URL to be resolved against `baseURL`, use `resource("/").relative(relativeURL)`.
96 | */
97 | @objc(resource:)
| `- error: Objective-C interoperability is disabled
98 | public final func resource(_ path: String) -> Resource
99 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:370:6: error: Objective-C interoperability is disabled
368 | over subsequent resource interactions.
369 | */
370 | @objc
| `- error: Objective-C interoperability is disabled
371 | public final func invalidateConfiguration()
372 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:416:6: error: Objective-C interoperability is disabled
414 | Applies to resources matching the predicate, or all resources by default.
415 | */
416 | @objc
| `- error: Objective-C interoperability is disabled
417 | public final func wipeResources(matching predicate: (Resource) -> Bool = { _ in true })
418 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:443:6: error: Objective-C interoperability is disabled
441 | Useful for making shared predicates that you can pass to both `configure(...)` and this method.
442 | */
443 | @objc
| `- error: Objective-C interoperability is disabled
444 | public final func wipeResources(withURLsMatching predicate: (URL) -> Bool)
445 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:456:6: error: Objective-C interoperability is disabled
454 | in the cache, no matter how many there are.
455 | */
456 | @objc
| `- error: Objective-C interoperability is disabled
457 | public var cachedResourceCountLimit: Int
458 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:476:6: error: Objective-C interoperability is disabled
474 | call it preemptively before a memory-intensive operation, to prevent memory churn.
475 | */
476 | @objc
| `- error: Objective-C interoperability is disabled
477 | public final func flushUnusedResources()
478 | {
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
220 | - SeeAlso: `Resource.request(...)`
221 | */
222 | public typealias RequestMutation = (inout URLRequest) -> Void
| `- error: cannot find type 'URLRequest' in scope
223 |
224 | /**
/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 the Swift 6 language mode
59 | after the referenced object has been deallocated, making it suitable for use as a Set member and a Dictionary key.
60 | */
61 | internal struct WeakRef<T: AnyObject>: Hashable
| `- note: 'T' previously declared here
62 | {
63 | private(set) weak var value: T?
:
76 | { hasher.combine(originalHash) }
77 |
78 | internal static func == <T>(lhs: WeakRef<T>, rhs: WeakRef<T>) -> Bool
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
79 | {
80 | return lhs.originalIdentity == rhs.originalIdentity
[36/89] Compiling Siesta ARC+Siesta.swift
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:34:6: error: Objective-C interoperability is disabled
32 | - SeeAlso: `relative(_:)`
33 | */
34 | @objc
| `- error: Objective-C interoperability is disabled
35 | public func child(_ subpath: String) -> Resource
36 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:52:6: error: Objective-C interoperability is disabled
50 | - `child(_:)`
51 | */
52 | @objc
| `- error: Objective-C interoperability is disabled
53 | public func relative(_ href: String) -> Resource
54 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:68:6: error: Objective-C interoperability is disabled
66 | }
67 | */
68 | @objc
| `- error: Objective-C interoperability is disabled
69 | public func optionalRelative(_ href: String?) -> Resource?
70 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:99:6: error: Objective-C interoperability is disabled
97 | - SeeAlso: `withParams(_:)`
98 | */
99 | @objc(withParam:value:)
| `- error: Objective-C interoperability is disabled
100 | public func withParam(_ name: String, _ value: String?) -> Resource
101 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:240:6: error: Objective-C interoperability is disabled
238 | Removes all observers owned by the given object.
239 | */
240 | @objc(removeObserversOwnedBy:)
| `- error: Objective-C interoperability is disabled
241 | public func removeObservers(ownedBy owner: AnyObject?)
242 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:28:2: error: Objective-C interoperability is disabled
26 | If you want to feed your service arbitrary URLs with no common root, use `resource(absoluteURL:)`.
27 | */
28 | @objc(BOSService)
| `- error: Objective-C interoperability is disabled
29 | open class Service: NSObject
30 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:32:6: error: Objective-C interoperability is disabled
30 | {
31 | /// The root URL of the API. If nil, then `resource(_:)` will only accept absolute URLs.
32 | @objc
| `- error: Objective-C interoperability is disabled
33 | public let baseURL: URL?
34 |
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/host/spi-builder-workspace/Source/Siesta/Service.swift:59:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
57 | baseURL: URLConvertible? = nil,
58 | standardTransformers: [StandardTransformer] = [.json, .text, .image],
59 | networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
60 | {
61 | DispatchQueue.mainThreadPrecondition()
/host/spi-builder-workspace/Source/Siesta/Service.swift:97:6: error: Objective-C interoperability is disabled
95 | If you want to pass a relative URL to be resolved against `baseURL`, use `resource("/").relative(relativeURL)`.
96 | */
97 | @objc(resource:)
| `- error: Objective-C interoperability is disabled
98 | public final func resource(_ path: String) -> Resource
99 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:370:6: error: Objective-C interoperability is disabled
368 | over subsequent resource interactions.
369 | */
370 | @objc
| `- error: Objective-C interoperability is disabled
371 | public final func invalidateConfiguration()
372 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:416:6: error: Objective-C interoperability is disabled
414 | Applies to resources matching the predicate, or all resources by default.
415 | */
416 | @objc
| `- error: Objective-C interoperability is disabled
417 | public final func wipeResources(matching predicate: (Resource) -> Bool = { _ in true })
418 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:443:6: error: Objective-C interoperability is disabled
441 | Useful for making shared predicates that you can pass to both `configure(...)` and this method.
442 | */
443 | @objc
| `- error: Objective-C interoperability is disabled
444 | public final func wipeResources(withURLsMatching predicate: (URL) -> Bool)
445 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:456:6: error: Objective-C interoperability is disabled
454 | in the cache, no matter how many there are.
455 | */
456 | @objc
| `- error: Objective-C interoperability is disabled
457 | public var cachedResourceCountLimit: Int
458 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:476:6: error: Objective-C interoperability is disabled
474 | call it preemptively before a memory-intensive operation, to prevent memory churn.
475 | */
476 | @objc
| `- error: Objective-C interoperability is disabled
477 | public final func flushUnusedResources()
478 | {
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
220 | - SeeAlso: `Resource.request(...)`
221 | */
222 | public typealias RequestMutation = (inout URLRequest) -> Void
| `- error: cannot find type 'URLRequest' in scope
223 |
224 | /**
/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 the Swift 6 language mode
59 | after the referenced object has been deallocated, making it suitable for use as a Set member and a Dictionary key.
60 | */
61 | internal struct WeakRef<T: AnyObject>: Hashable
| `- note: 'T' previously declared here
62 | {
63 | private(set) weak var value: T?
:
76 | { hasher.combine(originalHash) }
77 |
78 | internal static func == <T>(lhs: WeakRef<T>, rhs: WeakRef<T>) -> Bool
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
79 | {
80 | return lhs.originalIdentity == rhs.originalIdentity
[37/89] Compiling Siesta Collection+Siesta.swift
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:34:6: error: Objective-C interoperability is disabled
32 | - SeeAlso: `relative(_:)`
33 | */
34 | @objc
| `- error: Objective-C interoperability is disabled
35 | public func child(_ subpath: String) -> Resource
36 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:52:6: error: Objective-C interoperability is disabled
50 | - `child(_:)`
51 | */
52 | @objc
| `- error: Objective-C interoperability is disabled
53 | public func relative(_ href: String) -> Resource
54 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:68:6: error: Objective-C interoperability is disabled
66 | }
67 | */
68 | @objc
| `- error: Objective-C interoperability is disabled
69 | public func optionalRelative(_ href: String?) -> Resource?
70 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceNavigation.swift:99:6: error: Objective-C interoperability is disabled
97 | - SeeAlso: `withParams(_:)`
98 | */
99 | @objc(withParam:value:)
| `- error: Objective-C interoperability is disabled
100 | public func withParam(_ name: String, _ value: String?) -> Resource
101 | {
/host/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:240:6: error: Objective-C interoperability is disabled
238 | Removes all observers owned by the given object.
239 | */
240 | @objc(removeObserversOwnedBy:)
| `- error: Objective-C interoperability is disabled
241 | public func removeObservers(ownedBy owner: AnyObject?)
242 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:28:2: error: Objective-C interoperability is disabled
26 | If you want to feed your service arbitrary URLs with no common root, use `resource(absoluteURL:)`.
27 | */
28 | @objc(BOSService)
| `- error: Objective-C interoperability is disabled
29 | open class Service: NSObject
30 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:32:6: error: Objective-C interoperability is disabled
30 | {
31 | /// The root URL of the API. If nil, then `resource(_:)` will only accept absolute URLs.
32 | @objc
| `- error: Objective-C interoperability is disabled
33 | public let baseURL: URL?
34 |
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/host/spi-builder-workspace/Source/Siesta/Service.swift:59:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
57 | baseURL: URLConvertible? = nil,
58 | standardTransformers: [StandardTransformer] = [.json, .text, .image],
59 | networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
60 | {
61 | DispatchQueue.mainThreadPrecondition()
/host/spi-builder-workspace/Source/Siesta/Service.swift:97:6: error: Objective-C interoperability is disabled
95 | If you want to pass a relative URL to be resolved against `baseURL`, use `resource("/").relative(relativeURL)`.
96 | */
97 | @objc(resource:)
| `- error: Objective-C interoperability is disabled
98 | public final func resource(_ path: String) -> Resource
99 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:370:6: error: Objective-C interoperability is disabled
368 | over subsequent resource interactions.
369 | */
370 | @objc
| `- error: Objective-C interoperability is disabled
371 | public final func invalidateConfiguration()
372 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:416:6: error: Objective-C interoperability is disabled
414 | Applies to resources matching the predicate, or all resources by default.
415 | */
416 | @objc
| `- error: Objective-C interoperability is disabled
417 | public final func wipeResources(matching predicate: (Resource) -> Bool = { _ in true })
418 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:443:6: error: Objective-C interoperability is disabled
441 | Useful for making shared predicates that you can pass to both `configure(...)` and this method.
442 | */
443 | @objc
| `- error: Objective-C interoperability is disabled
444 | public final func wipeResources(withURLsMatching predicate: (URL) -> Bool)
445 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:456:6: error: Objective-C interoperability is disabled
454 | in the cache, no matter how many there are.
455 | */
456 | @objc
| `- error: Objective-C interoperability is disabled
457 | public var cachedResourceCountLimit: Int
458 | {
/host/spi-builder-workspace/Source/Siesta/Service.swift:476:6: error: Objective-C interoperability is disabled
474 | call it preemptively before a memory-intensive operation, to prevent memory churn.
475 | */
476 | @objc
| `- error: Objective-C interoperability is disabled
477 | public final func flushUnusedResources()
478 | {
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:222:47: error: cannot find type 'URLRequest' in scope
220 | - SeeAlso: `Resource.request(...)`
221 | */
222 | public typealias RequestMutation = (inout URLRequest) -> Void
| `- error: cannot find type 'URLRequest' in scope
223 |
224 | /**
/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 the Swift 6 language mode
59 | after the referenced object has been deallocated, making it suitable for use as a Set member and a Dictionary key.
60 | */
61 | internal struct WeakRef<T: AnyObject>: Hashable
| `- note: 'T' previously declared here
62 | {
63 | private(set) weak var value: T?
:
76 | { hasher.combine(originalHash) }
77 |
78 | internal static func == <T>(lhs: WeakRef<T>, rhs: WeakRef<T>) -> Bool
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
79 | {
80 | return lhs.originalIdentity == rhs.originalIdentity
[38/89] Compiling Siesta String+Siesta.swift
/host/spi-builder-workspace/Source/Siesta/Support/WeakCache.swift:39:26: error: cannot find 'memoryWarningNotification' in scope
37 | lowMemoryObserver =
38 | NotificationCenter.default.addObserver(
39 | forName: memoryWarningNotification,
| `- error: cannot find 'memoryWarningNotification' in scope
40 | object: nil,
41 | queue: nil)
/host/spi-builder-workspace/Source/Siesta/Support/Ω_Deprecations.swift:21:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
19 | baseURL: URLConvertible? = nil,
20 | useDefaultTransformers: Bool,
21 | networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
22 | {
23 | if useDefaultTransformers
[39/89] Compiling Siesta URL+Siesta.swift
/host/spi-builder-workspace/Source/Siesta/Support/WeakCache.swift:39:26: error: cannot find 'memoryWarningNotification' in scope
37 | lowMemoryObserver =
38 | NotificationCenter.default.addObserver(
39 | forName: memoryWarningNotification,
| `- error: cannot find 'memoryWarningNotification' in scope
40 | object: nil,
41 | queue: nil)
/host/spi-builder-workspace/Source/Siesta/Support/Ω_Deprecations.swift:21:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
19 | baseURL: URLConvertible? = nil,
20 | useDefaultTransformers: Bool,
21 | networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
22 | {
23 | if useDefaultTransformers
[40/89] Compiling Siesta WeakCache.swift
/host/spi-builder-workspace/Source/Siesta/Support/WeakCache.swift:39:26: error: cannot find 'memoryWarningNotification' in scope
37 | lowMemoryObserver =
38 | NotificationCenter.default.addObserver(
39 | forName: memoryWarningNotification,
| `- error: cannot find 'memoryWarningNotification' in scope
40 | object: nil,
41 | queue: nil)
/host/spi-builder-workspace/Source/Siesta/Support/Ω_Deprecations.swift:21:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
19 | baseURL: URLConvertible? = nil,
20 | useDefaultTransformers: Bool,
21 | networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
22 | {
23 | if useDefaultTransformers
[41/89] Compiling Siesta Ω_Deprecations.swift
/host/spi-builder-workspace/Source/Siesta/Support/WeakCache.swift:39:26: error: cannot find 'memoryWarningNotification' in scope
37 | lowMemoryObserver =
38 | NotificationCenter.default.addObserver(
39 | forName: memoryWarningNotification,
| `- error: cannot find 'memoryWarningNotification' in scope
40 | object: nil,
41 | queue: nil)
/host/spi-builder-workspace/Source/Siesta/Support/Ω_Deprecations.swift:21:81: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
19 | baseURL: URLConvertible? = nil,
20 | useDefaultTransformers: Bool,
21 | networking: NetworkingProviderConvertible = URLSessionConfiguration.ephemeral)
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
22 | {
23 | if useDefaultTransformers
[46/89] Compiling Alamofire ResponseSerialization.swift
[47/89] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/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.
89 |
90 | /// Used by a `NetworkingProvider` implementation to pass the result of a network request back to Siesta.
91 | public typealias RequestNetworkingCompletionCallback = (HTTPURLResponse?, Data?, Error?) -> Void
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
92 |
93 | /**
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:208:20: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
206 | {
207 | cache.workQueue.async
208 | { self.cache.writeEntity(entity, forKey: self.key) }
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
209 | }
210 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:205:10: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 | }
204 |
205 | func write(_ entity: Entity<Any>)
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
206 | {
207 | cache.workQueue.async
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:214:20: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
212 | {
213 | cache.workQueue.async
214 | { self.cache.updateEntityTimestamp(timestamp, forKey: self.key) }
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | }
216 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:211:10: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
209 | }
210 |
211 | func updateTimestamp(_ timestamp: TimeInterval)
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
212 | {
213 | cache.workQueue.async
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:220:20: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | {
219 | cache.workQueue.async
220 | { self.cache.removeEntity(forKey: self.key) }
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
221 | }
222 | }
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:217:10: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | }
216 |
217 | func remove()
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | {
219 | cache.workQueue.async
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:279:26: error: cannot find 'CFStringConvertEncodingToNSStringEncoding' in scope
277 | {
278 | let charsetName = $0.charset ?? "ISO-8859-1"
279 | let encodingID = CFStringConvertEncodingToNSStringEncoding(
| `- error: cannot find 'CFStringConvertEncodingToNSStringEncoding' in scope
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
281 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:280:13: error: cannot find 'CFStringConvertIANACharSetNameToEncoding' in scope
278 | let charsetName = $0.charset ?? "ISO-8859-1"
279 | let encodingID = CFStringConvertEncodingToNSStringEncoding(
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
| `- error: cannot find 'CFStringConvertIANACharSetNameToEncoding' in scope
281 |
282 | guard encodingID != UInt(kCFStringEncodingInvalidId) else
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:282:34: error: cannot find 'kCFStringEncodingInvalidId' in scope
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
281 |
282 | guard encodingID != UInt(kCFStringEncodingInvalidId) else
| `- error: cannot find 'kCFStringEncodingInvalidId' in scope
283 | { throw RequestError.Cause.InvalidTextEncoding(encodingName: charsetName) }
284 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:280:69: error: cannot find type 'CFString' in scope
278 | let charsetName = $0.charset ?? "ISO-8859-1"
279 | let encodingID = CFStringConvertEncodingToNSStringEncoding(
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
| `- error: cannot find type 'CFString' in scope
281 |
282 | guard encodingID != UInt(kCFStringEncodingInvalidId) else
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:312:27: error: cannot find 'Image' in scope
310 | return ResponseContentTransformer<Data, Image>(transformErrors: transformErrors)
311 | {
312 | guard let image = Image(data: $0.content) else
| `- error: cannot find 'Image' in scope
313 | { throw RequestError.Cause.UnparsableImage() }
314 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:310:45: error: cannot find type 'Image' in scope
308 | public func ImageResponseTransformer(_ transformErrors: Bool = false) -> ResponseTransformer
309 | {
310 | return ResponseContentTransformer<Data, Image>(transformErrors: transformErrors)
| `- error: cannot find type 'Image' in scope
311 | {
312 | guard let image = Image(data: $0.content) else
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:311:9: error: cannot infer type of closure parameter '$0' without a type annotation
309 | {
310 | return ResponseContentTransformer<Data, Image>(transformErrors: transformErrors)
311 | {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
312 | guard let image = Image(data: $0.content) else
313 | { throw RequestError.Cause.UnparsableImage() }
[48/89] Compiling Alamofire UploadRequest.swift
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/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.
89 |
90 | /// Used by a `NetworkingProvider` implementation to pass the result of a network request back to Siesta.
91 | public typealias RequestNetworkingCompletionCallback = (HTTPURLResponse?, Data?, Error?) -> Void
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
92 |
93 | /**
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:208:20: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
206 | {
207 | cache.workQueue.async
208 | { self.cache.writeEntity(entity, forKey: self.key) }
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
209 | }
210 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:205:10: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 | }
204 |
205 | func write(_ entity: Entity<Any>)
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
206 | {
207 | cache.workQueue.async
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:214:20: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
212 | {
213 | cache.workQueue.async
214 | { self.cache.updateEntityTimestamp(timestamp, forKey: self.key) }
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | }
216 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:211:10: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
209 | }
210 |
211 | func updateTimestamp(_ timestamp: TimeInterval)
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
212 | {
213 | cache.workQueue.async
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:220:20: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | {
219 | cache.workQueue.async
220 | { self.cache.removeEntity(forKey: self.key) }
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
221 | }
222 | }
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:217:10: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | }
216 |
217 | func remove()
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | {
219 | cache.workQueue.async
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:279:26: error: cannot find 'CFStringConvertEncodingToNSStringEncoding' in scope
277 | {
278 | let charsetName = $0.charset ?? "ISO-8859-1"
279 | let encodingID = CFStringConvertEncodingToNSStringEncoding(
| `- error: cannot find 'CFStringConvertEncodingToNSStringEncoding' in scope
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
281 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:280:13: error: cannot find 'CFStringConvertIANACharSetNameToEncoding' in scope
278 | let charsetName = $0.charset ?? "ISO-8859-1"
279 | let encodingID = CFStringConvertEncodingToNSStringEncoding(
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
| `- error: cannot find 'CFStringConvertIANACharSetNameToEncoding' in scope
281 |
282 | guard encodingID != UInt(kCFStringEncodingInvalidId) else
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:282:34: error: cannot find 'kCFStringEncodingInvalidId' in scope
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
281 |
282 | guard encodingID != UInt(kCFStringEncodingInvalidId) else
| `- error: cannot find 'kCFStringEncodingInvalidId' in scope
283 | { throw RequestError.Cause.InvalidTextEncoding(encodingName: charsetName) }
284 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:280:69: error: cannot find type 'CFString' in scope
278 | let charsetName = $0.charset ?? "ISO-8859-1"
279 | let encodingID = CFStringConvertEncodingToNSStringEncoding(
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
| `- error: cannot find type 'CFString' in scope
281 |
282 | guard encodingID != UInt(kCFStringEncodingInvalidId) else
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:312:27: error: cannot find 'Image' in scope
310 | return ResponseContentTransformer<Data, Image>(transformErrors: transformErrors)
311 | {
312 | guard let image = Image(data: $0.content) else
| `- error: cannot find 'Image' in scope
313 | { throw RequestError.Cause.UnparsableImage() }
314 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:310:45: error: cannot find type 'Image' in scope
308 | public func ImageResponseTransformer(_ transformErrors: Bool = false) -> ResponseTransformer
309 | {
310 | return ResponseContentTransformer<Data, Image>(transformErrors: transformErrors)
| `- error: cannot find type 'Image' in scope
311 | {
312 | guard let image = Image(data: $0.content) else
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:311:9: error: cannot infer type of closure parameter '$0' without a type annotation
309 | {
310 | return ResponseContentTransformer<Data, Image>(transformErrors: transformErrors)
311 | {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
312 | guard let image = Image(data: $0.content) else
313 | { throw RequestError.Cause.UnparsableImage() }
[49/89] Compiling Alamofire Combine.swift
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/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.
89 |
90 | /// Used by a `NetworkingProvider` implementation to pass the result of a network request back to Siesta.
91 | public typealias RequestNetworkingCompletionCallback = (HTTPURLResponse?, Data?, Error?) -> Void
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
92 |
93 | /**
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:208:20: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
206 | {
207 | cache.workQueue.async
208 | { self.cache.writeEntity(entity, forKey: self.key) }
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
209 | }
210 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:205:10: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 | }
204 |
205 | func write(_ entity: Entity<Any>)
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
206 | {
207 | cache.workQueue.async
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:214:20: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
212 | {
213 | cache.workQueue.async
214 | { self.cache.updateEntityTimestamp(timestamp, forKey: self.key) }
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | }
216 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:211:10: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
209 | }
210 |
211 | func updateTimestamp(_ timestamp: TimeInterval)
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
212 | {
213 | cache.workQueue.async
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:220:20: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | {
219 | cache.workQueue.async
220 | { self.cache.removeEntity(forKey: self.key) }
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
221 | }
222 | }
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:217:10: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | }
216 |
217 | func remove()
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | {
219 | cache.workQueue.async
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:279:26: error: cannot find 'CFStringConvertEncodingToNSStringEncoding' in scope
277 | {
278 | let charsetName = $0.charset ?? "ISO-8859-1"
279 | let encodingID = CFStringConvertEncodingToNSStringEncoding(
| `- error: cannot find 'CFStringConvertEncodingToNSStringEncoding' in scope
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
281 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:280:13: error: cannot find 'CFStringConvertIANACharSetNameToEncoding' in scope
278 | let charsetName = $0.charset ?? "ISO-8859-1"
279 | let encodingID = CFStringConvertEncodingToNSStringEncoding(
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
| `- error: cannot find 'CFStringConvertIANACharSetNameToEncoding' in scope
281 |
282 | guard encodingID != UInt(kCFStringEncodingInvalidId) else
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:282:34: error: cannot find 'kCFStringEncodingInvalidId' in scope
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
281 |
282 | guard encodingID != UInt(kCFStringEncodingInvalidId) else
| `- error: cannot find 'kCFStringEncodingInvalidId' in scope
283 | { throw RequestError.Cause.InvalidTextEncoding(encodingName: charsetName) }
284 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:280:69: error: cannot find type 'CFString' in scope
278 | let charsetName = $0.charset ?? "ISO-8859-1"
279 | let encodingID = CFStringConvertEncodingToNSStringEncoding(
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
| `- error: cannot find type 'CFString' in scope
281 |
282 | guard encodingID != UInt(kCFStringEncodingInvalidId) else
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:312:27: error: cannot find 'Image' in scope
310 | return ResponseContentTransformer<Data, Image>(transformErrors: transformErrors)
311 | {
312 | guard let image = Image(data: $0.content) else
| `- error: cannot find 'Image' in scope
313 | { throw RequestError.Cause.UnparsableImage() }
314 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:310:45: error: cannot find type 'Image' in scope
308 | public func ImageResponseTransformer(_ transformErrors: Bool = false) -> ResponseTransformer
309 | {
310 | return ResponseContentTransformer<Data, Image>(transformErrors: transformErrors)
| `- error: cannot find type 'Image' in scope
311 | {
312 | guard let image = Image(data: $0.content) else
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:311:9: error: cannot infer type of closure parameter '$0' without a type annotation
309 | {
310 | return ResponseContentTransformer<Data, Image>(transformErrors: transformErrors)
311 | {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
312 | guard let image = Image(data: $0.content) else
313 | { throw RequestError.Cause.UnparsableImage() }
[50/89] Compiling Alamofire Concurrency.swift
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/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.
89 |
90 | /// Used by a `NetworkingProvider` implementation to pass the result of a network request back to Siesta.
91 | public typealias RequestNetworkingCompletionCallback = (HTTPURLResponse?, Data?, Error?) -> Void
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
92 |
93 | /**
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:208:20: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
206 | {
207 | cache.workQueue.async
208 | { self.cache.writeEntity(entity, forKey: self.key) }
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
209 | }
210 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:205:10: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 | }
204 |
205 | func write(_ entity: Entity<Any>)
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
206 | {
207 | cache.workQueue.async
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:214:20: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
212 | {
213 | cache.workQueue.async
214 | { self.cache.updateEntityTimestamp(timestamp, forKey: self.key) }
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | }
216 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:211:10: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
209 | }
210 |
211 | func updateTimestamp(_ timestamp: TimeInterval)
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
212 | {
213 | cache.workQueue.async
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:220:20: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | {
219 | cache.workQueue.async
220 | { self.cache.removeEntity(forKey: self.key) }
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
221 | }
222 | }
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:217:10: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | }
216 |
217 | func remove()
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | {
219 | cache.workQueue.async
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:279:26: error: cannot find 'CFStringConvertEncodingToNSStringEncoding' in scope
277 | {
278 | let charsetName = $0.charset ?? "ISO-8859-1"
279 | let encodingID = CFStringConvertEncodingToNSStringEncoding(
| `- error: cannot find 'CFStringConvertEncodingToNSStringEncoding' in scope
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
281 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:280:13: error: cannot find 'CFStringConvertIANACharSetNameToEncoding' in scope
278 | let charsetName = $0.charset ?? "ISO-8859-1"
279 | let encodingID = CFStringConvertEncodingToNSStringEncoding(
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
| `- error: cannot find 'CFStringConvertIANACharSetNameToEncoding' in scope
281 |
282 | guard encodingID != UInt(kCFStringEncodingInvalidId) else
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:282:34: error: cannot find 'kCFStringEncodingInvalidId' in scope
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
281 |
282 | guard encodingID != UInt(kCFStringEncodingInvalidId) else
| `- error: cannot find 'kCFStringEncodingInvalidId' in scope
283 | { throw RequestError.Cause.InvalidTextEncoding(encodingName: charsetName) }
284 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:280:69: error: cannot find type 'CFString' in scope
278 | let charsetName = $0.charset ?? "ISO-8859-1"
279 | let encodingID = CFStringConvertEncodingToNSStringEncoding(
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
| `- error: cannot find type 'CFString' in scope
281 |
282 | guard encodingID != UInt(kCFStringEncodingInvalidId) else
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:312:27: error: cannot find 'Image' in scope
310 | return ResponseContentTransformer<Data, Image>(transformErrors: transformErrors)
311 | {
312 | guard let image = Image(data: $0.content) else
| `- error: cannot find 'Image' in scope
313 | { throw RequestError.Cause.UnparsableImage() }
314 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:310:45: error: cannot find type 'Image' in scope
308 | public func ImageResponseTransformer(_ transformErrors: Bool = false) -> ResponseTransformer
309 | {
310 | return ResponseContentTransformer<Data, Image>(transformErrors: transformErrors)
| `- error: cannot find type 'Image' in scope
311 | {
312 | guard let image = Image(data: $0.content) else
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:311:9: error: cannot infer type of closure parameter '$0' without a type annotation
309 | {
310 | return ResponseContentTransformer<Data, Image>(transformErrors: transformErrors)
311 | {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
312 | guard let image = Image(data: $0.content) else
313 | { throw RequestError.Cause.UnparsableImage() }
[51/89] Compiling Alamofire RetryPolicy.swift
[52/89] Compiling Alamofire ServerTrustEvaluation.swift
[53/89] Compiling Alamofire URLEncodedFormEncoder.swift
[54/89] Compiling Alamofire Validation.swift
[55/89] Compiling Alamofire resource_bundle_accessor.swift
[56/89] Compiling Alamofire EventMonitor.swift
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/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.
89 |
90 | /// Used by a `NetworkingProvider` implementation to pass the result of a network request back to Siesta.
91 | public typealias RequestNetworkingCompletionCallback = (HTTPURLResponse?, Data?, Error?) -> Void
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
92 |
93 | /**
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:208:20: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
206 | {
207 | cache.workQueue.async
208 | { self.cache.writeEntity(entity, forKey: self.key) }
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
209 | }
210 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:205:10: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 | }
204 |
205 | func write(_ entity: Entity<Any>)
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
206 | {
207 | cache.workQueue.async
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:214:20: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
212 | {
213 | cache.workQueue.async
214 | { self.cache.updateEntityTimestamp(timestamp, forKey: self.key) }
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | }
216 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:211:10: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
209 | }
210 |
211 | func updateTimestamp(_ timestamp: TimeInterval)
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
212 | {
213 | cache.workQueue.async
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:220:20: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | {
219 | cache.workQueue.async
220 | { self.cache.removeEntity(forKey: self.key) }
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
221 | }
222 | }
/host/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:217:10: warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | }
216 |
217 | func remove()
| `- warning: capture of non-Sendable type 'Cache.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | {
219 | cache.workQueue.async
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:279:26: error: cannot find 'CFStringConvertEncodingToNSStringEncoding' in scope
277 | {
278 | let charsetName = $0.charset ?? "ISO-8859-1"
279 | let encodingID = CFStringConvertEncodingToNSStringEncoding(
| `- error: cannot find 'CFStringConvertEncodingToNSStringEncoding' in scope
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
281 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:280:13: error: cannot find 'CFStringConvertIANACharSetNameToEncoding' in scope
278 | let charsetName = $0.charset ?? "ISO-8859-1"
279 | let encodingID = CFStringConvertEncodingToNSStringEncoding(
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
| `- error: cannot find 'CFStringConvertIANACharSetNameToEncoding' in scope
281 |
282 | guard encodingID != UInt(kCFStringEncodingInvalidId) else
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:282:34: error: cannot find 'kCFStringEncodingInvalidId' in scope
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
281 |
282 | guard encodingID != UInt(kCFStringEncodingInvalidId) else
| `- error: cannot find 'kCFStringEncodingInvalidId' in scope
283 | { throw RequestError.Cause.InvalidTextEncoding(encodingName: charsetName) }
284 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:280:69: error: cannot find type 'CFString' in scope
278 | let charsetName = $0.charset ?? "ISO-8859-1"
279 | let encodingID = CFStringConvertEncodingToNSStringEncoding(
280 | CFStringConvertIANACharSetNameToEncoding(charsetName as CFString))
| `- error: cannot find type 'CFString' in scope
281 |
282 | guard encodingID != UInt(kCFStringEncodingInvalidId) else
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:312:27: error: cannot find 'Image' in scope
310 | return ResponseContentTransformer<Data, Image>(transformErrors: transformErrors)
311 | {
312 | guard let image = Image(data: $0.content) else
| `- error: cannot find 'Image' in scope
313 | { throw RequestError.Cause.UnparsableImage() }
314 |
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:310:45: error: cannot find type 'Image' in scope
308 | public func ImageResponseTransformer(_ transformErrors: Bool = false) -> ResponseTransformer
309 | {
310 | return ResponseContentTransformer<Data, Image>(transformErrors: transformErrors)
| `- error: cannot find type 'Image' in scope
311 | {
312 | guard let image = Image(data: $0.content) else
/host/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:311:9: error: cannot infer type of closure parameter '$0' without a type annotation
309 | {
310 | return ResponseContentTransformer<Data, Image>(transformErrors: transformErrors)
311 | {
| `- error: cannot infer type of closure parameter '$0' without a type annotation
312 | guard let image = Image(data: $0.content) else
313 | { throw RequestError.Cause.UnparsableImage() }
[57/89] Compiling Alamofire MultipartFormData.swift
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:20:39: error: cannot find type 'URLRequest' in scope
18 |
19 | // Networking
20 | private let requestBuilder: () -> URLRequest // so repeated() can re-read config
| `- error: cannot find type 'URLRequest' in scope
21 | private let underlyingRequest: URLRequest
22 | internal var networking: RequestNetworking? // present only after start()
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:21:36: error: cannot find type 'URLRequest' in scope
19 | // Networking
20 | private let requestBuilder: () -> URLRequest // so repeated() can re-read config
21 | private let underlyingRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
22 | internal var networking: RequestNetworking? // present only after start()
23 |
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:62: error: cannot find type 'URLRequest' in scope
27 | // MARK: Managing request
28 |
29 | init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
| `- error: cannot find type 'URLRequest' in scope
30 | {
31 | self.resource = resource
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:46: error: @escaping attribute only applies to function types
27 | // MARK: Managing request
28 |
29 | init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
| `- error: @escaping attribute only applies to function types
30 | {
31 | self.resource = resource
/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.
84 | // Entry point for response handling. Triggered by RequestNetworking completion callback.
85 | private func responseReceived(
86 | underlyingResponse: HTTPURLResponse?,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
87 | body: Data?,
88 | error: Error?,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/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.
113 |
114 | private func interpretResponse(
115 | _ underlyingResponse: HTTPURLResponse?,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
116 | _ body: Data?,
117 | _ error: Error?)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:71:46: error: cannot find type 'URLRequest' in scope
69 | }
70 |
71 | internal func configuration(for request: URLRequest) -> Configuration
| `- error: cannot find type 'URLRequest' in scope
72 | {
73 | return configuration(for:
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:93:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
91 | DispatchQueue.mainThreadPrecondition()
92 |
93 | SiestaLog.log(.network, ["Response: ", underlyingResponse?.statusCode ?? error, "←", requestDescription])
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 | SiestaLog.log(.networkDetails, ["Raw response headers:", underlyingResponse?.allHeaderFields])
95 | SiestaLog.log(.networkDetails, ["Raw response body:", body?.count ?? 0, "bytes"])
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:94:86: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
92 |
93 | SiestaLog.log(.network, ["Response: ", underlyingResponse?.statusCode ?? error, "←", requestDescription])
94 | SiestaLog.log(.networkDetails, ["Raw response headers:", underlyingResponse?.allHeaderFields])
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
95 | SiestaLog.log(.networkDetails, ["Raw response body:", body?.count ?? 0, "bytes"])
96 |
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:120:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
118 | -> ResponseInfo
119 | {
120 | if isError(httpStatusCode: underlyingResponse?.statusCode) || error != nil
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
121 | {
122 | return ResponseInfo(
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:125:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
123 | response: .failure(RequestError(response: underlyingResponse, content: body, cause: error)))
124 | }
125 | else if underlyingResponse?.statusCode == 304
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
126 | {
127 | if let entity = resource.latestData
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:31:13: error: cannot find 'CFRunLoopTimerCreateWithHandler' in scope
29 |
30 | progressUpdateTimer =
31 | CFRunLoopTimerCreateWithHandler(
| `- error: cannot find 'CFRunLoopTimerCreateWithHandler' in scope
32 | kCFAllocatorDefault,
33 | CFAbsoluteTimeGetCurrent(),
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:32:21: error: cannot find 'kCFAllocatorDefault' in scope
30 | progressUpdateTimer =
31 | CFRunLoopTimerCreateWithHandler(
32 | kCFAllocatorDefault,
| `- error: cannot find 'kCFAllocatorDefault' in scope
33 | CFAbsoluteTimeGetCurrent(),
34 | reportingInterval, 0, 0)
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:33:21: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
31 | CFRunLoopTimerCreateWithHandler(
32 | kCFAllocatorDefault,
33 | CFAbsoluteTimeGetCurrent(),
| `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:35:31: error: cannot infer type of closure parameter '_' without a type annotation
33 | CFAbsoluteTimeGetCurrent(),
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
| `- error: cannot infer type of closure parameter '_' without a type annotation
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
37 | }
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:9: error: cannot find 'CFRunLoopAddTimer' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
| `- error: cannot find 'CFRunLoopAddTimer' in scope
37 | }
38 |
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:27: error: cannot find 'CFRunLoopGetCurrent' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
| `- error: cannot find 'CFRunLoopGetCurrent' in scope
37 | }
38 |
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:71: error: cannot find 'CFRunLoopMode' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
| `- error: cannot find 'CFRunLoopMode' in scope
37 | }
38 |
[58/89] Compiling Alamofire MultipartUpload.swift
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:20:39: error: cannot find type 'URLRequest' in scope
18 |
19 | // Networking
20 | private let requestBuilder: () -> URLRequest // so repeated() can re-read config
| `- error: cannot find type 'URLRequest' in scope
21 | private let underlyingRequest: URLRequest
22 | internal var networking: RequestNetworking? // present only after start()
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:21:36: error: cannot find type 'URLRequest' in scope
19 | // Networking
20 | private let requestBuilder: () -> URLRequest // so repeated() can re-read config
21 | private let underlyingRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
22 | internal var networking: RequestNetworking? // present only after start()
23 |
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:62: error: cannot find type 'URLRequest' in scope
27 | // MARK: Managing request
28 |
29 | init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
| `- error: cannot find type 'URLRequest' in scope
30 | {
31 | self.resource = resource
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:46: error: @escaping attribute only applies to function types
27 | // MARK: Managing request
28 |
29 | init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
| `- error: @escaping attribute only applies to function types
30 | {
31 | self.resource = resource
/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.
84 | // Entry point for response handling. Triggered by RequestNetworking completion callback.
85 | private func responseReceived(
86 | underlyingResponse: HTTPURLResponse?,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
87 | body: Data?,
88 | error: Error?,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/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.
113 |
114 | private func interpretResponse(
115 | _ underlyingResponse: HTTPURLResponse?,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
116 | _ body: Data?,
117 | _ error: Error?)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:71:46: error: cannot find type 'URLRequest' in scope
69 | }
70 |
71 | internal func configuration(for request: URLRequest) -> Configuration
| `- error: cannot find type 'URLRequest' in scope
72 | {
73 | return configuration(for:
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:93:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
91 | DispatchQueue.mainThreadPrecondition()
92 |
93 | SiestaLog.log(.network, ["Response: ", underlyingResponse?.statusCode ?? error, "←", requestDescription])
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 | SiestaLog.log(.networkDetails, ["Raw response headers:", underlyingResponse?.allHeaderFields])
95 | SiestaLog.log(.networkDetails, ["Raw response body:", body?.count ?? 0, "bytes"])
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:94:86: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
92 |
93 | SiestaLog.log(.network, ["Response: ", underlyingResponse?.statusCode ?? error, "←", requestDescription])
94 | SiestaLog.log(.networkDetails, ["Raw response headers:", underlyingResponse?.allHeaderFields])
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
95 | SiestaLog.log(.networkDetails, ["Raw response body:", body?.count ?? 0, "bytes"])
96 |
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:120:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
118 | -> ResponseInfo
119 | {
120 | if isError(httpStatusCode: underlyingResponse?.statusCode) || error != nil
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
121 | {
122 | return ResponseInfo(
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:125:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
123 | response: .failure(RequestError(response: underlyingResponse, content: body, cause: error)))
124 | }
125 | else if underlyingResponse?.statusCode == 304
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
126 | {
127 | if let entity = resource.latestData
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:31:13: error: cannot find 'CFRunLoopTimerCreateWithHandler' in scope
29 |
30 | progressUpdateTimer =
31 | CFRunLoopTimerCreateWithHandler(
| `- error: cannot find 'CFRunLoopTimerCreateWithHandler' in scope
32 | kCFAllocatorDefault,
33 | CFAbsoluteTimeGetCurrent(),
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:32:21: error: cannot find 'kCFAllocatorDefault' in scope
30 | progressUpdateTimer =
31 | CFRunLoopTimerCreateWithHandler(
32 | kCFAllocatorDefault,
| `- error: cannot find 'kCFAllocatorDefault' in scope
33 | CFAbsoluteTimeGetCurrent(),
34 | reportingInterval, 0, 0)
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:33:21: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
31 | CFRunLoopTimerCreateWithHandler(
32 | kCFAllocatorDefault,
33 | CFAbsoluteTimeGetCurrent(),
| `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:35:31: error: cannot infer type of closure parameter '_' without a type annotation
33 | CFAbsoluteTimeGetCurrent(),
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
| `- error: cannot infer type of closure parameter '_' without a type annotation
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
37 | }
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:9: error: cannot find 'CFRunLoopAddTimer' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
| `- error: cannot find 'CFRunLoopAddTimer' in scope
37 | }
38 |
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:27: error: cannot find 'CFRunLoopGetCurrent' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
| `- error: cannot find 'CFRunLoopGetCurrent' in scope
37 | }
38 |
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:71: error: cannot find 'CFRunLoopMode' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
| `- error: cannot find 'CFRunLoopMode' in scope
37 | }
38 |
[59/89] Compiling Alamofire Alamofire.swift
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:20:39: error: cannot find type 'URLRequest' in scope
18 |
19 | // Networking
20 | private let requestBuilder: () -> URLRequest // so repeated() can re-read config
| `- error: cannot find type 'URLRequest' in scope
21 | private let underlyingRequest: URLRequest
22 | internal var networking: RequestNetworking? // present only after start()
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:21:36: error: cannot find type 'URLRequest' in scope
19 | // Networking
20 | private let requestBuilder: () -> URLRequest // so repeated() can re-read config
21 | private let underlyingRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
22 | internal var networking: RequestNetworking? // present only after start()
23 |
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:62: error: cannot find type 'URLRequest' in scope
27 | // MARK: Managing request
28 |
29 | init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
| `- error: cannot find type 'URLRequest' in scope
30 | {
31 | self.resource = resource
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:46: error: @escaping attribute only applies to function types
27 | // MARK: Managing request
28 |
29 | init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
| `- error: @escaping attribute only applies to function types
30 | {
31 | self.resource = resource
/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.
84 | // Entry point for response handling. Triggered by RequestNetworking completion callback.
85 | private func responseReceived(
86 | underlyingResponse: HTTPURLResponse?,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
87 | body: Data?,
88 | error: Error?,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/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.
113 |
114 | private func interpretResponse(
115 | _ underlyingResponse: HTTPURLResponse?,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
116 | _ body: Data?,
117 | _ error: Error?)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:71:46: error: cannot find type 'URLRequest' in scope
69 | }
70 |
71 | internal func configuration(for request: URLRequest) -> Configuration
| `- error: cannot find type 'URLRequest' in scope
72 | {
73 | return configuration(for:
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:93:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
91 | DispatchQueue.mainThreadPrecondition()
92 |
93 | SiestaLog.log(.network, ["Response: ", underlyingResponse?.statusCode ?? error, "←", requestDescription])
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 | SiestaLog.log(.networkDetails, ["Raw response headers:", underlyingResponse?.allHeaderFields])
95 | SiestaLog.log(.networkDetails, ["Raw response body:", body?.count ?? 0, "bytes"])
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:94:86: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
92 |
93 | SiestaLog.log(.network, ["Response: ", underlyingResponse?.statusCode ?? error, "←", requestDescription])
94 | SiestaLog.log(.networkDetails, ["Raw response headers:", underlyingResponse?.allHeaderFields])
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
95 | SiestaLog.log(.networkDetails, ["Raw response body:", body?.count ?? 0, "bytes"])
96 |
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:120:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
118 | -> ResponseInfo
119 | {
120 | if isError(httpStatusCode: underlyingResponse?.statusCode) || error != nil
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
121 | {
122 | return ResponseInfo(
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:125:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
123 | response: .failure(RequestError(response: underlyingResponse, content: body, cause: error)))
124 | }
125 | else if underlyingResponse?.statusCode == 304
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
126 | {
127 | if let entity = resource.latestData
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:31:13: error: cannot find 'CFRunLoopTimerCreateWithHandler' in scope
29 |
30 | progressUpdateTimer =
31 | CFRunLoopTimerCreateWithHandler(
| `- error: cannot find 'CFRunLoopTimerCreateWithHandler' in scope
32 | kCFAllocatorDefault,
33 | CFAbsoluteTimeGetCurrent(),
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:32:21: error: cannot find 'kCFAllocatorDefault' in scope
30 | progressUpdateTimer =
31 | CFRunLoopTimerCreateWithHandler(
32 | kCFAllocatorDefault,
| `- error: cannot find 'kCFAllocatorDefault' in scope
33 | CFAbsoluteTimeGetCurrent(),
34 | reportingInterval, 0, 0)
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:33:21: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
31 | CFRunLoopTimerCreateWithHandler(
32 | kCFAllocatorDefault,
33 | CFAbsoluteTimeGetCurrent(),
| `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:35:31: error: cannot infer type of closure parameter '_' without a type annotation
33 | CFAbsoluteTimeGetCurrent(),
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
| `- error: cannot infer type of closure parameter '_' without a type annotation
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
37 | }
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:9: error: cannot find 'CFRunLoopAddTimer' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
| `- error: cannot find 'CFRunLoopAddTimer' in scope
37 | }
38 |
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:27: error: cannot find 'CFRunLoopGetCurrent' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
| `- error: cannot find 'CFRunLoopGetCurrent' in scope
37 | }
38 |
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:71: error: cannot find 'CFRunLoopMode' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
| `- error: cannot find 'CFRunLoopMode' in scope
37 | }
38 |
[60/89] Compiling Alamofire AFError.swift
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:20:39: error: cannot find type 'URLRequest' in scope
18 |
19 | // Networking
20 | private let requestBuilder: () -> URLRequest // so repeated() can re-read config
| `- error: cannot find type 'URLRequest' in scope
21 | private let underlyingRequest: URLRequest
22 | internal var networking: RequestNetworking? // present only after start()
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:21:36: error: cannot find type 'URLRequest' in scope
19 | // Networking
20 | private let requestBuilder: () -> URLRequest // so repeated() can re-read config
21 | private let underlyingRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
22 | internal var networking: RequestNetworking? // present only after start()
23 |
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:62: error: cannot find type 'URLRequest' in scope
27 | // MARK: Managing request
28 |
29 | init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
| `- error: cannot find type 'URLRequest' in scope
30 | {
31 | self.resource = resource
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:46: error: @escaping attribute only applies to function types
27 | // MARK: Managing request
28 |
29 | init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
| `- error: @escaping attribute only applies to function types
30 | {
31 | self.resource = resource
/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.
84 | // Entry point for response handling. Triggered by RequestNetworking completion callback.
85 | private func responseReceived(
86 | underlyingResponse: HTTPURLResponse?,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
87 | body: Data?,
88 | error: Error?,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/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.
113 |
114 | private func interpretResponse(
115 | _ underlyingResponse: HTTPURLResponse?,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
116 | _ body: Data?,
117 | _ error: Error?)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:71:46: error: cannot find type 'URLRequest' in scope
69 | }
70 |
71 | internal func configuration(for request: URLRequest) -> Configuration
| `- error: cannot find type 'URLRequest' in scope
72 | {
73 | return configuration(for:
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:93:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
91 | DispatchQueue.mainThreadPrecondition()
92 |
93 | SiestaLog.log(.network, ["Response: ", underlyingResponse?.statusCode ?? error, "←", requestDescription])
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 | SiestaLog.log(.networkDetails, ["Raw response headers:", underlyingResponse?.allHeaderFields])
95 | SiestaLog.log(.networkDetails, ["Raw response body:", body?.count ?? 0, "bytes"])
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:94:86: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
92 |
93 | SiestaLog.log(.network, ["Response: ", underlyingResponse?.statusCode ?? error, "←", requestDescription])
94 | SiestaLog.log(.networkDetails, ["Raw response headers:", underlyingResponse?.allHeaderFields])
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
95 | SiestaLog.log(.networkDetails, ["Raw response body:", body?.count ?? 0, "bytes"])
96 |
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:120:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
118 | -> ResponseInfo
119 | {
120 | if isError(httpStatusCode: underlyingResponse?.statusCode) || error != nil
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
121 | {
122 | return ResponseInfo(
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:125:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
123 | response: .failure(RequestError(response: underlyingResponse, content: body, cause: error)))
124 | }
125 | else if underlyingResponse?.statusCode == 304
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
126 | {
127 | if let entity = resource.latestData
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:31:13: error: cannot find 'CFRunLoopTimerCreateWithHandler' in scope
29 |
30 | progressUpdateTimer =
31 | CFRunLoopTimerCreateWithHandler(
| `- error: cannot find 'CFRunLoopTimerCreateWithHandler' in scope
32 | kCFAllocatorDefault,
33 | CFAbsoluteTimeGetCurrent(),
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:32:21: error: cannot find 'kCFAllocatorDefault' in scope
30 | progressUpdateTimer =
31 | CFRunLoopTimerCreateWithHandler(
32 | kCFAllocatorDefault,
| `- error: cannot find 'kCFAllocatorDefault' in scope
33 | CFAbsoluteTimeGetCurrent(),
34 | reportingInterval, 0, 0)
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:33:21: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
31 | CFRunLoopTimerCreateWithHandler(
32 | kCFAllocatorDefault,
33 | CFAbsoluteTimeGetCurrent(),
| `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:35:31: error: cannot infer type of closure parameter '_' without a type annotation
33 | CFAbsoluteTimeGetCurrent(),
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
| `- error: cannot infer type of closure parameter '_' without a type annotation
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
37 | }
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:9: error: cannot find 'CFRunLoopAddTimer' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
| `- error: cannot find 'CFRunLoopAddTimer' in scope
37 | }
38 |
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:27: error: cannot find 'CFRunLoopGetCurrent' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
| `- error: cannot find 'CFRunLoopGetCurrent' in scope
37 | }
38 |
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:71: error: cannot find 'CFRunLoopMode' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
| `- error: cannot find 'CFRunLoopMode' in scope
37 | }
38 |
[61/89] Compiling Alamofire DataRequest.swift
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:20:39: error: cannot find type 'URLRequest' in scope
18 |
19 | // Networking
20 | private let requestBuilder: () -> URLRequest // so repeated() can re-read config
| `- error: cannot find type 'URLRequest' in scope
21 | private let underlyingRequest: URLRequest
22 | internal var networking: RequestNetworking? // present only after start()
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:21:36: error: cannot find type 'URLRequest' in scope
19 | // Networking
20 | private let requestBuilder: () -> URLRequest // so repeated() can re-read config
21 | private let underlyingRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
22 | internal var networking: RequestNetworking? // present only after start()
23 |
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:62: error: cannot find type 'URLRequest' in scope
27 | // MARK: Managing request
28 |
29 | init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
| `- error: cannot find type 'URLRequest' in scope
30 | {
31 | self.resource = resource
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:29:46: error: @escaping attribute only applies to function types
27 | // MARK: Managing request
28 |
29 | init(resource: Resource, requestBuilder: @escaping () -> URLRequest)
| `- error: @escaping attribute only applies to function types
30 | {
31 | self.resource = resource
/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.
84 | // Entry point for response handling. Triggered by RequestNetworking completion callback.
85 | private func responseReceived(
86 | underlyingResponse: HTTPURLResponse?,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
87 | body: Data?,
88 | error: Error?,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/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.
113 |
114 | private func interpretResponse(
115 | _ underlyingResponse: HTTPURLResponse?,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
116 | _ body: Data?,
117 | _ error: Error?)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:71:46: error: cannot find type 'URLRequest' in scope
69 | }
70 |
71 | internal func configuration(for request: URLRequest) -> Configuration
| `- error: cannot find type 'URLRequest' in scope
72 | {
73 | return configuration(for:
/host/spi-builder-workspace/Source/Siesta/Networking.swift:34:24: error: cannot find type 'URLRequest' in scope
32 | */
33 | func startRequest(
34 | _ request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | completion: @escaping RequestNetworkingCompletionCallback)
36 | -> RequestNetworking
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:93:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
91 | DispatchQueue.mainThreadPrecondition()
92 |
93 | SiestaLog.log(.network, ["Response: ", underlyingResponse?.statusCode ?? error, "←", requestDescription])
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
94 | SiestaLog.log(.networkDetails, ["Raw response headers:", underlyingResponse?.allHeaderFields])
95 | SiestaLog.log(.networkDetails, ["Raw response body:", body?.count ?? 0, "bytes"])
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:94:86: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
92 |
93 | SiestaLog.log(.network, ["Response: ", underlyingResponse?.statusCode ?? error, "←", requestDescription])
94 | SiestaLog.log(.networkDetails, ["Raw response headers:", underlyingResponse?.allHeaderFields])
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
95 | SiestaLog.log(.networkDetails, ["Raw response body:", body?.count ?? 0, "bytes"])
96 |
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:120:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
118 | -> ResponseInfo
119 | {
120 | if isError(httpStatusCode: underlyingResponse?.statusCode) || error != nil
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
121 | {
122 | return ResponseInfo(
/host/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:125:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
123 | response: .failure(RequestError(response: underlyingResponse, content: body, cause: error)))
124 | }
125 | else if underlyingResponse?.statusCode == 304
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
126 | {
127 | if let entity = resource.latestData
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:31:13: error: cannot find 'CFRunLoopTimerCreateWithHandler' in scope
29 |
30 | progressUpdateTimer =
31 | CFRunLoopTimerCreateWithHandler(
| `- error: cannot find 'CFRunLoopTimerCreateWithHandler' in scope
32 | kCFAllocatorDefault,
33 | CFAbsoluteTimeGetCurrent(),
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:32:21: error: cannot find 'kCFAllocatorDefault' in scope
30 | progressUpdateTimer =
31 | CFRunLoopTimerCreateWithHandler(
32 | kCFAllocatorDefault,
| `- error: cannot find 'kCFAllocatorDefault' in scope
33 | CFAbsoluteTimeGetCurrent(),
34 | reportingInterval, 0, 0)
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:33:21: error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
31 | CFRunLoopTimerCreateWithHandler(
32 | kCFAllocatorDefault,
33 | CFAbsoluteTimeGetCurrent(),
| `- error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:35:31: error: cannot infer type of closure parameter '_' without a type annotation
33 | CFAbsoluteTimeGetCurrent(),
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
| `- error: cannot infer type of closure parameter '_' without a type annotation
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
37 | }
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:9: error: cannot find 'CFRunLoopAddTimer' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
| `- error: cannot find 'CFRunLoopAddTimer' in scope
37 | }
38 |
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:27: error: cannot find 'CFRunLoopGetCurrent' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
| `- error: cannot find 'CFRunLoopGetCurrent' in scope
37 | }
38 |
/host/spi-builder-workspace/Source/Siesta/Request/ProgressTracker.swift:36:71: error: cannot find 'CFRunLoopMode' in scope
34 | reportingInterval, 0, 0)
35 | { [weak self] _ in self?.updateProgress() }
36 | CFRunLoopAddTimer(CFRunLoopGetCurrent(), progressUpdateTimer, CFRunLoopMode.commonModes)
| `- error: cannot find 'CFRunLoopMode' in scope
37 | }
38 |
BUILD FAILURE 6.2 linux