Build Information
Failed to build Cuckoo, reference master (fc2aed
), with Swift 6.0 for Linux on 12 Jun 2025 22:08:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.63.1
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 fc2aeda Add support for typed-throws methods
Cloned https://github.com/Brightify/Cuckoo.git
Revision (git rev-parse @):
fc2aedaac014e9dad6acfbe8b63fd9d751aceb40
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-4606859-1":/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:eaa733228b13fb63f7b48fc0ae9a4552a427b7215d37e5caded5aa10021734d9
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/kylef/Stencil.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/LebJe/TOMLKit.git
Fetching https://github.com/apple/swift-argument-parser
[1/5293] Fetching stencil
[213/28690] Fetching stencil, tomlkit
[2049/29886] Fetching stencil, tomlkit, rainbow
[9207/53211] Fetching stencil, tomlkit, rainbow, xcodeproj
[36642/68591] Fetching stencil, tomlkit, rainbow, xcodeproj, swift-argument-parser
[54124/139378] Fetching stencil, tomlkit, rainbow, xcodeproj, swift-argument-parser, swift-syntax
Fetched https://github.com/onevcat/Rainbow from cache (1.21s)
Fetching https://github.com/nvzqz/FileKit.git
Fetched https://github.com/apple/swift-argument-parser from cache (1.21s)
[63583/122802] Fetching stencil, tomlkit, xcodeproj, swift-syntax
Fetched https://github.com/LebJe/TOMLKit.git from cache (1.22s)
[40419/99405] Fetching stencil, xcodeproj, swift-syntax
[46316/102528] Fetching stencil, xcodeproj, swift-syntax, filekit
Fetched https://github.com/tuist/XcodeProj.git from cache (1.72s)
[36023/79203] Fetching stencil, swift-syntax, filekit
Fetched https://github.com/nvzqz/FileKit.git from cache (1.54s)
Fetched https://github.com/kylef/Stencil.git from cache (4.90s)
Fetched https://github.com/swiftlang/swift-syntax from cache (4.96s)
Computing version for https://github.com/kylef/Stencil.git
Computed https://github.com/kylef/Stencil.git at 0.15.1 (2.83s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[144/2432] Fetching spectre, pathkit
Fetched https://github.com/kylef/Spectre.git from cache (0.31s)
Fetched https://github.com/kylef/PathKit.git from cache (0.32s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.1.0 (0.85s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.65s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.35s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.29s)
Computing version for https://github.com/LebJe/TOMLKit.git
Computed https://github.com/LebJe/TOMLKit.git at 0.6.0 (0.68s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.61s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.84s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.60s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.29s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.60s)
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/Stencil.git
Working copy of https://github.com/kylef/Stencil.git resolved at 0.15.1
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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/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.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.27.7
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.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 GenerateManual
Building for debugging...
[2/44] Write sources
[19/44] Compiling _SwiftSyntaxCShims dummy.c
[20/44] Write swift-version-24593BA9C3E375BF.txt
[22/50] Emitting module SwiftSyntax510
[22/50] Compiling Date&Time&DateTime.cpp
[23/50] Compiling Conversion.cpp
[24/50] Compiling Node.cpp
[25/50] Compiling Array.cpp
[27/65] Emitting module SwiftSyntax509
[27/97] Compiling Table.cpp
[29/135] Emitting module SwiftSyntax600
[30/135] Compiling SwiftSyntax600 Empty.swift
[31/136] Compiling SwiftSyntax509 Empty.swift
[32/137] Compiling SwiftSyntax510 Empty.swift
[36/138] Emitting module SwiftSyntax601
[37/138] Compiling SwiftSyntax601 Empty.swift
[38/139] Wrapping AST for SwiftSyntax600 for debugging
[40/238] Compiling Rainbow StringGenerator.swift
[41/239] Emitting module Rainbow
[42/239] Compiling SwiftSyntax BumpPtrAllocator.swift
[43/239] Compiling SwiftSyntax CommonAncestor.swift
[44/239] Emitting module FileKit
[45/243] Compiling Rainbow String+Rainbow.swift
[46/243] Compiling Rainbow Style.swift
[47/243] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[48/243] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[49/243] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[50/246] Emitting module ArgumentParserToolInfo
[51/246] Compiling ArgumentParserToolInfo ToolInfo.swift
[55/247] Compiling TOMLKit TOMLValue+Initializers.swift
[56/247] Compiling TOMLKit TOMLValue.swift
[58/252] Compiling TOMLKit ValueOptions.swift
[59/252] Compiling SwiftSyntax Utils.swift
[60/252] Compiling SwiftSyntax ChildNameForKeyPath.swift
[61/252] Compiling SwiftSyntax Keyword.swift
[62/252] Compiling FileKit PropertyListType.swift
[63/252] Compiling FileKit RelativePathType.swift
[64/252] Compiling FileKit String+FileKit.swift
[65/252] Compiling FileKit TextFile.swift
[66/252] Compiling SwiftSyntax SyntaxCollections.swift
[67/252] Compiling SwiftSyntax SourceLocation.swift
[67/252] Wrapping AST for SwiftSyntax601 for debugging
[69/252] Compiling Cuckoo Utils.swift
[70/252] Compiling Cuckoo ArgumentCaptor.swift
[71/252] Compiling Cuckoo VerifyProperty.swift
[72/252] Compiling Cuckoo VerifyReadOnlyProperty.swift
[73/252] Compiling Cuckoo __DoNotUse.swift
[74/290] Compiling ArgumentParser ArgumentSet.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)
[75/290] 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)
[76/290] Compiling ArgumentParser InputKey.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)
[77/290] Compiling ArgumentParser InputOrigin.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)
[78/290] Compiling ArgumentParser CommandConfiguration.swift
[79/290] Compiling ArgumentParser CommandGroup.swift
[80/290] Compiling ArgumentParser EnumerableFlag.swift
[81/290] Compiling ArgumentParser ArgumentDefinition.swift
[82/290] Compiling ArgumentParser ParsableCommand.swift
[84/290] Compiling ArgumentParser ArgumentDecoder.swift
[86/290] Compiling ArgumentParser OptionGroup.swift
[87/290] Compiling ArgumentParser DumpHelpGenerator.swift
[88/290] Compiling ArgumentParser AsyncParsableCommand.swift
[97/290] Compiling ArgumentParser ExpressibleByArgument.swift
[98/290] Compiling ArgumentParser ParsableArguments.swift
[99/290] Compiling ArgumentParser ParsableArgumentsValidation.swift
[102/290] Emitting module Cuckoo
[103/290] Compiling ArgumentParser FishCompletionsGenerator.swift
[104/290] Compiling ArgumentParser ZshCompletionsGenerator.swift
[105/290] Compiling ArgumentParser BashCompletionsGenerator.swift
[106/290] Compiling ArgumentParser CompletionsGenerator.swift
[107/290] Compiling Rainbow OutputTarget.swift
[108/290] Compiling Rainbow Rainbow.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: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/290] Compiling ArgumentParser HelpCommand.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: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 | }
[111/290] Compiling ArgumentParser HelpGenerator.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: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 | }
[112/290] Compiling ArgumentParser MessageInfo.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: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 | }
[113/291] Compiling ArgumentParser ArgumentHelp.swift
[114/291] Compiling ArgumentParser ArgumentVisibility.swift
[115/291] Compiling ArgumentParser CompletionKind.swift
[116/291] Compiling ArgumentParser Errors.swift
[117/291] Compiling ArgumentParser Flag.swift
[122/291] Compiling ArgumentParser Argument.swift
[123/291] 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
[124/291] 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
/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
/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
/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
[128/291] Compiling ArgumentParser UsageGenerator.swift
[129/291] Compiling ArgumentParser Name.swift
[130/291] Compiling ArgumentParser Parsed.swift
[131/291] Compiling ArgumentParser ParsedValues.swift
[136/291] Emitting module TOMLKit
[164/292] Compiling AEXML Error.swift
[165/292] Emitting module AEXML
[168/293] Compiling AEXML Parser.swift
[169/293] Compiling AEXML Options.swift
[170/293] Compiling AEXML Document.swift
[171/293] Compiling AEXML Builders.swift
[172/293] Compiling AEXML Element.swift
[173/293] Emitting module PathKit
BUILD FAILURE 6.0 linux