Build Information
Failed to build Swiftlier, reference master (e1f789), with Swift 6.3 for Wasm on 10 Apr 2026 07:40:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
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/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/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/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/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/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/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/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/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/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[10/65] Compiling Swiftlier URLSession+Testing.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/Sources/Swiftlier/Testing/URLSession+Testing.swift:53:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
51 | }
52 |
53 | extension URLSession: AnyURLSession {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
54 |
55 | private class TestURLSessionUploadTask: URLSessionUploadTask {
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[11/65] Compiling Swiftlier Coding+Helpers.swift
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
[12/65] Compiling Swiftlier CodingKeys.swift
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
[13/65] Compiling Swiftlier NativeTypesDecoder.swift
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
[14/65] Compiling Swiftlier NativeTypesEncoder.swift
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
[15/65] Compiling Swiftlier PercentEncodable.swift
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
[16/65] Compiling Swiftlier SpecDecoder.swift
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
[17/65] Compiling Swiftlier Collection+Enhancments.swift
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
[18/65] Compiling Swiftlier Data+Processing.swift
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
[19/65] Compiling Swiftlier ValueTypePersistenceService.swift
[20/65] Compiling Swiftlier Bool+Formatting.swift
[21/65] Compiling Swiftlier Data+Base64.swift
[22/65] Compiling Swiftlier Date+Formatting.swift
[23/65] Compiling Swiftlier Double+Formatting.swift
[24/65] Compiling Swiftlier HeartRateFormatter.swift
[25/65] Compiling Swiftlier TimeInterval+Formatting.swift
[26/65] Compiling Swiftlier BinarySearchTree.swift
[27/65] Compiling Swiftlier Age.swift
[28/65] Compiling Swiftlier AlwaysEqual.swift
[29/65] Compiling Swiftlier Angle.swift
[30/65] Compiling Swiftlier Day.swift
[31/65] Compiling Swiftlier EmailAddress.swift
[32/65] Compiling Swiftlier HTML.swift
[33/65] Compiling Swiftlier Mass.swift
[34/65] Compiling Swiftlier Date+Helpers.swift
/host/spi-builder-workspace/Sources/Swiftlier/Enhancements/DispatchQueue+Enhancements.swift:11:11: error: cannot find type 'DispatchQueue' in scope
9 | import Foundation
10 |
11 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
12 | /// Execute the work after a certain number of seconds
13 | ///
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:23:113: error: cannot find 'Thread' in scope
21 | }
22 |
23 | public init(title: String, alertMessage: String, details: String?, isInternal: Bool, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
24 | self.title = title
25 | self.alertMessage = alertMessage
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:50:114: error: cannot find 'Thread' in scope
48 | }
49 |
50 | public init(userErrorWhile operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
51 | self.title = "Error \(operation.titleCased)"
52 | self.alertMessage = reason
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:70:26: error: cannot find 'Thread' in scope
68 | }
69 | self.details = nil
70 | self.backtrace = Thread.callStackSymbols
| `- error: cannot find 'Thread' in scope
71 | self.extraInfo = [:]
72 | }
/host/spi-builder-workspace/Sources/Swiftlier/Errors/OtherSwiftlierError.swift:15:81: error: cannot find 'Thread' in scope
13 | public let backtrace: [String]?
14 |
15 | public init(_ error: Error, while operation: String, backtrace: [String]? = Thread.callStackSymbols) {
| `- error: cannot find 'Thread' in scope
16 | self.underlyingError = error
17 | self.operation = operation
[35/65] Compiling Swiftlier DispatchQueue+Enhancements.swift
/host/spi-builder-workspace/Sources/Swiftlier/Enhancements/DispatchQueue+Enhancements.swift:11:11: error: cannot find type 'DispatchQueue' in scope
9 | import Foundation
10 |
11 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
12 | /// Execute the work after a certain number of seconds
13 | ///
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:23:113: error: cannot find 'Thread' in scope
21 | }
22 |
23 | public init(title: String, alertMessage: String, details: String?, isInternal: Bool, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
24 | self.title = title
25 | self.alertMessage = alertMessage
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:50:114: error: cannot find 'Thread' in scope
48 | }
49 |
50 | public init(userErrorWhile operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
51 | self.title = "Error \(operation.titleCased)"
52 | self.alertMessage = reason
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:70:26: error: cannot find 'Thread' in scope
68 | }
69 | self.details = nil
70 | self.backtrace = Thread.callStackSymbols
| `- error: cannot find 'Thread' in scope
71 | self.extraInfo = [:]
72 | }
/host/spi-builder-workspace/Sources/Swiftlier/Errors/OtherSwiftlierError.swift:15:81: error: cannot find 'Thread' in scope
13 | public let backtrace: [String]?
14 |
15 | public init(_ error: Error, while operation: String, backtrace: [String]? = Thread.callStackSymbols) {
| `- error: cannot find 'Thread' in scope
16 | self.underlyingError = error
17 | self.operation = operation
[36/65] Compiling Swiftlier String+Enhancements.swift
/host/spi-builder-workspace/Sources/Swiftlier/Enhancements/DispatchQueue+Enhancements.swift:11:11: error: cannot find type 'DispatchQueue' in scope
9 | import Foundation
10 |
11 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
12 | /// Execute the work after a certain number of seconds
13 | ///
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:23:113: error: cannot find 'Thread' in scope
21 | }
22 |
23 | public init(title: String, alertMessage: String, details: String?, isInternal: Bool, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
24 | self.title = title
25 | self.alertMessage = alertMessage
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:50:114: error: cannot find 'Thread' in scope
48 | }
49 |
50 | public init(userErrorWhile operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
51 | self.title = "Error \(operation.titleCased)"
52 | self.alertMessage = reason
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:70:26: error: cannot find 'Thread' in scope
68 | }
69 | self.details = nil
70 | self.backtrace = Thread.callStackSymbols
| `- error: cannot find 'Thread' in scope
71 | self.extraInfo = [:]
72 | }
/host/spi-builder-workspace/Sources/Swiftlier/Errors/OtherSwiftlierError.swift:15:81: error: cannot find 'Thread' in scope
13 | public let backtrace: [String]?
14 |
15 | public init(_ error: Error, while operation: String, backtrace: [String]? = Thread.callStackSymbols) {
| `- error: cannot find 'Thread' in scope
16 | self.underlyingError = error
17 | self.operation = operation
[37/65] Compiling Swiftlier URL+Enhancements.swift
/host/spi-builder-workspace/Sources/Swiftlier/Enhancements/DispatchQueue+Enhancements.swift:11:11: error: cannot find type 'DispatchQueue' in scope
9 | import Foundation
10 |
11 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
12 | /// Execute the work after a certain number of seconds
13 | ///
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:23:113: error: cannot find 'Thread' in scope
21 | }
22 |
23 | public init(title: String, alertMessage: String, details: String?, isInternal: Bool, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
24 | self.title = title
25 | self.alertMessage = alertMessage
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:50:114: error: cannot find 'Thread' in scope
48 | }
49 |
50 | public init(userErrorWhile operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
51 | self.title = "Error \(operation.titleCased)"
52 | self.alertMessage = reason
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:70:26: error: cannot find 'Thread' in scope
68 | }
69 | self.details = nil
70 | self.backtrace = Thread.callStackSymbols
| `- error: cannot find 'Thread' in scope
71 | self.extraInfo = [:]
72 | }
/host/spi-builder-workspace/Sources/Swiftlier/Errors/OtherSwiftlierError.swift:15:81: error: cannot find 'Thread' in scope
13 | public let backtrace: [String]?
14 |
15 | public init(_ error: Error, while operation: String, backtrace: [String]? = Thread.callStackSymbols) {
| `- error: cannot find 'Thread' in scope
16 | self.underlyingError = error
17 | self.operation = operation
[38/65] Compiling Swiftlier AnySwiftlierError.swift
/host/spi-builder-workspace/Sources/Swiftlier/Enhancements/DispatchQueue+Enhancements.swift:11:11: error: cannot find type 'DispatchQueue' in scope
9 | import Foundation
10 |
11 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
12 | /// Execute the work after a certain number of seconds
13 | ///
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:23:113: error: cannot find 'Thread' in scope
21 | }
22 |
23 | public init(title: String, alertMessage: String, details: String?, isInternal: Bool, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
24 | self.title = title
25 | self.alertMessage = alertMessage
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:50:114: error: cannot find 'Thread' in scope
48 | }
49 |
50 | public init(userErrorWhile operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
51 | self.title = "Error \(operation.titleCased)"
52 | self.alertMessage = reason
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:70:26: error: cannot find 'Thread' in scope
68 | }
69 | self.details = nil
70 | self.backtrace = Thread.callStackSymbols
| `- error: cannot find 'Thread' in scope
71 | self.extraInfo = [:]
72 | }
/host/spi-builder-workspace/Sources/Swiftlier/Errors/OtherSwiftlierError.swift:15:81: error: cannot find 'Thread' in scope
13 | public let backtrace: [String]?
14 |
15 | public init(_ error: Error, while operation: String, backtrace: [String]? = Thread.callStackSymbols) {
| `- error: cannot find 'Thread' in scope
16 | self.underlyingError = error
17 | self.operation = operation
[39/65] Compiling Swiftlier GenericSwiftlierError.swift
/host/spi-builder-workspace/Sources/Swiftlier/Enhancements/DispatchQueue+Enhancements.swift:11:11: error: cannot find type 'DispatchQueue' in scope
9 | import Foundation
10 |
11 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
12 | /// Execute the work after a certain number of seconds
13 | ///
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:23:113: error: cannot find 'Thread' in scope
21 | }
22 |
23 | public init(title: String, alertMessage: String, details: String?, isInternal: Bool, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
24 | self.title = title
25 | self.alertMessage = alertMessage
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:50:114: error: cannot find 'Thread' in scope
48 | }
49 |
50 | public init(userErrorWhile operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
51 | self.title = "Error \(operation.titleCased)"
52 | self.alertMessage = reason
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:70:26: error: cannot find 'Thread' in scope
68 | }
69 | self.details = nil
70 | self.backtrace = Thread.callStackSymbols
| `- error: cannot find 'Thread' in scope
71 | self.extraInfo = [:]
72 | }
/host/spi-builder-workspace/Sources/Swiftlier/Errors/OtherSwiftlierError.swift:15:81: error: cannot find 'Thread' in scope
13 | public let backtrace: [String]?
14 |
15 | public init(_ error: Error, while operation: String, backtrace: [String]? = Thread.callStackSymbols) {
| `- error: cannot find 'Thread' in scope
16 | self.underlyingError = error
17 | self.operation = operation
[40/65] Compiling Swiftlier OperationBasedError.swift
/host/spi-builder-workspace/Sources/Swiftlier/Enhancements/DispatchQueue+Enhancements.swift:11:11: error: cannot find type 'DispatchQueue' in scope
9 | import Foundation
10 |
11 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
12 | /// Execute the work after a certain number of seconds
13 | ///
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:23:113: error: cannot find 'Thread' in scope
21 | }
22 |
23 | public init(title: String, alertMessage: String, details: String?, isInternal: Bool, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
24 | self.title = title
25 | self.alertMessage = alertMessage
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:50:114: error: cannot find 'Thread' in scope
48 | }
49 |
50 | public init(userErrorWhile operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
51 | self.title = "Error \(operation.titleCased)"
52 | self.alertMessage = reason
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:70:26: error: cannot find 'Thread' in scope
68 | }
69 | self.details = nil
70 | self.backtrace = Thread.callStackSymbols
| `- error: cannot find 'Thread' in scope
71 | self.extraInfo = [:]
72 | }
/host/spi-builder-workspace/Sources/Swiftlier/Errors/OtherSwiftlierError.swift:15:81: error: cannot find 'Thread' in scope
13 | public let backtrace: [String]?
14 |
15 | public init(_ error: Error, while operation: String, backtrace: [String]? = Thread.callStackSymbols) {
| `- error: cannot find 'Thread' in scope
16 | self.underlyingError = error
17 | self.operation = operation
[41/65] Compiling Swiftlier OtherSwiftlierError.swift
/host/spi-builder-workspace/Sources/Swiftlier/Enhancements/DispatchQueue+Enhancements.swift:11:11: error: cannot find type 'DispatchQueue' in scope
9 | import Foundation
10 |
11 | extension DispatchQueue {
| `- error: cannot find type 'DispatchQueue' in scope
12 | /// Execute the work after a certain number of seconds
13 | ///
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:23:113: error: cannot find 'Thread' in scope
21 | }
22 |
23 | public init(title: String, alertMessage: String, details: String?, isInternal: Bool, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
24 | self.title = title
25 | self.alertMessage = alertMessage
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:50:114: error: cannot find 'Thread' in scope
48 | }
49 |
50 | public init(userErrorWhile operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
51 | self.title = "Error \(operation.titleCased)"
52 | self.alertMessage = reason
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:70:26: error: cannot find 'Thread' in scope
68 | }
69 | self.details = nil
70 | self.backtrace = Thread.callStackSymbols
| `- error: cannot find 'Thread' in scope
71 | self.extraInfo = [:]
72 | }
/host/spi-builder-workspace/Sources/Swiftlier/Errors/OtherSwiftlierError.swift:15:81: error: cannot find 'Thread' in scope
13 | public let backtrace: [String]?
14 |
15 | public init(_ error: Error, while operation: String, backtrace: [String]? = Thread.callStackSymbols) {
| `- error: cannot find 'Thread' in scope
16 | self.underlyingError = error
17 | self.operation = operation
[42/65] Compiling Swiftlier Observable.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
/host/spi-builder-workspace/Sources/Swiftlier/Errors/OtherSwiftlierError.swift:15:81: error: cannot find 'Thread' in scope
13 | public let backtrace: [String]?
14 |
15 | public init(_ error: Error, while operation: String, backtrace: [String]? = Thread.callStackSymbols) {
| `- error: cannot find 'Thread' in scope
16 | self.underlyingError = error
17 | self.operation = operation
[43/65] Compiling Swiftlier ObservableArray.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
/host/spi-builder-workspace/Sources/Swiftlier/Errors/OtherSwiftlierError.swift:15:81: error: cannot find 'Thread' in scope
13 | public let backtrace: [String]?
14 |
15 | public init(_ error: Error, while operation: String, backtrace: [String]? = Thread.callStackSymbols) {
| `- error: cannot find 'Thread' in scope
16 | self.underlyingError = error
17 | self.operation = operation
[44/65] Compiling Swiftlier ObservableDictionary.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
/host/spi-builder-workspace/Sources/Swiftlier/Errors/OtherSwiftlierError.swift:15:81: error: cannot find 'Thread' in scope
13 | public let backtrace: [String]?
14 |
15 | public init(_ error: Error, while operation: String, backtrace: [String]? = Thread.callStackSymbols) {
| `- error: cannot find 'Thread' in scope
16 | self.underlyingError = error
17 | self.operation = operation
[45/65] Compiling Swiftlier ObservableReference.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
/host/spi-builder-workspace/Sources/Swiftlier/Errors/OtherSwiftlierError.swift:15:81: error: cannot find 'Thread' in scope
13 | public let backtrace: [String]?
14 |
15 | public init(_ error: Error, while operation: String, backtrace: [String]? = Thread.callStackSymbols) {
| `- error: cannot find 'Thread' in scope
16 | self.underlyingError = error
17 | self.operation = operation
[46/65] Compiling Swiftlier JSON.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
/host/spi-builder-workspace/Sources/Swiftlier/Errors/OtherSwiftlierError.swift:15:81: error: cannot find 'Thread' in scope
13 | public let backtrace: [String]?
14 |
15 | public init(_ error: Error, while operation: String, backtrace: [String]? = Thread.callStackSymbols) {
| `- error: cannot find 'Thread' in scope
16 | self.underlyingError = error
17 | self.operation = operation
[47/65] Compiling Swiftlier NativeTypesStructured.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
/host/spi-builder-workspace/Sources/Swiftlier/Errors/OtherSwiftlierError.swift:15:81: error: cannot find 'Thread' in scope
13 | public let backtrace: [String]?
14 |
15 | public init(_ error: Error, while operation: String, backtrace: [String]? = Thread.callStackSymbols) {
| `- error: cannot find 'Thread' in scope
16 | self.underlyingError = error
17 | self.operation = operation
[48/65] Compiling Swiftlier Structured.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
/host/spi-builder-workspace/Sources/Swiftlier/Errors/OtherSwiftlierError.swift:15:81: error: cannot find 'Thread' in scope
13 | public let backtrace: [String]?
14 |
15 | public init(_ error: Error, while operation: String, backtrace: [String]? = Thread.callStackSymbols) {
| `- error: cannot find 'Thread' in scope
16 | self.underlyingError = error
17 | self.operation = operation
[49/65] Compiling Swiftlier XML.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/ObservableReference.swift:30:32: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
28 | Store a value that can be observed by external objects
29 | */
30 | public protocol Referenceable: class {}
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
31 | public final class ObservableReference<T: Referenceable> {
32 | public typealias Handler = () -> ()
/host/spi-builder-workspace/Sources/Swiftlier/Errors/OtherSwiftlierError.swift:15:81: error: cannot find 'Thread' in scope
13 | public let backtrace: [String]?
14 |
15 | public init(_ error: Error, while operation: String, backtrace: [String]? = Thread.callStackSymbols) {
| `- error: cannot find 'Thread' in scope
16 | self.underlyingError = error
17 | self.operation = operation
[50/65] Compiling Swiftlier SwiftlierError.swift
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:13:189: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
11 | extension DirectoryPath {
12 | @discardableResult
13 | public func addFile<E: Swift.Encodable>(named: String, containingEncodable encodable: E, userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
14 | let object = try NativeTypesEncoder.object(from: encodable, userInfo: userInfo)
15 | let data = try FileArchive.data(from: object, encrypt: encrypt)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:20:197: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
18 |
19 | @discardableResult
20 | public func addFile<E: Swift.Encodable>(named: String, containingEncodableDict dict: [String:E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
21 | var finalDict = [String:Any]()
22 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:32:192: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
30 |
31 | @discardableResult
32 | public func addFile<E: Swift.Encodable>(named: String, containingEncodableArray array: [E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
33 | var finalArray = [Any]()
34 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:46:177: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
44 | extension Path {
45 | @discardableResult
46 | public func createFile<E: Swift.Encodable>(containingEncodable encodable: E, userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
47 | let name = self.basename
48 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:53:174: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
51 |
52 | @discardableResult
53 | public func createFile<E: Swift.Encodable>(containingEncodableDict encodableDict: [String:E], userInfo: [CodingUserInfoKey:Any] = [:], options: NSData.WritingOptions = .atomic, canOverwrite: Bool, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
54 | let name = self.basename
55 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:60:189: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
58 |
59 | @discardableResult
60 | public func createFile<E: Swift.Encodable>(containingEncodableArray encodableArray: [E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
61 | let name = self.basename
62 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path.swift:197:124: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
195 | }
196 |
197 | public func addFile(named: String, containing data: Data? = nil, canOverwrite: Bool, options: NSData.WritingOptions = .atomic) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
198 | let newUrl = self.url.appendingPathComponent(named)
199 | return try FileSystem.default.createFile(at: newUrl, with: data, canOverwrite: canOverwrite, options: options)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path.swift:242:112: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
240 |
241 | extension Path {
242 | public func createFile(containing data: Data? = nil, canOverwrite: Bool, options: NSData.WritingOptions = .atomic) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
243 | let name = self.basename
244 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
[51/65] Compiling Swiftlier SwiftlierResult.swift
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:13:189: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
11 | extension DirectoryPath {
12 | @discardableResult
13 | public func addFile<E: Swift.Encodable>(named: String, containingEncodable encodable: E, userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
14 | let object = try NativeTypesEncoder.object(from: encodable, userInfo: userInfo)
15 | let data = try FileArchive.data(from: object, encrypt: encrypt)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:20:197: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
18 |
19 | @discardableResult
20 | public func addFile<E: Swift.Encodable>(named: String, containingEncodableDict dict: [String:E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
21 | var finalDict = [String:Any]()
22 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:32:192: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
30 |
31 | @discardableResult
32 | public func addFile<E: Swift.Encodable>(named: String, containingEncodableArray array: [E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
33 | var finalArray = [Any]()
34 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:46:177: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
44 | extension Path {
45 | @discardableResult
46 | public func createFile<E: Swift.Encodable>(containingEncodable encodable: E, userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
47 | let name = self.basename
48 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:53:174: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
51 |
52 | @discardableResult
53 | public func createFile<E: Swift.Encodable>(containingEncodableDict encodableDict: [String:E], userInfo: [CodingUserInfoKey:Any] = [:], options: NSData.WritingOptions = .atomic, canOverwrite: Bool, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
54 | let name = self.basename
55 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:60:189: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
58 |
59 | @discardableResult
60 | public func createFile<E: Swift.Encodable>(containingEncodableArray encodableArray: [E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
61 | let name = self.basename
62 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path.swift:197:124: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
195 | }
196 |
197 | public func addFile(named: String, containing data: Data? = nil, canOverwrite: Bool, options: NSData.WritingOptions = .atomic) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
198 | let newUrl = self.url.appendingPathComponent(named)
199 | return try FileSystem.default.createFile(at: newUrl, with: data, canOverwrite: canOverwrite, options: options)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path.swift:242:112: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
240 |
241 | extension Path {
242 | public func createFile(containing data: Data? = nil, canOverwrite: Bool, options: NSData.WritingOptions = .atomic) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
243 | let name = self.basename
244 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
[52/65] Compiling Swiftlier FileSystem+iOSDirectories.swift
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:13:189: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
11 | extension DirectoryPath {
12 | @discardableResult
13 | public func addFile<E: Swift.Encodable>(named: String, containingEncodable encodable: E, userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
14 | let object = try NativeTypesEncoder.object(from: encodable, userInfo: userInfo)
15 | let data = try FileArchive.data(from: object, encrypt: encrypt)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:20:197: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
18 |
19 | @discardableResult
20 | public func addFile<E: Swift.Encodable>(named: String, containingEncodableDict dict: [String:E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
21 | var finalDict = [String:Any]()
22 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:32:192: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
30 |
31 | @discardableResult
32 | public func addFile<E: Swift.Encodable>(named: String, containingEncodableArray array: [E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
33 | var finalArray = [Any]()
34 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:46:177: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
44 | extension Path {
45 | @discardableResult
46 | public func createFile<E: Swift.Encodable>(containingEncodable encodable: E, userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
47 | let name = self.basename
48 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:53:174: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
51 |
52 | @discardableResult
53 | public func createFile<E: Swift.Encodable>(containingEncodableDict encodableDict: [String:E], userInfo: [CodingUserInfoKey:Any] = [:], options: NSData.WritingOptions = .atomic, canOverwrite: Bool, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
54 | let name = self.basename
55 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:60:189: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
58 |
59 | @discardableResult
60 | public func createFile<E: Swift.Encodable>(containingEncodableArray encodableArray: [E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
61 | let name = self.basename
62 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path.swift:197:124: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
195 | }
196 |
197 | public func addFile(named: String, containing data: Data? = nil, canOverwrite: Bool, options: NSData.WritingOptions = .atomic) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
198 | let newUrl = self.url.appendingPathComponent(named)
199 | return try FileSystem.default.createFile(at: newUrl, with: data, canOverwrite: canOverwrite, options: options)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path.swift:242:112: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
240 |
241 | extension Path {
242 | public func createFile(containing data: Data? = nil, canOverwrite: Bool, options: NSData.WritingOptions = .atomic) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
243 | let name = self.basename
244 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
[53/65] Compiling Swiftlier FileSystem.swift
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:13:189: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
11 | extension DirectoryPath {
12 | @discardableResult
13 | public func addFile<E: Swift.Encodable>(named: String, containingEncodable encodable: E, userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
14 | let object = try NativeTypesEncoder.object(from: encodable, userInfo: userInfo)
15 | let data = try FileArchive.data(from: object, encrypt: encrypt)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:20:197: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
18 |
19 | @discardableResult
20 | public func addFile<E: Swift.Encodable>(named: String, containingEncodableDict dict: [String:E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
21 | var finalDict = [String:Any]()
22 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:32:192: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
30 |
31 | @discardableResult
32 | public func addFile<E: Swift.Encodable>(named: String, containingEncodableArray array: [E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
33 | var finalArray = [Any]()
34 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:46:177: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
44 | extension Path {
45 | @discardableResult
46 | public func createFile<E: Swift.Encodable>(containingEncodable encodable: E, userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
47 | let name = self.basename
48 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:53:174: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
51 |
52 | @discardableResult
53 | public func createFile<E: Swift.Encodable>(containingEncodableDict encodableDict: [String:E], userInfo: [CodingUserInfoKey:Any] = [:], options: NSData.WritingOptions = .atomic, canOverwrite: Bool, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
54 | let name = self.basename
55 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:60:189: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
58 |
59 | @discardableResult
60 | public func createFile<E: Swift.Encodable>(containingEncodableArray encodableArray: [E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
61 | let name = self.basename
62 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path.swift:197:124: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
195 | }
196 |
197 | public func addFile(named: String, containing data: Data? = nil, canOverwrite: Bool, options: NSData.WritingOptions = .atomic) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
198 | let newUrl = self.url.appendingPathComponent(named)
199 | return try FileSystem.default.createFile(at: newUrl, with: data, canOverwrite: canOverwrite, options: options)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path.swift:242:112: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
240 |
241 | extension Path {
242 | public func createFile(containing data: Data? = nil, canOverwrite: Bool, options: NSData.WritingOptions = .atomic) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
243 | let name = self.basename
244 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
[54/65] Compiling Swiftlier Path+Coding.swift
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:13:189: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
11 | extension DirectoryPath {
12 | @discardableResult
13 | public func addFile<E: Swift.Encodable>(named: String, containingEncodable encodable: E, userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
14 | let object = try NativeTypesEncoder.object(from: encodable, userInfo: userInfo)
15 | let data = try FileArchive.data(from: object, encrypt: encrypt)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:20:197: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
18 |
19 | @discardableResult
20 | public func addFile<E: Swift.Encodable>(named: String, containingEncodableDict dict: [String:E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
21 | var finalDict = [String:Any]()
22 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:32:192: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
30 |
31 | @discardableResult
32 | public func addFile<E: Swift.Encodable>(named: String, containingEncodableArray array: [E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
33 | var finalArray = [Any]()
34 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:46:177: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
44 | extension Path {
45 | @discardableResult
46 | public func createFile<E: Swift.Encodable>(containingEncodable encodable: E, userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
47 | let name = self.basename
48 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:53:174: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
51 |
52 | @discardableResult
53 | public func createFile<E: Swift.Encodable>(containingEncodableDict encodableDict: [String:E], userInfo: [CodingUserInfoKey:Any] = [:], options: NSData.WritingOptions = .atomic, canOverwrite: Bool, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
54 | let name = self.basename
55 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:60:189: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
58 |
59 | @discardableResult
60 | public func createFile<E: Swift.Encodable>(containingEncodableArray encodableArray: [E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
61 | let name = self.basename
62 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path.swift:197:124: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
195 | }
196 |
197 | public func addFile(named: String, containing data: Data? = nil, canOverwrite: Bool, options: NSData.WritingOptions = .atomic) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
198 | let newUrl = self.url.appendingPathComponent(named)
199 | return try FileSystem.default.createFile(at: newUrl, with: data, canOverwrite: canOverwrite, options: options)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path.swift:242:112: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
240 |
241 | extension Path {
242 | public func createFile(containing data: Data? = nil, canOverwrite: Bool, options: NSData.WritingOptions = .atomic) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
243 | let name = self.basename
244 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
[55/65] Compiling Swiftlier Path.swift
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:13:189: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
11 | extension DirectoryPath {
12 | @discardableResult
13 | public func addFile<E: Swift.Encodable>(named: String, containingEncodable encodable: E, userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
14 | let object = try NativeTypesEncoder.object(from: encodable, userInfo: userInfo)
15 | let data = try FileArchive.data(from: object, encrypt: encrypt)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:20:197: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
18 |
19 | @discardableResult
20 | public func addFile<E: Swift.Encodable>(named: String, containingEncodableDict dict: [String:E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
21 | var finalDict = [String:Any]()
22 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:32:192: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
30 |
31 | @discardableResult
32 | public func addFile<E: Swift.Encodable>(named: String, containingEncodableArray array: [E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
33 | var finalArray = [Any]()
34 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:46:177: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
44 | extension Path {
45 | @discardableResult
46 | public func createFile<E: Swift.Encodable>(containingEncodable encodable: E, userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
47 | let name = self.basename
48 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:53:174: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
51 |
52 | @discardableResult
53 | public func createFile<E: Swift.Encodable>(containingEncodableDict encodableDict: [String:E], userInfo: [CodingUserInfoKey:Any] = [:], options: NSData.WritingOptions = .atomic, canOverwrite: Bool, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
54 | let name = self.basename
55 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:60:189: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
58 |
59 | @discardableResult
60 | public func createFile<E: Swift.Encodable>(containingEncodableArray encodableArray: [E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
61 | let name = self.basename
62 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path.swift:197:124: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
195 | }
196 |
197 | public func addFile(named: String, containing data: Data? = nil, canOverwrite: Bool, options: NSData.WritingOptions = .atomic) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
198 | let newUrl = self.url.appendingPathComponent(named)
199 | return try FileSystem.default.createFile(at: newUrl, with: data, canOverwrite: canOverwrite, options: options)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path.swift:242:112: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
240 |
241 | extension Path {
242 | public func createFile(containing data: Data? = nil, canOverwrite: Bool, options: NSData.WritingOptions = .atomic) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
243 | let name = self.basename
244 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
[56/65] Compiling Swiftlier PersistenceService.swift
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:13:189: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
11 | extension DirectoryPath {
12 | @discardableResult
13 | public func addFile<E: Swift.Encodable>(named: String, containingEncodable encodable: E, userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
14 | let object = try NativeTypesEncoder.object(from: encodable, userInfo: userInfo)
15 | let data = try FileArchive.data(from: object, encrypt: encrypt)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:20:197: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
18 |
19 | @discardableResult
20 | public func addFile<E: Swift.Encodable>(named: String, containingEncodableDict dict: [String:E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
21 | var finalDict = [String:Any]()
22 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:32:192: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
30 |
31 | @discardableResult
32 | public func addFile<E: Swift.Encodable>(named: String, containingEncodableArray array: [E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
33 | var finalArray = [Any]()
34 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:46:177: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
44 | extension Path {
45 | @discardableResult
46 | public func createFile<E: Swift.Encodable>(containingEncodable encodable: E, userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
47 | let name = self.basename
48 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:53:174: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
51 |
52 | @discardableResult
53 | public func createFile<E: Swift.Encodable>(containingEncodableDict encodableDict: [String:E], userInfo: [CodingUserInfoKey:Any] = [:], options: NSData.WritingOptions = .atomic, canOverwrite: Bool, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
54 | let name = self.basename
55 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:60:189: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
58 |
59 | @discardableResult
60 | public func createFile<E: Swift.Encodable>(containingEncodableArray encodableArray: [E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
61 | let name = self.basename
62 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path.swift:197:124: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
195 | }
196 |
197 | public func addFile(named: String, containing data: Data? = nil, canOverwrite: Bool, options: NSData.WritingOptions = .atomic) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
198 | let newUrl = self.url.appendingPathComponent(named)
199 | return try FileSystem.default.createFile(at: newUrl, with: data, canOverwrite: canOverwrite, options: options)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path.swift:242:112: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
240 |
241 | extension Path {
242 | public func createFile(containing data: Data? = nil, canOverwrite: Bool, options: NSData.WritingOptions = .atomic) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
243 | let name = self.basename
244 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
[57/65] Compiling Swiftlier ReferenceTypePersistenceService.swift
/host/spi-builder-workspace/Sources/Swiftlier/Errors/GenericSwiftlierError.swift:41:105: error: cannot find 'Thread' in scope
39 | }
40 |
41 | public init(while operation: String, reason: String, details: String? = nil, backtrace: [String]? = Thread.callStackSymbols, extraInfo: [String:String] = [:]) {
| `- error: cannot find 'Thread' in scope
42 | self.title = "Error \(operation.titleCased)"
43 | self.alertMessage = "Internal Error. Please try again. If the problem persists please contact support with the following description: \(reason)"
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:13:189: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
11 | extension DirectoryPath {
12 | @discardableResult
13 | public func addFile<E: Swift.Encodable>(named: String, containingEncodable encodable: E, userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
14 | let object = try NativeTypesEncoder.object(from: encodable, userInfo: userInfo)
15 | let data = try FileArchive.data(from: object, encrypt: encrypt)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:20:197: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
18 |
19 | @discardableResult
20 | public func addFile<E: Swift.Encodable>(named: String, containingEncodableDict dict: [String:E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
21 | var finalDict = [String:Any]()
22 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:32:192: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
30 |
31 | @discardableResult
32 | public func addFile<E: Swift.Encodable>(named: String, containingEncodableArray array: [E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
33 | var finalArray = [Any]()
34 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:46:177: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
44 | extension Path {
45 | @discardableResult
46 | public func createFile<E: Swift.Encodable>(containingEncodable encodable: E, userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
47 | let name = self.basename
48 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:53:174: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
51 |
52 | @discardableResult
53 | public func createFile<E: Swift.Encodable>(containingEncodableDict encodableDict: [String:E], userInfo: [CodingUserInfoKey:Any] = [:], options: NSData.WritingOptions = .atomic, canOverwrite: Bool, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
54 | let name = self.basename
55 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path+Coding.swift:60:189: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
58 |
59 | @discardableResult
60 | public func createFile<E: Swift.Encodable>(containingEncodableArray encodableArray: [E], userInfo: [CodingUserInfoKey:Any] = [:], canOverwrite: Bool, options: NSData.WritingOptions = .atomic, encrypt: (Data) throws -> Data = {return $0}) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
61 | let name = self.basename
62 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path.swift:197:124: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
195 | }
196 |
197 | public func addFile(named: String, containing data: Data? = nil, canOverwrite: Bool, options: NSData.WritingOptions = .atomic) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
198 | let newUrl = self.url.appendingPathComponent(named)
199 | return try FileSystem.default.createFile(at: newUrl, with: data, canOverwrite: canOverwrite, options: options)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/Sources/Swiftlier/FileSystem/Path.swift:242:112: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
240 |
241 | extension Path {
242 | public func createFile(containing data: Data? = nil, canOverwrite: Bool, options: NSData.WritingOptions = .atomic) throws -> FilePath {
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
243 | let name = self.basename
244 | let parentDirectory = try FileSystem.default.createDirectoryIfNotExists(at: self.withoutLastComponent.url)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
[58/65] Compiling Swiftlier LimitedQueue.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:14:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
12 | Protcol all events must implemenet to work with EventCenter
13 | */
14 | public protocol EventType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
15 | associatedtype CallbackParam
16 | }
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:123:67: error: cannot find type 'OperationQueue' in scope
121 | private extension EventCenter {
122 | typealias Callback = Any
123 | typealias CallbackSpec = (callback: Callback, operationQueue: OperationQueue?)
| `- error: cannot find type 'OperationQueue' in scope
124 | typealias CallbackCollection = [(observer: WeakWrapper<AnyObject>, callbacks: [CallbackSpec])]
125 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:83:97: error: cannot find type 'OperationQueue' in scope
81 | - parameter callback: callback to be called when the event is triggered
82 | */
83 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, inQueue: OperationQueue?, callback: @escaping (E.CallbackParam) -> ()) {
| `- error: cannot find type 'OperationQueue' in scope
84 | let key = NSStringFromClass(event)
85 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:72:62: error: extra argument 'inQueue' in call
70 | */
71 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, callback: @escaping (E.CallbackParam) -> ()) {
72 | self.addObserver(observer, forEvent: event, inQueue: nil, callback: callback)
| `- error: extra argument 'inQueue' in call
73 | }
74 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:72:62: error: 'nil' requires a contextual type
70 | */
71 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, callback: @escaping (E.CallbackParam) -> ()) {
72 | self.addObserver(observer, forEvent: event, inQueue: nil, callback: callback)
| `- error: 'nil' requires a contextual type
73 | }
74 |
[59/65] Compiling Swiftlier OrderedDictionary.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:14:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
12 | Protcol all events must implemenet to work with EventCenter
13 | */
14 | public protocol EventType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
15 | associatedtype CallbackParam
16 | }
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:123:67: error: cannot find type 'OperationQueue' in scope
121 | private extension EventCenter {
122 | typealias Callback = Any
123 | typealias CallbackSpec = (callback: Callback, operationQueue: OperationQueue?)
| `- error: cannot find type 'OperationQueue' in scope
124 | typealias CallbackCollection = [(observer: WeakWrapper<AnyObject>, callbacks: [CallbackSpec])]
125 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:83:97: error: cannot find type 'OperationQueue' in scope
81 | - parameter callback: callback to be called when the event is triggered
82 | */
83 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, inQueue: OperationQueue?, callback: @escaping (E.CallbackParam) -> ()) {
| `- error: cannot find type 'OperationQueue' in scope
84 | let key = NSStringFromClass(event)
85 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:72:62: error: extra argument 'inQueue' in call
70 | */
71 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, callback: @escaping (E.CallbackParam) -> ()) {
72 | self.addObserver(observer, forEvent: event, inQueue: nil, callback: callback)
| `- error: extra argument 'inQueue' in call
73 | }
74 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:72:62: error: 'nil' requires a contextual type
70 | */
71 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, callback: @escaping (E.CallbackParam) -> ()) {
72 | self.addObserver(observer, forEvent: event, inQueue: nil, callback: callback)
| `- error: 'nil' requires a contextual type
73 | }
74 |
[60/65] Compiling Swiftlier PatchyRange.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:14:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
12 | Protcol all events must implemenet to work with EventCenter
13 | */
14 | public protocol EventType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
15 | associatedtype CallbackParam
16 | }
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:123:67: error: cannot find type 'OperationQueue' in scope
121 | private extension EventCenter {
122 | typealias Callback = Any
123 | typealias CallbackSpec = (callback: Callback, operationQueue: OperationQueue?)
| `- error: cannot find type 'OperationQueue' in scope
124 | typealias CallbackCollection = [(observer: WeakWrapper<AnyObject>, callbacks: [CallbackSpec])]
125 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:83:97: error: cannot find type 'OperationQueue' in scope
81 | - parameter callback: callback to be called when the event is triggered
82 | */
83 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, inQueue: OperationQueue?, callback: @escaping (E.CallbackParam) -> ()) {
| `- error: cannot find type 'OperationQueue' in scope
84 | let key = NSStringFromClass(event)
85 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:72:62: error: extra argument 'inQueue' in call
70 | */
71 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, callback: @escaping (E.CallbackParam) -> ()) {
72 | self.addObserver(observer, forEvent: event, inQueue: nil, callback: callback)
| `- error: extra argument 'inQueue' in call
73 | }
74 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:72:62: error: 'nil' requires a contextual type
70 | */
71 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, callback: @escaping (E.CallbackParam) -> ()) {
72 | self.addObserver(observer, forEvent: event, inQueue: nil, callback: callback)
| `- error: 'nil' requires a contextual type
73 | }
74 |
[61/65] Compiling Swiftlier SelectableValue.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:14:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
12 | Protcol all events must implemenet to work with EventCenter
13 | */
14 | public protocol EventType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
15 | associatedtype CallbackParam
16 | }
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:123:67: error: cannot find type 'OperationQueue' in scope
121 | private extension EventCenter {
122 | typealias Callback = Any
123 | typealias CallbackSpec = (callback: Callback, operationQueue: OperationQueue?)
| `- error: cannot find type 'OperationQueue' in scope
124 | typealias CallbackCollection = [(observer: WeakWrapper<AnyObject>, callbacks: [CallbackSpec])]
125 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:83:97: error: cannot find type 'OperationQueue' in scope
81 | - parameter callback: callback to be called when the event is triggered
82 | */
83 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, inQueue: OperationQueue?, callback: @escaping (E.CallbackParam) -> ()) {
| `- error: cannot find type 'OperationQueue' in scope
84 | let key = NSStringFromClass(event)
85 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:72:62: error: extra argument 'inQueue' in call
70 | */
71 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, callback: @escaping (E.CallbackParam) -> ()) {
72 | self.addObserver(observer, forEvent: event, inQueue: nil, callback: callback)
| `- error: extra argument 'inQueue' in call
73 | }
74 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:72:62: error: 'nil' requires a contextual type
70 | */
71 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, callback: @escaping (E.CallbackParam) -> ()) {
72 | self.addObserver(observer, forEvent: event, inQueue: nil, callback: callback)
| `- error: 'nil' requires a contextual type
73 | }
74 |
[62/65] Compiling Swiftlier Syncable.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:14:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
12 | Protcol all events must implemenet to work with EventCenter
13 | */
14 | public protocol EventType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
15 | associatedtype CallbackParam
16 | }
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:123:67: error: cannot find type 'OperationQueue' in scope
121 | private extension EventCenter {
122 | typealias Callback = Any
123 | typealias CallbackSpec = (callback: Callback, operationQueue: OperationQueue?)
| `- error: cannot find type 'OperationQueue' in scope
124 | typealias CallbackCollection = [(observer: WeakWrapper<AnyObject>, callbacks: [CallbackSpec])]
125 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:83:97: error: cannot find type 'OperationQueue' in scope
81 | - parameter callback: callback to be called when the event is triggered
82 | */
83 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, inQueue: OperationQueue?, callback: @escaping (E.CallbackParam) -> ()) {
| `- error: cannot find type 'OperationQueue' in scope
84 | let key = NSStringFromClass(event)
85 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:72:62: error: extra argument 'inQueue' in call
70 | */
71 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, callback: @escaping (E.CallbackParam) -> ()) {
72 | self.addObserver(observer, forEvent: event, inQueue: nil, callback: callback)
| `- error: extra argument 'inQueue' in call
73 | }
74 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:72:62: error: 'nil' requires a contextual type
70 | */
71 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, callback: @escaping (E.CallbackParam) -> ()) {
72 | self.addObserver(observer, forEvent: event, inQueue: nil, callback: callback)
| `- error: 'nil' requires a contextual type
73 | }
74 |
[63/65] Compiling Swiftlier WeakWrapper.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:14:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
12 | Protcol all events must implemenet to work with EventCenter
13 | */
14 | public protocol EventType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
15 | associatedtype CallbackParam
16 | }
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:123:67: error: cannot find type 'OperationQueue' in scope
121 | private extension EventCenter {
122 | typealias Callback = Any
123 | typealias CallbackSpec = (callback: Callback, operationQueue: OperationQueue?)
| `- error: cannot find type 'OperationQueue' in scope
124 | typealias CallbackCollection = [(observer: WeakWrapper<AnyObject>, callbacks: [CallbackSpec])]
125 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:83:97: error: cannot find type 'OperationQueue' in scope
81 | - parameter callback: callback to be called when the event is triggered
82 | */
83 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, inQueue: OperationQueue?, callback: @escaping (E.CallbackParam) -> ()) {
| `- error: cannot find type 'OperationQueue' in scope
84 | let key = NSStringFromClass(event)
85 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:72:62: error: extra argument 'inQueue' in call
70 | */
71 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, callback: @escaping (E.CallbackParam) -> ()) {
72 | self.addObserver(observer, forEvent: event, inQueue: nil, callback: callback)
| `- error: extra argument 'inQueue' in call
73 | }
74 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:72:62: error: 'nil' requires a contextual type
70 | */
71 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, callback: @escaping (E.CallbackParam) -> ()) {
72 | self.addObserver(observer, forEvent: event, inQueue: nil, callback: callback)
| `- error: 'nil' requires a contextual type
73 | }
74 |
[64/65] Compiling Swiftlier EventCenter.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:14:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
12 | Protcol all events must implemenet to work with EventCenter
13 | */
14 | public protocol EventType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
15 | associatedtype CallbackParam
16 | }
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:123:67: error: cannot find type 'OperationQueue' in scope
121 | private extension EventCenter {
122 | typealias Callback = Any
123 | typealias CallbackSpec = (callback: Callback, operationQueue: OperationQueue?)
| `- error: cannot find type 'OperationQueue' in scope
124 | typealias CallbackCollection = [(observer: WeakWrapper<AnyObject>, callbacks: [CallbackSpec])]
125 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:83:97: error: cannot find type 'OperationQueue' in scope
81 | - parameter callback: callback to be called when the event is triggered
82 | */
83 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, inQueue: OperationQueue?, callback: @escaping (E.CallbackParam) -> ()) {
| `- error: cannot find type 'OperationQueue' in scope
84 | let key = NSStringFromClass(event)
85 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:72:62: error: extra argument 'inQueue' in call
70 | */
71 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, callback: @escaping (E.CallbackParam) -> ()) {
72 | self.addObserver(observer, forEvent: event, inQueue: nil, callback: callback)
| `- error: extra argument 'inQueue' in call
73 | }
74 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:72:62: error: 'nil' requires a contextual type
70 | */
71 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, callback: @escaping (E.CallbackParam) -> ()) {
72 | self.addObserver(observer, forEvent: event, inQueue: nil, callback: callback)
| `- error: 'nil' requires a contextual type
73 | }
74 |
[65/65] Compiling Swiftlier MultiCallback.swift
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:14:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
12 | Protcol all events must implemenet to work with EventCenter
13 | */
14 | public protocol EventType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
15 | associatedtype CallbackParam
16 | }
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:123:67: error: cannot find type 'OperationQueue' in scope
121 | private extension EventCenter {
122 | typealias Callback = Any
123 | typealias CallbackSpec = (callback: Callback, operationQueue: OperationQueue?)
| `- error: cannot find type 'OperationQueue' in scope
124 | typealias CallbackCollection = [(observer: WeakWrapper<AnyObject>, callbacks: [CallbackSpec])]
125 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:83:97: error: cannot find type 'OperationQueue' in scope
81 | - parameter callback: callback to be called when the event is triggered
82 | */
83 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, inQueue: OperationQueue?, callback: @escaping (E.CallbackParam) -> ()) {
| `- error: cannot find type 'OperationQueue' in scope
84 | let key = NSStringFromClass(event)
85 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:72:62: error: extra argument 'inQueue' in call
70 | */
71 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, callback: @escaping (E.CallbackParam) -> ()) {
72 | self.addObserver(observer, forEvent: event, inQueue: nil, callback: callback)
| `- error: extra argument 'inQueue' in call
73 | }
74 |
/host/spi-builder-workspace/Sources/Swiftlier/Model/Observable/EventCenter.swift:72:62: error: 'nil' requires a contextual type
70 | */
71 | open func addObserver<E: EventType>(_ observer: AnyObject, forEvent event: E.Type, callback: @escaping (E.CallbackParam) -> ()) {
72 | self.addObserver(observer, forEvent: event, inQueue: nil, callback: callback)
| `- error: 'nil' requires a contextual type
73 | }
74 |
BUILD FAILURE 6.3 wasm