Build Information
Failed to build FileKit with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nvzqz/FileKit.git
Reference: develop
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/nvzqz/FileKit
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 9006d28 Fix warning and update project with Xcode 14.2
Cloned https://github.com/nvzqz/FileKit.git
Revision (git rev-parse @):
9006d2888025fbe893c3c396327b2fe45a8c177b
SUCCESS checkout https://github.com/nvzqz/FileKit.git at develop
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/nvzqz/FileKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/34] Emitting module FileKit
/host/spi-builder-workspace/Sources/Path.swift:1178:12: warning: initializer 'init(stringInterpolation:)' nearly matches defaulted requirement 'init(stringInterpolation:)' of protocol 'ExpressibleByStringInterpolation'
public init(stringInterpolation paths: Path...) {
^
/host/spi-builder-workspace/Sources/Path.swift:1178:12: note: candidate has non-matching type '(stringInterpolation: Path...)' [with StringInterpolation = DefaultStringInterpolation]
public init(stringInterpolation paths: Path...) {
^
/host/spi-builder-workspace/Sources/Path.swift:1178:12: note: move 'init(stringInterpolation:)' to another extension to silence this warning
public init(stringInterpolation paths: Path...) {
^
Swift.ExpressibleByStringInterpolation:3:5: note: requirement 'init(stringInterpolation:)' declared here
init(stringInterpolation: Self.StringInterpolation)
^
[4/38] Compiling FileKit FileProtection.swift
[5/38] Compiling FileKit FileSystemEvent.swift
[6/38] Compiling FileKit FileSystemEventStream.swift
[7/38] Compiling FileKit FileSystemWatcher.swift
[8/38] Compiling FileKit Array+File.swift
/host/spi-builder-workspace/Sources/Array+File.swift:39:30: warning: 'init(contentsOfFile:)' is deprecated
guard let contents = NSArray(contentsOfFile: path._safeRawValue) else {
^
[9/38] Compiling FileKit ArrayFile.swift
/host/spi-builder-workspace/Sources/Array+File.swift:39:30: warning: 'init(contentsOfFile:)' is deprecated
guard let contents = NSArray(contentsOfFile: path._safeRawValue) else {
^
[10/38] Compiling FileKit Bundle+FileKit.swift
/host/spi-builder-workspace/Sources/Array+File.swift:39:30: warning: 'init(contentsOfFile:)' is deprecated
guard let contents = NSArray(contentsOfFile: path._safeRawValue) else {
^
[11/38] Compiling FileKit Data+FileKit.swift
/host/spi-builder-workspace/Sources/Array+File.swift:39:30: warning: 'init(contentsOfFile:)' is deprecated
guard let contents = NSArray(contentsOfFile: path._safeRawValue) else {
^
[12/38] Compiling FileKit DataFile.swift
/host/spi-builder-workspace/Sources/Array+File.swift:39:30: warning: 'init(contentsOfFile:)' is deprecated
guard let contents = NSArray(contentsOfFile: path._safeRawValue) else {
^
[13/38] Compiling FileKit FileType.swift
[14/38] Compiling FileKit Image+FileKit.swift
[15/38] Compiling FileKit ImageFile.swift
[16/38] Compiling FileKit JSONType.swift
[17/38] Compiling FileKit DispatchWatcher.swift
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
fileDescriptor = open(path._safeRawValue, O_EVTONLY)
^~~~~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
_ = Darwin.close(self.fileDescriptor)
^~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
_ = Darwin.close(self.fileDescriptor)
^~~~~~
[18/38] Compiling FileKit File.swift
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
fileDescriptor = open(path._safeRawValue, O_EVTONLY)
^~~~~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
_ = Darwin.close(self.fileDescriptor)
^~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
_ = Darwin.close(self.fileDescriptor)
^~~~~~
[19/38] Compiling FileKit FileKit.swift
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
fileDescriptor = open(path._safeRawValue, O_EVTONLY)
^~~~~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
_ = Darwin.close(self.fileDescriptor)
^~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
_ = Darwin.close(self.fileDescriptor)
^~~~~~
[20/38] Compiling FileKit FileKitError.swift
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
fileDescriptor = open(path._safeRawValue, O_EVTONLY)
^~~~~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
_ = Darwin.close(self.fileDescriptor)
^~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
_ = Darwin.close(self.fileDescriptor)
^~~~~~
[21/38] Compiling FileKit FilePermissions.swift
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
fileDescriptor = open(path._safeRawValue, O_EVTONLY)
^~~~~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
_ = Darwin.close(self.fileDescriptor)
^~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
_ = Darwin.close(self.fileDescriptor)
^~~~~~
[22/38] Compiling FileKit PropertyListType.swift
[23/38] Compiling FileKit RelativePathType.swift
[24/38] Compiling FileKit String+FileKit.swift
[25/38] Compiling FileKit TextFile.swift
[26/38] Compiling FileKit NSString+FileKit.swift
/host/spi-builder-workspace/Sources/Path.swift:1178:12: warning: initializer 'init(stringInterpolation:)' nearly matches defaulted requirement 'init(stringInterpolation:)' of protocol 'ExpressibleByStringInterpolation'
public init(stringInterpolation paths: Path...) {
^
/host/spi-builder-workspace/Sources/Path.swift:1178:12: note: candidate has non-matching type '(stringInterpolation: Path...)' [with StringInterpolation = DefaultStringInterpolation]
public init(stringInterpolation paths: Path...) {
^
/host/spi-builder-workspace/Sources/Path.swift:1178:12: note: move 'init(stringInterpolation:)' to another extension to silence this warning
public init(stringInterpolation paths: Path...) {
^
Swift.ExpressibleByStringInterpolation:3:5: note: requirement 'init(stringInterpolation:)' declared here
init(stringInterpolation: Self.StringInterpolation)
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: error: no exact matches in call to initializer
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
return try? url.bookmarkData(
~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
options: .suitableForBookmarkFile,
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
includingResourceValuesForKeys: nil,
^
/host/spi-builder-workspace/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
relativeTo: nil)
^
/host/spi-builder-workspace/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
^
Foundation.FileManager:6:15: note: 'url(for:in:appropriateFor:create:)' declared here
open func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
^
/host/spi-builder-workspace/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
^
Foundation.FileManager:6:15: note: 'url(for:in:appropriateFor:create:)' declared here
open func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
^
/host/spi-builder-workspace/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
^
Foundation.FileManager:6:15: note: 'url(for:in:appropriateFor:create:)' declared here
open func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
^
/host/spi-builder-workspace/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
~~~~~~~~~~~~~ ^~~~~~~~~~~~
[27/38] Compiling FileKit Operators.swift
/host/spi-builder-workspace/Sources/Path.swift:1178:12: warning: initializer 'init(stringInterpolation:)' nearly matches defaulted requirement 'init(stringInterpolation:)' of protocol 'ExpressibleByStringInterpolation'
public init(stringInterpolation paths: Path...) {
^
/host/spi-builder-workspace/Sources/Path.swift:1178:12: note: candidate has non-matching type '(stringInterpolation: Path...)' [with StringInterpolation = DefaultStringInterpolation]
public init(stringInterpolation paths: Path...) {
^
/host/spi-builder-workspace/Sources/Path.swift:1178:12: note: move 'init(stringInterpolation:)' to another extension to silence this warning
public init(stringInterpolation paths: Path...) {
^
Swift.ExpressibleByStringInterpolation:3:5: note: requirement 'init(stringInterpolation:)' declared here
init(stringInterpolation: Self.StringInterpolation)
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: error: no exact matches in call to initializer
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
return try? url.bookmarkData(
~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
options: .suitableForBookmarkFile,
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
includingResourceValuesForKeys: nil,
^
/host/spi-builder-workspace/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
relativeTo: nil)
^
/host/spi-builder-workspace/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
^
Foundation.FileManager:6:15: note: 'url(for:in:appropriateFor:create:)' declared here
open func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
^
/host/spi-builder-workspace/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
^
Foundation.FileManager:6:15: note: 'url(for:in:appropriateFor:create:)' declared here
open func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
^
/host/spi-builder-workspace/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
^
Foundation.FileManager:6:15: note: 'url(for:in:appropriateFor:create:)' declared here
open func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
^
/host/spi-builder-workspace/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
~~~~~~~~~~~~~ ^~~~~~~~~~~~
[28/38] Compiling FileKit Path.swift
/host/spi-builder-workspace/Sources/Path.swift:1178:12: warning: initializer 'init(stringInterpolation:)' nearly matches defaulted requirement 'init(stringInterpolation:)' of protocol 'ExpressibleByStringInterpolation'
public init(stringInterpolation paths: Path...) {
^
/host/spi-builder-workspace/Sources/Path.swift:1178:12: note: candidate has non-matching type '(stringInterpolation: Path...)' [with StringInterpolation = DefaultStringInterpolation]
public init(stringInterpolation paths: Path...) {
^
/host/spi-builder-workspace/Sources/Path.swift:1178:12: note: move 'init(stringInterpolation:)' to another extension to silence this warning
public init(stringInterpolation paths: Path...) {
^
Swift.ExpressibleByStringInterpolation:3:5: note: requirement 'init(stringInterpolation:)' declared here
init(stringInterpolation: Self.StringInterpolation)
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: error: no exact matches in call to initializer
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
return try? url.bookmarkData(
~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
options: .suitableForBookmarkFile,
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
includingResourceValuesForKeys: nil,
^
/host/spi-builder-workspace/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
relativeTo: nil)
^
/host/spi-builder-workspace/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
^
Foundation.FileManager:6:15: note: 'url(for:in:appropriateFor:create:)' declared here
open func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
^
/host/spi-builder-workspace/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
^
Foundation.FileManager:6:15: note: 'url(for:in:appropriateFor:create:)' declared here
open func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
^
/host/spi-builder-workspace/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
^
Foundation.FileManager:6:15: note: 'url(for:in:appropriateFor:create:)' declared here
open func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
^
/host/spi-builder-workspace/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
~~~~~~~~~~~~~ ^~~~~~~~~~~~
[29/38] Compiling FileKit Process+FileKit.swift
/host/spi-builder-workspace/Sources/Path.swift:1178:12: warning: initializer 'init(stringInterpolation:)' nearly matches defaulted requirement 'init(stringInterpolation:)' of protocol 'ExpressibleByStringInterpolation'
public init(stringInterpolation paths: Path...) {
^
/host/spi-builder-workspace/Sources/Path.swift:1178:12: note: candidate has non-matching type '(stringInterpolation: Path...)' [with StringInterpolation = DefaultStringInterpolation]
public init(stringInterpolation paths: Path...) {
^
/host/spi-builder-workspace/Sources/Path.swift:1178:12: note: move 'init(stringInterpolation:)' to another extension to silence this warning
public init(stringInterpolation paths: Path...) {
^
Swift.ExpressibleByStringInterpolation:3:5: note: requirement 'init(stringInterpolation:)' declared here
init(stringInterpolation: Self.StringInterpolation)
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: error: no exact matches in call to initializer
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
return try? url.bookmarkData(
~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
options: .suitableForBookmarkFile,
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
includingResourceValuesForKeys: nil,
^
/host/spi-builder-workspace/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
relativeTo: nil)
^
/host/spi-builder-workspace/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
^
Foundation.FileManager:6:15: note: 'url(for:in:appropriateFor:create:)' declared here
open func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
^
/host/spi-builder-workspace/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
^
Foundation.FileManager:6:15: note: 'url(for:in:appropriateFor:create:)' declared here
open func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
^
/host/spi-builder-workspace/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
^
Foundation.FileManager:6:15: note: 'url(for:in:appropriateFor:create:)' declared here
open func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
^
/host/spi-builder-workspace/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
~~~~~~~~~~~~~ ^~~~~~~~~~~~
[30/38] Compiling FileKit NSArray+FileKit.swift
/host/spi-builder-workspace/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSArray:70:24: note: selected non-required initializer 'init(contentsOfFile:)'
public convenience init?(contentsOfFile path: String)
^
/host/spi-builder-workspace/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSData:8:12: note: selected non-required initializer 'init(contentsOfFile:)'
public init?(contentsOfFile path: String)
^
/host/spi-builder-workspace/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
return try self.init(contentsOfFile: path._safeRawValue, options: options)
~~~~ ^
Foundation.NSData:7:12: note: selected non-required initializer 'init(contentsOfFile:options:)'
public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
^
/host/spi-builder-workspace/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSDictionary:7:24: note: selected non-required initializer 'init(contentsOfFile:)'
public convenience init?(contentsOfFile path: String)
^
[31/38] Compiling FileKit NSData+FileKit.swift
/host/spi-builder-workspace/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSArray:70:24: note: selected non-required initializer 'init(contentsOfFile:)'
public convenience init?(contentsOfFile path: String)
^
/host/spi-builder-workspace/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSData:8:12: note: selected non-required initializer 'init(contentsOfFile:)'
public init?(contentsOfFile path: String)
^
/host/spi-builder-workspace/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
return try self.init(contentsOfFile: path._safeRawValue, options: options)
~~~~ ^
Foundation.NSData:7:12: note: selected non-required initializer 'init(contentsOfFile:options:)'
public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
^
/host/spi-builder-workspace/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSDictionary:7:24: note: selected non-required initializer 'init(contentsOfFile:)'
public convenience init?(contentsOfFile path: String)
^
[32/38] Compiling FileKit NSDataFile.swift
/host/spi-builder-workspace/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSArray:70:24: note: selected non-required initializer 'init(contentsOfFile:)'
public convenience init?(contentsOfFile path: String)
^
/host/spi-builder-workspace/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSData:8:12: note: selected non-required initializer 'init(contentsOfFile:)'
public init?(contentsOfFile path: String)
^
/host/spi-builder-workspace/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
return try self.init(contentsOfFile: path._safeRawValue, options: options)
~~~~ ^
Foundation.NSData:7:12: note: selected non-required initializer 'init(contentsOfFile:options:)'
public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
^
/host/spi-builder-workspace/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSDictionary:7:24: note: selected non-required initializer 'init(contentsOfFile:)'
public convenience init?(contentsOfFile path: String)
^
[33/38] Compiling FileKit NSDictionary+FileKit.swift
/host/spi-builder-workspace/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSArray:70:24: note: selected non-required initializer 'init(contentsOfFile:)'
public convenience init?(contentsOfFile path: String)
^
/host/spi-builder-workspace/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSData:8:12: note: selected non-required initializer 'init(contentsOfFile:)'
public init?(contentsOfFile path: String)
^
/host/spi-builder-workspace/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
return try self.init(contentsOfFile: path._safeRawValue, options: options)
~~~~ ^
Foundation.NSData:7:12: note: selected non-required initializer 'init(contentsOfFile:options:)'
public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
^
/host/spi-builder-workspace/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSDictionary:7:24: note: selected non-required initializer 'init(contentsOfFile:)'
public convenience init?(contentsOfFile path: String)
^
[34/38] Compiling FileKit DataType.swift
/host/spi-builder-workspace/Sources/Dictionary+File.swift:39:30: warning: 'init(contentsOfFile:)' is deprecated
guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
^
[35/38] Compiling FileKit Dictionary+File.swift
/host/spi-builder-workspace/Sources/Dictionary+File.swift:39:30: warning: 'init(contentsOfFile:)' is deprecated
guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
^
[36/38] Compiling FileKit DictionaryFile.swift
/host/spi-builder-workspace/Sources/Dictionary+File.swift:39:30: warning: 'init(contentsOfFile:)' is deprecated
guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
^
[37/38] Compiling FileKit DirectoryEnumerator.swift
/host/spi-builder-workspace/Sources/Dictionary+File.swift:39:30: warning: 'init(contentsOfFile:)' is deprecated
guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
^
[38/38] Compiling FileKit DispatchEvent.swift
/host/spi-builder-workspace/Sources/Dictionary+File.swift:39:30: warning: 'init(contentsOfFile:)' is deprecated
guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling FileKit FilePermissions.swift
/host/spi-builder-workspace/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSArray:70:24: note: selected non-required initializer 'init(contentsOfFile:)'
public convenience init?(contentsOfFile path: String)
^
[3/14] Compiling FileKit NSArray+FileKit.swift
/host/spi-builder-workspace/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSArray:70:24: note: selected non-required initializer 'init(contentsOfFile:)'
public convenience init?(contentsOfFile path: String)
^
[4/15] Compiling FileKit Process+FileKit.swift
[5/15] Compiling FileKit FileKit.swift
[6/15] Compiling FileKit FileKitError.swift
[7/17] Emitting module FileKit
/host/spi-builder-workspace/Sources/Path.swift:1178:12: warning: initializer 'init(stringInterpolation:)' nearly matches defaulted requirement 'init(stringInterpolation:)' of protocol 'ExpressibleByStringInterpolation'
public init(stringInterpolation paths: Path...) {
^
/host/spi-builder-workspace/Sources/Path.swift:1178:12: note: candidate has non-matching type '(stringInterpolation: Path...)' [with StringInterpolation = DefaultStringInterpolation]
public init(stringInterpolation paths: Path...) {
^
/host/spi-builder-workspace/Sources/Path.swift:1178:12: note: move 'init(stringInterpolation:)' to another extension to silence this warning
public init(stringInterpolation paths: Path...) {
^
Swift.ExpressibleByStringInterpolation:3:5: note: requirement 'init(stringInterpolation:)' declared here
init(stringInterpolation: Self.StringInterpolation)
^
[8/17] Compiling FileKit DispatchWatcher.swift
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
fileDescriptor = open(path._safeRawValue, O_EVTONLY)
^~~~~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
_ = Darwin.close(self.fileDescriptor)
^~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
_ = Darwin.close(self.fileDescriptor)
^~~~~~
[9/17] Compiling FileKit File.swift
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
fileDescriptor = open(path._safeRawValue, O_EVTONLY)
^~~~~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
_ = Darwin.close(self.fileDescriptor)
^~~~~~
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
_ = Darwin.close(self.fileDescriptor)
^~~~~~
[10/19] Compiling FileKit Operators.swift
[11/19] Compiling FileKit NSData+FileKit.swift
/host/spi-builder-workspace/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSData:8:12: note: selected non-required initializer 'init(contentsOfFile:)'
public init?(contentsOfFile path: String)
^
/host/spi-builder-workspace/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
return try self.init(contentsOfFile: path._safeRawValue, options: options)
~~~~ ^
Foundation.NSData:7:12: note: selected non-required initializer 'init(contentsOfFile:options:)'
public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
^
[12/19] Compiling FileKit NSDataFile.swift
/host/spi-builder-workspace/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSData:8:12: note: selected non-required initializer 'init(contentsOfFile:)'
public init?(contentsOfFile path: String)
^
/host/spi-builder-workspace/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
return try self.init(contentsOfFile: path._safeRawValue, options: options)
~~~~ ^
Foundation.NSData:7:12: note: selected non-required initializer 'init(contentsOfFile:options:)'
public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws
^
[13/19] Compiling FileKit NSDictionary+FileKit.swift
/host/spi-builder-workspace/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSDictionary:7:24: note: selected non-required initializer 'init(contentsOfFile:)'
public convenience init?(contentsOfFile path: String)
^
[14/19] Compiling FileKit NSString+FileKit.swift
/host/spi-builder-workspace/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
~~~~ ^
Foundation.NSDictionary:7:24: note: selected non-required initializer 'init(contentsOfFile:)'
public convenience init?(contentsOfFile path: String)
^
[15/20] Compiling FileKit Path.swift
/host/spi-builder-workspace/Sources/Path.swift:1178:12: warning: initializer 'init(stringInterpolation:)' nearly matches defaulted requirement 'init(stringInterpolation:)' of protocol 'ExpressibleByStringInterpolation'
public init(stringInterpolation paths: Path...) {
^
/host/spi-builder-workspace/Sources/Path.swift:1178:12: note: candidate has non-matching type '(stringInterpolation: Path...)' [with StringInterpolation = DefaultStringInterpolation]
public init(stringInterpolation paths: Path...) {
^
/host/spi-builder-workspace/Sources/Path.swift:1178:12: note: move 'init(stringInterpolation:)' to another extension to silence this warning
public init(stringInterpolation paths: Path...) {
^
Swift.ExpressibleByStringInterpolation:3:5: note: requirement 'init(stringInterpolation:)' declared here
init(stringInterpolation: Self.StringInterpolation)
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: error: no exact matches in call to initializer
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: note: candidate has partially matching parameter list (fileURLWithPath: String, relativeTo: URL?)
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: note: candidate has partially matching parameter list (dataRepresentation: Data, relativeTo: URL?)
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:985:25: note: candidate has partially matching parameter list (absoluteURLWithDataRepresentation: Data, relativeTo: URL?)
let url = try? (NSURL(
^
/host/spi-builder-workspace/Sources/Path.swift:998:25: error: value of type 'URL' has no member 'bookmarkData'
return try? url.bookmarkData(
~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:999:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
options: .suitableForBookmarkFile,
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1000:45: error: 'nil' requires a contextual type
includingResourceValuesForKeys: nil,
^
/host/spi-builder-workspace/Sources/Path.swift:1001:25: error: 'nil' requires a contextual type
relativeTo: nil)
^
/host/spi-builder-workspace/Sources/Path.swift:1012:81: error: extra argument 'forUbiquityContainerIdentifier' in call
guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1012:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
guard let url = FileManager.default.url(forUbiquityContainerIdentifier: containerIdentifier) else {
^
Foundation.FileManager:6:15: note: 'url(for:in:appropriateFor:create:)' declared here
open func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
^
/host/spi-builder-workspace/Sources/Path.swift:1020:38: error: value of type 'FileManager' has no member 'isUbiquitousItem'
return _fmWraper.fileManager.isUbiquitousItem(at: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1026:46: error: value of type 'FileManager' has no member 'evictUbiquitousItem'
return try _fmWraper.fileManager.evictUbiquitousItem(at: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1036:48: error: extra arguments at positions #1, #2 in call
let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
^
Foundation.FileManager:6:15: note: 'url(for:in:appropriateFor:create:)' declared here
open func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
^
/host/spi-builder-workspace/Sources/Path.swift:1036:48: error: missing arguments for parameters 'for', 'in', 'appropriateFor', 'create' in call
let url = try _fmWraper.fileManager.url(forPublishingUbiquitousItemAt: self.url, expiration: &expiration)
^
Foundation.FileManager:6:15: note: 'url(for:in:appropriateFor:create:)' declared here
open func url(for directory: FileManager.SearchPathDirectory, in domain: FileManager.SearchPathDomainMask, appropriateFor reference: URL?, create shouldCreate: Bool) throws -> URL
^
/host/spi-builder-workspace/Sources/Path.swift:1047:39: error: value of type 'FileManager' has no member 'setUbiquitous'
try _fmWraper.fileManager.setUbiquitous(true, itemAt: self.url, destinationURL: destination.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1056:39: error: value of type 'FileManager' has no member 'setUbiquitous'
try _fmWraper.fileManager.setUbiquitous(false, itemAt: self.url, destinationURL: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1064:35: error: value of type 'FileManager' has no member 'startDownloadingUbiquitousItem'
try _fmWraper.fileManager.startDownloadingUbiquitousItem(at: self.url)
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Path.swift:1078:39: error: value of type 'FileManager' has no member 'containerURL'
guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
~~~~~~~~~~~~~ ^~~~~~~~~~~~
[16/23] Compiling FileKit Array+File.swift
/host/spi-builder-workspace/Sources/Array+File.swift:39:30: warning: 'init(contentsOfFile:)' is deprecated
guard let contents = NSArray(contentsOfFile: path._safeRawValue) else {
^
[17/23] Compiling FileKit Data+FileKit.swift
[18/25] Compiling FileKit DataType.swift
[19/25] Compiling FileKit Dictionary+File.swift
/host/spi-builder-workspace/Sources/Dictionary+File.swift:39:30: warning: 'init(contentsOfFile:)' is deprecated
guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
^
[20/27] Compiling FileKit JSONType.swift
[21/28] Compiling FileKit DirectoryEnumerator.swift
[22/28] Compiling FileKit DataFile.swift
[23/28] Compiling FileKit FileType.swift
[24/28] Compiling FileKit RelativePathType.swift
[25/28] Compiling FileKit DispatchEvent.swift
[26/28] Compiling FileKit PropertyListType.swift
[27/28] Compiling FileKit TextFile.swift
[28/28] Compiling FileKit String+FileKit.swift
error: fatalError
BUILD FAILURE 5.10 linux