Build Information
Failed to build Cuckoo, reference master (8c94a2
), with Swift 6.0 for Linux on 30 Jul 2025 23:03:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
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 8c94a21 Bump version.
Cloned https://github.com/Brightify/Cuckoo.git
Revision (git rev-parse @):
8c94a21c0258b2637cbbe1218624aafa7eaa6b97
SUCCESS checkout https://github.com/Brightify/Cuckoo.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/Brightify/Cuckoo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:f0ebbd71bee66c692411a61ab9a7ee6edc82316b7a7b4c6173cc06c00f20ed39
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/LebJe/TOMLKit.git
[1/1335] Fetching rainbow
[1336/24789] Fetching rainbow, xcodeproj
[1337/48203] Fetching rainbow, xcodeproj, tomlkit
[15162/119570] Fetching rainbow, xcodeproj, tomlkit, swift-syntax
[37503/135149] Fetching rainbow, xcodeproj, tomlkit, swift-syntax, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (1.36s)
[92790/133814] Fetching xcodeproj, tomlkit, swift-syntax, swift-argument-parser
Fetched https://github.com/LebJe/TOMLKit.git from cache (1.38s)
[70435/110400] Fetching xcodeproj, swift-syntax, swift-argument-parser
Fetching https://github.com/nvzqz/FileKit.git
Fetched https://github.com/apple/swift-argument-parser from cache (1.40s)
[56283/94821] Fetching xcodeproj, swift-syntax
[74126/97944] Fetching xcodeproj, swift-syntax, filekit
Fetched https://github.com/nvzqz/FileKit.git from cache (0.52s)
Fetching https://github.com/kylef/Stencil.git
Fetched https://github.com/tuist/XcodeProj.git from cache (4.36s)
Fetched https://github.com/swiftlang/swift-syntax from cache (4.37s)
[1/5293] Fetching stencil
Fetched https://github.com/kylef/Stencil.git from cache (0.33s)
Computing version for https://github.com/kylef/Stencil.git
Computed https://github.com/kylef/Stencil.git at 0.15.1 (2.42s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[165/2451] Fetching spectre, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.46s)
Fetched https://github.com/kylef/Spectre.git from cache (0.46s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.1.0 (6.50s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.67s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.11s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.48s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (14.72s)
Computing version for https://github.com/LebJe/TOMLKit.git
Computed https://github.com/LebJe/TOMLKit.git at 0.6.0 (0.83s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (1.45s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 9.4.3 (0.99s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.46s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.89s)
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/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 9.4.3
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.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/Stencil.git
Working copy of https://github.com/kylef/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.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/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 6.1.0
Creating working copy for https://github.com/LebJe/TOMLKit.git
Working copy of https://github.com/LebJe/TOMLKit.git resolved at 0.6.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
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 CuckooPluginSingleFile
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/45] Write sources
[20/45] Compiling _SwiftSyntaxCShims dummy.c
[21/45] Write swift-version-24593BA9C3E375BF.txt
[22/51] Compiling Conversion.cpp
[23/51] Compiling Node.cpp
[25/53] Emitting module SwiftSyntax509
[25/68] Compiling Date&Time&DateTime.cpp
[26/68] Compiling Array.cpp
[27/102] Compiling Table.cpp
[29/128] Compiling SwiftSyntax601 Empty.swift
[30/128] Emitting module SwiftSyntax601
[31/129] Emitting module SwiftSyntax600
[32/129] Compiling SwiftSyntax600 Empty.swift
[34/130] Compiling SwiftSyntax509 Empty.swift
[37/131] Emitting module SwiftSyntax510
[38/131] Compiling SwiftSyntax510 Empty.swift
[39/172] Wrapping AST for SwiftSyntax601 for debugging
[41/179] Emitting module Rainbow
[42/179] Compiling Cuckoo Array+matchers.swift
[43/179] Compiling Cuckoo CallMatcher.swift
[44/236] Compiling SwiftSyntax RawSyntax.swift
[45/236] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[46/244] Compiling SwiftSyntax BumpPtrAllocator.swift
[47/244] Compiling SwiftSyntax CommonAncestor.swift
[48/244] Compiling SwiftSyntax MemoryLayout.swift
[49/244] Compiling SwiftSyntax MissingNodeInitializers.swift
[50/244] Compiling AEXML Builders.swift
[51/244] Compiling SwiftSyntax SyntaxText.swift
[52/244] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[53/244] Compiling SwiftSyntax TokenDiagnostic.swift
[54/247] Emitting module ArgumentParserToolInfo
[55/247] Compiling ArgumentParserToolInfo ToolInfo.swift
[56/248] Wrapping AST for SwiftSyntax600 for debugging
[58/292] Emitting module ArgumentParser
[59/298] Emitting module Cuckoo
[60/303] Compiling ArgumentParser FishCompletionsGenerator.swift
[61/303] Compiling ArgumentParser ZshCompletionsGenerator.swift
[62/303] Compiling ArgumentParser ArgumentHelp.swift
[63/303] Compiling ArgumentParser ArgumentVisibility.swift
[64/303] Compiling ArgumentParser CommandConfiguration.swift
[65/303] Compiling ArgumentParser CommandGroup.swift
[66/303] Compiling ArgumentParser EnumerableFlag.swift
[67/303] Compiling ArgumentParser ExpressibleByArgument.swift
[68/303] Compiling ArgumentParser CompletionKind.swift
[69/303] Compiling ArgumentParser Errors.swift
[70/303] Compiling ArgumentParser Flag.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
[71/303] Compiling ArgumentParser NameSpecification.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
[72/303] Compiling ArgumentParser Option.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
[73/303] Compiling ArgumentParser OptionGroup.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
[74/303] Compiling ArgumentParser AsyncParsableCommand.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
[77/303] Compiling ArgumentParser ParsableArguments.swift
[78/303] Compiling ArgumentParser ParsableCommand.swift
[79/303] Compiling ArgumentParser ArgumentDecoder.swift
[80/307] Compiling ArgumentParser InputKey.swift
[81/307] Compiling ArgumentParser InputOrigin.swift
[82/307] Compiling ArgumentParser Name.swift
[84/307] Compiling ArgumentParser Parsed.swift
[85/307] Compiling ArgumentParser ParsedValues.swift
[86/307] Compiling ArgumentParser ParserError.swift
[87/307] Compiling FileKit PropertyListType.swift
[88/307] Compiling FileKit RelativePathType.swift
[89/307] Compiling FileKit String+FileKit.swift
[90/307] Compiling FileKit TextFile.swift
[91/307] Compiling ArgumentParser MessageInfo.swift
[92/307] Compiling ArgumentParser UsageGenerator.swift
[93/307] Compiling ArgumentParser ArgumentDiscussion.swift
[98/307] Compiling ArgumentParser ArgumentSet.swift
[99/307] Compiling ArgumentParser CommandParser.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:70:24: note: selected non-required initializer 'init(contentsOfFile:)'
68 | public convenience init(contentsOf url: URL, error: ()) throws
69 | @available(*, deprecated)
70 | public convenience init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
71 | @available(*, deprecated)
72 | public convenience init?(contentsOf url: URL)
/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:8:12: note: selected non-required initializer 'init(contentsOfFile:)'
6 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
7 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
8 | public init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
9 | public init(data: Data)
10 | public init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws
/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:7:12: note: selected non-required initializer 'init(contentsOfFile:options:)'
5 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, freeWhenDone: Bool)
6 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
7 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
| `- note: selected non-required initializer 'init(contentsOfFile:options:)'
8 | public init?(contentsOfFile path: String)
9 | public init(data: Data)
/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:7:24: note: selected non-required initializer 'init(contentsOfFile:)'
5 | open func keyEnumerator() -> NSEnumerator
6 | @available(*, deprecated)
7 | public convenience init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
8 | @available(*, deprecated)
9 | public convenience init?(contentsOf url: URL)
/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:70:24: note: selected non-required initializer 'init(contentsOfFile:)'
68 | public convenience init(contentsOf url: URL, error: ()) throws
69 | @available(*, deprecated)
70 | public convenience init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
71 | @available(*, deprecated)
72 | public convenience init?(contentsOf url: URL)
/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:8:12: note: selected non-required initializer 'init(contentsOfFile:)'
6 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
7 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
8 | public init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
9 | public init(data: Data)
10 | public init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws
/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:7:12: note: selected non-required initializer 'init(contentsOfFile:options:)'
5 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, freeWhenDone: Bool)
6 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
7 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
| `- note: selected non-required initializer 'init(contentsOfFile:options:)'
8 | public init?(contentsOfFile path: String)
9 | public init(data: Data)
/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:7:24: note: selected non-required initializer 'init(contentsOfFile:)'
5 | open func keyEnumerator() -> NSEnumerator
6 | @available(*, deprecated)
7 | public convenience init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
8 | @available(*, deprecated)
9 | public convenience init?(contentsOf url: URL)
/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:70:24: note: selected non-required initializer 'init(contentsOfFile:)'
68 | public convenience init(contentsOf url: URL, error: ()) throws
69 | @available(*, deprecated)
70 | public convenience init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
71 | @available(*, deprecated)
72 | public convenience init?(contentsOf url: URL)
/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:8:12: note: selected non-required initializer 'init(contentsOfFile:)'
6 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
7 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
8 | public init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
9 | public init(data: Data)
10 | public init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws
/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:7:12: note: selected non-required initializer 'init(contentsOfFile:options:)'
5 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, freeWhenDone: Bool)
6 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
7 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
| `- note: selected non-required initializer 'init(contentsOfFile:options:)'
8 | public init?(contentsOfFile path: String)
9 | public init(data: Data)
/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:7:24: note: selected non-required initializer 'init(contentsOfFile:)'
5 | open func keyEnumerator() -> NSEnumerator
6 | @available(*, deprecated)
7 | public convenience init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
8 | @available(*, deprecated)
9 | public convenience init?(contentsOf url: URL)
[105/307] Compiling ArgumentParser ArgumentDefinition.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:70:24: note: selected non-required initializer 'init(contentsOfFile:)'
68 | public convenience init(contentsOf url: URL, error: ()) throws
69 | @available(*, deprecated)
70 | public convenience init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
71 | @available(*, deprecated)
72 | public convenience init?(contentsOf url: URL)
/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:8:12: note: selected non-required initializer 'init(contentsOfFile:)'
6 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
7 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
8 | public init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
9 | public init(data: Data)
10 | public init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws
/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:7:12: note: selected non-required initializer 'init(contentsOfFile:options:)'
5 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, freeWhenDone: Bool)
6 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
7 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
| `- note: selected non-required initializer 'init(contentsOfFile:options:)'
8 | public init?(contentsOfFile path: String)
9 | public init(data: Data)
/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:7:24: note: selected non-required initializer 'init(contentsOfFile:)'
5 | open func keyEnumerator() -> NSEnumerator
6 | @available(*, deprecated)
7 | public convenience init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
8 | @available(*, deprecated)
9 | public convenience init?(contentsOf url: URL)
/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:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | 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
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/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:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | 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
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/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:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | 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
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/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 | }
/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:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | 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
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/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:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | 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
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/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:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | 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
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/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 | }
/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:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | 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
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/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:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | 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
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/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:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | 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
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/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 | }
/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:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | 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
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/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:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | 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
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/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:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | 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
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/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/307] Compiling AEXML Error.swift
[111/307] Compiling Cuckoo Utils.swift
[112/307] Compiling Cuckoo ArgumentCaptor.swift
[113/307] Compiling Cuckoo VerifyProperty.swift
[114/307] Compiling Cuckoo VerifyReadOnlyProperty.swift
[115/307] Compiling Cuckoo __DoNotUse.swift
[116/307] Compiling ArgumentParser SwiftExtensions.swift
[117/307] Emitting module AEXML
[118/307] Compiling ArgumentParser BashCompletionsGenerator.swift
[119/307] Compiling ArgumentParser CompletionsGenerator.swift
[141/307] Compiling ArgumentParser Argument.swift
[142/307] Emitting module FileKit
[164/307] Emitting module TOMLKit
[169/307] Compiling AEXML Options.swift
[170/307] Compiling AEXML Parser.swift
[171/308] Compiling AEXML Document.swift
[172/308] Compiling AEXML Element.swift
[173/309] Compiling Rainbow StyledStringBuilder.swift
[197/320] Compiling PathKit PathKit.swift
[198/320] Emitting module PathKit
[203/321] Compiling ArgumentParser Tree.swift
[204/321] Compiling ArgumentParser CodingKeyValidator.swift
[205/321] Compiling ArgumentParser NonsenseFlagsValidator.swift
[206/321] Compiling ArgumentParser ParsableArgumentsValidation.swift
[207/321] Compiling ArgumentParser PositionalArgumentsValidator.swift
[208/321] Compiling ArgumentParser UniqueNamesValidator.swift
[216/321] Wrapping AST for SwiftSyntax510 for debugging
[217/321] Wrapping AST for SwiftSyntax509 for debugging
[218/321] Wrapping AST for TOMLKit for debugging
[219/321] Wrapping AST for PathKit for debugging
[224/321] Wrapping AST for ArgumentParserToolInfo for debugging
[225/321] Wrapping AST for Rainbow for debugging
[226/321] Wrapping AST for AEXML for debugging
[228/343] Compiling Stencil LazyValueWrapper.swift
[229/343] Compiling Stencil Lexer.swift
[230/343] Compiling Stencil Parser.swift
[231/343] Compiling Stencil Template.swift
[232/343] Compiling Stencil Tokenizer.swift
[233/343] Compiling Stencil Loader.swift
[234/343] Compiling Stencil Filters.swift
[235/343] Compiling Stencil ForTag.swift
[236/343] Compiling Stencil IfTag.swift
[237/343] Compiling Stencil Include.swift
[238/343] Compiling Stencil Inheritance.swift
[239/343] Compiling Stencil KeyPath.swift
BUILD FAILURE 6.0 linux