The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build DataModelKit, reference 1.1.0 (574dbf), with Swift 6.1 for Wasm on 28 May 2025 15:23:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 |                     // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 |                     source!.setCancelHandler { //[unowned self] () in
255 |                         _ = Darwin.close(self.fileDescriptor)
    |                             `- error: cannot find 'Darwin' in scope
256 |                         self.fileDescriptor = -1
257 |                         self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 |     open func close() {
281 |         createWatcher?.stopWatching()
282 |         _ = Darwin.close(self.fileDescriptor)
    |             `- error: cannot find 'Darwin' in scope
283 |         self.fileDescriptor = -1
284 |         self.source = nil
[23/44] Compiling FileKit FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:105:28: error: cannot find type 'DispatchQueue' in scope
103 |
104 |     /// The queue for the watcher.
105 |     fileprivate let queue: DispatchQueue?
    |                            `- error: cannot find type 'DispatchQueue' in scope
106 |
107 |     /// A file descriptor for the path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:111:29: error: cannot find type 'DispatchSourceProtocol' in scope
109 |
110 |     /// A dispatch source to monitor a file descriptor created from the path.
111 |     fileprivate var source: DispatchSourceProtocol?
    |                             `- error: cannot find type 'DispatchSourceProtocol' in scope
112 |
113 |     /// Current events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:136:17: error: cannot find type 'DispatchQueue' in scope
134 |     init(path: Path,
135 |          events: DispatchFileSystemEvents,
136 |          queue: DispatchQueue,
    |                 `- error: cannot find type 'DispatchQueue' in scope
137 |          callback: ((DispatchFileSystemWatcher) -> Void)?
138 |         ) {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:328:30: error: cannot find type 'DispatchQueue' in scope
326 |     /// - Parameter callback: The callback to be called on changes.
327 |     public func watch(_ events: DispatchFileSystemEvents = .All,
328 |                       queue: DispatchQueue = DispatchQueue.global(qos: .default),
    |                              `- error: cannot find type 'DispatchQueue' in scope
329 |                       delegate: DispatchFileSystemWatcherDelegate? = nil,
330 |                       callback: ((DispatchFileSystemWatcher) -> Void)? = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:214:37: error: cannot infer type of closure parameter '$0' without a type annotation
212 |                         let watch = { parent.watch2($0, callback: $1) }
213 |                     #else
214 |                         let watch = { parent.watch($0, callback: $1) }
    |                                     `- error: cannot infer type of closure parameter '$0' without a type annotation
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:214:37: error: cannot infer type of closure parameter '$1' without a type annotation
212 |                         let watch = { parent.watch2($0, callback: $1) }
213 |                     #else
214 |                         let watch = { parent.watch($0, callback: $1) }
    |                                     `- error: cannot infer type of closure parameter '$1' without a type annotation
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:216:44: error: cannot infer contextual base in reference to member 'Write'
214 |                         let watch = { parent.watch($0, callback: $1) }
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
    |                                            `- error: cannot infer contextual base in reference to member 'Write'
217 |                         // stop watching when path created
218 |                         if self?.path.isRegular == true || self?.path.isDirectoryFile == true {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:216:65: error: cannot infer type of closure parameter 'watch' without a type annotation
214 |                         let watch = { parent.watch($0, callback: $1) }
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
    |                                                                 `- error: cannot infer type of closure parameter 'watch' without a type annotation
217 |                         // stop watching when path created
218 |                         if self?.path.isRegular == true || self?.path.isDirectoryFile == true {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 |             if source == nil && fileDescriptor == -1 {
235 |                 fileDescriptor = open(path._safeRawValue, O_EVTONLY)
    |                                                           `- error: cannot find 'O_EVTONLY' in scope
236 |                 if fileDescriptor == -1 { return false }
237 |                 var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:26: error: cannot find 'DispatchSource' in scope
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                          `- error: cannot find 'DispatchSource' in scope
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:111: error: cannot find 'DispatchSource' in scope
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                                                                                                               `- error: cannot find 'DispatchSource' in scope
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 |                     // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 |                     source!.setCancelHandler { //[unowned self] () in
255 |                         _ = Darwin.close(self.fileDescriptor)
    |                             `- error: cannot find 'Darwin' in scope
256 |                         self.fileDescriptor = -1
257 |                         self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 |     open func close() {
281 |         createWatcher?.stopWatching()
282 |         _ = Darwin.close(self.fileDescriptor)
    |             `- error: cannot find 'Darwin' in scope
283 |         self.fileDescriptor = -1
284 |         self.source = nil
[24/44] Compiling FileKit FileKitError.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:105:28: error: cannot find type 'DispatchQueue' in scope
103 |
104 |     /// The queue for the watcher.
105 |     fileprivate let queue: DispatchQueue?
    |                            `- error: cannot find type 'DispatchQueue' in scope
106 |
107 |     /// A file descriptor for the path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:111:29: error: cannot find type 'DispatchSourceProtocol' in scope
109 |
110 |     /// A dispatch source to monitor a file descriptor created from the path.
111 |     fileprivate var source: DispatchSourceProtocol?
    |                             `- error: cannot find type 'DispatchSourceProtocol' in scope
112 |
113 |     /// Current events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:136:17: error: cannot find type 'DispatchQueue' in scope
134 |     init(path: Path,
135 |          events: DispatchFileSystemEvents,
136 |          queue: DispatchQueue,
    |                 `- error: cannot find type 'DispatchQueue' in scope
137 |          callback: ((DispatchFileSystemWatcher) -> Void)?
138 |         ) {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:328:30: error: cannot find type 'DispatchQueue' in scope
326 |     /// - Parameter callback: The callback to be called on changes.
327 |     public func watch(_ events: DispatchFileSystemEvents = .All,
328 |                       queue: DispatchQueue = DispatchQueue.global(qos: .default),
    |                              `- error: cannot find type 'DispatchQueue' in scope
329 |                       delegate: DispatchFileSystemWatcherDelegate? = nil,
330 |                       callback: ((DispatchFileSystemWatcher) -> Void)? = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:214:37: error: cannot infer type of closure parameter '$0' without a type annotation
212 |                         let watch = { parent.watch2($0, callback: $1) }
213 |                     #else
214 |                         let watch = { parent.watch($0, callback: $1) }
    |                                     `- error: cannot infer type of closure parameter '$0' without a type annotation
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:214:37: error: cannot infer type of closure parameter '$1' without a type annotation
212 |                         let watch = { parent.watch2($0, callback: $1) }
213 |                     #else
214 |                         let watch = { parent.watch($0, callback: $1) }
    |                                     `- error: cannot infer type of closure parameter '$1' without a type annotation
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:216:44: error: cannot infer contextual base in reference to member 'Write'
214 |                         let watch = { parent.watch($0, callback: $1) }
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
    |                                            `- error: cannot infer contextual base in reference to member 'Write'
217 |                         // stop watching when path created
218 |                         if self?.path.isRegular == true || self?.path.isDirectoryFile == true {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:216:65: error: cannot infer type of closure parameter 'watch' without a type annotation
214 |                         let watch = { parent.watch($0, callback: $1) }
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
    |                                                                 `- error: cannot infer type of closure parameter 'watch' without a type annotation
217 |                         // stop watching when path created
218 |                         if self?.path.isRegular == true || self?.path.isDirectoryFile == true {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 |             if source == nil && fileDescriptor == -1 {
235 |                 fileDescriptor = open(path._safeRawValue, O_EVTONLY)
    |                                                           `- error: cannot find 'O_EVTONLY' in scope
236 |                 if fileDescriptor == -1 { return false }
237 |                 var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:26: error: cannot find 'DispatchSource' in scope
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                          `- error: cannot find 'DispatchSource' in scope
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:111: error: cannot find 'DispatchSource' in scope
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                                                                                                               `- error: cannot find 'DispatchSource' in scope
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 |                     // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 |                     source!.setCancelHandler { //[unowned self] () in
255 |                         _ = Darwin.close(self.fileDescriptor)
    |                             `- error: cannot find 'Darwin' in scope
256 |                         self.fileDescriptor = -1
257 |                         self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 |     open func close() {
281 |         createWatcher?.stopWatching()
282 |         _ = Darwin.close(self.fileDescriptor)
    |             `- error: cannot find 'Darwin' in scope
283 |         self.fileDescriptor = -1
284 |         self.source = nil
[25/44] Compiling FileKit FilePermissions.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:105:28: error: cannot find type 'DispatchQueue' in scope
103 |
104 |     /// The queue for the watcher.
105 |     fileprivate let queue: DispatchQueue?
    |                            `- error: cannot find type 'DispatchQueue' in scope
106 |
107 |     /// A file descriptor for the path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:111:29: error: cannot find type 'DispatchSourceProtocol' in scope
109 |
110 |     /// A dispatch source to monitor a file descriptor created from the path.
111 |     fileprivate var source: DispatchSourceProtocol?
    |                             `- error: cannot find type 'DispatchSourceProtocol' in scope
112 |
113 |     /// Current events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:136:17: error: cannot find type 'DispatchQueue' in scope
134 |     init(path: Path,
135 |          events: DispatchFileSystemEvents,
136 |          queue: DispatchQueue,
    |                 `- error: cannot find type 'DispatchQueue' in scope
137 |          callback: ((DispatchFileSystemWatcher) -> Void)?
138 |         ) {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:328:30: error: cannot find type 'DispatchQueue' in scope
326 |     /// - Parameter callback: The callback to be called on changes.
327 |     public func watch(_ events: DispatchFileSystemEvents = .All,
328 |                       queue: DispatchQueue = DispatchQueue.global(qos: .default),
    |                              `- error: cannot find type 'DispatchQueue' in scope
329 |                       delegate: DispatchFileSystemWatcherDelegate? = nil,
330 |                       callback: ((DispatchFileSystemWatcher) -> Void)? = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:214:37: error: cannot infer type of closure parameter '$0' without a type annotation
212 |                         let watch = { parent.watch2($0, callback: $1) }
213 |                     #else
214 |                         let watch = { parent.watch($0, callback: $1) }
    |                                     `- error: cannot infer type of closure parameter '$0' without a type annotation
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:214:37: error: cannot infer type of closure parameter '$1' without a type annotation
212 |                         let watch = { parent.watch2($0, callback: $1) }
213 |                     #else
214 |                         let watch = { parent.watch($0, callback: $1) }
    |                                     `- error: cannot infer type of closure parameter '$1' without a type annotation
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:216:44: error: cannot infer contextual base in reference to member 'Write'
214 |                         let watch = { parent.watch($0, callback: $1) }
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
    |                                            `- error: cannot infer contextual base in reference to member 'Write'
217 |                         // stop watching when path created
218 |                         if self?.path.isRegular == true || self?.path.isDirectoryFile == true {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:216:65: error: cannot infer type of closure parameter 'watch' without a type annotation
214 |                         let watch = { parent.watch($0, callback: $1) }
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
    |                                                                 `- error: cannot infer type of closure parameter 'watch' without a type annotation
217 |                         // stop watching when path created
218 |                         if self?.path.isRegular == true || self?.path.isDirectoryFile == true {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 |             if source == nil && fileDescriptor == -1 {
235 |                 fileDescriptor = open(path._safeRawValue, O_EVTONLY)
    |                                                           `- error: cannot find 'O_EVTONLY' in scope
236 |                 if fileDescriptor == -1 { return false }
237 |                 var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:26: error: cannot find 'DispatchSource' in scope
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                          `- error: cannot find 'DispatchSource' in scope
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:111: error: cannot find 'DispatchSource' in scope
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                                                                                                               `- error: cannot find 'DispatchSource' in scope
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 |                     // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 |                     source!.setCancelHandler { //[unowned self] () in
255 |                         _ = Darwin.close(self.fileDescriptor)
    |                             `- error: cannot find 'Darwin' in scope
256 |                         self.fileDescriptor = -1
257 |                         self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 |     open func close() {
281 |         createWatcher?.stopWatching()
282 |         _ = Darwin.close(self.fileDescriptor)
    |             `- error: cannot find 'Darwin' in scope
283 |         self.fileDescriptor = -1
284 |         self.source = nil
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/44] Emitting module FileKit
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:105:28: error: cannot find type 'DispatchQueue' in scope
103 |
104 |     /// The queue for the watcher.
105 |     fileprivate let queue: DispatchQueue?
    |                            `- error: cannot find type 'DispatchQueue' in scope
106 |
107 |     /// A file descriptor for the path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:111:29: error: cannot find type 'DispatchSourceProtocol' in scope
109 |
110 |     /// A dispatch source to monitor a file descriptor created from the path.
111 |     fileprivate var source: DispatchSourceProtocol?
    |                             `- error: cannot find type 'DispatchSourceProtocol' in scope
112 |
113 |     /// Current events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:136:17: error: cannot find type 'DispatchQueue' in scope
134 |     init(path: Path,
135 |          events: DispatchFileSystemEvents,
136 |          queue: DispatchQueue,
    |                 `- error: cannot find type 'DispatchQueue' in scope
137 |          callback: ((DispatchFileSystemWatcher) -> Void)?
138 |         ) {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:328:30: error: cannot find type 'DispatchQueue' in scope
326 |     /// - Parameter callback: The callback to be called on changes.
327 |     public func watch(_ events: DispatchFileSystemEvents = .All,
328 |                       queue: DispatchQueue = DispatchQueue.global(qos: .default),
    |                              `- error: cannot find type 'DispatchQueue' in scope
329 |                       delegate: DispatchFileSystemWatcherDelegate? = nil,
330 |                       callback: ((DispatchFileSystemWatcher) -> Void)? = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:30:1: error: type 'NSArray' does not conform to protocol 'WritableToFile'
28 | import Foundation
29 |
30 | extension NSArray: ReadableWritable, WritableToFile {
   | |- error: type 'NSArray' does not conform to protocol 'WritableToFile'
   | `- note: add stubs for conformance
31 |
32 |     /// Returns an array read from the given path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:100:10: note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
 98 |     ///            the writing failed.
 99 |     ///
100 |     func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
    |          `- note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
101 |
102 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:27:1: error: type 'NSDictionary' does not conform to protocol 'WritableToFile'
25 | import Foundation
26 |
27 | extension NSDictionary: ReadableWritable, WritableToFile {
   | |- error: type 'NSDictionary' does not conform to protocol 'WritableToFile'
   | `- note: add stubs for conformance
28 |
29 |     /// Returns a dictionary read from the given path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:100:10: note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
 98 |     ///            the writing failed.
 99 |     ///
100 |     func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
    |          `- note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
101 |
102 | }
[27/44] Compiling FileKit DataType.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Dictionary+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Dictionary {
39 |         guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
41 |         }
Foundation.NSDictionary.init:2:29: note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
1 | class NSDictionary {
2 | override public convenience init()}
  |                             `- note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:50:12: note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 48 |     /// - Parameter path: The path being read from.
 49 |     ///
 50 |     public init(contentsOfPath path: Path) throws {
    |            `- note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 51 |         self = try Self.read(from: path)
 52 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
[28/44] Compiling FileKit Dictionary+File.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Dictionary+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Dictionary {
39 |         guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
41 |         }
Foundation.NSDictionary.init:2:29: note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
1 | class NSDictionary {
2 | override public convenience init()}
  |                             `- note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:50:12: note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 48 |     /// - Parameter path: The path being read from.
 49 |     ///
 50 |     public init(contentsOfPath path: Path) throws {
    |            `- note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 51 |         self = try Self.read(from: path)
 52 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
[29/44] Compiling FileKit DictionaryFile.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Dictionary+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Dictionary {
39 |         guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
41 |         }
Foundation.NSDictionary.init:2:29: note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
1 | class NSDictionary {
2 | override public convenience init()}
  |                             `- note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:50:12: note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 48 |     /// - Parameter path: The path being read from.
 49 |     ///
 50 |     public init(contentsOfPath path: Path) throws {
    |            `- note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 51 |         self = try Self.read(from: path)
 52 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
[30/44] Compiling FileKit DirectoryEnumerator.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Dictionary+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Dictionary {
39 |         guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
41 |         }
Foundation.NSDictionary.init:2:29: note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
1 | class NSDictionary {
2 | override public convenience init()}
  |                             `- note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:50:12: note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 48 |     /// - Parameter path: The path being read from.
 49 |     ///
 50 |     public init(contentsOfPath path: Path) throws {
    |            `- note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 51 |         self = try Self.read(from: path)
 52 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
[31/44] Compiling FileKit DispatchEvent.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Dictionary+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Dictionary {
39 |         guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
41 |         }
Foundation.NSDictionary.init:2:29: note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
1 | class NSDictionary {
2 | override public convenience init()}
  |                             `- note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:50:12: note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 48 |     /// - Parameter path: The path being read from.
 49 |     ///
 50 |     public init(contentsOfPath path: Path) throws {
    |            `- note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 51 |         self = try Self.read(from: path)
 52 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
[32/44] Compiling FileKit Array+File.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Array+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Array {
39 |         guard let contents = NSArray(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
41 |         }
Foundation.NSArray.init:2:29: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
1 | class NSArray {
2 | required public convenience init(arrayLiteral elements: Any...)}
  |                             `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
3 |
Foundation.NSArray.init:2:20: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
1 | class NSArray {
2 | public convenience init(object anObject: Any)}
  |                    `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
3 |
[33/44] Compiling FileKit ArrayFile.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Array+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Array {
39 |         guard let contents = NSArray(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
41 |         }
Foundation.NSArray.init:2:29: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
1 | class NSArray {
2 | required public convenience init(arrayLiteral elements: Any...)}
  |                             `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
3 |
Foundation.NSArray.init:2:20: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
1 | class NSArray {
2 | public convenience init(object anObject: Any)}
  |                    `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
3 |
[34/44] Compiling FileKit Bundle+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Array+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Array {
39 |         guard let contents = NSArray(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
41 |         }
Foundation.NSArray.init:2:29: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
1 | class NSArray {
2 | required public convenience init(arrayLiteral elements: Any...)}
  |                             `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
3 |
Foundation.NSArray.init:2:20: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
1 | class NSArray {
2 | public convenience init(object anObject: Any)}
  |                    `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
3 |
[35/44] Compiling FileKit Data+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Array+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Array {
39 |         guard let contents = NSArray(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
41 |         }
Foundation.NSArray.init:2:29: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
1 | class NSArray {
2 | required public convenience init(arrayLiteral elements: Any...)}
  |                             `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
3 |
Foundation.NSArray.init:2:20: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
1 | class NSArray {
2 | public convenience init(object anObject: Any)}
  |                    `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
3 |
[36/44] Compiling FileKit DataFile.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Array+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Array {
39 |         guard let contents = NSArray(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
41 |         }
Foundation.NSArray.init:2:29: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
1 | class NSArray {
2 | required public convenience init(arrayLiteral elements: Any...)}
  |                             `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
3 |
Foundation.NSArray.init:2:20: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
1 | class NSArray {
2 | public convenience init(object anObject: Any)}
  |                    `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
3 |
[37/44] Compiling FileKit FileProtection.swift
[38/44] Compiling FileKit FileSystemEvent.swift
[39/44] Compiling FileKit FileSystemEventStream.swift
[40/44] Compiling FileKit FileSystemWatcher.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/37] Emitting module FileKit
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:105:28: error: cannot find type 'DispatchQueue' in scope
103 |
104 |     /// The queue for the watcher.
105 |     fileprivate let queue: DispatchQueue?
    |                            `- error: cannot find type 'DispatchQueue' in scope
106 |
107 |     /// A file descriptor for the path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:111:29: error: cannot find type 'DispatchSourceProtocol' in scope
109 |
110 |     /// A dispatch source to monitor a file descriptor created from the path.
111 |     fileprivate var source: DispatchSourceProtocol?
    |                             `- error: cannot find type 'DispatchSourceProtocol' in scope
112 |
113 |     /// Current events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:136:17: error: cannot find type 'DispatchQueue' in scope
134 |     init(path: Path,
135 |          events: DispatchFileSystemEvents,
136 |          queue: DispatchQueue,
    |                 `- error: cannot find type 'DispatchQueue' in scope
137 |          callback: ((DispatchFileSystemWatcher) -> Void)?
138 |         ) {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:328:30: error: cannot find type 'DispatchQueue' in scope
326 |     /// - Parameter callback: The callback to be called on changes.
327 |     public func watch(_ events: DispatchFileSystemEvents = .All,
328 |                       queue: DispatchQueue = DispatchQueue.global(qos: .default),
    |                              `- error: cannot find type 'DispatchQueue' in scope
329 |                       delegate: DispatchFileSystemWatcherDelegate? = nil,
330 |                       callback: ((DispatchFileSystemWatcher) -> Void)? = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:30:1: error: type 'NSArray' does not conform to protocol 'WritableToFile'
28 | import Foundation
29 |
30 | extension NSArray: ReadableWritable, WritableToFile {
   | |- error: type 'NSArray' does not conform to protocol 'WritableToFile'
   | `- note: add stubs for conformance
31 |
32 |     /// Returns an array read from the given path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:100:10: note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
 98 |     ///            the writing failed.
 99 |     ///
100 |     func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
    |          `- note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
101 |
102 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:27:1: error: type 'NSDictionary' does not conform to protocol 'WritableToFile'
25 | import Foundation
26 |
27 | extension NSDictionary: ReadableWritable, WritableToFile {
   | |- error: type 'NSDictionary' does not conform to protocol 'WritableToFile'
   | `- note: add stubs for conformance
28 |
29 |     /// Returns a dictionary read from the given path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:100:10: note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
 98 |     ///            the writing failed.
 99 |     ///
100 |     func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
    |          `- note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
101 |
102 | }
[3/37] Compiling FileKit NSArray+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:30:1: error: type 'NSArray' does not conform to protocol 'WritableToFile'
28 | import Foundation
29 |
30 | extension NSArray: ReadableWritable, WritableToFile {
   | |- error: type 'NSArray' does not conform to protocol 'WritableToFile'
   | `- note: add stubs for conformance
31 |
32 |     /// Returns an array read from the given path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:100:10: note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
 98 |     ///            the writing failed.
 99 |     ///
100 |     func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
    |          `- note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
101 |
102 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:39: error: incorrect argument label in call (have 'contentsOfFile:', expected 'arrayLiteral:')
34 |     /// - Parameter path: The path an array to be read from.
35 |     public class func read(from path: Path) throws -> Self {
36 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                       `- error: incorrect argument label in call (have 'contentsOfFile:', expected 'arrayLiteral:')
37 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 |         }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |     /// Returns data read from the given path.
33 |     public class func read(from path: Path) throws -> Self {
34 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 |         }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
  |        `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 |     public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 |         do {
43 |             return try self.init(contentsOfFile: path._safeRawValue, options: options)
   |                             `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 |         } catch {
45 |             throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
  |        `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:27:1: error: type 'NSDictionary' does not conform to protocol 'WritableToFile'
25 | import Foundation
26 |
27 | extension NSDictionary: ReadableWritable, WritableToFile {
   | |- error: type 'NSDictionary' does not conform to protocol 'WritableToFile'
   | `- note: add stubs for conformance
28 |
29 |     /// Returns a dictionary read from the given path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:100:10: note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
 98 |     ///            the writing failed.
 99 |     ///
100 |     func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
    |          `- note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
101 |
102 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:39: error: incorrect argument label in call (have 'contentsOfFile:', expected 'contentsOfPath:')
29 |     /// Returns a dictionary read from the given path.
30 |     public class func read(from path: Path) throws -> Self {
31 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                       `- error: incorrect argument label in call (have 'contentsOfFile:', expected 'contentsOfPath:')
32 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 |         }
[4/37] Compiling FileKit NSData+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:30:1: error: type 'NSArray' does not conform to protocol 'WritableToFile'
28 | import Foundation
29 |
30 | extension NSArray: ReadableWritable, WritableToFile {
   | |- error: type 'NSArray' does not conform to protocol 'WritableToFile'
   | `- note: add stubs for conformance
31 |
32 |     /// Returns an array read from the given path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:100:10: note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
 98 |     ///            the writing failed.
 99 |     ///
100 |     func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
    |          `- note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
101 |
102 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:39: error: incorrect argument label in call (have 'contentsOfFile:', expected 'arrayLiteral:')
34 |     /// - Parameter path: The path an array to be read from.
35 |     public class func read(from path: Path) throws -> Self {
36 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                       `- error: incorrect argument label in call (have 'contentsOfFile:', expected 'arrayLiteral:')
37 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 |         }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |     /// Returns data read from the given path.
33 |     public class func read(from path: Path) throws -> Self {
34 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 |         }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
  |        `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 |     public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 |         do {
43 |             return try self.init(contentsOfFile: path._safeRawValue, options: options)
   |                             `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 |         } catch {
45 |             throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
  |        `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:27:1: error: type 'NSDictionary' does not conform to protocol 'WritableToFile'
25 | import Foundation
26 |
27 | extension NSDictionary: ReadableWritable, WritableToFile {
   | |- error: type 'NSDictionary' does not conform to protocol 'WritableToFile'
   | `- note: add stubs for conformance
28 |
29 |     /// Returns a dictionary read from the given path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:100:10: note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
 98 |     ///            the writing failed.
 99 |     ///
100 |     func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
    |          `- note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
101 |
102 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:39: error: incorrect argument label in call (have 'contentsOfFile:', expected 'contentsOfPath:')
29 |     /// Returns a dictionary read from the given path.
30 |     public class func read(from path: Path) throws -> Self {
31 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                       `- error: incorrect argument label in call (have 'contentsOfFile:', expected 'contentsOfPath:')
32 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 |         }
[5/37] Compiling FileKit NSDataFile.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:30:1: error: type 'NSArray' does not conform to protocol 'WritableToFile'
28 | import Foundation
29 |
30 | extension NSArray: ReadableWritable, WritableToFile {
   | |- error: type 'NSArray' does not conform to protocol 'WritableToFile'
   | `- note: add stubs for conformance
31 |
32 |     /// Returns an array read from the given path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:100:10: note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
 98 |     ///            the writing failed.
 99 |     ///
100 |     func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
    |          `- note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
101 |
102 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:39: error: incorrect argument label in call (have 'contentsOfFile:', expected 'arrayLiteral:')
34 |     /// - Parameter path: The path an array to be read from.
35 |     public class func read(from path: Path) throws -> Self {
36 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                       `- error: incorrect argument label in call (have 'contentsOfFile:', expected 'arrayLiteral:')
37 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 |         }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |     /// Returns data read from the given path.
33 |     public class func read(from path: Path) throws -> Self {
34 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 |         }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
  |        `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 |     public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 |         do {
43 |             return try self.init(contentsOfFile: path._safeRawValue, options: options)
   |                             `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 |         } catch {
45 |             throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
  |        `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:27:1: error: type 'NSDictionary' does not conform to protocol 'WritableToFile'
25 | import Foundation
26 |
27 | extension NSDictionary: ReadableWritable, WritableToFile {
   | |- error: type 'NSDictionary' does not conform to protocol 'WritableToFile'
   | `- note: add stubs for conformance
28 |
29 |     /// Returns a dictionary read from the given path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:100:10: note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
 98 |     ///            the writing failed.
 99 |     ///
100 |     func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
    |          `- note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
101 |
102 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:39: error: incorrect argument label in call (have 'contentsOfFile:', expected 'contentsOfPath:')
29 |     /// Returns a dictionary read from the given path.
30 |     public class func read(from path: Path) throws -> Self {
31 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                       `- error: incorrect argument label in call (have 'contentsOfFile:', expected 'contentsOfPath:')
32 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 |         }
[6/37] Compiling FileKit NSDictionary+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:30:1: error: type 'NSArray' does not conform to protocol 'WritableToFile'
28 | import Foundation
29 |
30 | extension NSArray: ReadableWritable, WritableToFile {
   | |- error: type 'NSArray' does not conform to protocol 'WritableToFile'
   | `- note: add stubs for conformance
31 |
32 |     /// Returns an array read from the given path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:100:10: note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
 98 |     ///            the writing failed.
 99 |     ///
100 |     func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
    |          `- note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
101 |
102 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:39: error: incorrect argument label in call (have 'contentsOfFile:', expected 'arrayLiteral:')
34 |     /// - Parameter path: The path an array to be read from.
35 |     public class func read(from path: Path) throws -> Self {
36 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                       `- error: incorrect argument label in call (have 'contentsOfFile:', expected 'arrayLiteral:')
37 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 |         }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |     /// Returns data read from the given path.
33 |     public class func read(from path: Path) throws -> Self {
34 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 |         }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
  |        `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 |     public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 |         do {
43 |             return try self.init(contentsOfFile: path._safeRawValue, options: options)
   |                             `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 |         } catch {
45 |             throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
  |        `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:27:1: error: type 'NSDictionary' does not conform to protocol 'WritableToFile'
25 | import Foundation
26 |
27 | extension NSDictionary: ReadableWritable, WritableToFile {
   | |- error: type 'NSDictionary' does not conform to protocol 'WritableToFile'
   | `- note: add stubs for conformance
28 |
29 |     /// Returns a dictionary read from the given path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:100:10: note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
 98 |     ///            the writing failed.
 99 |     ///
100 |     func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
    |          `- note: protocol requires function 'write(toFile:atomically:)' with type '(String, Bool) -> Bool'
101 |
102 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:39: error: incorrect argument label in call (have 'contentsOfFile:', expected 'contentsOfPath:')
29 |     /// Returns a dictionary read from the given path.
30 |     public class func read(from path: Path) throws -> Self {
31 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                       `- error: incorrect argument label in call (have 'contentsOfFile:', expected 'contentsOfPath:')
32 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 |         }
[7/37] Compiling FileKit Array+File.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Array+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Array {
39 |         guard let contents = NSArray(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
41 |         }
Foundation.NSArray.init:2:29: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
1 | class NSArray {
2 | required public convenience init(arrayLiteral elements: Any...)}
  |                             `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
3 |
Foundation.NSArray.init:2:20: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
1 | class NSArray {
2 | public convenience init(object anObject: Any)}
  |                    `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
3 |
[8/37] Compiling FileKit ArrayFile.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Array+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Array {
39 |         guard let contents = NSArray(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
41 |         }
Foundation.NSArray.init:2:29: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
1 | class NSArray {
2 | required public convenience init(arrayLiteral elements: Any...)}
  |                             `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
3 |
Foundation.NSArray.init:2:20: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
1 | class NSArray {
2 | public convenience init(object anObject: Any)}
  |                    `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
3 |
[9/37] Compiling FileKit Bundle+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Array+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Array {
39 |         guard let contents = NSArray(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
41 |         }
Foundation.NSArray.init:2:29: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
1 | class NSArray {
2 | required public convenience init(arrayLiteral elements: Any...)}
  |                             `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
3 |
Foundation.NSArray.init:2:20: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
1 | class NSArray {
2 | public convenience init(object anObject: Any)}
  |                    `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
3 |
[10/37] Compiling FileKit Data+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Array+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Array {
39 |         guard let contents = NSArray(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
41 |         }
Foundation.NSArray.init:2:29: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
1 | class NSArray {
2 | required public convenience init(arrayLiteral elements: Any...)}
  |                             `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
3 |
Foundation.NSArray.init:2:20: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
1 | class NSArray {
2 | public convenience init(object anObject: Any)}
  |                    `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
3 |
[11/37] Compiling FileKit DataFile.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Array+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Array {
39 |         guard let contents = NSArray(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
41 |         }
Foundation.NSArray.init:2:29: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
1 | class NSArray {
2 | required public convenience init(arrayLiteral elements: Any...)}
  |                             `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(arrayLiteral:)')
3 |
Foundation.NSArray.init:2:20: note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
1 | class NSArray {
2 | public convenience init(object anObject: Any)}
  |                    `- note: incorrect labels for candidate (have: '(contentsOfFile:)', expected: '(object:)')
3 |
[12/41] Compiling FileKit FileType.swift
[13/41] Compiling FileKit Image+FileKit.swift
[14/41] Compiling FileKit ImageFile.swift
[15/41] Compiling FileKit JSONType.swift
[16/41] Compiling FileKit FileProtection.swift
[17/41] Compiling FileKit FileSystemEvent.swift
[18/41] Compiling FileKit FileSystemEventStream.swift
[19/41] Compiling FileKit FileSystemWatcher.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/41] Compiling SWXMLHash shim.swift
[21/41] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[22/41] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
 265 |
 266 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
 267 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
     |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 268 |     required init(_ options: SWXMLHashOptions) {
 269 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 298 |     }
 299 |
 300 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 301 |                 didStartElement elementName: String,
 302 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:317:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 315 |     }
 316 |
 317 |     func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 318 |         if !onMatch() {
 319 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 325 |     }
 326 |
 327 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 328 |         if !onMatch() {
 329 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:339:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 337 |     }
 338 |
 339 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 340 |                 didEndElement elementName: String,
 341 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
 362 |
 363 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
 364 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
     |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 365 |     required init(_ options: SWXMLHashOptions) {
 366 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 393 |     }
 394 |
 395 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 396 |                 didStartElement elementName: String,
 397 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:407:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 405 |     }
 406 |
 407 |     func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 408 |         let current = parentStack.top()
 409 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:413:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 411 |     }
 412 |
 413 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 414 |                 didEndElement elementName: String,
 415 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 418 |     }
 419 |
 420 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 421 |         if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
 422 |             let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:428:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 426 |     }
 427 |
 428 |     func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 429 | #if os(Linux) && !swift(>=4.1.50)
 430 |         if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
[23/41] Compiling SWXMLHash SWXMLHash.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
 265 |
 266 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
 267 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
     |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 268 |     required init(_ options: SWXMLHashOptions) {
 269 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 298 |     }
 299 |
 300 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 301 |                 didStartElement elementName: String,
 302 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:317:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 315 |     }
 316 |
 317 |     func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 318 |         if !onMatch() {
 319 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 325 |     }
 326 |
 327 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 328 |         if !onMatch() {
 329 |             return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:339:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 337 |     }
 338 |
 339 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 340 |                 didEndElement elementName: String,
 341 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
 362 |
 363 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
 364 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
     |                                                 `- error: cannot find type 'XMLParserDelegate' in scope
 365 |     required init(_ options: SWXMLHashOptions) {
 366 |         root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 393 |     }
 394 |
 395 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 396 |                 didStartElement elementName: String,
 397 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:407:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 405 |     }
 406 |
 407 |     func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 408 |         let current = parentStack.top()
 409 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:413:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 411 |     }
 412 |
 413 |     func parser(_ parser: Foundation.XMLParser,
     |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 414 |                 didEndElement elementName: String,
 415 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 418 |     }
 419 |
 420 |     func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 421 |         if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
 422 |             let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:428:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 426 |     }
 427 |
 428 |     func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
     |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 429 | #if os(Linux) && !swift(>=4.1.50)
 430 |         if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:294:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 292 |
 293 |         self.ops = ops
 294 |         let parser = Foundation.XMLParser(data: data!)
     |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 295 |         parser.shouldProcessNamespaces = options.shouldProcessNamespaces
 296 |         parser.delegate = self
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:383:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 381 |         parentStack.push(root)
 382 |
 383 |         let parser = Foundation.XMLParser(data: data)
     |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 384 |         parser.shouldProcessNamespaces = options.shouldProcessNamespaces
 385 |         parser.delegate = self
[24/41] Compiling FileKit DispatchWatcher.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:105:28: error: cannot find type 'DispatchQueue' in scope
103 |
104 |     /// The queue for the watcher.
105 |     fileprivate let queue: DispatchQueue?
    |                            `- error: cannot find type 'DispatchQueue' in scope
106 |
107 |     /// A file descriptor for the path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:111:29: error: cannot find type 'DispatchSourceProtocol' in scope
109 |
110 |     /// A dispatch source to monitor a file descriptor created from the path.
111 |     fileprivate var source: DispatchSourceProtocol?
    |                             `- error: cannot find type 'DispatchSourceProtocol' in scope
112 |
113 |     /// Current events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:136:17: error: cannot find type 'DispatchQueue' in scope
134 |     init(path: Path,
135 |          events: DispatchFileSystemEvents,
136 |          queue: DispatchQueue,
    |                 `- error: cannot find type 'DispatchQueue' in scope
137 |          callback: ((DispatchFileSystemWatcher) -> Void)?
138 |         ) {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:328:30: error: cannot find type 'DispatchQueue' in scope
326 |     /// - Parameter callback: The callback to be called on changes.
327 |     public func watch(_ events: DispatchFileSystemEvents = .All,
328 |                       queue: DispatchQueue = DispatchQueue.global(qos: .default),
    |                              `- error: cannot find type 'DispatchQueue' in scope
329 |                       delegate: DispatchFileSystemWatcherDelegate? = nil,
330 |                       callback: ((DispatchFileSystemWatcher) -> Void)? = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:214:37: error: cannot infer type of closure parameter '$0' without a type annotation
212 |                         let watch = { parent.watch2($0, callback: $1) }
213 |                     #else
214 |                         let watch = { parent.watch($0, callback: $1) }
    |                                     `- error: cannot infer type of closure parameter '$0' without a type annotation
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:214:37: error: cannot infer type of closure parameter '$1' without a type annotation
212 |                         let watch = { parent.watch2($0, callback: $1) }
213 |                     #else
214 |                         let watch = { parent.watch($0, callback: $1) }
    |                                     `- error: cannot infer type of closure parameter '$1' without a type annotation
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:216:44: error: cannot infer contextual base in reference to member 'Write'
214 |                         let watch = { parent.watch($0, callback: $1) }
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
    |                                            `- error: cannot infer contextual base in reference to member 'Write'
217 |                         // stop watching when path created
218 |                         if self?.path.isRegular == true || self?.path.isDirectoryFile == true {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:216:65: error: cannot infer type of closure parameter 'watch' without a type annotation
214 |                         let watch = { parent.watch($0, callback: $1) }
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
    |                                                                 `- error: cannot infer type of closure parameter 'watch' without a type annotation
217 |                         // stop watching when path created
218 |                         if self?.path.isRegular == true || self?.path.isDirectoryFile == true {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 |             if source == nil && fileDescriptor == -1 {
235 |                 fileDescriptor = open(path._safeRawValue, O_EVTONLY)
    |                                                           `- error: cannot find 'O_EVTONLY' in scope
236 |                 if fileDescriptor == -1 { return false }
237 |                 var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:26: error: cannot find 'DispatchSource' in scope
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                          `- error: cannot find 'DispatchSource' in scope
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:111: error: cannot find 'DispatchSource' in scope
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                                                                                                               `- error: cannot find 'DispatchSource' in scope
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 |                     // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 |                     source!.setCancelHandler { //[unowned self] () in
255 |                         _ = Darwin.close(self.fileDescriptor)
    |                             `- error: cannot find 'Darwin' in scope
256 |                         self.fileDescriptor = -1
257 |                         self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 |     open func close() {
281 |         createWatcher?.stopWatching()
282 |         _ = Darwin.close(self.fileDescriptor)
    |             `- error: cannot find 'Darwin' in scope
283 |         self.fileDescriptor = -1
284 |         self.source = nil
[25/41] Compiling FileKit File.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:105:28: error: cannot find type 'DispatchQueue' in scope
103 |
104 |     /// The queue for the watcher.
105 |     fileprivate let queue: DispatchQueue?
    |                            `- error: cannot find type 'DispatchQueue' in scope
106 |
107 |     /// A file descriptor for the path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:111:29: error: cannot find type 'DispatchSourceProtocol' in scope
109 |
110 |     /// A dispatch source to monitor a file descriptor created from the path.
111 |     fileprivate var source: DispatchSourceProtocol?
    |                             `- error: cannot find type 'DispatchSourceProtocol' in scope
112 |
113 |     /// Current events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:136:17: error: cannot find type 'DispatchQueue' in scope
134 |     init(path: Path,
135 |          events: DispatchFileSystemEvents,
136 |          queue: DispatchQueue,
    |                 `- error: cannot find type 'DispatchQueue' in scope
137 |          callback: ((DispatchFileSystemWatcher) -> Void)?
138 |         ) {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:328:30: error: cannot find type 'DispatchQueue' in scope
326 |     /// - Parameter callback: The callback to be called on changes.
327 |     public func watch(_ events: DispatchFileSystemEvents = .All,
328 |                       queue: DispatchQueue = DispatchQueue.global(qos: .default),
    |                              `- error: cannot find type 'DispatchQueue' in scope
329 |                       delegate: DispatchFileSystemWatcherDelegate? = nil,
330 |                       callback: ((DispatchFileSystemWatcher) -> Void)? = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:214:37: error: cannot infer type of closure parameter '$0' without a type annotation
212 |                         let watch = { parent.watch2($0, callback: $1) }
213 |                     #else
214 |                         let watch = { parent.watch($0, callback: $1) }
    |                                     `- error: cannot infer type of closure parameter '$0' without a type annotation
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:214:37: error: cannot infer type of closure parameter '$1' without a type annotation
212 |                         let watch = { parent.watch2($0, callback: $1) }
213 |                     #else
214 |                         let watch = { parent.watch($0, callback: $1) }
    |                                     `- error: cannot infer type of closure parameter '$1' without a type annotation
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:216:44: error: cannot infer contextual base in reference to member 'Write'
214 |                         let watch = { parent.watch($0, callback: $1) }
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
    |                                            `- error: cannot infer contextual base in reference to member 'Write'
217 |                         // stop watching when path created
218 |                         if self?.path.isRegular == true || self?.path.isDirectoryFile == true {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:216:65: error: cannot infer type of closure parameter 'watch' without a type annotation
214 |                         let watch = { parent.watch($0, callback: $1) }
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
    |                                                                 `- error: cannot infer type of closure parameter 'watch' without a type annotation
217 |                         // stop watching when path created
218 |                         if self?.path.isRegular == true || self?.path.isDirectoryFile == true {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 |             if source == nil && fileDescriptor == -1 {
235 |                 fileDescriptor = open(path._safeRawValue, O_EVTONLY)
    |                                                           `- error: cannot find 'O_EVTONLY' in scope
236 |                 if fileDescriptor == -1 { return false }
237 |                 var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:26: error: cannot find 'DispatchSource' in scope
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                          `- error: cannot find 'DispatchSource' in scope
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:111: error: cannot find 'DispatchSource' in scope
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                                                                                                               `- error: cannot find 'DispatchSource' in scope
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 |                     // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 |                     source!.setCancelHandler { //[unowned self] () in
255 |                         _ = Darwin.close(self.fileDescriptor)
    |                             `- error: cannot find 'Darwin' in scope
256 |                         self.fileDescriptor = -1
257 |                         self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 |     open func close() {
281 |         createWatcher?.stopWatching()
282 |         _ = Darwin.close(self.fileDescriptor)
    |             `- error: cannot find 'Darwin' in scope
283 |         self.fileDescriptor = -1
284 |         self.source = nil
[26/41] Compiling FileKit FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:105:28: error: cannot find type 'DispatchQueue' in scope
103 |
104 |     /// The queue for the watcher.
105 |     fileprivate let queue: DispatchQueue?
    |                            `- error: cannot find type 'DispatchQueue' in scope
106 |
107 |     /// A file descriptor for the path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:111:29: error: cannot find type 'DispatchSourceProtocol' in scope
109 |
110 |     /// A dispatch source to monitor a file descriptor created from the path.
111 |     fileprivate var source: DispatchSourceProtocol?
    |                             `- error: cannot find type 'DispatchSourceProtocol' in scope
112 |
113 |     /// Current events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:136:17: error: cannot find type 'DispatchQueue' in scope
134 |     init(path: Path,
135 |          events: DispatchFileSystemEvents,
136 |          queue: DispatchQueue,
    |                 `- error: cannot find type 'DispatchQueue' in scope
137 |          callback: ((DispatchFileSystemWatcher) -> Void)?
138 |         ) {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:328:30: error: cannot find type 'DispatchQueue' in scope
326 |     /// - Parameter callback: The callback to be called on changes.
327 |     public func watch(_ events: DispatchFileSystemEvents = .All,
328 |                       queue: DispatchQueue = DispatchQueue.global(qos: .default),
    |                              `- error: cannot find type 'DispatchQueue' in scope
329 |                       delegate: DispatchFileSystemWatcherDelegate? = nil,
330 |                       callback: ((DispatchFileSystemWatcher) -> Void)? = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:214:37: error: cannot infer type of closure parameter '$0' without a type annotation
212 |                         let watch = { parent.watch2($0, callback: $1) }
213 |                     #else
214 |                         let watch = { parent.watch($0, callback: $1) }
    |                                     `- error: cannot infer type of closure parameter '$0' without a type annotation
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:214:37: error: cannot infer type of closure parameter '$1' without a type annotation
212 |                         let watch = { parent.watch2($0, callback: $1) }
213 |                     #else
214 |                         let watch = { parent.watch($0, callback: $1) }
    |                                     `- error: cannot infer type of closure parameter '$1' without a type annotation
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:216:44: error: cannot infer contextual base in reference to member 'Write'
214 |                         let watch = { parent.watch($0, callback: $1) }
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
    |                                            `- error: cannot infer contextual base in reference to member 'Write'
217 |                         // stop watching when path created
218 |                         if self?.path.isRegular == true || self?.path.isDirectoryFile == true {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:216:65: error: cannot infer type of closure parameter 'watch' without a type annotation
214 |                         let watch = { parent.watch($0, callback: $1) }
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
    |                                                                 `- error: cannot infer type of closure parameter 'watch' without a type annotation
217 |                         // stop watching when path created
218 |                         if self?.path.isRegular == true || self?.path.isDirectoryFile == true {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 |             if source == nil && fileDescriptor == -1 {
235 |                 fileDescriptor = open(path._safeRawValue, O_EVTONLY)
    |                                                           `- error: cannot find 'O_EVTONLY' in scope
236 |                 if fileDescriptor == -1 { return false }
237 |                 var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:26: error: cannot find 'DispatchSource' in scope
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                          `- error: cannot find 'DispatchSource' in scope
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:111: error: cannot find 'DispatchSource' in scope
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                                                                                                               `- error: cannot find 'DispatchSource' in scope
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 |                     // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 |                     source!.setCancelHandler { //[unowned self] () in
255 |                         _ = Darwin.close(self.fileDescriptor)
    |                             `- error: cannot find 'Darwin' in scope
256 |                         self.fileDescriptor = -1
257 |                         self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 |     open func close() {
281 |         createWatcher?.stopWatching()
282 |         _ = Darwin.close(self.fileDescriptor)
    |             `- error: cannot find 'Darwin' in scope
283 |         self.fileDescriptor = -1
284 |         self.source = nil
[27/41] Compiling FileKit FileKitError.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:105:28: error: cannot find type 'DispatchQueue' in scope
103 |
104 |     /// The queue for the watcher.
105 |     fileprivate let queue: DispatchQueue?
    |                            `- error: cannot find type 'DispatchQueue' in scope
106 |
107 |     /// A file descriptor for the path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:111:29: error: cannot find type 'DispatchSourceProtocol' in scope
109 |
110 |     /// A dispatch source to monitor a file descriptor created from the path.
111 |     fileprivate var source: DispatchSourceProtocol?
    |                             `- error: cannot find type 'DispatchSourceProtocol' in scope
112 |
113 |     /// Current events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:136:17: error: cannot find type 'DispatchQueue' in scope
134 |     init(path: Path,
135 |          events: DispatchFileSystemEvents,
136 |          queue: DispatchQueue,
    |                 `- error: cannot find type 'DispatchQueue' in scope
137 |          callback: ((DispatchFileSystemWatcher) -> Void)?
138 |         ) {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:328:30: error: cannot find type 'DispatchQueue' in scope
326 |     /// - Parameter callback: The callback to be called on changes.
327 |     public func watch(_ events: DispatchFileSystemEvents = .All,
328 |                       queue: DispatchQueue = DispatchQueue.global(qos: .default),
    |                              `- error: cannot find type 'DispatchQueue' in scope
329 |                       delegate: DispatchFileSystemWatcherDelegate? = nil,
330 |                       callback: ((DispatchFileSystemWatcher) -> Void)? = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:214:37: error: cannot infer type of closure parameter '$0' without a type annotation
212 |                         let watch = { parent.watch2($0, callback: $1) }
213 |                     #else
214 |                         let watch = { parent.watch($0, callback: $1) }
    |                                     `- error: cannot infer type of closure parameter '$0' without a type annotation
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:214:37: error: cannot infer type of closure parameter '$1' without a type annotation
212 |                         let watch = { parent.watch2($0, callback: $1) }
213 |                     #else
214 |                         let watch = { parent.watch($0, callback: $1) }
    |                                     `- error: cannot infer type of closure parameter '$1' without a type annotation
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:216:44: error: cannot infer contextual base in reference to member 'Write'
214 |                         let watch = { parent.watch($0, callback: $1) }
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
    |                                            `- error: cannot infer contextual base in reference to member 'Write'
217 |                         // stop watching when path created
218 |                         if self?.path.isRegular == true || self?.path.isDirectoryFile == true {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:216:65: error: cannot infer type of closure parameter 'watch' without a type annotation
214 |                         let watch = { parent.watch($0, callback: $1) }
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
    |                                                                 `- error: cannot infer type of closure parameter 'watch' without a type annotation
217 |                         // stop watching when path created
218 |                         if self?.path.isRegular == true || self?.path.isDirectoryFile == true {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 |             if source == nil && fileDescriptor == -1 {
235 |                 fileDescriptor = open(path._safeRawValue, O_EVTONLY)
    |                                                           `- error: cannot find 'O_EVTONLY' in scope
236 |                 if fileDescriptor == -1 { return false }
237 |                 var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:26: error: cannot find 'DispatchSource' in scope
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                          `- error: cannot find 'DispatchSource' in scope
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:111: error: cannot find 'DispatchSource' in scope
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                                                                                                               `- error: cannot find 'DispatchSource' in scope
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 |                     // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 |                     source!.setCancelHandler { //[unowned self] () in
255 |                         _ = Darwin.close(self.fileDescriptor)
    |                             `- error: cannot find 'Darwin' in scope
256 |                         self.fileDescriptor = -1
257 |                         self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 |     open func close() {
281 |         createWatcher?.stopWatching()
282 |         _ = Darwin.close(self.fileDescriptor)
    |             `- error: cannot find 'Darwin' in scope
283 |         self.fileDescriptor = -1
284 |         self.source = nil
[28/41] Compiling FileKit FilePermissions.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:105:28: error: cannot find type 'DispatchQueue' in scope
103 |
104 |     /// The queue for the watcher.
105 |     fileprivate let queue: DispatchQueue?
    |                            `- error: cannot find type 'DispatchQueue' in scope
106 |
107 |     /// A file descriptor for the path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:111:29: error: cannot find type 'DispatchSourceProtocol' in scope
109 |
110 |     /// A dispatch source to monitor a file descriptor created from the path.
111 |     fileprivate var source: DispatchSourceProtocol?
    |                             `- error: cannot find type 'DispatchSourceProtocol' in scope
112 |
113 |     /// Current events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:136:17: error: cannot find type 'DispatchQueue' in scope
134 |     init(path: Path,
135 |          events: DispatchFileSystemEvents,
136 |          queue: DispatchQueue,
    |                 `- error: cannot find type 'DispatchQueue' in scope
137 |          callback: ((DispatchFileSystemWatcher) -> Void)?
138 |         ) {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:328:30: error: cannot find type 'DispatchQueue' in scope
326 |     /// - Parameter callback: The callback to be called on changes.
327 |     public func watch(_ events: DispatchFileSystemEvents = .All,
328 |                       queue: DispatchQueue = DispatchQueue.global(qos: .default),
    |                              `- error: cannot find type 'DispatchQueue' in scope
329 |                       delegate: DispatchFileSystemWatcherDelegate? = nil,
330 |                       callback: ((DispatchFileSystemWatcher) -> Void)? = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:214:37: error: cannot infer type of closure parameter '$0' without a type annotation
212 |                         let watch = { parent.watch2($0, callback: $1) }
213 |                     #else
214 |                         let watch = { parent.watch($0, callback: $1) }
    |                                     `- error: cannot infer type of closure parameter '$0' without a type annotation
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:214:37: error: cannot infer type of closure parameter '$1' without a type annotation
212 |                         let watch = { parent.watch2($0, callback: $1) }
213 |                     #else
214 |                         let watch = { parent.watch($0, callback: $1) }
    |                                     `- error: cannot infer type of closure parameter '$1' without a type annotation
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:216:44: error: cannot infer contextual base in reference to member 'Write'
214 |                         let watch = { parent.watch($0, callback: $1) }
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
    |                                            `- error: cannot infer contextual base in reference to member 'Write'
217 |                         // stop watching when path created
218 |                         if self?.path.isRegular == true || self?.path.isDirectoryFile == true {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:216:65: error: cannot infer type of closure parameter 'watch' without a type annotation
214 |                         let watch = { parent.watch($0, callback: $1) }
215 |                     #endif
216 |                     createWatcher = watch(.Write) { [weak self] watch in
    |                                                                 `- error: cannot infer type of closure parameter 'watch' without a type annotation
217 |                         // stop watching when path created
218 |                         if self?.path.isRegular == true || self?.path.isDirectoryFile == true {
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 |             if source == nil && fileDescriptor == -1 {
235 |                 fileDescriptor = open(path._safeRawValue, O_EVTONLY)
    |                                                           `- error: cannot find 'O_EVTONLY' in scope
236 |                 if fileDescriptor == -1 { return false }
237 |                 var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:26: error: cannot find 'DispatchSource' in scope
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                          `- error: cannot find 'DispatchSource' in scope
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:111: error: cannot find 'DispatchSource' in scope
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                                                                                                               `- error: cannot find 'DispatchSource' in scope
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 |                     // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 |                     source!.setCancelHandler { //[unowned self] () in
255 |                         _ = Darwin.close(self.fileDescriptor)
    |                             `- error: cannot find 'Darwin' in scope
256 |                         self.fileDescriptor = -1
257 |                         self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 |     open func close() {
281 |         createWatcher?.stopWatching()
282 |         _ = Darwin.close(self.fileDescriptor)
    |             `- error: cannot find 'Darwin' in scope
283 |         self.fileDescriptor = -1
284 |         self.source = nil
[29/41] Compiling FileKit DataType.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Dictionary+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Dictionary {
39 |         guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
41 |         }
Foundation.NSDictionary.init:2:29: note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
1 | class NSDictionary {
2 | override public convenience init()}
  |                             `- note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:50:12: note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 48 |     /// - Parameter path: The path being read from.
 49 |     ///
 50 |     public init(contentsOfPath path: Path) throws {
    |            `- note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 51 |         self = try Self.read(from: path)
 52 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
[30/41] Compiling FileKit Dictionary+File.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Dictionary+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Dictionary {
39 |         guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
41 |         }
Foundation.NSDictionary.init:2:29: note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
1 | class NSDictionary {
2 | override public convenience init()}
  |                             `- note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:50:12: note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 48 |     /// - Parameter path: The path being read from.
 49 |     ///
 50 |     public init(contentsOfPath path: Path) throws {
    |            `- note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 51 |         self = try Self.read(from: path)
 52 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
[31/41] Compiling FileKit DictionaryFile.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Dictionary+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Dictionary {
39 |         guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
41 |         }
Foundation.NSDictionary.init:2:29: note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
1 | class NSDictionary {
2 | override public convenience init()}
  |                             `- note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:50:12: note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 48 |     /// - Parameter path: The path being read from.
 49 |     ///
 50 |     public init(contentsOfPath path: Path) throws {
    |            `- note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 51 |         self = try Self.read(from: path)
 52 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
[32/41] Compiling FileKit DirectoryEnumerator.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Dictionary+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Dictionary {
39 |         guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
41 |         }
Foundation.NSDictionary.init:2:29: note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
1 | class NSDictionary {
2 | override public convenience init()}
  |                             `- note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:50:12: note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 48 |     /// - Parameter path: The path being read from.
 49 |     ///
 50 |     public init(contentsOfPath path: Path) throws {
    |            `- note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 51 |         self = try Self.read(from: path)
 52 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
[33/41] Compiling FileKit DispatchEvent.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Dictionary+File.swift:39:30: error: no exact matches in call to initializer
37 |     ///
38 |     public static func read(from path: Path) throws -> Dictionary {
39 |         guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
   |                              `- error: no exact matches in call to initializer
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
41 |         }
Foundation.NSDictionary.init:2:29: note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
1 | class NSDictionary {
2 | override public convenience init()}
  |                             `- note: candidate '() -> NSDictionary' has 1 parameter, but context '() -> NSDictionary' has 0
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:50:12: note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 48 |     /// - Parameter path: The path being read from.
 49 |     ///
 50 |     public init(contentsOfPath path: Path) throws {
    |            `- note: candidate expects value of type 'Path' for parameter #1 (got 'String')
 51 |         self = try Self.read(from: path)
 52 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:17:67: error: cannot find 'DispatchSource' in scope
15 |
16 |     /// The file-system object was deleted from the namespace.
17 |     public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:20:66: error: cannot find 'DispatchSource' in scope
18 |
19 |     /// The file-system object data changed.
20 |     public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
   |                                                                  `- error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:23:67: error: cannot find 'DispatchSource' in scope
21 |
22 |     /// The file-system object changed in size.
23 |     public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:26:70: error: cannot find 'DispatchSource' in scope
24 |
25 |     /// The file-system object metadata changed.
26 |     public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
   |                                                                      `- error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:29:65: error: cannot find 'DispatchSource' in scope
27 |
28 |     /// The file-system object link count changed.
29 |     public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
   |                                                                 `- error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:32:67: error: cannot find 'DispatchSource' in scope
30 |
31 |     /// The file-system object was renamed in the namespace.
32 |     public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchEvent.swift:35:67: error: cannot find 'DispatchSource' in scope
33 |
34 |     /// The file-system object was revoked.
35 |     public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
   |                                                                   `- error: cannot find 'DispatchSource' in scope
36 |
37 |     /// The file-system object was created.
BUILD FAILURE 6.1 wasm