Build Information
Failed to build SwiftlierCLI, reference 6.0.1 (94d731
), with Swift 6.1 for Wasm on 27 May 2025 09:49:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:126: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:40: error: cannot find type 'URLRequest' in scope
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: cannot find type 'URLRequest' in scope
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:89: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:123: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
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/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:59:44: error: cannot find type 'URLRequest' in scope
57 | let task: TestURLSession.StartedTask
58 |
59 | init(session: TestURLSession, request: URLRequest, file: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
60 | self.session = session
61 | self.task = .init(url: request.url, kind: .fileUpload(file, completionHandler))
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:59:104: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | let task: TestURLSession.StartedTask
58 |
59 | init(session: TestURLSession, request: URLRequest, file: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | self.session = session
61 | self.task = .init(url: request.url, kind: .fileUpload(file, completionHandler))
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:64:19: error: method does not override any method from its superclass
62 | }
63 |
64 | override func resume() {
| `- error: method does not override any method from its superclass
65 | self.session.startedTasks.append(self.task)
66 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:55:41: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 | extension URLSession: AnyURLSession {}
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
56 | let session: TestURLSession
57 | let task: TestURLSession.StartedTask
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:73:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | let task: TestURLSession.StartedTask
72 |
73 | init(session: TestURLSession, url: URL?, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 | self.session = session
75 | self.task = .init(url: url, kind: .download)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:78:19: error: method does not override any method from its superclass
76 | }
77 |
78 | override func resume() {
| `- error: method does not override any method from its superclass
79 | self.session.startedTasks.append(self.task)
80 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:69:43: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | }
68 |
69 | private class TestURLSessionDownloadTask: URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | let session: TestURLSession
71 | let task: TestURLSession.StartedTask
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:87:44: error: cannot find type 'URLRequest' in scope
85 | let task: TestURLSession.StartedTask
86 |
87 | init(session: TestURLSession, request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
88 | self.session = session
89 | self.task = .init(url: request.url, kind: .data)
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:87:93: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | let task: TestURLSession.StartedTask
86 |
87 | init(session: TestURLSession, request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
88 | self.session = session
89 | self.task = .init(url: request.url, kind: .data)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:92:19: error: method does not override any method from its superclass
90 | }
91 |
92 | override func resume() {
| `- error: method does not override any method from its superclass
93 | self.session.startedTasks.append(self.task)
94 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:83:39: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | }
82 |
83 | private class TestURLSessionDataTask: URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | let session: TestURLSession
85 | let task: TestURLSession.StartedTask
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
[54/101] Compiling Swiftlier UniquelyIdentifiable.swift
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:35: error: cannot find type 'URLRequest' in scope
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: cannot find type 'URLRequest' in scope
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:107: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:141: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:16:74: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:16:108: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:33: error: cannot find type 'URLRequest' in scope
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | }
19 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:116: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | }
19 |
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/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:22:38: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | public class TestURLSession: AnyURLSession {
21 | public enum Kind {
22 | case fileUpload(URL, (Data?, URLResponse?, Error?) -> Void)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | case download
24 | case data
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:42: error: cannot find type 'URLRequest' in scope
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: cannot find type 'URLRequest' in scope
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:114: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:148: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:38:81: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 | }
37 |
38 | public func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | return TestURLSessionDownloadTask(session: self, url: url, completionHandler: completionHandler)
40 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:38:115: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 | }
37 |
38 | public func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | return TestURLSessionDownloadTask(session: self, url: url, completionHandler: completionHandler)
40 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:44: error: cannot find type 'URLRequest' in scope
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: cannot find type 'URLRequest' in scope
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:126: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:40: error: cannot find type 'URLRequest' in scope
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: cannot find type 'URLRequest' in scope
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:89: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:123: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
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/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:59:44: error: cannot find type 'URLRequest' in scope
57 | let task: TestURLSession.StartedTask
58 |
59 | init(session: TestURLSession, request: URLRequest, file: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
60 | self.session = session
61 | self.task = .init(url: request.url, kind: .fileUpload(file, completionHandler))
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:59:104: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | let task: TestURLSession.StartedTask
58 |
59 | init(session: TestURLSession, request: URLRequest, file: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | self.session = session
61 | self.task = .init(url: request.url, kind: .fileUpload(file, completionHandler))
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:64:19: error: method does not override any method from its superclass
62 | }
63 |
64 | override func resume() {
| `- error: method does not override any method from its superclass
65 | self.session.startedTasks.append(self.task)
66 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:55:41: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 | extension URLSession: AnyURLSession {}
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
56 | let session: TestURLSession
57 | let task: TestURLSession.StartedTask
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:73:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | let task: TestURLSession.StartedTask
72 |
73 | init(session: TestURLSession, url: URL?, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 | self.session = session
75 | self.task = .init(url: url, kind: .download)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:78:19: error: method does not override any method from its superclass
76 | }
77 |
78 | override func resume() {
| `- error: method does not override any method from its superclass
79 | self.session.startedTasks.append(self.task)
80 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:69:43: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | }
68 |
69 | private class TestURLSessionDownloadTask: URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | let session: TestURLSession
71 | let task: TestURLSession.StartedTask
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:87:44: error: cannot find type 'URLRequest' in scope
85 | let task: TestURLSession.StartedTask
86 |
87 | init(session: TestURLSession, request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
88 | self.session = session
89 | self.task = .init(url: request.url, kind: .data)
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:87:93: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | let task: TestURLSession.StartedTask
86 |
87 | init(session: TestURLSession, request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
88 | self.session = session
89 | self.task = .init(url: request.url, kind: .data)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:92:19: error: method does not override any method from its superclass
90 | }
91 |
92 | override func resume() {
| `- error: method does not override any method from its superclass
93 | self.session.startedTasks.append(self.task)
94 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:83:39: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | }
82 |
83 | private class TestURLSessionDataTask: URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | let session: TestURLSession
85 | let task: TestURLSession.StartedTask
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
[55/101] Compiling Swiftlier CSVStreamReader.swift
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:35: error: cannot find type 'URLRequest' in scope
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: cannot find type 'URLRequest' in scope
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:107: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:141: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:16:74: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:16:108: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:33: error: cannot find type 'URLRequest' in scope
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | }
19 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:116: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | }
19 |
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/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:22:38: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | public class TestURLSession: AnyURLSession {
21 | public enum Kind {
22 | case fileUpload(URL, (Data?, URLResponse?, Error?) -> Void)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | case download
24 | case data
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:42: error: cannot find type 'URLRequest' in scope
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: cannot find type 'URLRequest' in scope
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:114: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:148: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:38:81: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 | }
37 |
38 | public func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | return TestURLSessionDownloadTask(session: self, url: url, completionHandler: completionHandler)
40 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:38:115: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 | }
37 |
38 | public func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | return TestURLSessionDownloadTask(session: self, url: url, completionHandler: completionHandler)
40 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:44: error: cannot find type 'URLRequest' in scope
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: cannot find type 'URLRequest' in scope
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:126: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:40: error: cannot find type 'URLRequest' in scope
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: cannot find type 'URLRequest' in scope
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:89: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:123: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
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/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:59:44: error: cannot find type 'URLRequest' in scope
57 | let task: TestURLSession.StartedTask
58 |
59 | init(session: TestURLSession, request: URLRequest, file: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
60 | self.session = session
61 | self.task = .init(url: request.url, kind: .fileUpload(file, completionHandler))
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:59:104: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | let task: TestURLSession.StartedTask
58 |
59 | init(session: TestURLSession, request: URLRequest, file: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | self.session = session
61 | self.task = .init(url: request.url, kind: .fileUpload(file, completionHandler))
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:64:19: error: method does not override any method from its superclass
62 | }
63 |
64 | override func resume() {
| `- error: method does not override any method from its superclass
65 | self.session.startedTasks.append(self.task)
66 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:55:41: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 | extension URLSession: AnyURLSession {}
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
56 | let session: TestURLSession
57 | let task: TestURLSession.StartedTask
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:73:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | let task: TestURLSession.StartedTask
72 |
73 | init(session: TestURLSession, url: URL?, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 | self.session = session
75 | self.task = .init(url: url, kind: .download)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:78:19: error: method does not override any method from its superclass
76 | }
77 |
78 | override func resume() {
| `- error: method does not override any method from its superclass
79 | self.session.startedTasks.append(self.task)
80 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:69:43: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | }
68 |
69 | private class TestURLSessionDownloadTask: URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | let session: TestURLSession
71 | let task: TestURLSession.StartedTask
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:87:44: error: cannot find type 'URLRequest' in scope
85 | let task: TestURLSession.StartedTask
86 |
87 | init(session: TestURLSession, request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
88 | self.session = session
89 | self.task = .init(url: request.url, kind: .data)
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:87:93: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | let task: TestURLSession.StartedTask
86 |
87 | init(session: TestURLSession, request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
88 | self.session = session
89 | self.task = .init(url: request.url, kind: .data)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:92:19: error: method does not override any method from its superclass
90 | }
91 |
92 | override func resume() {
| `- error: method does not override any method from its superclass
93 | self.session.startedTasks.append(self.task)
94 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:83:39: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | }
82 |
83 | private class TestURLSessionDataTask: URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | let session: TestURLSession
85 | let task: TestURLSession.StartedTask
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
[56/101] Compiling Swiftlier DelimiterStreamReader.swift
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:35: error: cannot find type 'URLRequest' in scope
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: cannot find type 'URLRequest' in scope
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:107: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:141: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:16:74: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:16:108: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:33: error: cannot find type 'URLRequest' in scope
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | }
19 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:116: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | }
19 |
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/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:22:38: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | public class TestURLSession: AnyURLSession {
21 | public enum Kind {
22 | case fileUpload(URL, (Data?, URLResponse?, Error?) -> Void)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | case download
24 | case data
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:42: error: cannot find type 'URLRequest' in scope
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: cannot find type 'URLRequest' in scope
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:114: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:148: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:38:81: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 | }
37 |
38 | public func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | return TestURLSessionDownloadTask(session: self, url: url, completionHandler: completionHandler)
40 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:38:115: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 | }
37 |
38 | public func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | return TestURLSessionDownloadTask(session: self, url: url, completionHandler: completionHandler)
40 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:44: error: cannot find type 'URLRequest' in scope
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: cannot find type 'URLRequest' in scope
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:126: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:40: error: cannot find type 'URLRequest' in scope
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: cannot find type 'URLRequest' in scope
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:89: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:123: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
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/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:59:44: error: cannot find type 'URLRequest' in scope
57 | let task: TestURLSession.StartedTask
58 |
59 | init(session: TestURLSession, request: URLRequest, file: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
60 | self.session = session
61 | self.task = .init(url: request.url, kind: .fileUpload(file, completionHandler))
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:59:104: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | let task: TestURLSession.StartedTask
58 |
59 | init(session: TestURLSession, request: URLRequest, file: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | self.session = session
61 | self.task = .init(url: request.url, kind: .fileUpload(file, completionHandler))
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:64:19: error: method does not override any method from its superclass
62 | }
63 |
64 | override func resume() {
| `- error: method does not override any method from its superclass
65 | self.session.startedTasks.append(self.task)
66 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:55:41: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 | extension URLSession: AnyURLSession {}
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
56 | let session: TestURLSession
57 | let task: TestURLSession.StartedTask
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:73:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | let task: TestURLSession.StartedTask
72 |
73 | init(session: TestURLSession, url: URL?, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 | self.session = session
75 | self.task = .init(url: url, kind: .download)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:78:19: error: method does not override any method from its superclass
76 | }
77 |
78 | override func resume() {
| `- error: method does not override any method from its superclass
79 | self.session.startedTasks.append(self.task)
80 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:69:43: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | }
68 |
69 | private class TestURLSessionDownloadTask: URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | let session: TestURLSession
71 | let task: TestURLSession.StartedTask
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:87:44: error: cannot find type 'URLRequest' in scope
85 | let task: TestURLSession.StartedTask
86 |
87 | init(session: TestURLSession, request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
88 | self.session = session
89 | self.task = .init(url: request.url, kind: .data)
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:87:93: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | let task: TestURLSession.StartedTask
86 |
87 | init(session: TestURLSession, request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
88 | self.session = session
89 | self.task = .init(url: request.url, kind: .data)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:92:19: error: method does not override any method from its superclass
90 | }
91 |
92 | override func resume() {
| `- error: method does not override any method from its superclass
93 | self.session.startedTasks.append(self.task)
94 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:83:39: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | }
82 |
83 | private class TestURLSessionDataTask: URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | let session: TestURLSession
85 | let task: TestURLSession.StartedTask
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
[57/101] Compiling Swiftlier StreamReader.swift
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:35: error: cannot find type 'URLRequest' in scope
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: cannot find type 'URLRequest' in scope
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:107: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:141: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:16:74: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:16:108: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:33: error: cannot find type 'URLRequest' in scope
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | }
19 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:116: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | }
19 |
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/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:22:38: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | public class TestURLSession: AnyURLSession {
21 | public enum Kind {
22 | case fileUpload(URL, (Data?, URLResponse?, Error?) -> Void)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | case download
24 | case data
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:42: error: cannot find type 'URLRequest' in scope
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: cannot find type 'URLRequest' in scope
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:114: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:148: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:38:81: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 | }
37 |
38 | public func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | return TestURLSessionDownloadTask(session: self, url: url, completionHandler: completionHandler)
40 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:38:115: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 | }
37 |
38 | public func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | return TestURLSessionDownloadTask(session: self, url: url, completionHandler: completionHandler)
40 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:44: error: cannot find type 'URLRequest' in scope
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: cannot find type 'URLRequest' in scope
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:126: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:40: error: cannot find type 'URLRequest' in scope
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: cannot find type 'URLRequest' in scope
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:89: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:123: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
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/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:59:44: error: cannot find type 'URLRequest' in scope
57 | let task: TestURLSession.StartedTask
58 |
59 | init(session: TestURLSession, request: URLRequest, file: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
60 | self.session = session
61 | self.task = .init(url: request.url, kind: .fileUpload(file, completionHandler))
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:59:104: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | let task: TestURLSession.StartedTask
58 |
59 | init(session: TestURLSession, request: URLRequest, file: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | self.session = session
61 | self.task = .init(url: request.url, kind: .fileUpload(file, completionHandler))
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:64:19: error: method does not override any method from its superclass
62 | }
63 |
64 | override func resume() {
| `- error: method does not override any method from its superclass
65 | self.session.startedTasks.append(self.task)
66 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:55:41: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 | extension URLSession: AnyURLSession {}
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
56 | let session: TestURLSession
57 | let task: TestURLSession.StartedTask
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:73:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | let task: TestURLSession.StartedTask
72 |
73 | init(session: TestURLSession, url: URL?, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 | self.session = session
75 | self.task = .init(url: url, kind: .download)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:78:19: error: method does not override any method from its superclass
76 | }
77 |
78 | override func resume() {
| `- error: method does not override any method from its superclass
79 | self.session.startedTasks.append(self.task)
80 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:69:43: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | }
68 |
69 | private class TestURLSessionDownloadTask: URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | let session: TestURLSession
71 | let task: TestURLSession.StartedTask
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:87:44: error: cannot find type 'URLRequest' in scope
85 | let task: TestURLSession.StartedTask
86 |
87 | init(session: TestURLSession, request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
88 | self.session = session
89 | self.task = .init(url: request.url, kind: .data)
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:87:93: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | let task: TestURLSession.StartedTask
86 |
87 | init(session: TestURLSession, request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
88 | self.session = session
89 | self.task = .init(url: request.url, kind: .data)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:92:19: error: method does not override any method from its superclass
90 | }
91 |
92 | override func resume() {
| `- error: method does not override any method from its superclass
93 | self.session.startedTasks.append(self.task)
94 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:83:39: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | }
82 |
83 | private class TestURLSessionDataTask: URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | let session: TestURLSession
85 | let task: TestURLSession.StartedTask
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
[58/101] Compiling Swiftlier Date+Testable.swift
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:35: error: cannot find type 'URLRequest' in scope
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: cannot find type 'URLRequest' in scope
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:107: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:141: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:16:74: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:16:108: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:33: error: cannot find type 'URLRequest' in scope
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | }
19 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:116: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | }
19 |
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/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:22:38: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | public class TestURLSession: AnyURLSession {
21 | public enum Kind {
22 | case fileUpload(URL, (Data?, URLResponse?, Error?) -> Void)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | case download
24 | case data
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:42: error: cannot find type 'URLRequest' in scope
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: cannot find type 'URLRequest' in scope
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:114: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:148: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:38:81: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 | }
37 |
38 | public func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | return TestURLSessionDownloadTask(session: self, url: url, completionHandler: completionHandler)
40 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:38:115: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 | }
37 |
38 | public func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | return TestURLSessionDownloadTask(session: self, url: url, completionHandler: completionHandler)
40 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:44: error: cannot find type 'URLRequest' in scope
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: cannot find type 'URLRequest' in scope
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:126: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:40: error: cannot find type 'URLRequest' in scope
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: cannot find type 'URLRequest' in scope
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:89: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:123: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
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/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:59:44: error: cannot find type 'URLRequest' in scope
57 | let task: TestURLSession.StartedTask
58 |
59 | init(session: TestURLSession, request: URLRequest, file: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
60 | self.session = session
61 | self.task = .init(url: request.url, kind: .fileUpload(file, completionHandler))
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:59:104: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | let task: TestURLSession.StartedTask
58 |
59 | init(session: TestURLSession, request: URLRequest, file: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | self.session = session
61 | self.task = .init(url: request.url, kind: .fileUpload(file, completionHandler))
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:64:19: error: method does not override any method from its superclass
62 | }
63 |
64 | override func resume() {
| `- error: method does not override any method from its superclass
65 | self.session.startedTasks.append(self.task)
66 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:55:41: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 | extension URLSession: AnyURLSession {}
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
56 | let session: TestURLSession
57 | let task: TestURLSession.StartedTask
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:73:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | let task: TestURLSession.StartedTask
72 |
73 | init(session: TestURLSession, url: URL?, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 | self.session = session
75 | self.task = .init(url: url, kind: .download)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:78:19: error: method does not override any method from its superclass
76 | }
77 |
78 | override func resume() {
| `- error: method does not override any method from its superclass
79 | self.session.startedTasks.append(self.task)
80 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:69:43: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | }
68 |
69 | private class TestURLSessionDownloadTask: URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | let session: TestURLSession
71 | let task: TestURLSession.StartedTask
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:87:44: error: cannot find type 'URLRequest' in scope
85 | let task: TestURLSession.StartedTask
86 |
87 | init(session: TestURLSession, request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
88 | self.session = session
89 | self.task = .init(url: request.url, kind: .data)
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:87:93: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | let task: TestURLSession.StartedTask
86 |
87 | init(session: TestURLSession, request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
88 | self.session = session
89 | self.task = .init(url: request.url, kind: .data)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:92:19: error: method does not override any method from its superclass
90 | }
91 |
92 | override func resume() {
| `- error: method does not override any method from its superclass
93 | self.session.startedTasks.append(self.task)
94 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:83:39: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | }
82 |
83 | private class TestURLSessionDataTask: URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | let session: TestURLSession
85 | let task: TestURLSession.StartedTask
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
[59/101] Compiling Swiftlier URLSession+Testing.swift
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:35: error: cannot find type 'URLRequest' in scope
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: cannot find type 'URLRequest' in scope
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:107: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:15:141: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:16:74: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:16:108: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | public protocol AnyURLSession {
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
18 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:33: error: cannot find type 'URLRequest' in scope
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | }
19 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:17:116: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask
16 | func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
17 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | }
19 |
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/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:22:38: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | public class TestURLSession: AnyURLSession {
21 | public enum Kind {
22 | case fileUpload(URL, (Data?, URLResponse?, Error?) -> Void)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | case download
24 | case data
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:42: error: cannot find type 'URLRequest' in scope
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: cannot find type 'URLRequest' in scope
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:114: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:34:148: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | public var startedTasks = [StartedTask]()
33 |
34 | public func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | return TestURLSessionUploadTask(session: self, request: request, file: fileURL, completionHandler: completionHandler)
36 | }
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:38:81: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 | }
37 |
38 | public func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | return TestURLSessionDownloadTask(session: self, url: url, completionHandler: completionHandler)
40 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:38:115: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 | }
37 |
38 | public func downloadTask(with url: URL, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | return TestURLSessionDownloadTask(session: self, url: url, completionHandler: completionHandler)
40 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:44: error: cannot find type 'URLRequest' in scope
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: cannot find type 'URLRequest' in scope
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:42:126: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
42 | public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | return TestURLSessionDownloadTask(session: self, url: request.url, completionHandler: completionHandler)
44 | }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:40: error: cannot find type 'URLRequest' in scope
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: cannot find type 'URLRequest' in scope
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:89: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:46:123: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
46 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | return TestURLSessionDataTask(session: self, request: request, completionHandler: completionHandler)
48 | }
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/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:59:44: error: cannot find type 'URLRequest' in scope
57 | let task: TestURLSession.StartedTask
58 |
59 | init(session: TestURLSession, request: URLRequest, file: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
60 | self.session = session
61 | self.task = .init(url: request.url, kind: .fileUpload(file, completionHandler))
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:59:104: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | let task: TestURLSession.StartedTask
58 |
59 | init(session: TestURLSession, request: URLRequest, file: URL, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | self.session = session
61 | self.task = .init(url: request.url, kind: .fileUpload(file, completionHandler))
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:64:19: error: method does not override any method from its superclass
62 | }
63 |
64 | override func resume() {
| `- error: method does not override any method from its superclass
65 | self.session.startedTasks.append(self.task)
66 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:55:41: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 | extension URLSession: AnyURLSession {}
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
56 | let session: TestURLSession
57 | let task: TestURLSession.StartedTask
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:73:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | let task: TestURLSession.StartedTask
72 |
73 | init(session: TestURLSession, url: URL?, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 | self.session = session
75 | self.task = .init(url: url, kind: .download)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:78:19: error: method does not override any method from its superclass
76 | }
77 |
78 | override func resume() {
| `- error: method does not override any method from its superclass
79 | self.session.startedTasks.append(self.task)
80 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:69:43: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | }
68 |
69 | private class TestURLSessionDownloadTask: URLSessionDownloadTask {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | let session: TestURLSession
71 | let task: TestURLSession.StartedTask
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:87:44: error: cannot find type 'URLRequest' in scope
85 | let task: TestURLSession.StartedTask
86 |
87 | init(session: TestURLSession, request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
88 | self.session = session
89 | self.task = .init(url: request.url, kind: .data)
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:87:93: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | let task: TestURLSession.StartedTask
86 |
87 | init(session: TestURLSession, request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
88 | self.session = session
89 | self.task = .init(url: request.url, kind: .data)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:92:19: error: method does not override any method from its superclass
90 | }
91 |
92 | override func resume() {
| `- error: method does not override any method from its superclass
93 | self.session.startedTasks.append(self.task)
94 | }
/host/spi-builder-workspace/.build/checkouts/Swiftlier/Sources/Swiftlier/Testing/URLSession+Testing.swift:83:39: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | }
82 |
83 | private class TestURLSessionDataTask: URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | let session: TestURLSession
85 | let task: TestURLSession.StartedTask
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
[60/101] Compiling Swiftlier OtherSwiftlierError.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter+Style.swift:18:8: error: no such module 'Darwin'
16 | import Glibc
17 | #else
18 | import Darwin
| `- error: no such module 'Darwin'
19 | #endif
20 |
[61/101] Compiling Swiftlier SwiftlierError.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter+Style.swift:18:8: error: no such module 'Darwin'
16 | import Glibc
17 | #else
18 | import Darwin
| `- error: no such module 'Darwin'
19 | #endif
20 |
[62/101] Compiling Swiftlier SwiftlierResult.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter+Style.swift:18:8: error: no such module 'Darwin'
16 | import Glibc
17 | #else
18 | import Darwin
| `- error: no such module 'Darwin'
19 | #endif
20 |
[63/101] Compiling Swiftlier FileSystem+iOSDirectories.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter+Style.swift:18:8: error: no such module 'Darwin'
16 | import Glibc
17 | #else
18 | import Darwin
| `- error: no such module 'Darwin'
19 | #endif
20 |
[64/101] Compiling Swiftlier FileSystem.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter+Style.swift:18:8: error: no such module 'Darwin'
16 | import Glibc
17 | #else
18 | import Darwin
| `- error: no such module 'Darwin'
19 | #endif
20 |
[65/101] Compiling Swiftlier String+Enhancements.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter+Style.swift:18:8: error: no such module 'Darwin'
16 | import Glibc
17 | #else
18 | import Darwin
| `- error: no such module 'Darwin'
19 | #endif
20 |
[66/101] Compiling Swiftlier URL+Enhancements.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter+Style.swift:18:8: error: no such module 'Darwin'
16 | import Glibc
17 | #else
18 | import Darwin
| `- error: no such module 'Darwin'
19 | #endif
20 |
[67/101] Compiling Swiftlier AnySwiftlierError.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter+Style.swift:18:8: error: no such module 'Darwin'
16 | import Glibc
17 | #else
18 | import Darwin
| `- error: no such module 'Darwin'
19 | #endif
20 |
[68/101] Compiling Swiftlier GenericSwiftlierError.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter+Style.swift:18:8: error: no such module 'Darwin'
16 | import Glibc
17 | #else
18 | import Darwin
| `- error: no such module 'Darwin'
19 | #endif
20 |
[69/101] Compiling Swiftlier OperationBasedError.swift
/host/spi-builder-workspace/.build/checkouts/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter+Style.swift:18:8: error: no such module 'Darwin'
16 | import Glibc
17 | #else
18 | import Darwin
| `- error: no such module 'Darwin'
19 | #endif
20 |
BUILD FAILURE 6.1 wasm