Build Information
Failed to build Cuckoo, reference master (7cef63), with Swift 6.2 for Wasm on 11 Aug 2026 04:48:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 729ceb5fcd9493dc13ee340bc4f0908bd201f85d
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Brightify/Cuckoo.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Brightify/Cuckoo
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 7cef639 Bump version.
Cloned https://github.com/Brightify/Cuckoo.git
Revision (git rev-parse @):
7cef6391ef36c684759f38a91968bbf97e12e02b
SUCCESS checkout https://github.com/Brightify/Cuckoo.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Brightify/Cuckoo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:70428a4f4110aef5b17a27427e965f31cf3855e8cf1dfdc416ed61c780337965
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/LebJe/TOMLKit
Fetching https://github.com/kylef/Stencil
Fetching https://github.com/tuist/XcodeProj
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/onevcat/Rainbow
[1/1478] Fetching rainbow
[1479/26294] Fetching rainbow, xcodeproj
[1480/49708] Fetching rainbow, xcodeproj, tomlkit
[1481/54992] Fetching rainbow, xcodeproj, tomlkit, stencil
[7315/73267] Fetching rainbow, xcodeproj, tomlkit, stencil, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (0.83s)
Fetching https://github.com/nvzqz/FileKit
Fetched https://github.com/apple/swift-argument-parser from cache (0.84s)
[52771/129981] Fetching xcodeproj, tomlkit, stencil, swift-syntax
Fetched https://github.com/kylef/Stencil from cache (1.15s)
[65053/124697] Fetching xcodeproj, tomlkit, swift-syntax
Fetched https://github.com/LebJe/TOMLKit from cache (1.16s)
Fetched https://github.com/tuist/XcodeProj from cache (1.16s)
[17588/76467] Fetching swift-syntax
[32118/79594] Fetching swift-syntax, filekit
Fetched https://github.com/nvzqz/FileKit from cache (0.64s)
[61939/76467] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (2.89s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (3.76s)
Computing version for https://github.com/LebJe/TOMLKit
Computed https://github.com/LebJe/TOMLKit at 0.6.0 (0.86s)
Computing version for https://github.com/kylef/Stencil
Computed https://github.com/kylef/Stencil at 0.15.1 (0.16s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
[12/2481] Fetching spectre, pathkit
Fetched https://github.com/kylef/Spectre.git from cache (0.48s)
Fetched https://github.com/kylef/PathKit.git from cache (0.48s)
Computing version for https://github.com/nvzqz/FileKit
Computed https://github.com/nvzqz/FileKit at 6.1.0 (0.65s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.16s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.87s)
Computing version for https://github.com/tuist/XcodeProj
Computed https://github.com/tuist/XcodeProj at 9.15.0 (0.14s)
Fetching https://github.com/tadija/AEXML.git
[1/2159] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.93s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.07s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (0.25s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
Creating working copy for https://github.com/LebJe/TOMLKit
Working copy of https://github.com/LebJe/TOMLKit resolved at 0.6.0
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/kylef/Stencil
Working copy of https://github.com/kylef/Stencil resolved at 0.15.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/nvzqz/FileKit
Working copy of https://github.com/nvzqz/FileKit resolved at 6.1.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/tuist/XcodeProj
Working copy of https://github.com/tuist/XcodeProj resolved at 9.15.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.22s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Source/Info.plist
[1/1] Compiling plugin CuckooPluginModular
[2/2] Compiling plugin CuckooPluginSingleFile
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/90] Write sources
[21/90] Compiling _SwiftSyntaxCShims PlatformMutex.c
[21/90] Write sources
[37/90] Compiling _SwiftSyntaxCShims PlatformMutex.c
[38/90] Write swift-version-24593BA9C3E375BF.txt
[39/90] Compiling Conversion.cpp
[40/92] Compiling Date&Time&DateTime.cpp
[41/94] Compiling Node.cpp
[42/94] Compiling Array.cpp
[43/98] Compiling Table.cpp
[45/100] Emitting module SwiftSyntax600
[45/100] Compiling Date&Time&DateTime.cpp
[46/100] Compiling Node.cpp
[47/128] Compiling Table.cpp
[49/130] Compiling SwiftSyntax601 Empty.swift
[50/130] Emitting module SwiftSyntax601
[52/133] Compiling SwiftSyntax600 Empty.swift
[53/133] Emitting module SwiftSyntax600
[55/134] Emitting module SwiftSyntax510
[56/134] Compiling SwiftSyntax510 Empty.swift
[57/135] Emitting module SwiftSyntax602
[58/135] Compiling SwiftSyntax602 Empty.swift
[61/138] Compiling SwiftSyntax510 Empty.swift
[62/138] Emitting module SwiftSyntax510
[63/138] Compiling TOMLKit TOMLCodingKey.swift
[64/138] Compiling TOMLKit TOMLParseError.swift
[65/138] Compiling TOMLKit TOMLType.swift
[66/142] Compiling SwiftSyntax601 Empty.swift
[67/142] Compiling SwiftSyntax509 Empty.swift
[68/142] Emitting module SwiftSyntax601
[69/143] Compiling SwiftSyntax602 Empty.swift
[70/143] Emitting module SwiftSyntax602
[72/145] Compiling SwiftSyntax600 Empty.swift
[74/147] Emitting module SwiftSyntax509
[79/163] Compiling SwiftSyntax509 Empty.swift
[81/310] Compiling SwiftSyntax AbsolutePosition.swift
[82/310] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[83/310] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[84/310] Compiling SwiftSyntax Assert.swift
[85/310] Compiling SwiftSyntax BumpPtrAllocator.swift
[86/314] Compiling SwiftSyntax RawSyntaxTokenView.swift
[87/314] Compiling SwiftSyntax SourceEdit.swift
[88/314] Compiling SwiftSyntax SyntaxNodeStructure.swift
[89/314] Compiling SwiftSyntax SyntaxCollection.swift
[90/314] Compiling SwiftSyntax SyntaxHashable.swift
[91/314] Compiling SwiftSyntax SyntaxIdentifier.swift
[92/314] Compiling SwiftSyntax Identifier.swift
[93/314] Compiling SwiftSyntax SourceLocation.swift
/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:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
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
[94/314] Compiling SwiftSyntax SourcePresence.swift
/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:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
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
[95/314] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
/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:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
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
[96/314] Compiling SwiftSyntax Syntax.swift
/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:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
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
[97/314] Compiling SwiftSyntax SyntaxChildren.swift
/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:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
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
[98/314] Emitting module Rainbow
[100/316] Compiling SwiftSyntax MemoryLayout.swift
[101/316] Compiling SwiftSyntax MissingNodeInitializers.swift
[102/316] Compiling SwiftSyntax RawSyntax.swift
[103/316] Compiling SwiftSyntax RawSyntaxArena.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
983 | public init?(bookmarkData bookData: Data) {
984 | var isStale: ObjCBool = false
985 | let url = try? (NSURL(
| |- error: no exact matches in call to initializer
| |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
| |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
| `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
986 | resolvingBookmarkData: bookData,
987 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
996 | /// - Returns: The `Path` objects bookmarkData.
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
1001 | relativeTo: nil)
1002 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
1002 | }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 | return nil
1014 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 | return nil
1014 | }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 | /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 | public var isUbiquitousItem: Bool {
1020 | return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 | }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 | public func evictUbiquitousItem() throws {
1025 | do {
1026 | return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 | } catch {
1028 | throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: extra arguments at positions #1, #2 in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 | public func setUbiquitous(destination: Path) throws {
1046 | do {
1047 | try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 | } catch {
1049 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 | public func unsetUbiquitous() throws {
1055 | do {
1056 | try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 | } catch {
1058 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 | /// Starts downloading (if necessary) the specified item to the local system.
1063 | func startDownloadingUbiquitous() throws {
1064 | try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 | // TODO need to encapsulate error before exposing it
1066 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 | /// - Parameter groupIdentifier: The group identifier.
1077 | public init?(groupIdentifier: String) {
1078 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1079 | return nil
1080 | }
[107/316] Compiling SwiftSyntax SyntaxProtocol.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
983 | public init?(bookmarkData bookData: Data) {
984 | var isStale: ObjCBool = false
985 | let url = try? (NSURL(
| |- error: no exact matches in call to initializer
| |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
| |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
| `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
986 | resolvingBookmarkData: bookData,
987 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
996 | /// - Returns: The `Path` objects bookmarkData.
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
1001 | relativeTo: nil)
1002 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
1002 | }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 | return nil
1014 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 | return nil
1014 | }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 | /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 | public var isUbiquitousItem: Bool {
1020 | return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 | }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 | public func evictUbiquitousItem() throws {
1025 | do {
1026 | return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 | } catch {
1028 | throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: extra arguments at positions #1, #2 in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 | public func setUbiquitous(destination: Path) throws {
1046 | do {
1047 | try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 | } catch {
1049 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 | public func unsetUbiquitous() throws {
1055 | do {
1056 | try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 | } catch {
1058 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 | /// Starts downloading (if necessary) the specified item to the local system.
1063 | func startDownloadingUbiquitous() throws {
1064 | try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 | // TODO need to encapsulate error before exposing it
1066 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 | /// - Parameter groupIdentifier: The group identifier.
1077 | public init?(groupIdentifier: String) {
1078 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1079 | return nil
1080 | }
[108/316] Compiling SwiftSyntax SyntaxText.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
983 | public init?(bookmarkData bookData: Data) {
984 | var isStale: ObjCBool = false
985 | let url = try? (NSURL(
| |- error: no exact matches in call to initializer
| |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
| |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
| `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
986 | resolvingBookmarkData: bookData,
987 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
996 | /// - Returns: The `Path` objects bookmarkData.
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
1001 | relativeTo: nil)
1002 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
1002 | }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 | return nil
1014 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 | return nil
1014 | }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 | /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 | public var isUbiquitousItem: Bool {
1020 | return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 | }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 | public func evictUbiquitousItem() throws {
1025 | do {
1026 | return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 | } catch {
1028 | throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: extra arguments at positions #1, #2 in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 | public func setUbiquitous(destination: Path) throws {
1046 | do {
1047 | try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 | } catch {
1049 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 | public func unsetUbiquitous() throws {
1055 | do {
1056 | try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 | } catch {
1058 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 | /// Starts downloading (if necessary) the specified item to the local system.
1063 | func startDownloadingUbiquitous() throws {
1064 | try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 | // TODO need to encapsulate error before exposing it
1066 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 | /// - Parameter groupIdentifier: The group identifier.
1077 | public init?(groupIdentifier: String) {
1078 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1079 | return nil
1080 | }
[109/316] Compiling SwiftSyntax SyntaxTreeViewMode.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
983 | public init?(bookmarkData bookData: Data) {
984 | var isStale: ObjCBool = false
985 | let url = try? (NSURL(
| |- error: no exact matches in call to initializer
| |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
| |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
| `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
986 | resolvingBookmarkData: bookData,
987 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
996 | /// - Returns: The `Path` objects bookmarkData.
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
1001 | relativeTo: nil)
1002 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
1002 | }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 | return nil
1014 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 | return nil
1014 | }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 | /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 | public var isUbiquitousItem: Bool {
1020 | return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 | }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 | public func evictUbiquitousItem() throws {
1025 | do {
1026 | return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 | } catch {
1028 | throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: extra arguments at positions #1, #2 in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 | public func setUbiquitous(destination: Path) throws {
1046 | do {
1047 | try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 | } catch {
1049 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 | public func unsetUbiquitous() throws {
1055 | do {
1056 | try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 | } catch {
1058 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 | /// Starts downloading (if necessary) the specified item to the local system.
1063 | func startDownloadingUbiquitous() throws {
1064 | try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 | // TODO need to encapsulate error before exposing it
1066 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 | /// - Parameter groupIdentifier: The group identifier.
1077 | public init?(groupIdentifier: String) {
1078 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1079 | return nil
1080 | }
[110/316] Compiling SwiftSyntax RawSyntaxLayoutView.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
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: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 | }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/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:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
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: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 | }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[111/316] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
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: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 | }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/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:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
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: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 | }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
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: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 | }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/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:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
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: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 | }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
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: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 | }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/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:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
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: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 | }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[116/316] Compiling SwiftSyntax CommonAncestor.swift
[117/316] Compiling SwiftSyntax Convenience.swift
[118/316] Compiling SwiftSyntax CustomTraits.swift
[119/316] Compiling SwiftSyntax EditorPlaceholder.swift
[120/316] Compiling SwiftSyntax SourceLength.swift
[121/316] Emitting module FileKit
[126/316] Emitting module TOMLKit
/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
/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
/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
/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
/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
[149/328] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
error: emit-module command failed with exit code 1 (use -v to see invocation)
[154/328] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
error: emit-module command failed with exit code 1 (use -v to see invocation)
[155/328] 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/NSData+FileKit.swift:30:1: error: type 'NSData' does not conform to protocol 'WritableToFile'
28 | import Foundation
29 |
30 | extension NSData: ReadableWritable, WritableToFile {
| `- error: type 'NSData' does not conform to protocol 'WritableToFile'
31 |
32 | /// Returns data read from the given path.
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:30:1: error: unavailable instance method 'write(toFile:atomically:)' was used to satisfy a requirement of protocol 'WritableToFile': WASI does not support atomic file-writing as it does not have temporary directories
28 | import Foundation
29 |
30 | extension NSData: ReadableWritable, WritableToFile {
| `- error: unavailable instance method 'write(toFile:atomically:)' was used to satisfy a requirement of protocol 'WritableToFile': WASI does not support atomic file-writing as it does not have temporary directories
31 |
32 | /// Returns data read from the given path.
Foundation.NSData.write:3:13: note: 'write(toFile:atomically:)' declared here
1 | class NSData {
2 | @available(*, unavailable, message: "WASI does not support atomic file-writing as it does not have temporary directories")
3 | open func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool}
| `- note: 'write(toFile:atomically:)' declared here
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataType.swift:100:10: note: requirement 'write(toFile:atomically:)' declared here
98 | /// the writing failed.
99 | ///
100 | func write(toFile path: String, atomically useAuxiliaryFile: Bool) -> Bool
| `- note: requirement 'write(toFile:atomically:)' declared here
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 | }
/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 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Data+FileKit.swift:65:65: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
63 | ///
64 | public func write(to path: Path, atomically useAuxiliaryFile: Bool) throws {
65 | let options: Data.WritingOptions = useAuxiliaryFile ? [.atomic] : []
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
66 | try self.write(to: path, options: options)
67 | }
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataFile.swift:87:53: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
85 | // If no option take into account useAuxiliaryFile
86 | let options: Data.WritingOptions = (writingOptions == nil) ?
87 | (useAuxiliaryFile ? Data.WritingOptions.atomic : [])
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
88 | : writingOptions!
89 | try self.write(data, options: options)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/.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 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Data+FileKit.swift:65:65: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
63 | ///
64 | public func write(to path: Path, atomically useAuxiliaryFile: Bool) throws {
65 | let options: Data.WritingOptions = useAuxiliaryFile ? [.atomic] : []
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
66 | try self.write(to: path, options: options)
67 | }
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataFile.swift:87:53: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
85 | // If no option take into account useAuxiliaryFile
86 | let options: Data.WritingOptions = (writingOptions == nil) ?
87 | (useAuxiliaryFile ? Data.WritingOptions.atomic : [])
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
88 | : writingOptions!
89 | try self.write(data, options: options)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/.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 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Data+FileKit.swift:65:65: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
63 | ///
64 | public func write(to path: Path, atomically useAuxiliaryFile: Bool) throws {
65 | let options: Data.WritingOptions = useAuxiliaryFile ? [.atomic] : []
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
66 | try self.write(to: path, options: options)
67 | }
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataFile.swift:87:53: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
85 | // If no option take into account useAuxiliaryFile
86 | let options: Data.WritingOptions = (writingOptions == nil) ?
87 | (useAuxiliaryFile ? Data.WritingOptions.atomic : [])
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
88 | : writingOptions!
89 | try self.write(data, options: options)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/.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 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Data+FileKit.swift:65:65: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
63 | ///
64 | public func write(to path: Path, atomically useAuxiliaryFile: Bool) throws {
65 | let options: Data.WritingOptions = useAuxiliaryFile ? [.atomic] : []
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
66 | try self.write(to: path, options: options)
67 | }
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataFile.swift:87:53: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
85 | // If no option take into account useAuxiliaryFile
86 | let options: Data.WritingOptions = (writingOptions == nil) ?
87 | (useAuxiliaryFile ? Data.WritingOptions.atomic : [])
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
88 | : writingOptions!
89 | try self.write(data, options: options)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/.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 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Data+FileKit.swift:65:65: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
63 | ///
64 | public func write(to path: Path, atomically useAuxiliaryFile: Bool) throws {
65 | let options: Data.WritingOptions = useAuxiliaryFile ? [.atomic] : []
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
66 | try self.write(to: path, options: options)
67 | }
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DataFile.swift:87:53: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
85 | // If no option take into account useAuxiliaryFile
86 | let options: Data.WritingOptions = (writingOptions == nil) ?
87 | (useAuxiliaryFile ? Data.WritingOptions.atomic : [])
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
88 | : writingOptions!
89 | try self.write(data, options: options)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
[164/328] Emitting module PathKit
BUILD FAILURE 6.2 wasm