Build Information
Failed to build Cuckoo, reference 2.0.18 (3ecee6
), with Swift 6.1 for Android on 31 May 2025 00:27:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Brightify/Cuckoo.git
Reference: 2.0.18
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.0.18 -> FETCH_HEAD
HEAD is now at 3ecee6d Bump version.
Cloned https://github.com/Brightify/Cuckoo.git
Revision (git rev-parse @):
3ecee6db6771fabc674eaf15e225cdbd8c4e6e8d
SUCCESS checkout https://github.com/Brightify/Cuckoo.git at 2.0.18
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/Brightify/Cuckoo.git
https://github.com/Brightify/Cuckoo.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "filekit",
"requirement" : {
"range" : [
{
"lower_bound" : "6.1.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nvzqz/FileKit.git"
},
{
"identity" : "stencil",
"requirement" : {
"range" : [
{
"lower_bound" : "0.15.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/Stencil.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.0.0",
"upper_bound" : "602.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "tomlkit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/LebJe/TOMLKit.git"
},
{
"identity" : "xcodeproj",
"requirement" : {
"range" : [
{
"lower_bound" : "8.15.0",
"upper_bound" : "9.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tuist/XcodeProj.git"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.1",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
}
],
"manifest_display_name" : "Cuckoo",
"name" : "Cuckoo",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "Cuckoo",
"targets" : [
"Cuckoo"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CuckooPluginSingleFile",
"targets" : [
"CuckooPluginSingleFile"
],
"type" : {
"plugin" : null
}
},
{
"name" : "CuckooGenerator",
"targets" : [
"CuckooGenerator"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "CuckooTests",
"module_type" : "SwiftTarget",
"name" : "CuckooTests",
"path" : "Tests",
"sources" : [
"Common/TestError.swift",
"OCMock/ObjectiveClassTest.swift",
"OCMock/ObjectiveProtocolTest.swift",
"Swift/ClassTest.swift",
"Swift/CollisionClasses.swift",
"Swift/CuckooFunctionsTest.swift",
"Swift/DefaultValueRegistryTest.swift",
"Swift/ExcludedStubTest.swift",
"Swift/FailTest.swift",
"Swift/GenericClassTest.swift",
"Swift/GenericMethodClassTest.swift",
"Swift/GenericProtocolTest.swift",
"Swift/Matching/Array+matchersTest.swift",
"Swift/Matching/CallMatcherFunctionsTest.swift",
"Swift/Matching/CallMatcherTest.swift",
"Swift/Matching/Dictionary+matchersTest.swift",
"Swift/Matching/MatchableTest.swift",
"Swift/Matching/ParameterMatcherFunctionsTest.swift",
"Swift/Matching/ParameterMatcherTest.swift",
"Swift/MultiLayeredNestedTestedSubclassTest.swift",
"Swift/MultiNestedClassTest.swift",
"Swift/MultiNestedExtensionClassTest.swift",
"Swift/NSObjectProtocolInheritanceTest.swift",
"Swift/NestedClassTest.swift",
"Swift/NestedExtensionClassTest.swift",
"Swift/NestedStructExtensionClassTest.swift",
"Swift/NestedStructTest.swift",
"Swift/NestedSubclassTest.swift",
"Swift/OpenClassTest.swift",
"Swift/ProtocolTest.swift",
"Swift/Source/ClassForStubTesting.swift",
"Swift/Source/ClassWithOptionals.swift",
"Swift/Source/ClassWithTypeAlias.swift",
"Swift/Source/ClassWithUnavailablePlatformMembers.swift",
"Swift/Source/ExcludedTestClass.swift",
"Swift/Source/GenericClass.swift",
"Swift/Source/GenericMethodClass.swift",
"Swift/Source/GenericProtocol.swift",
"Swift/Source/MultiNestedInExtensionFromClass.swift",
"Swift/Source/MultiNestedInNestedClass.swift",
"Swift/Source/MultiNestedInPrivateNestedClass.swift",
"Swift/Source/MultiNestedPrivateExtensionClass.swift",
"Swift/Source/NSObjectProtocolInheritanceTesting.swift",
"Swift/Source/NestedInExtensionFromClass.swift",
"Swift/Source/NestedInNestedClass.swift",
"Swift/Source/NestedInNestedStruct.swift",
"Swift/Source/NestedInPrivateNestedClass.swift",
"Swift/Source/NestedPrivateExtensionClass.swift",
"Swift/Source/ObjcProtocol.swift",
"Swift/Source/OpenClass.swift",
"Swift/Source/PropertyWrappers.swift",
"Swift/Source/SwiftUIProtocols.swift",
"Swift/Source/TestedClass.swift",
"Swift/Source/TestedProtocol.swift",
"Swift/Source/TestedSubProtocol.swift",
"Swift/Source/TestedSubclass.swift",
"Swift/Source/UnavailablePlatformClass.swift",
"Swift/Source/UnavailablePlatformProtocol.swift",
"Swift/Source/UnicodeTestProtocol.swift",
"Swift/StubTest.swift",
"Swift/Stubbing/StubFunctionTest.swift",
"Swift/Stubbing/StubNoReturnFunctionTest.swift",
"Swift/Stubbing/StubNoReturnThrowingFunctionTest.swift",
"Swift/Stubbing/StubThrowingFunctionTest.swift",
"Swift/Stubbing/StubbingTest.swift",
"Swift/TestUtils.swift",
"Swift/Verification/ArgumentCaptorTest.swift",
"Swift/Verification/VerificationTest.swift"
],
"target_dependencies" : [
"Cuckoo"
],
"type" : "test"
},
{
"c99name" : "CuckooPluginSingleFile",
"module_type" : "PluginTarget",
"name" : "CuckooPluginSingleFile",
"path" : "Generator/Plugin/File",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"CuckooPluginSingleFile"
],
"sources" : [
"CuckooPluginFile.swift"
],
"target_dependencies" : [
"CuckooGenerator"
],
"type" : "plugin"
},
{
"c99name" : "CuckooGenerator",
"module_type" : "SwiftTarget",
"name" : "CuckooGenerator",
"path" : "Generator/Sources",
"product_dependencies" : [
"FileKit",
"Stencil",
"SwiftSyntax",
"SwiftParser",
"ArgumentParser",
"TOMLKit",
"XcodeProj",
"Rainbow"
],
"product_memberships" : [
"CuckooPluginSingleFile",
"CuckooGenerator"
],
"sources" : [
"CLI/CuckooGeneratorError.swift",
"CLI/GenerateCommand.swift",
"CLI/Generator.swift",
"CLI/Glob.swift",
"CLI/Logger.swift",
"CLI/Module.swift",
"CLI/Version.swift",
"Internal/Crawlers/Crawler.swift",
"Internal/Crawlers/ModifierListSyntax+common.swift",
"Internal/Crawlers/SyntaxToken+isPresent.swift",
"Internal/FileHeaderHandler.swift",
"Internal/GeneratorHelper.swift",
"Internal/Helpers/Array+uniquing.swift",
"Internal/Helpers/Async+convenience.swift",
"Internal/Helpers/FileKit+convenience.swift",
"Internal/Helpers/String+convenience.swift",
"Internal/Helpers/SwiftSyntax+convenience.swift",
"Internal/Helpers/Utils.swift",
"Internal/OrderedSet.swift",
"Internal/Reference.swift",
"Internal/Templates/ContainerTemplate.swift",
"Internal/Templates/MockTemplate.swift",
"Internal/Templates/NopImplStubTemplate.swift",
"Internal/Templates/StubbingProxyTemplate.swift",
"Internal/Templates/Templates.swift",
"Internal/Templates/TypeErasureTemplate.swift",
"Internal/Templates/VerificationProxyTemplate.swift",
"Internal/Tokens/Accessibility.swift",
"Internal/Tokens/AsyncType.swift",
"Internal/Tokens/Attribute.swift",
"Internal/Tokens/Capabilities/HasAccessibility.swift",
"Internal/Tokens/Capabilities/HasAttributes.swift",
"Internal/Tokens/Capabilities/HasGenerics.swift",
"Internal/Tokens/Capabilities/HasInheritance.swift",
"Internal/Tokens/Capabilities/HasMembers.swift",
"Internal/Tokens/Capabilities/HasName.swift",
"Internal/Tokens/ClassDeclaration.swift",
"Internal/Tokens/ComplexType.swift",
"Internal/Tokens/ContainerToken.swift",
"Internal/Tokens/Deinitializer.swift",
"Internal/Tokens/FileRepresentation.swift",
"Internal/Tokens/GenericParameter.swift",
"Internal/Tokens/Import.swift",
"Internal/Tokens/Inheritable.swift",
"Internal/Tokens/Initializer.swift",
"Internal/Tokens/Method.swift",
"Internal/Tokens/MethodParameter.swift",
"Internal/Tokens/MethodSignature.swift",
"Internal/Tokens/NamespaceDeclaration.swift",
"Internal/Tokens/ProtocolDeclaration.swift",
"Internal/Tokens/Serializable.swift",
"Internal/Tokens/ThrowType.swift",
"Internal/Tokens/Token.swift",
"Internal/Tokens/Typealias.swift",
"Internal/Tokens/Variable.swift",
"Internal/Tokens/WrappableType.swift",
"Internal/TypeGuesser.swift"
],
"type" : "executable"
},
{
"c99name" : "Cuckoo",
"module_type" : "SwiftTarget",
"name" : "Cuckoo",
"path" : "Source",
"product_memberships" : [
"Cuckoo"
],
"sources" : [
"CuckooFunctions.swift",
"DefaultValueRegistry.swift",
"Initialization/CreateMock.swift",
"Initialization/MockBuilder.swift",
"Initialization/MockManager+preconfigured.swift",
"Initialization/ThreadLocal.swift",
"Matching/Array+matchers.swift",
"Matching/CallMatcher.swift",
"Matching/CallMatcherFunctions.swift",
"Matching/Dictionary+matchers.swift",
"Matching/Matchable.swift",
"Matching/ParameterMatcher+closures.swift",
"Matching/ParameterMatcher.swift",
"Matching/ParameterMatcherFunctions.swift",
"Matching/Set+matchers.swift",
"Mock/Mock.swift",
"Mock/Mocked.swift",
"Mock/StubbingProxy.swift",
"Mock/VerificationProxy.swift",
"MockManager.swift",
"Stubbing/Stub.swift",
"Stubbing/StubAction.swift",
"Stubbing/StubCall.swift",
"Stubbing/StubFunction/StubFunction.swift",
"Stubbing/StubFunction/StubNoReturnFunction.swift",
"Stubbing/StubFunction/StubNoReturnThrowingFunction.swift",
"Stubbing/StubFunction/StubThrowingFunction.swift",
"Stubbing/StubFunction/Trait/BaseStubFunctionTrait.swift",
"Stubbing/StubFunction/Trait/StubFunctionThenCallRealImplementationTrait.swift",
"Stubbing/StubFunction/Trait/StubFunctionThenDoNothingTrait.swift",
"Stubbing/StubFunction/Trait/StubFunctionThenReturnTrait.swift",
"Stubbing/StubFunction/Trait/StubFunctionThenThrowTrait.swift",
"Stubbing/StubFunction/Trait/StubFunctionThenThrowingTrait.swift",
"Stubbing/StubFunction/Trait/StubFunctionThenTrait.swift",
"Stubbing/ToBeStubbedProperty/ToBeStubbedProperty.swift",
"Stubbing/ToBeStubbedProperty/ToBeStubbedReadOnlyProperty.swift",
"Stubbing/ToBeStubbedProperty/ToBeStubbedThrowingProperty.swift",
"Utils.swift",
"Verification/ArgumentCaptor.swift",
"Verification/VerifyProperty/VerifyProperty.swift",
"Verification/VerifyProperty/VerifyReadOnlyProperty.swift",
"Verification/__DoNotUse.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/LebJe/TOMLKit.git
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/kylef/Stencil.git
Fetching https://github.com/swiftlang/swift-syntax
[1/23397] Fetching tomlkit
[1873/28690] Fetching tomlkit, stencil
[8885/29886] Fetching tomlkit, stencil, rainbow
[19593/53176] Fetching tomlkit, stencil, rainbow, xcodeproj
[24736/68562] Fetching tomlkit, stencil, rainbow, xcodeproj, swift-argument-parser
Fetched https://github.com/kylef/Stencil.git from cache (0.53s)
[21546/63269] Fetching tomlkit, rainbow, xcodeproj, swift-argument-parser
Fetching https://github.com/nvzqz/FileKit.git
[44589/66392] Fetching tomlkit, rainbow, xcodeproj, swift-argument-parser, filekit
[44900/136933] Fetching tomlkit, rainbow, xcodeproj, swift-argument-parser, filekit, swift-syntax
Fetched https://github.com/nvzqz/FileKit.git from cache (1.17s)
[69685/133810] Fetching tomlkit, rainbow, xcodeproj, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (2.70s)
[97262/118424] Fetching tomlkit, rainbow, xcodeproj, swift-syntax
Fetched https://github.com/onevcat/Rainbow from cache (7.01s)
Fetched https://github.com/LebJe/TOMLKit.git from cache (7.02s)
Fetched https://github.com/tuist/XcodeProj.git from cache (7.06s)
Fetched https://github.com/swiftlang/swift-syntax from cache (7.08s)
Computing version for https://github.com/kylef/Stencil.git
Computed https://github.com/kylef/Stencil.git at 0.15.1 (10.06s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
[1/1411] Fetching pathkit
[16/2432] Fetching pathkit, spectre
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 (1.07s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.79s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.05s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (3.08s)
Computing version for https://github.com/LebJe/TOMLKit.git
Computed https://github.com/LebJe/TOMLKit.git at 0.6.0 (0.76s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.75s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.04s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.70s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.32s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.01s)
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/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/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/kylef/Stencil.git
Working copy of https://github.com/kylef/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.27.7
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
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/84] Write sources
[21/84] Compiling _SwiftSyntaxCShims dummy.c
[23/84] Write sources
[35/84] Write swift-version-24593BA9C3E375BF.txt
[36/84] Compiling Conversion.cpp
[37/84] Compiling Date&Time&DateTime.cpp
[38/84] Compiling Node.cpp
[40/90] Emitting module SwiftSyntax601
[40/90] Compiling Array.cpp
[41/92] Compiling Table.cpp
[42/94] Compiling Node.cpp
[43/120] Compiling Array.cpp
[44/122] Compiling Table.cpp
[46/124] Emitting module SwiftSyntax601
[47/124] Compiling SwiftSyntax601 Empty.swift
[49/125] Emitting module SwiftSyntax600
[50/125] Compiling SwiftSyntax600 Empty.swift
[52/126] Compiling SwiftSyntax509 Empty.swift
[53/126] Emitting module SwiftSyntax509
[54/126] Compiling SwiftSyntax601 Empty.swift
[55/128] Compiling SwiftSyntax600 Empty.swift
[56/128] Emitting module SwiftSyntax600
[59/129] Compiling SwiftSyntax510 Empty.swift
[60/129] Emitting module SwiftSyntax510
[64/132] Compiling SwiftSyntax510 Empty.swift
[65/144] Compiling SwiftSyntax509 Empty.swift
[66/144] Emitting module SwiftSyntax509
[69/320] Compiling SwiftSyntax Utils.swift
[70/320] Compiling SwiftSyntax ChildNameForKeyPath.swift
[71/320] Compiling SwiftSyntax Keyword.swift
[72/323] Emitting module FileKit
[73/327] Compiling TOMLKit TOMLValue+Initializers.swift
[74/327] Compiling TOMLKit TOMLValue.swift
[75/327] Compiling TOMLKit ValueOptions.swift
[76/327] Compiling SwiftSyntax SourcePresence.swift
[77/327] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[78/327] Compiling SwiftSyntax Syntax.swift
[79/327] Compiling SwiftSyntax SyntaxArena.swift
[80/327] 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
[81/327] 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
[82/327] 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
[83/327] 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
[84/327] Compiling SwiftSyntax RawSyntaxLayoutView.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
[85/327] Compiling SwiftSyntax RenamedNodesCompatibility.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 | }
[86/327] Compiling SwiftSyntax SyntaxAnyVisitor.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 | }
/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 | }
/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/327] Compiling SwiftSyntax SyntaxNodeFactory.swift
[91/327] Compiling SwiftSyntax SyntaxNodeStructure.swift
[92/327] Compiling SwiftSyntax SyntaxProtocol.swift
[93/327] Compiling FileKit PropertyListType.swift
[94/327] Compiling FileKit RelativePathType.swift
[95/327] Compiling FileKit String+FileKit.swift
[96/327] Compiling FileKit TextFile.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 |
[100/327] Compiling SwiftSyntax RenamedChildrenCompatibility.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 |
[101/327] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[102/327] Compiling SwiftSyntax RawSyntaxTokenView.swift
[103/327] Compiling SwiftSyntax SourceEdit.swift
[104/327] Compiling SwiftSyntax SourceLength.swift
[105/327] Compiling SwiftSyntax SourceLocation.swift
[106/327] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[107/327] Compiling SwiftSyntax SyntaxChildren.swift
[108/327] Compiling SwiftSyntax SyntaxCollection.swift
[109/327] Compiling SwiftSyntax SyntaxHashable.swift
[110/327] Compiling SwiftSyntax Trivia.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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
Building for debugging...
[2/42] Write sources
[4/43] Write swift-version-24593BA9C3E375BF.txt
[6/79] Compiling SwiftSyntax600 Empty.swift
[7/79] Emitting module SwiftSyntax601
[8/79] Emitting module SwiftSyntax600
[9/79] Compiling SwiftSyntax601 Empty.swift
[10/79] Emitting module SwiftSyntax510
[11/79] Compiling SwiftSyntax510 Empty.swift
[12/82] Emitting module SwiftSyntax600
[13/82] Compiling SwiftSyntax601 Empty.swift
[14/82] Emitting module SwiftSyntax601
[15/83] Compiling SwiftSyntax600 Empty.swift
[21/112] Compiling SwiftSyntax510 Empty.swift
[22/112] Compiling TOMLKit TOMLCodingKey.swift
[23/112] Compiling TOMLKit TOMLParseError.swift
[24/112] Compiling TOMLKit TOMLType.swift
[25/115] Emitting module SwiftSyntax510
[26/116] Emitting module SwiftSyntax509
[28/116] Compiling SwiftSyntax509 Empty.swift
[33/118] Compiling TOMLKit TOMLInt.swift
[34/118] Compiling TOMLKit TOMLTable+CollectionFunctions.swift
[35/118] Compiling TOMLKit TOMLTable.swift
[36/118] Compiling TOMLKit TOMLTableIterator.swift
[37/118] Compiling TOMLKit TOMLValueConvertible+Int.swift
[38/118] Compiling TOMLKit TOMLValueConvertible.swift
[39/120] Emitting module TOMLKit
[40/186] Compiling SwiftSyntax EditorPlaceholder.swift
[41/186] Compiling SwiftSyntax Identifier.swift
[42/186] Compiling SwiftSyntax MemoryLayout.swift
[43/186] Compiling SwiftSyntax MissingNodeInitializers.swift
[44/186] Compiling SwiftSyntax SyntaxCollection.swift
[45/186] Compiling SwiftSyntax SyntaxHashable.swift
[46/186] Compiling SwiftSyntax SyntaxIdentifier.swift
[47/186] Compiling SwiftSyntax AbsolutePosition.swift
[48/186] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[49/186] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[50/186] Compiling SwiftSyntax Assert.swift
[51/186] Compiling SwiftSyntax Syntax.swift
[52/186] Compiling SwiftSyntax SyntaxArena.swift
[53/186] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[54/186] Compiling SwiftSyntax SyntaxChildren.swift
[55/186] Compiling SwiftSyntax BumpPtrAllocator.swift
[56/186] Compiling SwiftSyntax CommonAncestor.swift
[57/186] Compiling SwiftSyntax Convenience.swift
[58/186] Compiling SwiftSyntax CustomTraits.swift
[60/187] Compiling Rainbow StringGenerator.swift
[61/188] Compiling Rainbow String+Rainbow.swift
[62/252] Compiling Rainbow StringGenerator.swift
[63/253] Compiling SwiftSyntax BumpPtrAllocator.swift
[64/253] Compiling SwiftSyntax CommonAncestor.swift
[65/253] Compiling Rainbow OutputTarget.swift
[66/253] Compiling Rainbow Rainbow.swift
[67/253] Compiling Rainbow String+Rainbow.swift
[68/253] Compiling Rainbow Style.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[69/253] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[70/253] Compiling Rainbow Style.swift
[71/253] Emitting module PathKit
[72/253] Compiling SwiftSyntax AbsolutePosition.swift
[73/253] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[74/253] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[75/253] Compiling SwiftSyntax Assert.swift
[76/253] Emitting module Rainbow
[76/254] Compiling Conversion.cpp
[78/254] Compiling Date&Time&DateTime.cpp
[80/356] Compiling Cuckoo Mocked.swift
[81/356] Compiling Cuckoo Array+matchers.swift
[82/356] Compiling Cuckoo CallMatcher.swift
[83/356] Compiling Cuckoo CallMatcherFunctions.swift
[84/360] Compiling PathKit PathKit.swift
[85/361] Compiling Cuckoo CuckooFunctions.swift
[86/361] Compiling Cuckoo DefaultValueRegistry.swift
[87/361] Compiling Cuckoo CreateMock.swift
[88/361] Compiling Cuckoo MockBuilder.swift
[89/361] Compiling Cuckoo MockManager+preconfigured.swift
[90/361] Compiling Cuckoo ThreadLocal.swift
[91/361] Compiling Cuckoo StubbingProxy.swift
[92/361] Compiling Cuckoo VerificationProxy.swift
[93/361] Compiling Cuckoo MockManager.swift
[94/361] Compiling Cuckoo Stub.swift
[95/361] Compiling Cuckoo StubAction.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 | if source == nil && fileDescriptor == -1 {
235 | fileDescriptor = open(path._safeRawValue, O_EVTONLY)
| `- error: cannot find 'O_EVTONLY' in scope
236 | if fileDescriptor == -1 { return false }
237 | var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 | // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 | // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 | source!.setCancelHandler { // [unowned self] () in
255 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
256 | self.fileDescriptor = -1
257 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 | open func close() {
281 | createWatcher?.stopWatching()
282 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
283 | self.fileDescriptor = -1
284 | self.source = nil
[96/361] Compiling Cuckoo ParameterMatcher.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 | if source == nil && fileDescriptor == -1 {
235 | fileDescriptor = open(path._safeRawValue, O_EVTONLY)
| `- error: cannot find 'O_EVTONLY' in scope
236 | if fileDescriptor == -1 { return false }
237 | var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 | // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 | // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 | source!.setCancelHandler { // [unowned self] () in
255 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
256 | self.fileDescriptor = -1
257 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 | open func close() {
281 | createWatcher?.stopWatching()
282 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
283 | self.fileDescriptor = -1
284 | self.source = nil
[97/361] Compiling Cuckoo ParameterMatcherFunctions.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 | if source == nil && fileDescriptor == -1 {
235 | fileDescriptor = open(path._safeRawValue, O_EVTONLY)
| `- error: cannot find 'O_EVTONLY' in scope
236 | if fileDescriptor == -1 { return false }
237 | var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 | // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 | // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 | source!.setCancelHandler { // [unowned self] () in
255 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
256 | self.fileDescriptor = -1
257 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 | open func close() {
281 | createWatcher?.stopWatching()
282 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
283 | self.fileDescriptor = -1
284 | self.source = nil
[98/361] Compiling Cuckoo Set+matchers.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
[99/361] Compiling Cuckoo Mock.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
[101/361] Emitting module FileKit
[102/384] Compiling Cuckoo StubFunctionThenCallRealImplementationTrait.swift
[103/384] Compiling Cuckoo StubFunctionThenDoNothingTrait.swift
[104/384] Compiling Cuckoo StubFunctionThenReturnTrait.swift
[105/384] Compiling Cuckoo StubFunctionThenThrowTrait.swift
[106/384] Compiling Cuckoo StubFunctionThenThrowingTrait.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
983 | public init?(bookmarkData bookData: Data) {
984 | var isStale: ObjCBool = false
985 | let url = try? (NSURL(
| |- error: no exact matches in call to initializer
| |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
| |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
| `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
986 | resolvingBookmarkData: bookData,
987 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
996 | /// - Returns: The `Path` objects bookmarkData.
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
1001 | relativeTo: nil)
1002 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
1002 | }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 | return nil
1014 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 | return nil
1014 | }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 | /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 | public var isUbiquitousItem: Bool {
1020 | return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 | }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 | public func evictUbiquitousItem() throws {
1025 | do {
1026 | return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 | } catch {
1028 | throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: extra arguments at positions #1, #2 in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 | public func setUbiquitous(destination: Path) throws {
1046 | do {
1047 | try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 | } catch {
1049 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 | public func unsetUbiquitous() throws {
1055 | do {
1056 | try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 | } catch {
1058 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 | /// Starts downloading (if necessary) the specified item to the local system.
1063 | func startDownloadingUbiquitous() throws {
1064 | try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 | // TODO need to encapsulate error before exposing it
1066 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 | /// - Parameter groupIdentifier: The group identifier.
1077 | public init?(groupIdentifier: String) {
1078 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1079 | return nil
1080 | }
[107/384] Compiling Cuckoo StubFunctionThenTrait.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
983 | public init?(bookmarkData bookData: Data) {
984 | var isStale: ObjCBool = false
985 | let url = try? (NSURL(
| |- error: no exact matches in call to initializer
| |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
| |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
| `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
986 | resolvingBookmarkData: bookData,
987 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
996 | /// - Returns: The `Path` objects bookmarkData.
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
1001 | relativeTo: nil)
1002 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
1002 | }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 | return nil
1014 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 | return nil
1014 | }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 | /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 | public var isUbiquitousItem: Bool {
1020 | return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 | }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 | public func evictUbiquitousItem() throws {
1025 | do {
1026 | return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 | } catch {
1028 | throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: extra arguments at positions #1, #2 in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 | public func setUbiquitous(destination: Path) throws {
1046 | do {
1047 | try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 | } catch {
1049 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 | public func unsetUbiquitous() throws {
1055 | do {
1056 | try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 | } catch {
1058 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 | /// Starts downloading (if necessary) the specified item to the local system.
1063 | func startDownloadingUbiquitous() throws {
1064 | try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 | // TODO need to encapsulate error before exposing it
1066 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 | /// - Parameter groupIdentifier: The group identifier.
1077 | public init?(groupIdentifier: String) {
1078 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1079 | return nil
1080 | }
[108/384] Compiling Cuckoo ToBeStubbedProperty.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
983 | public init?(bookmarkData bookData: Data) {
984 | var isStale: ObjCBool = false
985 | let url = try? (NSURL(
| |- error: no exact matches in call to initializer
| |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
| |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
| `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
986 | resolvingBookmarkData: bookData,
987 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
996 | /// - Returns: The `Path` objects bookmarkData.
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
1001 | relativeTo: nil)
1002 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
1002 | }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 | return nil
1014 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 | return nil
1014 | }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 | /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 | public var isUbiquitousItem: Bool {
1020 | return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 | }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 | public func evictUbiquitousItem() throws {
1025 | do {
1026 | return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 | } catch {
1028 | throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: extra arguments at positions #1, #2 in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 | public func setUbiquitous(destination: Path) throws {
1046 | do {
1047 | try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 | } catch {
1049 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 | public func unsetUbiquitous() throws {
1055 | do {
1056 | try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 | } catch {
1058 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 | /// Starts downloading (if necessary) the specified item to the local system.
1063 | func startDownloadingUbiquitous() throws {
1064 | try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 | // TODO need to encapsulate error before exposing it
1066 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 | /// - Parameter groupIdentifier: The group identifier.
1077 | public init?(groupIdentifier: String) {
1078 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1079 | return nil
1080 | }
[109/384] Compiling Cuckoo ToBeStubbedReadOnlyProperty.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:985:25: error: no exact matches in call to initializer
983 | public init?(bookmarkData bookData: Data) {
984 | var isStale: ObjCBool = false
985 | let url = try? (NSURL(
| |- error: no exact matches in call to initializer
| |- note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
| |- note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
| `- note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
986 | resolvingBookmarkData: bookData,
987 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
996 | /// - Returns: The `Path` objects bookmarkData.
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
997 | public var bookmarkData: Data? {
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
998 | return try? url.bookmarkData(
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
1001 | relativeTo: nil)
1002 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
999 | options: .suitableForBookmarkFile,
1000 | includingResourceValuesForKeys: nil,
1001 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
1002 | }
1003 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: extra argument 'forUbiquityContainerIdentifier' in call
1013 | return nil
1014 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1010 | /// Create a path for the iCloud container associated with the specified identifier and establishes access to that container.
1011 | public init?(ubiquityContainerIdentifier containerIdentifier: String) {
1012 | guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1013 | return nil
1014 | }
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
1018 | /// - Returns: a Boolean indicating whether the item is targeted for storage in iCloud.
1019 | public var isUbiquitousItem: Bool {
1020 | return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'isUbiquitousItem'
1021 | }
1022 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1024 | public func evictUbiquitousItem() throws {
1025 | do {
1026 | return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'evictUbiquitousItem'
1027 | } catch {
1028 | throw FileKitError.deleteFileFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: extra arguments at positions #1, #2 in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1034 | func publicUbiquitousURL() throws -> (URL, Date?) {
1035 | var expiration: NSDate?
1036 | let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
| `- error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
1037 | guard let date = expiration else {
1038 | return (url, nil)
Foundation.FileManager.url:2:13: note: 'url(for:in:appropriateFor:create:)' declared here
1 | class FileManager {
2 | public func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL}
| `- note: 'url(for:in:appropriateFor:create:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1045 | public func setUbiquitous(destination: Path) throws {
1046 | do {
1047 | try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1048 | } catch {
1049 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
1054 | public func unsetUbiquitous() throws {
1055 | do {
1056 | try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
| `- error: value of type 'FileManager' has no member 'setUbiquitous'
1057 | } catch {
1058 | throw FileKitError.attributesChangeFail(path: self, error: error)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1062 | /// Starts downloading (if necessary) the specified item to the local system.
1063 | func startDownloadingUbiquitous() throws {
1064 | try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
| `- error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
1065 | // TODO need to encapsulate error before exposing it
1066 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
1076 | /// - Parameter groupIdentifier: The group identifier.
1077 | public init?(groupIdentifier: String) {
1078 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1079 | return nil
1080 | }
[110/384] Compiling TOMLKit TOMLTableIterator.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 | /// - Parameter path: The path an array to be read from.
35 | public class func read(from path: Path) throws -> Self {
36 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 | }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | /// Returns data read from the given path.
33 | public class func read(from path: Path) throws -> Self {
34 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 | }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 | public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 | do {
43 | return try self.init(contentsOfFile: path._safeRawValue, options: options)
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 | } catch {
45 | throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
| `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 | /// Returns a dictionary read from the given path.
30 | public class func read(from path: Path) throws -> Self {
31 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 | }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[111/384] Compiling TOMLKit TOMLValueConvertible+Int.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 |
[112/384] Compiling TOMLKit TOMLValueConvertible.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 |
[113/384] Compiling Cuckoo BaseStubFunctionTrait.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 |
[114/387] Compiling FileKit PropertyListType.swift
[115/387] Compiling FileKit RelativePathType.swift
[116/387] Compiling FileKit String+FileKit.swift
[117/387] Compiling FileKit TextFile.swift
BUILD FAILURE 6.1 android