Build Information
Failed to build Cuckoo, reference 2.1.0 (856aa8
), with Swift 6.0 for Linux on 19 Jun 2025 19:44:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Brightify/Cuckoo.git
Reference: 2.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Brightify/Cuckoo
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at 856aa82 Bump version.
Cloned https://github.com/Brightify/Cuckoo.git
Revision (git rev-parse @):
856aa829a5717220326368589a3d1390e7ec1785
SUCCESS checkout https://github.com/Brightify/Cuckoo.git at 2.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/Brightify/Cuckoo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:f0ebbd71bee66c692411a61ab9a7ee6edc82316b7a7b4c6173cc06c00f20ed39
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/LebJe/TOMLKit.git
Fetching https://github.com/kylef/Stencil.git
[1/1196] Fetching rainbow
[755/24593] Fetching rainbow, tomlkit
[1198/29886] Fetching rainbow, tomlkit, stencil
[2738/53223] Fetching rainbow, tomlkit, stencil, xcodeproj
Fetched https://github.com/kylef/Stencil.git from cache (0.45s)
[28081/47930] Fetching rainbow, tomlkit, xcodeproj
Fetching https://github.com/nvzqz/FileKit.git
[32523/63310] Fetching rainbow, tomlkit, xcodeproj, swift-argument-parser
[47916/66433] Fetching rainbow, tomlkit, xcodeproj, swift-argument-parser, filekit
[54273/137339] Fetching rainbow, tomlkit, xcodeproj, swift-argument-parser, filekit, swift-syntax
Fetched https://github.com/LebJe/TOMLKit.git from cache (1.43s)
[51794/113942] Fetching rainbow, xcodeproj, swift-argument-parser, filekit, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.45s)
[37123/98562] Fetching rainbow, xcodeproj, filekit, swift-syntax
Fetched https://github.com/nvzqz/FileKit.git from cache (1.05s)
[35418/95439] Fetching rainbow, xcodeproj, swift-syntax
Fetched https://github.com/onevcat/Rainbow from cache (2.13s)
[53118/94243] Fetching xcodeproj, swift-syntax
Fetched https://github.com/tuist/XcodeProj.git from cache (2.18s)
[32617/70906] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (6.15s)
Computing version for https://github.com/kylef/Stencil.git
Computed https://github.com/kylef/Stencil.git at 0.15.1 (2.50s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[1022/2432] Fetching spectre, pathkit
Fetched https://github.com/kylef/Spectre.git from cache (0.31s)
Fetched https://github.com/kylef/PathKit.git from cache (0.32s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.1.0 (0.71s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.88s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.84s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.37s)
Computing version for https://github.com/LebJe/TOMLKit.git
Computed https://github.com/LebJe/TOMLKit.git at 0.6.0 (0.72s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.67s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.92s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.59s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.30s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.65s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.27.7
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/LebJe/TOMLKit.git
Working copy of https://github.com/LebJe/TOMLKit.git resolved at 0.6.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 6.1.0
Creating working copy for https://github.com/kylef/Stencil.git
Working copy of https://github.com/kylef/Stencil.git resolved at 0.15.1
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Source/Info.plist
[1/1] Compiling plugin CuckooPluginSingleFile
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/44] Write sources
[19/44] Compiling _SwiftSyntaxCShims dummy.c
[20/44] Write swift-version-24593BA9C3E375BF.txt
[21/44] Compiling Date&Time&DateTime.cpp
[22/44] Compiling Conversion.cpp
[23/44] Compiling Node.cpp
[25/65] Emitting module SwiftSyntax600
[25/65] Compiling Array.cpp
[26/65] Compiling Table.cpp
[28/123] Emitting module PathKit
[29/123] Compiling SwiftSyntax600 Empty.swift
[30/124] Emitting module SwiftSyntax509
[31/124] Compiling SwiftSyntax509 Empty.swift
[32/125] Emitting module SwiftSyntax510
[33/125] Compiling SwiftSyntax510 Empty.swift
[34/126] Compiling SwiftSyntax601 Empty.swift
[35/126] Emitting module SwiftSyntax601
[36/127] Compiling FileKit Array+File.swift
[37/127] Compiling FileKit ArrayFile.swift
[39/128] Compiling Rainbow String+Rainbow.swift
[40/128] Compiling Rainbow StringGenerator.swift
[44/128] Compiling Rainbow Style.swift
[45/128] Emitting module FileKit
[46/132] Compiling FileKit FileType.swift
[47/132] Compiling FileKit Image+FileKit.swift
[48/132] Compiling FileKit ImageFile.swift
[48/135] Wrapping AST for SwiftSyntax601 for debugging
[50/182] Emitting module AEXML
[51/246] Emitting module TOMLKit
[52/246] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[53/246] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[54/246] Compiling SwiftSyntax SourcePresence.swift
[55/246] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[56/246] Compiling SwiftSyntax Syntax.swift
[57/246] Compiling SwiftSyntax SyntaxArena.swift
[58/246] Compiling SwiftSyntax Convenience.swift
[59/246] Compiling SwiftSyntax CustomTraits.swift
[60/246] Compiling SwiftSyntax EditorPlaceholder.swift
[61/246] Compiling SwiftSyntax SourceLocation.swift
[62/246] Compiling SwiftSyntax Assert.swift
[63/246] Compiling SwiftSyntax BumpPtrAllocator.swift
[64/246] Compiling SwiftSyntax CommonAncestor.swift
[66/246] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[67/246] Compiling SwiftSyntax SyntaxChildren.swift
[72/246] Compiling SwiftSyntax SourceLength.swift
[73/246] Compiling SwiftSyntax AbsolutePosition.swift
[74/246] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[75/246] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[76/246] Compiling SwiftSyntax SyntaxCollection.swift
[77/246] Compiling SwiftSyntax SyntaxHashable.swift
[78/246] Emitting module Rainbow
[79/246] Compiling SwiftSyntax SyntaxIdentifier.swift
[80/246] Compiling SwiftSyntax MissingNodeInitializers.swift
[81/246] Compiling SwiftSyntax RawSyntax.swift
[82/246] Compiling SwiftSyntax SyntaxText.swift
[83/246] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[84/246] Compiling SwiftSyntax TokenDiagnostic.swift
[85/246] Compiling SwiftSyntax TokenSequence.swift
[86/246] Compiling AEXML Parser.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
983 | public init?(bookmarkData bookData: Data) {
984 | var isStale: ObjCBool = false
985 | let url = try? (NSURL(
| |- error: no exact matches in call to initializer
| |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
| |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
| `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
986 | resolvingBookmarkData: bookData,
987 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
996 | /// - Returns: The `Path` objects bookmarkData.
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
1001 | relativeTo: nil)
1002 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
1002 | }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 | return nil
1014 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 | return nil
1014 | }
Foundation.FileManager:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
| `- note: 'url(for:in:appropriateFor:create:)' declared here
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 | /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 | public var isUbiquitousItem: Bool {
1020 | return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 | }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 | public func evictUbiquitousItem() throws {
1025 | do {
1026 | return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 | } catch {
1028 | throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: extra arguments at positions #1, #2 in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
| `- note: 'url(for:in:appropriateFor:create:)' declared here
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
| `- note: 'url(for:in:appropriateFor:create:)' declared here
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 | public func setUbiquitous(destination: Path) throws {
1046 | do {
1047 | try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 | } catch {
1049 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 | public func unsetUbiquitous() throws {
1055 | do {
1056 | try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 | } catch {
1058 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 | /// Starts downloading (if necessary) the specified item to the local system.
1063 | func startDownloadingUbiquitous() throws {
1064 | try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 | // TODO need to encapsulate error before exposing it
1066 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 | /// - Parameter groupIdentifier: The group identifier.
1077 | public init?(groupIdentifier: String) {
1078 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1079 | return nil
1080 | }
[88/246] Compiling SwiftSyntax SyntaxNodeFactory.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
983 | public init?(bookmarkData bookData: Data) {
984 | var isStale: ObjCBool = false
985 | let url = try? (NSURL(
| |- error: no exact matches in call to initializer
| |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
| |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
| `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
986 | resolvingBookmarkData: bookData,
987 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
996 | /// - Returns: The `Path` objects bookmarkData.
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
1001 | relativeTo: nil)
1002 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
1002 | }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 | return nil
1014 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 | return nil
1014 | }
Foundation.FileManager:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
| `- note: 'url(for:in:appropriateFor:create:)' declared here
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 | /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 | public var isUbiquitousItem: Bool {
1020 | return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 | }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 | public func evictUbiquitousItem() throws {
1025 | do {
1026 | return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 | } catch {
1028 | throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: extra arguments at positions #1, #2 in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
| `- note: 'url(for:in:appropriateFor:create:)' declared here
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
| `- note: 'url(for:in:appropriateFor:create:)' declared here
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 | public func setUbiquitous(destination: Path) throws {
1046 | do {
1047 | try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 | } catch {
1049 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 | public func unsetUbiquitous() throws {
1055 | do {
1056 | try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 | } catch {
1058 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 | /// Starts downloading (if necessary) the specified item to the local system.
1063 | func startDownloadingUbiquitous() throws {
1064 | try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 | // TODO need to encapsulate error before exposing it
1066 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 | /// - Parameter groupIdentifier: The group identifier.
1077 | public init?(groupIdentifier: String) {
1078 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1079 | return nil
1080 | }
[89/246] Compiling SwiftSyntax SyntaxNodeStructure.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
983 | public init?(bookmarkData bookData: Data) {
984 | var isStale: ObjCBool = false
985 | let url = try? (NSURL(
| |- error: no exact matches in call to initializer
| |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
| |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
| `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
986 | resolvingBookmarkData: bookData,
987 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
996 | /// - Returns: The `Path` objects bookmarkData.
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
1001 | relativeTo: nil)
1002 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
1002 | }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 | return nil
1014 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 | return nil
1014 | }
Foundation.FileManager:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
| `- note: 'url(for:in:appropriateFor:create:)' declared here
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 | /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 | public var isUbiquitousItem: Bool {
1020 | return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 | }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 | public func evictUbiquitousItem() throws {
1025 | do {
1026 | return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 | } catch {
1028 | throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: extra arguments at positions #1, #2 in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
| `- note: 'url(for:in:appropriateFor:create:)' declared here
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
| `- note: 'url(for:in:appropriateFor:create:)' declared here
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 | public func setUbiquitous(destination: Path) throws {
1046 | do {
1047 | try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 | } catch {
1049 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 | public func unsetUbiquitous() throws {
1055 | do {
1056 | try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 | } catch {
1058 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 | /// Starts downloading (if necessary) the specified item to the local system.
1063 | func startDownloadingUbiquitous() throws {
1064 | try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 | // TODO need to encapsulate error before exposing it
1066 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 | /// - Parameter groupIdentifier: The group identifier.
1077 | public init?(groupIdentifier: String) {
1078 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1079 | return nil
1080 | }
[90/246] Compiling SwiftSyntax SyntaxProtocol.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
983 | public init?(bookmarkData bookData: Data) {
984 | var isStale: ObjCBool = false
985 | let url = try? (NSURL(
| |- error: no exact matches in call to initializer
| |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
| |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
| `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
986 | resolvingBookmarkData: bookData,
987 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
996 | /// - Returns: The `Path` objects bookmarkData.
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
1001 | relativeTo: nil)
1002 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
1002 | }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 | return nil
1014 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 | return nil
1014 | }
Foundation.FileManager:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
| `- note: 'url(for:in:appropriateFor:create:)' declared here
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 | /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 | public var isUbiquitousItem: Bool {
1020 | return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 | }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 | public func evictUbiquitousItem() throws {
1025 | do {
1026 | return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 | } catch {
1028 | throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: extra arguments at positions #1, #2 in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
| `- note: 'url(for:in:appropriateFor:create:)' declared here
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager:4:17: note: 'url(for:in:appropriateFor:create:)' declared here
2 | public func mountedVolumeURLs(includingResourceValuesForKeys propertyKeys: [URLResourceKey]?, options: FileManager.VolumeEnumerationOptions = []) -> [URL]?
3 | public func contentsOfDirectory(at url: URL, includingPropertiesForKeys keys: [URLResourceKey]?, options mask: FileManager.DirectoryEnumerationOptions = []) throws -> [URL]
4 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
| `- note: 'url(for:in:appropriateFor:create:)' declared here
5 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, ofDirectoryAt directoryURL: URL, toItemAt otherURL: URL) throws
6 | public func getRelationship(_ outRelationship: UnsafeMutablePointer<FileManager.URLRelationship>, of directory: FileManager.SearchPathDirectory, in domainMask: FileManager.SearchPathDomainMask, toItemAt url: URL) throws
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 | public func setUbiquitous(destination: Path) throws {
1046 | do {
1047 | try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 | } catch {
1049 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 | public func unsetUbiquitous() throws {
1055 | do {
1056 | try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 | } catch {
1058 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 | /// Starts downloading (if necessary) the specified item to the local system.
1063 | func startDownloadingUbiquitous() throws {
1064 | try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 | // TODO need to encapsulate error before exposing it
1066 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 | /// - Parameter groupIdentifier: The group identifier.
1077 | public init?(groupIdentifier: String) {
1078 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1079 | return nil
1080 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 | /// - Parameter path: The path an array to be read from.
35 | public class func read(from path: Path) throws -> Self {
36 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 | }
Foundation.NSArray:70:24: note: selected non-required initializer 'init(contentsOfFile:)'
68 | public convenience init(contentsOf url: URL, error: ()) throws
69 | @available(*, deprecated)
70 | public convenience init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
71 | @available(*, deprecated)
72 | public convenience init?(contentsOf url: URL)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | /// Returns data read from the given path.
33 | public class func read(from path: Path) throws -> Self {
34 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 | }
Foundation.NSData:8:12: note: selected non-required initializer 'init(contentsOfFile:)'
6 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
7 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
8 | public init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
9 | public init(data: Data)
10 | public init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 | public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 | do {
43 | return try self.init(contentsOfFile: path._safeRawValue, options: options)
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 | } catch {
45 | throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData:7:12: note: selected non-required initializer 'init(contentsOfFile:options:)'
5 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, freeWhenDone: Bool)
6 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
7 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
| `- note: selected non-required initializer 'init(contentsOfFile:options:)'
8 | public init?(contentsOfFile path: String)
9 | public init(data: Data)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 | /// Returns a dictionary read from the given path.
30 | public class func read(from path: Path) throws -> Self {
31 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 | }
Foundation.NSDictionary:7:24: note: selected non-required initializer 'init(contentsOfFile:)'
5 | open func keyEnumerator() -> NSEnumerator
6 | @available(*, deprecated)
7 | public convenience init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
8 | @available(*, deprecated)
9 | public convenience init?(contentsOf url: URL)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 | /// - Parameter path: The path an array to be read from.
35 | public class func read(from path: Path) throws -> Self {
36 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 | }
Foundation.NSArray:70:24: note: selected non-required initializer 'init(contentsOfFile:)'
68 | public convenience init(contentsOf url: URL, error: ()) throws
69 | @available(*, deprecated)
70 | public convenience init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
71 | @available(*, deprecated)
72 | public convenience init?(contentsOf url: URL)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | /// Returns data read from the given path.
33 | public class func read(from path: Path) throws -> Self {
34 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 | }
Foundation.NSData:8:12: note: selected non-required initializer 'init(contentsOfFile:)'
6 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
7 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
8 | public init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
9 | public init(data: Data)
10 | public init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 | public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 | do {
43 | return try self.init(contentsOfFile: path._safeRawValue, options: options)
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 | } catch {
45 | throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData:7:12: note: selected non-required initializer 'init(contentsOfFile:options:)'
5 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, freeWhenDone: Bool)
6 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
7 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
| `- note: selected non-required initializer 'init(contentsOfFile:options:)'
8 | public init?(contentsOfFile path: String)
9 | public init(data: Data)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 | /// Returns a dictionary read from the given path.
30 | public class func read(from path: Path) throws -> Self {
31 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 | }
Foundation.NSDictionary:7:24: note: selected non-required initializer 'init(contentsOfFile:)'
5 | open func keyEnumerator() -> NSEnumerator
6 | @available(*, deprecated)
7 | public convenience init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
8 | @available(*, deprecated)
9 | public convenience init?(contentsOf url: URL)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 | /// - Parameter path: The path an array to be read from.
35 | public class func read(from path: Path) throws -> Self {
36 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 | }
Foundation.NSArray:70:24: note: selected non-required initializer 'init(contentsOfFile:)'
68 | public convenience init(contentsOf url: URL, error: ()) throws
69 | @available(*, deprecated)
70 | public convenience init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
71 | @available(*, deprecated)
72 | public convenience init?(contentsOf url: URL)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | /// Returns data read from the given path.
33 | public class func read(from path: Path) throws -> Self {
34 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 | }
Foundation.NSData:8:12: note: selected non-required initializer 'init(contentsOfFile:)'
6 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
7 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
8 | public init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
9 | public init(data: Data)
10 | public init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 | public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 | do {
43 | return try self.init(contentsOfFile: path._safeRawValue, options: options)
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 | } catch {
45 | throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData:7:12: note: selected non-required initializer 'init(contentsOfFile:options:)'
5 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, freeWhenDone: Bool)
6 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
7 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
| `- note: selected non-required initializer 'init(contentsOfFile:options:)'
8 | public init?(contentsOfFile path: String)
9 | public init(data: Data)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 | /// Returns a dictionary read from the given path.
30 | public class func read(from path: Path) throws -> Self {
31 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 | }
Foundation.NSDictionary:7:24: note: selected non-required initializer 'init(contentsOfFile:)'
5 | open func keyEnumerator() -> NSEnumerator
6 | @available(*, deprecated)
7 | public convenience init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
8 | @available(*, deprecated)
9 | public convenience init?(contentsOf url: URL)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 | /// - Parameter path: The path an array to be read from.
35 | public class func read(from path: Path) throws -> Self {
36 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 | }
Foundation.NSArray:70:24: note: selected non-required initializer 'init(contentsOfFile:)'
68 | public convenience init(contentsOf url: URL, error: ()) throws
69 | @available(*, deprecated)
70 | public convenience init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
71 | @available(*, deprecated)
72 | public convenience init?(contentsOf url: URL)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | /// Returns data read from the given path.
33 | public class func read(from path: Path) throws -> Self {
34 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 | }
Foundation.NSData:8:12: note: selected non-required initializer 'init(contentsOfFile:)'
6 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
7 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
8 | public init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
9 | public init(data: Data)
10 | public init(contentsOf url: URL, options readOptionsMask: NSData.ReadingOptions = []) throws
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 | public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 | do {
43 | return try self.init(contentsOfFile: path._safeRawValue, options: options)
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 | } catch {
45 | throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData:7:12: note: selected non-required initializer 'init(contentsOfFile:options:)'
5 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, freeWhenDone: Bool)
6 | public init(bytesNoCopy bytes: UnsafeMutableRawPointer, length: Int, deallocator: ((UnsafeMutableRawPointer, Int) -> Void)? = nil)
7 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
| `- note: selected non-required initializer 'init(contentsOfFile:options:)'
8 | public init?(contentsOfFile path: String)
9 | public init(data: Data)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 | /// Returns a dictionary read from the given path.
30 | public class func read(from path: Path) throws -> Self {
31 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 | }
Foundation.NSDictionary:7:24: note: selected non-required initializer 'init(contentsOfFile:)'
5 | open func keyEnumerator() -> NSEnumerator
6 | @available(*, deprecated)
7 | public convenience init?(contentsOfFile path: String)
| `- note: selected non-required initializer 'init(contentsOfFile:)'
8 | @available(*, deprecated)
9 | public convenience init?(contentsOf url: URL)
[95/246] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 | if source == nil && fileDescriptor == -1 {
235 | fileDescriptor = open(path._safeRawValue, O_EVTONLY)
| `- error: cannot find 'O_EVTONLY' in scope
236 | if fileDescriptor == -1 { return false }
237 | var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 | // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 | // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 | source!.setCancelHandler { // [unowned self] () in
255 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
256 | self.fileDescriptor = -1
257 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 | open func close() {
281 | createWatcher?.stopWatching()
282 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
283 | self.fileDescriptor = -1
284 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 | if source == nil && fileDescriptor == -1 {
235 | fileDescriptor = open(path._safeRawValue, O_EVTONLY)
| `- error: cannot find 'O_EVTONLY' in scope
236 | if fileDescriptor == -1 { return false }
237 | var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 | // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 | // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 | source!.setCancelHandler { // [unowned self] () in
255 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
256 | self.fileDescriptor = -1
257 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 | open func close() {
281 | createWatcher?.stopWatching()
282 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
283 | self.fileDescriptor = -1
284 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 | if source == nil && fileDescriptor == -1 {
235 | fileDescriptor = open(path._safeRawValue, O_EVTONLY)
| `- error: cannot find 'O_EVTONLY' in scope
236 | if fileDescriptor == -1 { return false }
237 | var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 | // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 | // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 | source!.setCancelHandler { // [unowned self] () in
255 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
256 | self.fileDescriptor = -1
257 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 | open func close() {
281 | createWatcher?.stopWatching()
282 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
283 | self.fileDescriptor = -1
284 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 | if source == nil && fileDescriptor == -1 {
235 | fileDescriptor = open(path._safeRawValue, O_EVTONLY)
| `- error: cannot find 'O_EVTONLY' in scope
236 | if fileDescriptor == -1 { return false }
237 | var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 | // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 | // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 | source!.setCancelHandler { // [unowned self] () in
255 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
256 | self.fileDescriptor = -1
257 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 | open func close() {
281 | createWatcher?.stopWatching()
282 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
283 | self.fileDescriptor = -1
284 | self.source = nil
/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
[101/246] Compiling Rainbow Rainbow.swift
[102/247] Compiling SwiftSyntax Identifier.swift
[103/247] Compiling SwiftSyntax MemoryLayout.swift
[108/247] Compiling SwiftSyntax RawSyntaxTokenView.swift
[109/247] Compiling SwiftSyntax SourceEdit.swift
[110/247] Compiling AEXML Builders.swift
[122/248] Compiling AEXML Error.swift
[123/248] Compiling AEXML Options.swift
[124/248] Compiling AEXML Document.swift
[125/248] Compiling AEXML Element.swift
[128/249] Compiling PathKit PathKit.swift
[129/249] Compiling ArgumentParserToolInfo ToolInfo.swift
[130/249] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.0 linux