The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build Cuckoo, reference 2.2.0 (07f776), with Swift 6.1 for Linux on 6 Dec 2025 01:07:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

   |                             `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 |         } catch {
45 |             throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
  |        `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 |     /// Returns a dictionary read from the given path.
30 |     public class func read(from path: Path) throws -> Self {
31 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 |         }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[86/344] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 |     /// - Parameter path: The path an array to be read from.
35 |     public class func read(from path: Path) throws -> Self {
36 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 |         }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |     /// Returns data read from the given path.
33 |     public class func read(from path: Path) throws -> Self {
34 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 |         }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
  |        `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 |     public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 |         do {
43 |             return try self.init(contentsOfFile: path._safeRawValue, options: options)
   |                             `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 |         } catch {
45 |             throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
  |        `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 |     /// Returns a dictionary read from the given path.
30 |     public class func read(from path: Path) throws -> Self {
31 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 |         }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 |     /// - Parameter path: The path an array to be read from.
35 |     public class func read(from path: Path) throws -> Self {
36 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 |         }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |     /// Returns data read from the given path.
33 |     public class func read(from path: Path) throws -> Self {
34 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 |         }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
  |        `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 |     public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 |         do {
43 |             return try self.init(contentsOfFile: path._safeRawValue, options: options)
   |                             `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 |         } catch {
45 |             throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
  |        `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 |     /// Returns a dictionary read from the given path.
30 |     public class func read(from path: Path) throws -> Self {
31 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 |         }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 |     /// - Parameter path: The path an array to be read from.
35 |     public class func read(from path: Path) throws -> Self {
36 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 |         }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |     /// Returns data read from the given path.
33 |     public class func read(from path: Path) throws -> Self {
34 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 |         }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
  |        `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 |     public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 |         do {
43 |             return try self.init(contentsOfFile: path._safeRawValue, options: options)
   |                             `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 |         } catch {
45 |             throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
  |        `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 |     /// Returns a dictionary read from the given path.
30 |     public class func read(from path: Path) throws -> Self {
31 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 |         }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
 983 |     public init?(bookmarkData bookData: Data) {
 984 |         var isStale: ObjCBool = false
 985 |         let url = try? (NSURL(
     |                         |- error: no exact matches in call to initializer
     |                         |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
     |                         |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
     |                         `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
 986 |             resolvingBookmarkData: bookData,
 987 |             options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
 996 |     /// - Returns: The `Path` objects bookmarkData.
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
     |                         `- error: value of type 'URL' has no member 'bookmarkData'
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
     |                       `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
     |                                             `- error: 'nil' requires a contextual type
1001 |             relativeTo: nil)
1002 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
     |                         `- error: 'nil' requires a contextual type
1002 |     }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                                                 `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 |             return nil
1014 |         }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 |             return nil
1014 |         }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 |     /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 |     public var isUbiquitousItem: Bool {
1020 |         return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
     |                                      `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 |     }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 |     public func evictUbiquitousItem() throws {
1025 |         do {
1026 |             return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
     |                                              `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 |         } catch {
1028 |             throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: extra arguments at positions #1, #2 in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 |     public func setUbiquitous(destination: Path) throws {
1046 |         do {
1047 |             try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 |         } catch {
1049 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 |     public func unsetUbiquitous() throws {
1055 |         do {
1056 |             try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 |         } catch {
1058 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 |     /// Starts downloading (if necessary) the specified item to the local system.
1063 |     func startDownloadingUbiquitous() throws {
1064 |         try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
     |                                   `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 |         // TODO need to encapsulate error before exposing it
1066 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 |     /// - Parameter groupIdentifier: The group identifier.
1077 |     public init?(groupIdentifier: String) {
1078 |         guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
     |                                       `- error: value of type 'FileManager' has no member 'containerURL'
1079 |             return nil
1080 |         }
[90/344] Compiling SwiftSyntax SourceLocation.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
 983 |     public init?(bookmarkData bookData: Data) {
 984 |         var isStale: ObjCBool = false
 985 |         let url = try? (NSURL(
     |                         |- error: no exact matches in call to initializer
     |                         |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
     |                         |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
     |                         `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
 986 |             resolvingBookmarkData: bookData,
 987 |             options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
 996 |     /// - Returns: The `Path` objects bookmarkData.
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
     |                         `- error: value of type 'URL' has no member 'bookmarkData'
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
     |                       `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
     |                                             `- error: 'nil' requires a contextual type
1001 |             relativeTo: nil)
1002 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
     |                         `- error: 'nil' requires a contextual type
1002 |     }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                                                 `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 |             return nil
1014 |         }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 |             return nil
1014 |         }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 |     /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 |     public var isUbiquitousItem: Bool {
1020 |         return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
     |                                      `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 |     }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 |     public func evictUbiquitousItem() throws {
1025 |         do {
1026 |             return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
     |                                              `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 |         } catch {
1028 |             throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: extra arguments at positions #1, #2 in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 |     public func setUbiquitous(destination: Path) throws {
1046 |         do {
1047 |             try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 |         } catch {
1049 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 |     public func unsetUbiquitous() throws {
1055 |         do {
1056 |             try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 |         } catch {
1058 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 |     /// Starts downloading (if necessary) the specified item to the local system.
1063 |     func startDownloadingUbiquitous() throws {
1064 |         try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
     |                                   `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 |         // TODO need to encapsulate error before exposing it
1066 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 |     /// - Parameter groupIdentifier: The group identifier.
1077 |     public init?(groupIdentifier: String) {
1078 |         guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
     |                                       `- error: value of type 'FileManager' has no member 'containerURL'
1079 |             return nil
1080 |         }
[91/344] Compiling SwiftSyntax SourcePresence.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
 983 |     public init?(bookmarkData bookData: Data) {
 984 |         var isStale: ObjCBool = false
 985 |         let url = try? (NSURL(
     |                         |- error: no exact matches in call to initializer
     |                         |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
     |                         |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
     |                         `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
 986 |             resolvingBookmarkData: bookData,
 987 |             options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
 996 |     /// - Returns: The `Path` objects bookmarkData.
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
     |                         `- error: value of type 'URL' has no member 'bookmarkData'
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
     |                       `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
     |                                             `- error: 'nil' requires a contextual type
1001 |             relativeTo: nil)
1002 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
     |                         `- error: 'nil' requires a contextual type
1002 |     }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                                                 `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 |             return nil
1014 |         }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 |             return nil
1014 |         }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 |     /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 |     public var isUbiquitousItem: Bool {
1020 |         return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
     |                                      `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 |     }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 |     public func evictUbiquitousItem() throws {
1025 |         do {
1026 |             return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
     |                                              `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 |         } catch {
1028 |             throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: extra arguments at positions #1, #2 in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 |     public func setUbiquitous(destination: Path) throws {
1046 |         do {
1047 |             try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 |         } catch {
1049 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 |     public func unsetUbiquitous() throws {
1055 |         do {
1056 |             try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 |         } catch {
1058 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 |     /// Starts downloading (if necessary) the specified item to the local system.
1063 |     func startDownloadingUbiquitous() throws {
1064 |         try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
     |                                   `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 |         // TODO need to encapsulate error before exposing it
1066 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 |     /// - Parameter groupIdentifier: The group identifier.
1077 |     public init?(groupIdentifier: String) {
1078 |         guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
     |                                       `- error: value of type 'FileManager' has no member 'containerURL'
1079 |             return nil
1080 |         }
[92/344] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
 983 |     public init?(bookmarkData bookData: Data) {
 984 |         var isStale: ObjCBool = false
 985 |         let url = try? (NSURL(
     |                         |- error: no exact matches in call to initializer
     |                         |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
     |                         |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
     |                         `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
 986 |             resolvingBookmarkData: bookData,
 987 |             options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
 996 |     /// - Returns: The `Path` objects bookmarkData.
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
     |                         `- error: value of type 'URL' has no member 'bookmarkData'
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
     |                       `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
     |                                             `- error: 'nil' requires a contextual type
1001 |             relativeTo: nil)
1002 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
     |                         `- error: 'nil' requires a contextual type
1002 |     }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                                                 `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 |             return nil
1014 |         }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 |             return nil
1014 |         }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 |     /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 |     public var isUbiquitousItem: Bool {
1020 |         return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
     |                                      `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 |     }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 |     public func evictUbiquitousItem() throws {
1025 |         do {
1026 |             return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
     |                                              `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 |         } catch {
1028 |             throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: extra arguments at positions #1, #2 in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 |     public func setUbiquitous(destination: Path) throws {
1046 |         do {
1047 |             try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 |         } catch {
1049 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 |     public func unsetUbiquitous() throws {
1055 |         do {
1056 |             try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 |         } catch {
1058 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 |     /// Starts downloading (if necessary) the specified item to the local system.
1063 |     func startDownloadingUbiquitous() throws {
1064 |         try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
     |                                   `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 |         // TODO need to encapsulate error before exposing it
1066 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 |     /// - Parameter groupIdentifier: The group identifier.
1077 |     public init?(groupIdentifier: String) {
1078 |         guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
     |                                       `- error: value of type 'FileManager' has no member 'containerURL'
1079 |             return nil
1080 |         }
[93/344] Compiling SwiftSyntax SyntaxProtocol.swift
[94/344] Compiling SwiftSyntax SyntaxText.swift
[98/344] Compiling SwiftSyntax TokenSyntax.swift
[99/344] Compiling SwiftSyntax Trivia.swift
[100/344] Compiling SwiftSyntax Utils.swift
[101/344] Compiling SwiftSyntax Identifier.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
[102/344] Compiling SwiftSyntax MemoryLayout.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
[103/344] Compiling SwiftSyntax MissingNodeInitializers.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
[104/344] Compiling SwiftSyntax RawSyntax.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
[105/344] Compiling SwiftSyntax RawSyntaxArena.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
[106/344] Compiling SwiftSyntax AbsolutePosition.swift
[107/344] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[108/344] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[109/344] Compiling SwiftSyntax Assert.swift
[110/344] Compiling SwiftSyntax BumpPtrAllocator.swift
[111/344] Compiling SwiftSyntax CommonAncestor.swift
[112/344] Compiling SwiftSyntax Convenience.swift
[113/344] Compiling SwiftSyntax CustomTraits.swift
[114/344] Compiling SwiftSyntax EditorPlaceholder.swift
[115/344] Compiling SwiftSyntax SyntaxNodeStructure.swift
[136/377] Compiling FileKit PropertyListType.swift
[137/377] Compiling FileKit RelativePathType.swift
[138/377] Compiling FileKit String+FileKit.swift
[139/377] Compiling FileKit TextFile.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
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/Tests/Info.plist
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
[0/1] Planning build
[1/1] Compiling plugin CuckooPluginSingleFile
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/49] Write sources
[9/50] Write swift-version-24593BA9C3E375BF.txt
[11/86] Compiling SwiftSyntax602 Empty.swift
[13/86] Emitting module SwiftSyntax602
[14/87] Emitting module SwiftSyntax601
[15/87] Compiling SwiftSyntax601 Empty.swift
[16/88] Emitting module SwiftSyntax602
[18/89] Compiling SwiftSyntax601 Empty.swift
[19/89] Compiling SwiftSyntax600 Empty.swift
[20/89] Emitting module SwiftSyntax601
[21/90] Emitting module SwiftSyntax600
[26/99] Compiling TOMLKit TOMLCodingKey.swift
[27/99] Compiling TOMLKit TOMLParseError.swift
[28/99] Compiling TOMLKit TOMLType.swift
[29/104] Emitting module SwiftSyntax600
[30/104] Compiling SwiftSyntax600 Empty.swift
[31/105] Emitting module SwiftSyntax510
[32/105] Compiling SwiftSyntax510 Empty.swift
[34/106] Emitting module SwiftSyntax510
[35/107] Emitting module SwiftSyntax509
[36/107] Compiling SwiftSyntax509 Empty.swift
[40/108] Compiling TOMLKit TOMLInt.swift
[41/108] Compiling TOMLKit TOMLTable+CollectionFunctions.swift
[42/108] Compiling TOMLKit TOMLTable.swift
[44/108] Emitting module SwiftSyntax509
[45/109] Compiling TOMLKit TOMLTableIterator.swift
[46/109] Compiling TOMLKit TOMLValueConvertible+Int.swift
[47/109] Compiling TOMLKit TOMLValueConvertible.swift
[50/206] Compiling SwiftSyntax MemoryLayout.swift
[51/206] Compiling SwiftSyntax MissingNodeInitializers.swift
[52/207] Emitting module Rainbow
[54/208] Compiling SwiftSyntax SyntaxCollection.swift
[55/208] Compiling SwiftSyntax SyntaxHashable.swift
[56/208] Compiling SwiftSyntax CustomTraits.swift
[57/208] Compiling SwiftSyntax EditorPlaceholder.swift
[58/208] Compiling SwiftSyntax SyntaxNodeStructure.swift
[59/208] Compiling SwiftSyntax SourceLength.swift
[60/208] Compiling SwiftSyntax SourceLocation.swift
[61/208] Compiling SwiftSyntax RawSyntax.swift
[62/208] Compiling SwiftSyntax RawSyntaxArena.swift
[63/208] Compiling Rainbow StyledStringBuilder.swift
[64/208] Compiling PathKit PathKit.swift
[65/208] Emitting module PathKit
[66/209] Compiling SwiftSyntax SyntaxIdentifier.swift
[67/209] Compiling SwiftSyntax Identifier.swift
[68/209] Compiling SwiftSyntax Syntax.swift
[69/209] Compiling SwiftSyntax SyntaxChildren.swift
[73/209] Compiling SwiftSyntax SourcePresence.swift
[74/209] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[83/210] Compiling Rainbow StyledStringBuilder.swift
[90/274] Emitting module PathKit
[91/274] Compiling PathKit PathKit.swift
[93/275] Compiling SwiftSyntax EditorPlaceholder.swift
[94/275] Compiling SwiftSyntax Identifier.swift
[95/275] Compiling SwiftSyntax MemoryLayout.swift
[96/275] Compiling SwiftSyntax MissingNodeInitializers.swift
[97/275] Compiling SwiftSyntax RawSyntax.swift
[98/275] Compiling SwiftSyntax RawSyntaxArena.swift
[99/275] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[100/275] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[100/329] Compiling Conversion.cpp
[102/361] Compiling FileKit Array+File.swift
[103/361] Compiling FileKit ArrayFile.swift
[104/361] Compiling FileKit Bundle+FileKit.swift
[105/361] Compiling FileKit Data+FileKit.swift
[106/361] Emitting module TOMLKit
[107/361] Compiling FileKit DataFile.swift
[108/361] Compiling FileKit DataType.swift
[109/361] Compiling FileKit Dictionary+File.swift
[110/361] Compiling FileKit DictionaryFile.swift
[110/361] Compiling Array.cpp
[112/361] Compiling FileKit FileType.swift
[113/361] Compiling FileKit Image+FileKit.swift
[114/361] Compiling FileKit ImageFile.swift
[115/361] Compiling FileKit JSONType.swift
[116/361] Compiling FileKit FileProtection.swift
[117/361] Compiling FileKit FileSystemEvent.swift
[118/361] Compiling FileKit FileSystemEventStream.swift
[119/361] Compiling FileKit FileSystemWatcher.swift
[123/366] Compiling FileKit DirectoryEnumerator.swift
[124/366] Compiling FileKit DispatchEvent.swift
[131/366] Emitting module Stencil
[132/368] Compiling FileKit NSArray+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 |     /// - Parameter path: The path an array to be read from.
35 |     public class func read(from path: Path) throws -> Self {
36 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 |         }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |     /// Returns data read from the given path.
33 |     public class func read(from path: Path) throws -> Self {
34 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 |         }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
  |        `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 |     public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 |         do {
43 |             return try self.init(contentsOfFile: path._safeRawValue, options: options)
   |                             `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 |         } catch {
45 |             throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
  |        `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 |     /// Returns a dictionary read from the given path.
30 |     public class func read(from path: Path) throws -> Self {
31 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 |         }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[133/368] Compiling FileKit NSData+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 |     /// - Parameter path: The path an array to be read from.
35 |     public class func read(from path: Path) throws -> Self {
36 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 |         }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |     /// Returns data read from the given path.
33 |     public class func read(from path: Path) throws -> Self {
34 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 |         }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
  |        `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 |     public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 |         do {
43 |             return try self.init(contentsOfFile: path._safeRawValue, options: options)
   |                             `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 |         } catch {
45 |             throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
  |        `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 |     /// Returns a dictionary read from the given path.
30 |     public class func read(from path: Path) throws -> Self {
31 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 |         }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[134/368] Compiling FileKit NSDataFile.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 |     /// - Parameter path: The path an array to be read from.
35 |     public class func read(from path: Path) throws -> Self {
36 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 |         }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |     /// Returns data read from the given path.
33 |     public class func read(from path: Path) throws -> Self {
34 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 |         }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
  |        `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 |     public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 |         do {
43 |             return try self.init(contentsOfFile: path._safeRawValue, options: options)
   |                             `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 |         } catch {
45 |             throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
  |        `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 |     /// Returns a dictionary read from the given path.
30 |     public class func read(from path: Path) throws -> Self {
31 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 |         }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[135/368] Compiling FileKit NSDictionary+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 |     /// - Parameter path: The path an array to be read from.
35 |     public class func read(from path: Path) throws -> Self {
36 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 |         }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |     /// Returns data read from the given path.
33 |     public class func read(from path: Path) throws -> Self {
34 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 |         }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
  |        `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 |     public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 |         do {
43 |             return try self.init(contentsOfFile: path._safeRawValue, options: options)
   |                             `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 |         } catch {
45 |             throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
  |        `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 |     /// Returns a dictionary read from the given path.
30 |     public class func read(from path: Path) throws -> Self {
31 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 |         }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[136/372] Compiling FileKit DispatchWatcher.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
[137/372] Compiling FileKit File.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
[138/372] Compiling FileKit FileKit.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
[139/372] Compiling FileKit FileKitError.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
[140/372] Compiling FileKit FilePermissions.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
[141/394] Emitting module FileKit
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 |     /// - Parameter path: The path an array to be read from.
35 |     public class func read(from path: Path) throws -> Self {
36 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 |         }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |     /// Returns data read from the given path.
33 |     public class func read(from path: Path) throws -> Self {
34 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 |         }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
  |        `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 |     public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 |         do {
43 |             return try self.init(contentsOfFile: path._safeRawValue, options: options)
   |                             `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 |         } catch {
45 |             throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
  |        `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 |     /// Returns a dictionary read from the given path.
30 |     public class func read(from path: Path) throws -> Self {
31 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 |         }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 |     /// - Parameter path: The path an array to be read from.
35 |     public class func read(from path: Path) throws -> Self {
36 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 |         }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |     /// Returns data read from the given path.
33 |     public class func read(from path: Path) throws -> Self {
34 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 |         }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
  |        `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 |     public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 |         do {
43 |             return try self.init(contentsOfFile: path._safeRawValue, options: options)
   |                             `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 |         } catch {
45 |             throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
  |        `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 |     /// Returns a dictionary read from the given path.
30 |     public class func read(from path: Path) throws -> Self {
31 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 |         }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 |     /// - Parameter path: The path an array to be read from.
35 |     public class func read(from path: Path) throws -> Self {
36 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 |         }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |     /// Returns data read from the given path.
33 |     public class func read(from path: Path) throws -> Self {
34 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 |         }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
  |        `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 |     public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 |         do {
43 |             return try self.init(contentsOfFile: path._safeRawValue, options: options)
   |                             `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 |         } catch {
45 |             throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
  |        `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 |     /// Returns a dictionary read from the given path.
30 |     public class func read(from path: Path) throws -> Self {
31 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 |         }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[145/394] Compiling Stencil Loader.swift
[146/394] Compiling Stencil Node.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 |     /// - Parameter path: The path an array to be read from.
35 |     public class func read(from path: Path) throws -> Self {
36 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 |         }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |     /// Returns data read from the given path.
33 |     public class func read(from path: Path) throws -> Self {
34 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 |         }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
  |        `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 |     public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 |         do {
43 |             return try self.init(contentsOfFile: path._safeRawValue, options: options)
   |                             `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 |         } catch {
45 |             throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
  |        `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 |     /// Returns a dictionary read from the given path.
30 |     public class func read(from path: Path) throws -> Self {
31 |         guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
   |                                   `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 |         }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 |   public convenience init?(contentsOfFile path: String)}
  |                      `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[148/394] Compiling Stencil NowTag.swift
[149/394] Compiling Stencil Parser.swift
[150/394] Compiling Stencil Template.swift
[151/394] Compiling Stencil Tokenizer.swift
[152/394] Compiling Stencil TrimBehaviour.swift
[153/394] Compiling Stencil Variable.swift
[154/394] Compiling FileKit NSString+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
 983 |     public init?(bookmarkData bookData: Data) {
 984 |         var isStale: ObjCBool = false
 985 |         let url = try? (NSURL(
     |                         |- error: no exact matches in call to initializer
     |                         |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
     |                         |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
     |                         `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
 986 |             resolvingBookmarkData: bookData,
 987 |             options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
 996 |     /// - Returns: The `Path` objects bookmarkData.
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
     |                         `- error: value of type 'URL' has no member 'bookmarkData'
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
     |                       `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
     |                                             `- error: 'nil' requires a contextual type
1001 |             relativeTo: nil)
1002 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
     |                         `- error: 'nil' requires a contextual type
1002 |     }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                                                 `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 |             return nil
1014 |         }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 |             return nil
1014 |         }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 |     /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 |     public var isUbiquitousItem: Bool {
1020 |         return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
     |                                      `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 |     }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 |     public func evictUbiquitousItem() throws {
1025 |         do {
1026 |             return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
     |                                              `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 |         } catch {
1028 |             throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: extra arguments at positions #1, #2 in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 |     public func setUbiquitous(destination: Path) throws {
1046 |         do {
1047 |             try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 |         } catch {
1049 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 |     public func unsetUbiquitous() throws {
1055 |         do {
1056 |             try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 |         } catch {
1058 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 |     /// Starts downloading (if necessary) the specified item to the local system.
1063 |     func startDownloadingUbiquitous() throws {
1064 |         try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
     |                                   `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 |         // TODO need to encapsulate error before exposing it
1066 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 |     /// - Parameter groupIdentifier: The group identifier.
1077 |     public init?(groupIdentifier: String) {
1078 |         guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
     |                                       `- error: value of type 'FileManager' has no member 'containerURL'
1079 |             return nil
1080 |         }
[155/394] Compiling FileKit Operators.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
 983 |     public init?(bookmarkData bookData: Data) {
 984 |         var isStale: ObjCBool = false
 985 |         let url = try? (NSURL(
     |                         |- error: no exact matches in call to initializer
     |                         |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
     |                         |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
     |                         `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
 986 |             resolvingBookmarkData: bookData,
 987 |             options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
 996 |     /// - Returns: The `Path` objects bookmarkData.
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
     |                         `- error: value of type 'URL' has no member 'bookmarkData'
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
     |                       `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
     |                                             `- error: 'nil' requires a contextual type
1001 |             relativeTo: nil)
1002 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
     |                         `- error: 'nil' requires a contextual type
1002 |     }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                                                 `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 |             return nil
1014 |         }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 |             return nil
1014 |         }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 |     /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 |     public var isUbiquitousItem: Bool {
1020 |         return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
     |                                      `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 |     }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 |     public func evictUbiquitousItem() throws {
1025 |         do {
1026 |             return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
     |                                              `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 |         } catch {
1028 |             throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: extra arguments at positions #1, #2 in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 |     public func setUbiquitous(destination: Path) throws {
1046 |         do {
1047 |             try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 |         } catch {
1049 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 |     public func unsetUbiquitous() throws {
1055 |         do {
1056 |             try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 |         } catch {
1058 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 |     /// Starts downloading (if necessary) the specified item to the local system.
1063 |     func startDownloadingUbiquitous() throws {
1064 |         try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
     |                                   `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 |         // TODO need to encapsulate error before exposing it
1066 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 |     /// - Parameter groupIdentifier: The group identifier.
1077 |     public init?(groupIdentifier: String) {
1078 |         guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
     |                                       `- error: value of type 'FileManager' has no member 'containerURL'
1079 |             return nil
1080 |         }
[156/394] Compiling FileKit Path.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
 983 |     public init?(bookmarkData bookData: Data) {
 984 |         var isStale: ObjCBool = false
 985 |         let url = try? (NSURL(
     |                         |- error: no exact matches in call to initializer
     |                         |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
     |                         |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
     |                         `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
 986 |             resolvingBookmarkData: bookData,
 987 |             options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
 996 |     /// - Returns: The `Path` objects bookmarkData.
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
     |                         `- error: value of type 'URL' has no member 'bookmarkData'
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
     |                       `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
     |                                             `- error: 'nil' requires a contextual type
1001 |             relativeTo: nil)
1002 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
     |                         `- error: 'nil' requires a contextual type
1002 |     }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                                                 `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 |             return nil
1014 |         }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 |             return nil
1014 |         }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 |     /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 |     public var isUbiquitousItem: Bool {
1020 |         return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
     |                                      `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 |     }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 |     public func evictUbiquitousItem() throws {
1025 |         do {
1026 |             return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
     |                                              `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 |         } catch {
1028 |             throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: extra arguments at positions #1, #2 in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 |     public func setUbiquitous(destination: Path) throws {
1046 |         do {
1047 |             try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 |         } catch {
1049 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 |     public func unsetUbiquitous() throws {
1055 |         do {
1056 |             try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 |         } catch {
1058 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 |     /// Starts downloading (if necessary) the specified item to the local system.
1063 |     func startDownloadingUbiquitous() throws {
1064 |         try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
     |                                   `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 |         // TODO need to encapsulate error before exposing it
1066 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 |     /// - Parameter groupIdentifier: The group identifier.
1077 |     public init?(groupIdentifier: String) {
1078 |         guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
     |                                       `- error: value of type 'FileManager' has no member 'containerURL'
1079 |             return nil
1080 |         }
[157/394] Compiling FileKit Process+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
 983 |     public init?(bookmarkData bookData: Data) {
 984 |         var isStale: ObjCBool = false
 985 |         let url = try? (NSURL(
     |                         |- error: no exact matches in call to initializer
     |                         |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
     |                         |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
     |                         `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
 986 |             resolvingBookmarkData: bookData,
 987 |             options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
 996 |     /// - Returns: The `Path` objects bookmarkData.
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
     |                         `- error: value of type 'URL' has no member 'bookmarkData'
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
     |                       `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
     |                                             `- error: 'nil' requires a contextual type
1001 |             relativeTo: nil)
1002 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
     |                         `- error: 'nil' requires a contextual type
1002 |     }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                                                 `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 |             return nil
1014 |         }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 |             return nil
1014 |         }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 |     /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 |     public var isUbiquitousItem: Bool {
1020 |         return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
     |                                      `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 |     }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 |     public func evictUbiquitousItem() throws {
1025 |         do {
1026 |             return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
     |                                              `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 |         } catch {
1028 |             throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: extra arguments at positions #1, #2 in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 |     public func setUbiquitous(destination: Path) throws {
1046 |         do {
1047 |             try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 |         } catch {
1049 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 |     public func unsetUbiquitous() throws {
1055 |         do {
1056 |             try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 |         } catch {
1058 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 |     /// Starts downloading (if necessary) the specified item to the local system.
1063 |     func startDownloadingUbiquitous() throws {
1064 |         try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
     |                                   `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 |         // TODO need to encapsulate error before exposing it
1066 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 |     /// - Parameter groupIdentifier: The group identifier.
1077 |     public init?(groupIdentifier: String) {
1078 |         guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
     |                                       `- error: value of type 'FileManager' has no member 'containerURL'
1079 |             return nil
1080 |         }
[158/432] Compiling Cuckoo ParameterMatcher+closures.swift
[159/432] Compiling Cuckoo CuckooFunctions.swift
[160/432] Compiling Cuckoo DefaultValueRegistry.swift
[161/432] Compiling Cuckoo CreateMock.swift
[162/432] Compiling Cuckoo MockBuilder.swift
[163/452] Compiling TOMLKit FormatOptions.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
[164/452] Compiling TOMLKit Operators&Extensions.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
[165/452] Compiling TOMLKit TOMLArray+CollectionConformance.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
[166/452] Compiling TOMLKit TOMLArray.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
[167/452] Compiling TOMLKit TOMLArrayIterator.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
[168/458] Compiling TOMLKit UnkeyedDecodingContainer.swift
[169/458] Compiling TOMLKit InternalTOMLEncoder.swift
[170/458] Compiling TOMLKit KeyedEncodingContainer.swift
[171/458] Compiling TOMLKit SingleValueEncodingContainer.swift
[172/458] Compiling TOMLKit InternalTOMLDecoder.swift
[173/458] Emitting module FileKit
[174/458] Emitting module Stencil
[175/460] Compiling Cuckoo StubFunctionThenThrowTrait.swift
[176/460] Compiling Cuckoo StubFunctionThenThrowingTrait.swift
[177/460] Compiling Cuckoo StubFunctionThenTrait.swift
[178/460] Compiling Cuckoo ToBeStubbedProperty.swift
[179/460] Compiling Cuckoo BaseStubFunctionTrait.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
 983 |     public init?(bookmarkData bookData: Data) {
 984 |         var isStale: ObjCBool = false
 985 |         let url = try? (NSURL(
     |                         |- error: no exact matches in call to initializer
     |                         |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
     |                         |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
     |                         `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
 986 |             resolvingBookmarkData: bookData,
 987 |             options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
 996 |     /// - Returns: The `Path` objects bookmarkData.
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
     |                         `- error: value of type 'URL' has no member 'bookmarkData'
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
     |                       `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
     |                                             `- error: 'nil' requires a contextual type
1001 |             relativeTo: nil)
1002 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
     |                         `- error: 'nil' requires a contextual type
1002 |     }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                                                 `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 |             return nil
1014 |         }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 |             return nil
1014 |         }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 |     /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 |     public var isUbiquitousItem: Bool {
1020 |         return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
     |                                      `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 |     }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 |     public func evictUbiquitousItem() throws {
1025 |         do {
1026 |             return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
     |                                              `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 |         } catch {
1028 |             throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: extra arguments at positions #1, #2 in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 |     public func setUbiquitous(destination: Path) throws {
1046 |         do {
1047 |             try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 |         } catch {
1049 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 |     public func unsetUbiquitous() throws {
1055 |         do {
1056 |             try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 |         } catch {
1058 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 |     /// Starts downloading (if necessary) the specified item to the local system.
1063 |     func startDownloadingUbiquitous() throws {
1064 |         try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
     |                                   `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 |         // TODO need to encapsulate error before exposing it
1066 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 |     /// - Parameter groupIdentifier: The group identifier.
1077 |     public init?(groupIdentifier: String) {
1078 |         guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
     |                                       `- error: value of type 'FileManager' has no member 'containerURL'
1079 |             return nil
1080 |         }
[180/460] Compiling Cuckoo StubFunctionThenCallRealImplementationTrait.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
 983 |     public init?(bookmarkData bookData: Data) {
 984 |         var isStale: ObjCBool = false
 985 |         let url = try? (NSURL(
     |                         |- error: no exact matches in call to initializer
     |                         |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
     |                         |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
     |                         `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
 986 |             resolvingBookmarkData: bookData,
 987 |             options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
 996 |     /// - Returns: The `Path` objects bookmarkData.
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
     |                         `- error: value of type 'URL' has no member 'bookmarkData'
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
     |                       `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
     |                                             `- error: 'nil' requires a contextual type
1001 |             relativeTo: nil)
1002 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
     |                         `- error: 'nil' requires a contextual type
1002 |     }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                                                 `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 |             return nil
1014 |         }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 |             return nil
1014 |         }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 |     /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 |     public var isUbiquitousItem: Bool {
1020 |         return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
     |                                      `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 |     }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 |     public func evictUbiquitousItem() throws {
1025 |         do {
1026 |             return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
     |                                              `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 |         } catch {
1028 |             throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: extra arguments at positions #1, #2 in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 |     public func setUbiquitous(destination: Path) throws {
1046 |         do {
1047 |             try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 |         } catch {
1049 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 |     public func unsetUbiquitous() throws {
1055 |         do {
1056 |             try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 |         } catch {
1058 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 |     /// Starts downloading (if necessary) the specified item to the local system.
1063 |     func startDownloadingUbiquitous() throws {
1064 |         try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
     |                                   `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 |         // TODO need to encapsulate error before exposing it
1066 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 |     /// - Parameter groupIdentifier: The group identifier.
1077 |     public init?(groupIdentifier: String) {
1078 |         guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
     |                                       `- error: value of type 'FileManager' has no member 'containerURL'
1079 |             return nil
1080 |         }
[181/460] Compiling Cuckoo StubFunctionThenDoNothingTrait.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
 983 |     public init?(bookmarkData bookData: Data) {
 984 |         var isStale: ObjCBool = false
 985 |         let url = try? (NSURL(
     |                         |- error: no exact matches in call to initializer
     |                         |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
     |                         |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
     |                         `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
 986 |             resolvingBookmarkData: bookData,
 987 |             options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
 996 |     /// - Returns: The `Path` objects bookmarkData.
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
     |                         `- error: value of type 'URL' has no member 'bookmarkData'
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
     |                       `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
     |                                             `- error: 'nil' requires a contextual type
1001 |             relativeTo: nil)
1002 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
     |                         `- error: 'nil' requires a contextual type
1002 |     }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                                                 `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 |             return nil
1014 |         }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 |             return nil
1014 |         }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 |     /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 |     public var isUbiquitousItem: Bool {
1020 |         return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
     |                                      `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 |     }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 |     public func evictUbiquitousItem() throws {
1025 |         do {
1026 |             return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
     |                                              `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 |         } catch {
1028 |             throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: extra arguments at positions #1, #2 in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 |     public func setUbiquitous(destination: Path) throws {
1046 |         do {
1047 |             try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 |         } catch {
1049 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 |     public func unsetUbiquitous() throws {
1055 |         do {
1056 |             try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 |         } catch {
1058 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 |     /// Starts downloading (if necessary) the specified item to the local system.
1063 |     func startDownloadingUbiquitous() throws {
1064 |         try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
     |                                   `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 |         // TODO need to encapsulate error before exposing it
1066 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 |     /// - Parameter groupIdentifier: The group identifier.
1077 |     public init?(groupIdentifier: String) {
1078 |         guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
     |                                       `- error: value of type 'FileManager' has no member 'containerURL'
1079 |             return nil
1080 |         }
[182/460] Compiling Cuckoo StubFunctionThenReturnTrait.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
 983 |     public init?(bookmarkData bookData: Data) {
 984 |         var isStale: ObjCBool = false
 985 |         let url = try? (NSURL(
     |                         |- error: no exact matches in call to initializer
     |                         |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
     |                         |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
     |                         `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
 986 |             resolvingBookmarkData: bookData,
 987 |             options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
 996 |     /// - Returns: The `Path` objects bookmarkData.
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
     |                         `- error: value of type 'URL' has no member 'bookmarkData'
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
 997 |     public var bookmarkData: Data? {
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
     |                       `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
 998 |         return try? url.bookmarkData(
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
     |                                             `- error: 'nil' requires a contextual type
1001 |             relativeTo: nil)
1002 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
 999 |             options: .suitableForBookmarkFile,
1000 |             includingResourceValuesForKeys: nil,
1001 |             relativeTo: nil)
     |                         `- error: 'nil' requires a contextual type
1002 |     }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                                                 `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 |             return nil
1014 |         }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 |     /// Create a path  for the iCloud container associated with the specified identifier and establishes access to that container.
1011 |     public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 |         guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 |             return nil
1014 |         }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 |     /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 |     public var isUbiquitousItem: Bool {
1020 |         return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
     |                                      `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 |     }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 |     public func evictUbiquitousItem() throws {
1025 |         do {
1026 |             return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
     |                                              `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 |         } catch {
1028 |             throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: extra arguments at positions #1, #2 in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 |     func publicUbiquitousURL() throws -> (URL, Date?) {
1035 |         var expiration: NSDate?
1036 |         let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
     |                                                `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 |         guard let date = expiration else {
1038 |             return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
  |             `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 |     public func setUbiquitous(destination: Path) throws {
1046 |         do {
1047 |             try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 |         } catch {
1049 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 |     public func unsetUbiquitous() throws {
1055 |         do {
1056 |             try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
     |                                       `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 |         } catch {
1058 |             throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 |     /// Starts downloading (if necessary) the specified item to the local system.
1063 |     func startDownloadingUbiquitous() throws {
1064 |         try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
     |                                   `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 |         // TODO need to encapsulate error before exposing it
1066 |     }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 |     /// - Parameter groupIdentifier: The group identifier.
1077 |     public init?(groupIdentifier: String) {
1078 |         guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
     |                                       `- error: value of type 'FileManager' has no member 'containerURL'
1079 |             return nil
1080 |         }
BUILD FAILURE 6.1 linux