Build Information
Failed to build DataModelKit, reference master (574dbf
), with Swift 6.1 for Linux on 27 Apr 2025 13:06:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PoissonBallon/DataModelKit.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/PoissonBallon/DataModelKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 574dbfc Update AttributeType
Cloned https://github.com/PoissonBallon/DataModelKit.git
Revision (git rev-parse @):
574dbfc730323b200a0b1d4b4e11e10597fec397
SUCCESS checkout https://github.com/PoissonBallon/DataModelKit.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/PoissonBallon/DataModelKit.git
https://github.com/PoissonBallon/DataModelKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swxmlhash",
"requirement" : {
"range" : [
{
"lower_bound" : "4.2.5",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/drmohundro/SWXMLHash.git"
},
{
"identity" : "filekit",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nvzqz/FileKit.git"
}
],
"manifest_display_name" : "DataModelKit",
"name" : "DataModelKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "DataModelKit",
"targets" : [
"DataModelKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DataModelKitTests",
"module_type" : "SwiftTarget",
"name" : "DataModelKitTests",
"path" : "Tests/DataModelKitTests",
"sources" : [
"DataModelKitTests.swift"
],
"target_dependencies" : [
"DataModelKit"
],
"type" : "test"
},
{
"c99name" : "DataModelKit",
"module_type" : "SwiftTarget",
"name" : "DataModelKit",
"path" : "Sources/DataModelKit",
"product_dependencies" : [
"FileKit",
"SWXMLHash"
],
"product_memberships" : [
"DataModelKit"
],
"sources" : [
"Attribute.swift",
"AttributeType.swift",
"DataModel.swift",
"DataModelError.swift",
"DataModelKit.swift",
"Entity.swift",
"Relationship.swift",
"UserInfo.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/nvzqz/FileKit.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/3123] Fetching filekit
[1813/5943] Fetching filekit, swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.46s)
Fetched https://github.com/nvzqz/FileKit.git from cache (0.46s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 5.3.0 (2.62s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.9.0 (0.48s)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.9.0
Creating working copy for https://github.com/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 5.3.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/40] Emitting module FileKit
[6/44] Compiling SWXMLHash shim.swift
[7/44] Compiling FileKit PropertyListType.swift
[8/44] Compiling FileKit RelativePathType.swift
[9/44] Compiling FileKit String+FileKit.swift
[10/44] Compiling FileKit TextFile.swift
[11/44] Compiling FileKit FileType.swift
[12/44] Compiling FileKit Image+FileKit.swift
[13/44] Compiling FileKit ImageFile.swift
[14/44] Compiling FileKit JSONType.swift
[15/44] Compiling FileKit FileProtection.swift
[16/44] Compiling FileKit FileSystemEvent.swift
[17/44] Compiling FileKit FileSystemEventStream.swift
[18/44] Compiling FileKit FileSystemWatcher.swift
[19/44] Compiling FileKit DispatchWatcher.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 | if source == nil && fileDescriptor == -1 {
235 | fileDescriptor = open(path._safeRawValue, O_EVTONLY)
| `- error: cannot find 'O_EVTONLY' in scope
236 | if fileDescriptor == -1 { return false }
237 | var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 | // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 | // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 | source!.setCancelHandler { //[unowned self] () in
255 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
256 | self.fileDescriptor = -1
257 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 | open func close() {
281 | createWatcher?.stopWatching()
282 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
283 | self.fileDescriptor = -1
284 | self.source = nil
[20/44] Compiling FileKit File.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 | if source == nil && fileDescriptor == -1 {
235 | fileDescriptor = open(path._safeRawValue, O_EVTONLY)
| `- error: cannot find 'O_EVTONLY' in scope
236 | if fileDescriptor == -1 { return false }
237 | var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 | // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 | // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 | source!.setCancelHandler { //[unowned self] () in
255 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
256 | self.fileDescriptor = -1
257 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 | open func close() {
281 | createWatcher?.stopWatching()
282 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
283 | self.fileDescriptor = -1
284 | self.source = nil
[21/44] Compiling FileKit FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 | if source == nil && fileDescriptor == -1 {
235 | fileDescriptor = open(path._safeRawValue, O_EVTONLY)
| `- error: cannot find 'O_EVTONLY' in scope
236 | if fileDescriptor == -1 { return false }
237 | var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 | // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 | // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 | source!.setCancelHandler { //[unowned self] () in
255 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
256 | self.fileDescriptor = -1
257 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 | open func close() {
281 | createWatcher?.stopWatching()
282 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
283 | self.fileDescriptor = -1
284 | self.source = nil
[22/44] Compiling FileKit FileKitError.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 | if source == nil && fileDescriptor == -1 {
235 | fileDescriptor = open(path._safeRawValue, O_EVTONLY)
| `- error: cannot find 'O_EVTONLY' in scope
236 | if fileDescriptor == -1 { return false }
237 | var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 | // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 | // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 | source!.setCancelHandler { //[unowned self] () in
255 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
256 | self.fileDescriptor = -1
257 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 | open func close() {
281 | createWatcher?.stopWatching()
282 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
283 | self.fileDescriptor = -1
284 | self.source = nil
[23/44] Compiling FileKit FilePermissions.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 | if source == nil && fileDescriptor == -1 {
235 | fileDescriptor = open(path._safeRawValue, O_EVTONLY)
| `- error: cannot find 'O_EVTONLY' in scope
236 | if fileDescriptor == -1 { return false }
237 | var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 | // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 | // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 | source!.setCancelHandler { //[unowned self] () in
255 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
256 | self.fileDescriptor = -1
257 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 | open func close() {
281 | createWatcher?.stopWatching()
282 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
283 | self.fileDescriptor = -1
284 | self.source = nil
[24/44] Compiling FileKit DataType.swift
[25/44] Compiling FileKit Dictionary+File.swift
[26/44] Compiling FileKit DictionaryFile.swift
[27/44] Compiling FileKit DirectoryEnumerator.swift
[28/44] Compiling FileKit DispatchEvent.swift
[29/44] Compiling SWXMLHash SWXMLHash.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:185:11: error: cannot find type 'XMLParserDelegate' in scope
183 | #if os(Linux)
184 |
185 | extension XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
186 | func parserDidStartDocument(_ parser: Foundation.XMLParser) { }
187 | func parserDidEndDocument(_ parser: Foundation.XMLParser) { }
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
265 |
266 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
267 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
268 | required init(_ options: SWXMLHashOptions) {
269 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
298 | }
299 |
300 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
301 | didStartElement elementName: String,
302 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:317:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
315 | }
316 |
317 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
318 | if !onMatch() {
319 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
325 | }
326 |
327 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
328 | if !onMatch() {
329 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:339:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
337 | }
338 |
339 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
340 | didEndElement elementName: String,
341 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
362 |
363 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
364 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
365 | required init(_ options: SWXMLHashOptions) {
366 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
393 | }
394 |
395 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
396 | didStartElement elementName: String,
397 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:407:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
405 | }
406 |
407 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
408 | let current = parentStack.top()
409 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:413:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
411 | }
412 |
413 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
414 | didEndElement elementName: String,
415 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
418 | }
419 |
420 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
421 | if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
422 | let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:428:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
426 | }
427 |
428 | func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
429 | #if os(Linux) && !swift(>=4.1.50)
430 | if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:294:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
292 |
293 | self.ops = ops
294 | let parser = Foundation.XMLParser(data: data!)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
295 | parser.shouldProcessNamespaces = options.shouldProcessNamespaces
296 | parser.delegate = self
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:383:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
381 | parentStack.push(root)
382 |
383 | let parser = Foundation.XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
384 | parser.shouldProcessNamespaces = options.shouldProcessNamespaces
385 | parser.delegate = self
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/44] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:185:11: error: cannot find type 'XMLParserDelegate' in scope
183 | #if os(Linux)
184 |
185 | extension XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
186 | func parserDidStartDocument(_ parser: Foundation.XMLParser) { }
187 | func parserDidEndDocument(_ parser: Foundation.XMLParser) { }
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
265 |
266 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
267 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
268 | required init(_ options: SWXMLHashOptions) {
269 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
298 | }
299 |
300 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
301 | didStartElement elementName: String,
302 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:317:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
315 | }
316 |
317 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
318 | if !onMatch() {
319 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
325 | }
326 |
327 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
328 | if !onMatch() {
329 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:339:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
337 | }
338 |
339 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
340 | didEndElement elementName: String,
341 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
362 |
363 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
364 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
365 | required init(_ options: SWXMLHashOptions) {
366 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
393 | }
394 |
395 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
396 | didStartElement elementName: String,
397 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:407:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
405 | }
406 |
407 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
408 | let current = parentStack.top()
409 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:413:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
411 | }
412 |
413 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
414 | didEndElement elementName: String,
415 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
418 | }
419 |
420 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
421 | if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
422 | let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:428:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
426 | }
427 |
428 | func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
429 | #if os(Linux) && !swift(>=4.1.50)
430 | if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
[31/44] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[32/44] Compiling FileKit NSString+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:977:25: error: no exact matches in call to initializer
975 | public init?(bookmarkData bookData: Data) {
976 | var isStale: ObjCBool = false
977 | 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?)
978 | resolvingBookmarkData: bookData,
979 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:990:25: error: value of type 'URL' has no member 'bookmarkData'
988 | /// - Returns: The `Path` objects bookmarkData.
989 | public var bookmarkData: Data? {
990 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:991:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
989 | public var bookmarkData: Data? {
990 | return try? url.bookmarkData(
991 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
992 | includingResourceValuesForKeys: nil,
993 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:992:45: error: 'nil' requires a contextual type
990 | return try? url.bookmarkData(
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
993 | relativeTo: nil)
994 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:993:25: error: 'nil' requires a contextual type
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
993 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
994 | }
995 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1006:39: error: value of type 'FileManager' has no member 'containerURL'
1004 | /// - Parameter groupIdentifier: The group identifier.
1005 | public init?(groupIdentifier: String) {
1006 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1007 | return nil
1008 | }
[33/44] Compiling FileKit Operators.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:977:25: error: no exact matches in call to initializer
975 | public init?(bookmarkData bookData: Data) {
976 | var isStale: ObjCBool = false
977 | 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?)
978 | resolvingBookmarkData: bookData,
979 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:990:25: error: value of type 'URL' has no member 'bookmarkData'
988 | /// - Returns: The `Path` objects bookmarkData.
989 | public var bookmarkData: Data? {
990 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:991:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
989 | public var bookmarkData: Data? {
990 | return try? url.bookmarkData(
991 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
992 | includingResourceValuesForKeys: nil,
993 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:992:45: error: 'nil' requires a contextual type
990 | return try? url.bookmarkData(
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
993 | relativeTo: nil)
994 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:993:25: error: 'nil' requires a contextual type
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
993 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
994 | }
995 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1006:39: error: value of type 'FileManager' has no member 'containerURL'
1004 | /// - Parameter groupIdentifier: The group identifier.
1005 | public init?(groupIdentifier: String) {
1006 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1007 | return nil
1008 | }
[34/44] Compiling FileKit Path.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:977:25: error: no exact matches in call to initializer
975 | public init?(bookmarkData bookData: Data) {
976 | var isStale: ObjCBool = false
977 | 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?)
978 | resolvingBookmarkData: bookData,
979 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:990:25: error: value of type 'URL' has no member 'bookmarkData'
988 | /// - Returns: The `Path` objects bookmarkData.
989 | public var bookmarkData: Data? {
990 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:991:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
989 | public var bookmarkData: Data? {
990 | return try? url.bookmarkData(
991 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
992 | includingResourceValuesForKeys: nil,
993 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:992:45: error: 'nil' requires a contextual type
990 | return try? url.bookmarkData(
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
993 | relativeTo: nil)
994 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:993:25: error: 'nil' requires a contextual type
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
993 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
994 | }
995 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1006:39: error: value of type 'FileManager' has no member 'containerURL'
1004 | /// - Parameter groupIdentifier: The group identifier.
1005 | public init?(groupIdentifier: String) {
1006 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1007 | return nil
1008 | }
[35/44] Compiling FileKit Process+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:977:25: error: no exact matches in call to initializer
975 | public init?(bookmarkData bookData: Data) {
976 | var isStale: ObjCBool = false
977 | 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?)
978 | resolvingBookmarkData: bookData,
979 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:990:25: error: value of type 'URL' has no member 'bookmarkData'
988 | /// - Returns: The `Path` objects bookmarkData.
989 | public var bookmarkData: Data? {
990 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:991:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
989 | public var bookmarkData: Data? {
990 | return try? url.bookmarkData(
991 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
992 | includingResourceValuesForKeys: nil,
993 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:992:45: error: 'nil' requires a contextual type
990 | return try? url.bookmarkData(
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
993 | relativeTo: nil)
994 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:993:25: error: 'nil' requires a contextual type
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
993 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
994 | }
995 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1006:39: error: value of type 'FileManager' has no member 'containerURL'
1004 | /// - Parameter groupIdentifier: The group identifier.
1005 | public init?(groupIdentifier: String) {
1006 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1007 | return nil
1008 | }
[36/44] Compiling FileKit NSArray+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 | /// - Parameter path: The path an array to be read from.
35 | public class func read(from path: Path) throws -> Self {
36 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 | }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | /// Returns data read from the given path.
33 | public class func read(from path: Path) throws -> Self {
34 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 | }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 | public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 | do {
43 | return try self.init(contentsOfFile: path._safeRawValue, options: options)
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 | } catch {
45 | throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
| `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 | /// Returns a dictionary read from the given path.
30 | public class func read(from path: Path) throws -> Self {
31 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 | }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[37/44] Compiling FileKit NSData+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 | /// - Parameter path: The path an array to be read from.
35 | public class func read(from path: Path) throws -> Self {
36 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 | }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | /// Returns data read from the given path.
33 | public class func read(from path: Path) throws -> Self {
34 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 | }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 | public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 | do {
43 | return try self.init(contentsOfFile: path._safeRawValue, options: options)
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 | } catch {
45 | throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
| `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 | /// Returns a dictionary read from the given path.
30 | public class func read(from path: Path) throws -> Self {
31 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 | }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[38/44] Compiling FileKit NSDataFile.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 | /// - Parameter path: The path an array to be read from.
35 | public class func read(from path: Path) throws -> Self {
36 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 | }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | /// Returns data read from the given path.
33 | public class func read(from path: Path) throws -> Self {
34 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 | }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 | public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 | do {
43 | return try self.init(contentsOfFile: path._safeRawValue, options: options)
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 | } catch {
45 | throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
| `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 | /// Returns a dictionary read from the given path.
30 | public class func read(from path: Path) throws -> Self {
31 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 | }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[39/44] Compiling FileKit NSDictionary+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 | /// - Parameter path: The path an array to be read from.
35 | public class func read(from path: Path) throws -> Self {
36 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 | }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | /// Returns data read from the given path.
33 | public class func read(from path: Path) throws -> Self {
34 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 | }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 | public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 | do {
43 | return try self.init(contentsOfFile: path._safeRawValue, options: options)
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 | } catch {
45 | throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
| `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 | /// Returns a dictionary read from the given path.
30 | public class func read(from path: Path) throws -> Self {
31 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 | }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[40/44] Compiling FileKit Array+File.swift
[41/44] Compiling FileKit ArrayFile.swift
[42/44] Compiling FileKit Bundle+FileKit.swift
[43/44] Compiling FileKit Data+FileKit.swift
[44/44] Compiling FileKit DataFile.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/37] Compiling SWXMLHash shim.swift
[3/37] Emitting module FileKit
[4/41] Compiling FileKit Array+File.swift
[5/41] Compiling FileKit ArrayFile.swift
[6/41] Compiling FileKit Bundle+FileKit.swift
[7/41] Compiling FileKit Data+FileKit.swift
[8/41] Compiling FileKit DataFile.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/41] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[10/41] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:185:11: error: cannot find type 'XMLParserDelegate' in scope
183 | #if os(Linux)
184 |
185 | extension XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
186 | func parserDidStartDocument(_ parser: Foundation.XMLParser) { }
187 | func parserDidEndDocument(_ parser: Foundation.XMLParser) { }
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
265 |
266 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
267 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
268 | required init(_ options: SWXMLHashOptions) {
269 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
298 | }
299 |
300 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
301 | didStartElement elementName: String,
302 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:317:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
315 | }
316 |
317 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
318 | if !onMatch() {
319 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
325 | }
326 |
327 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
328 | if !onMatch() {
329 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:339:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
337 | }
338 |
339 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
340 | didEndElement elementName: String,
341 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
362 |
363 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
364 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
365 | required init(_ options: SWXMLHashOptions) {
366 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
393 | }
394 |
395 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
396 | didStartElement elementName: String,
397 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:407:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
405 | }
406 |
407 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
408 | let current = parentStack.top()
409 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:413:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
411 | }
412 |
413 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
414 | didEndElement elementName: String,
415 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
418 | }
419 |
420 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
421 | if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
422 | let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:428:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
426 | }
427 |
428 | func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
429 | #if os(Linux) && !swift(>=4.1.50)
430 | if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
[11/41] Compiling SWXMLHash SWXMLHash.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:185:11: error: cannot find type 'XMLParserDelegate' in scope
183 | #if os(Linux)
184 |
185 | extension XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
186 | func parserDidStartDocument(_ parser: Foundation.XMLParser) { }
187 | func parserDidEndDocument(_ parser: Foundation.XMLParser) { }
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: error: cannot find type 'XMLParserDelegate' in scope
265 |
266 | /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
267 | class LazyXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
268 | required init(_ options: SWXMLHashOptions) {
269 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
298 | }
299 |
300 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
301 | didStartElement elementName: String,
302 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:317:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
315 | }
316 |
317 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
318 | if !onMatch() {
319 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:327:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
325 | }
326 |
327 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
328 | if !onMatch() {
329 | return
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:339:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
337 | }
338 |
339 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
340 | didEndElement elementName: String,
341 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: error: cannot find type 'XMLParserDelegate' in scope
362 |
363 | /// The implementation of XMLParserDelegate and where the parsing actually happens.
364 | class FullXMLParser: NSObject, SimpleXmlParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
365 | required init(_ options: SWXMLHashOptions) {
366 | root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
393 | }
394 |
395 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
396 | didStartElement elementName: String,
397 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:407:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
405 | }
406 |
407 | func parser(_ parser: Foundation.XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
408 | let current = parentStack.top()
409 |
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:413:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
411 | }
412 |
413 | func parser(_ parser: Foundation.XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
414 | didEndElement elementName: String,
415 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:420:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
418 | }
419 |
420 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
421 | if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
422 | let current = parentStack.top()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:428:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
426 | }
427 |
428 | func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
429 | #if os(Linux) && !swift(>=4.1.50)
430 | if let err = parseError as? NSError {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:294:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
292 |
293 | self.ops = ops
294 | let parser = Foundation.XMLParser(data: data!)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
295 | parser.shouldProcessNamespaces = options.shouldProcessNamespaces
296 | parser.delegate = self
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:383:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
381 | parentStack.push(root)
382 |
383 | let parser = Foundation.XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
384 | parser.shouldProcessNamespaces = options.shouldProcessNamespaces
385 | parser.delegate = self
[12/41] Compiling FileKit FileType.swift
[13/41] Compiling FileKit Image+FileKit.swift
[14/41] Compiling FileKit ImageFile.swift
[15/41] Compiling FileKit JSONType.swift
[16/41] Compiling FileKit DataType.swift
[17/41] Compiling FileKit Dictionary+File.swift
[18/41] Compiling FileKit DictionaryFile.swift
[19/41] Compiling FileKit DirectoryEnumerator.swift
[20/41] Compiling FileKit DispatchEvent.swift
[21/41] Compiling FileKit FileProtection.swift
[22/41] Compiling FileKit FileSystemEvent.swift
[23/41] Compiling FileKit FileSystemEventStream.swift
[24/41] Compiling FileKit FileSystemWatcher.swift
[25/41] Compiling FileKit NSArray+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 | /// - Parameter path: The path an array to be read from.
35 | public class func read(from path: Path) throws -> Self {
36 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 | }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | /// Returns data read from the given path.
33 | public class func read(from path: Path) throws -> Self {
34 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 | }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 | public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 | do {
43 | return try self.init(contentsOfFile: path._safeRawValue, options: options)
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 | } catch {
45 | throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
| `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 | /// Returns a dictionary read from the given path.
30 | public class func read(from path: Path) throws -> Self {
31 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 | }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[26/41] Compiling FileKit NSData+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 | /// - Parameter path: The path an array to be read from.
35 | public class func read(from path: Path) throws -> Self {
36 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 | }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | /// Returns data read from the given path.
33 | public class func read(from path: Path) throws -> Self {
34 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 | }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 | public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 | do {
43 | return try self.init(contentsOfFile: path._safeRawValue, options: options)
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 | } catch {
45 | throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
| `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 | /// Returns a dictionary read from the given path.
30 | public class func read(from path: Path) throws -> Self {
31 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 | }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[27/41] Compiling FileKit NSDataFile.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 | /// - Parameter path: The path an array to be read from.
35 | public class func read(from path: Path) throws -> Self {
36 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 | }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | /// Returns data read from the given path.
33 | public class func read(from path: Path) throws -> Self {
34 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 | }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 | public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 | do {
43 | return try self.init(contentsOfFile: path._safeRawValue, options: options)
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 | } catch {
45 | throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
| `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 | /// Returns a dictionary read from the given path.
30 | public class func read(from path: Path) throws -> Self {
31 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 | }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[28/41] Compiling FileKit NSDictionary+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSArray+FileKit.swift:36:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
34 | /// - Parameter path: The path an array to be read from.
35 | public class func read(from path: Path) throws -> Self {
36 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
37 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSArray.self))
38 | }
Foundation.NSArray.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSArray {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:34:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | /// Returns data read from the given path.
33 | public class func read(from path: Path) throws -> Self {
34 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
35 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSData.self))
36 | }
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSData {
2 | public init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSData+FileKit.swift:43:29: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
41 | public class func read(from path: Path, options: NSData.ReadingOptions) throws -> Self {
42 | do {
43 | return try self.init(contentsOfFile: path._safeRawValue, options: options)
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
44 | } catch {
45 | throw FileKitError.readFromFileFail(path: path, error: error)
Foundation.NSData.init:2:8: note: selected non-required initializer 'init(contentsOfFile:options:)'
1 | class NSData {
2 | public init(contentsOfFile path: String, options readOptionsMask: NSData.ReadingOptions = []) throws}
| `- note: selected non-required initializer 'init(contentsOfFile:options:)'
3 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/NSDictionary+FileKit.swift:31:35: error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
29 | /// Returns a dictionary read from the given path.
30 | public class func read(from path: Path) throws -> Self {
31 | guard let contents = self.init(contentsOfFile: path._safeRawValue) else {
| `- error: constructing an object of class type 'Self' with a metatype value must use a 'required' initializer
32 | throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
33 | }
Foundation.NSDictionary.init:3:22: note: selected non-required initializer 'init(contentsOfFile:)'
1 | class NSDictionary {
2 | @available(*, deprecated)
3 | public convenience init?(contentsOfFile path: String)}
| `- note: selected non-required initializer 'init(contentsOfFile:)'
4 |
[29/41] Compiling FileKit NSString+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:977:25: error: no exact matches in call to initializer
975 | public init?(bookmarkData bookData: Data) {
976 | var isStale: ObjCBool = false
977 | 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?)
978 | resolvingBookmarkData: bookData,
979 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:990:25: error: value of type 'URL' has no member 'bookmarkData'
988 | /// - Returns: The `Path` objects bookmarkData.
989 | public var bookmarkData: Data? {
990 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:991:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
989 | public var bookmarkData: Data? {
990 | return try? url.bookmarkData(
991 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
992 | includingResourceValuesForKeys: nil,
993 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:992:45: error: 'nil' requires a contextual type
990 | return try? url.bookmarkData(
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
993 | relativeTo: nil)
994 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:993:25: error: 'nil' requires a contextual type
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
993 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
994 | }
995 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1006:39: error: value of type 'FileManager' has no member 'containerURL'
1004 | /// - Parameter groupIdentifier: The group identifier.
1005 | public init?(groupIdentifier: String) {
1006 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1007 | return nil
1008 | }
[30/41] Compiling FileKit Operators.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:977:25: error: no exact matches in call to initializer
975 | public init?(bookmarkData bookData: Data) {
976 | var isStale: ObjCBool = false
977 | 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?)
978 | resolvingBookmarkData: bookData,
979 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:990:25: error: value of type 'URL' has no member 'bookmarkData'
988 | /// - Returns: The `Path` objects bookmarkData.
989 | public var bookmarkData: Data? {
990 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:991:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
989 | public var bookmarkData: Data? {
990 | return try? url.bookmarkData(
991 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
992 | includingResourceValuesForKeys: nil,
993 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:992:45: error: 'nil' requires a contextual type
990 | return try? url.bookmarkData(
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
993 | relativeTo: nil)
994 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:993:25: error: 'nil' requires a contextual type
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
993 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
994 | }
995 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1006:39: error: value of type 'FileManager' has no member 'containerURL'
1004 | /// - Parameter groupIdentifier: The group identifier.
1005 | public init?(groupIdentifier: String) {
1006 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1007 | return nil
1008 | }
[31/41] Compiling FileKit Path.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:977:25: error: no exact matches in call to initializer
975 | public init?(bookmarkData bookData: Data) {
976 | var isStale: ObjCBool = false
977 | 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?)
978 | resolvingBookmarkData: bookData,
979 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:990:25: error: value of type 'URL' has no member 'bookmarkData'
988 | /// - Returns: The `Path` objects bookmarkData.
989 | public var bookmarkData: Data? {
990 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:991:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
989 | public var bookmarkData: Data? {
990 | return try? url.bookmarkData(
991 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
992 | includingResourceValuesForKeys: nil,
993 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:992:45: error: 'nil' requires a contextual type
990 | return try? url.bookmarkData(
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
993 | relativeTo: nil)
994 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:993:25: error: 'nil' requires a contextual type
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
993 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
994 | }
995 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1006:39: error: value of type 'FileManager' has no member 'containerURL'
1004 | /// - Parameter groupIdentifier: The group identifier.
1005 | public init?(groupIdentifier: String) {
1006 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1007 | return nil
1008 | }
[32/41] Compiling FileKit Process+FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:977:25: error: no exact matches in call to initializer
975 | public init?(bookmarkData bookData: Data) {
976 | var isStale: ObjCBool = false
977 | 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?)
978 | resolvingBookmarkData: bookData,
979 | options: [],
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:990:25: error: value of type 'URL' has no member 'bookmarkData'
988 | /// - Returns: The `Path` objects bookmarkData.
989 | public var bookmarkData: Data? {
990 | return try? url.bookmarkData(
| `- error: value of type 'URL' has no member 'bookmarkData'
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:991:23: error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
989 | public var bookmarkData: Data? {
990 | return try? url.bookmarkData(
991 | options: .suitableForBookmarkFile,
| `- error: cannot infer contextual base in reference to member 'suitableForBookmarkFile'
992 | includingResourceValuesForKeys: nil,
993 | relativeTo: nil)
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:992:45: error: 'nil' requires a contextual type
990 | return try? url.bookmarkData(
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
| `- error: 'nil' requires a contextual type
993 | relativeTo: nil)
994 | }
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:993:25: error: 'nil' requires a contextual type
991 | options: .suitableForBookmarkFile,
992 | includingResourceValuesForKeys: nil,
993 | relativeTo: nil)
| `- error: 'nil' requires a contextual type
994 | }
995 |
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Path.swift:1006:39: error: value of type 'FileManager' has no member 'containerURL'
1004 | /// - Parameter groupIdentifier: The group identifier.
1005 | public init?(groupIdentifier: String) {
1006 | guard let url = FileManager().containerURL(forSecurityApplicationGroupIdentifier: groupIdentifier) else {
| `- error: value of type 'FileManager' has no member 'containerURL'
1007 | return nil
1008 | }
[33/41] Compiling FileKit DispatchWatcher.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 | if source == nil && fileDescriptor == -1 {
235 | fileDescriptor = open(path._safeRawValue, O_EVTONLY)
| `- error: cannot find 'O_EVTONLY' in scope
236 | if fileDescriptor == -1 { return false }
237 | var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 | // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 | // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 | source!.setCancelHandler { //[unowned self] () in
255 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
256 | self.fileDescriptor = -1
257 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 | open func close() {
281 | createWatcher?.stopWatching()
282 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
283 | self.fileDescriptor = -1
284 | self.source = nil
[34/41] Compiling FileKit File.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 | if source == nil && fileDescriptor == -1 {
235 | fileDescriptor = open(path._safeRawValue, O_EVTONLY)
| `- error: cannot find 'O_EVTONLY' in scope
236 | if fileDescriptor == -1 { return false }
237 | var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 | // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 | // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 | source!.setCancelHandler { //[unowned self] () in
255 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
256 | self.fileDescriptor = -1
257 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 | open func close() {
281 | createWatcher?.stopWatching()
282 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
283 | self.fileDescriptor = -1
284 | self.source = nil
[35/41] Compiling FileKit FileKit.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 | if source == nil && fileDescriptor == -1 {
235 | fileDescriptor = open(path._safeRawValue, O_EVTONLY)
| `- error: cannot find 'O_EVTONLY' in scope
236 | if fileDescriptor == -1 { return false }
237 | var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 | // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 | // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 | source!.setCancelHandler { //[unowned self] () in
255 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
256 | self.fileDescriptor = -1
257 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 | open func close() {
281 | createWatcher?.stopWatching()
282 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
283 | self.fileDescriptor = -1
284 | self.source = nil
[36/41] Compiling FileKit FileKitError.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 | if source == nil && fileDescriptor == -1 {
235 | fileDescriptor = open(path._safeRawValue, O_EVTONLY)
| `- error: cannot find 'O_EVTONLY' in scope
236 | if fileDescriptor == -1 { return false }
237 | var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 | // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 | // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 | source!.setCancelHandler { //[unowned self] () in
255 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
256 | self.fileDescriptor = -1
257 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 | open func close() {
281 | createWatcher?.stopWatching()
282 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
283 | self.fileDescriptor = -1
284 | self.source = nil
[37/41] Compiling FileKit FilePermissions.swift
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 | if source == nil && fileDescriptor == -1 {
235 | fileDescriptor = open(path._safeRawValue, O_EVTONLY)
| `- error: cannot find 'O_EVTONLY' in scope
236 | if fileDescriptor == -1 { return false }
237 | var _events = events
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 | var _events = events
238 | _events.remove(.Create)
239 | source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
| `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 | // Recheck if open success and source create success
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 | // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 | source!.setCancelHandler { //[unowned self] () in
255 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
256 | self.fileDescriptor = -1
257 | self.source = nil
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 | open func close() {
281 | createWatcher?.stopWatching()
282 | _ = Darwin.close(self.fileDescriptor)
| `- error: cannot find 'Darwin' in scope
283 | self.fileDescriptor = -1
284 | self.source = nil
BUILD FAILURE 6.1 linux