Build Information
Failed to build SwiftFoundationCompression with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/benspratling4/swiftfoundationcompression.git
Reference: 4.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/benspratling4/swiftfoundationcompression
* tag 4.0.0 -> FETCH_HEAD
HEAD is now at 0eba1f7 Merge pull request #8 from benspratling4/without_czlib
Cloned https://github.com/benspratling4/swiftfoundationcompression.git
Revision (git rev-parse @):
0eba1f70fdbbdda08bfcc6d01ae9e2c3ffe9df2b
SUCCESS checkout https://github.com/benspratling4/swiftfoundationcompression.git at 4.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/benspratling4/swiftfoundationcompression.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/benspratling4/SwiftPatterns.git
[1/281] Fetching swiftpatterns
Fetched https://github.com/benspratling4/SwiftPatterns.git from cache (0.21s)
Computing version for https://github.com/benspratling4/SwiftPatterns.git
Computed https://github.com/benspratling4/SwiftPatterns.git at 4.0.0 (0.39s)
Creating working copy for https://github.com/benspratling4/SwiftPatterns.git
Working copy of https://github.com/benspratling4/SwiftPatterns.git resolved at 4.0.0
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/SwiftFoundationCompressionTests/I Surrender All.mxl
/host/spi-builder-workspace/Tests/SwiftFoundationCompressionTests/NewPackageFileName.swift.gz
/host/spi-builder-workspace/Tests/SwiftFoundationCompressionTests/rezipped.zip
/host/spi-builder-workspace/Tests/SwiftFoundationCompressionTests/Package.swift.gz
/host/spi-builder-workspace/Tests/SwiftFoundationCompressionTests/Package.swift.zip
Building for debugging...
[0/9] Write sources
[2/9] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/28] Emitting module SwiftPatterns
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
fileprivate var directoryMonitor:DirectoryMonitor?
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:85:16: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
let xmlParser:XMLParser
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:101:44: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parserDidEndDocument(_ parser:XMLParser) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:106:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:114:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:118:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, foundCharacters string: String) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:128:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
^~~~~~~~~~~~~~~~~
[5/30] Compiling SwiftPatterns PriorityQueue.swift
[6/30] Compiling SwiftPatterns QueuedVar.swift
[7/30] Compiling SwiftPatterns Alert.swift
[8/30] Compiling SwiftPatterns Array+StableUniqueValues.swift
[9/30] Compiling SwiftPatterns ChangeSet.swift
[10/30] Compiling SwiftPatterns DynamicCodingKeys.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
fileprivate var directoryMonitor:DirectoryMonitor?
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
^~~~~~~~~~~~~~~~
[11/30] Compiling SwiftPatterns Int+Bits.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
fileprivate var directoryMonitor:DirectoryMonitor?
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
^~~~~~~~~~~~~~~~
[12/30] Compiling SwiftPatterns LocalFileSource.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
fileprivate var directoryMonitor:DirectoryMonitor?
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
^~~~~~~~~~~~~~~~
[13/30] Compiling SwiftPatterns WeightedNode.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:85:16: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
let xmlParser:XMLParser
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:101:44: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parserDidEndDocument(_ parser:XMLParser) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:106:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:114:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:118:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, foundCharacters string: String) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:128:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:91:15: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
xmlParser = XMLParser(data: data)
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
xmlParser.delegate = self
~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
xmlParser.parse()
~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
xmlParser.parse()
~~~~~~~~~ ^~~~~
[14/30] Compiling SwiftPatterns XMLItem.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:85:16: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
let xmlParser:XMLParser
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:101:44: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parserDidEndDocument(_ parser:XMLParser) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:106:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:114:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:118:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, foundCharacters string: String) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:128:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:91:15: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
xmlParser = XMLParser(data: data)
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
xmlParser.delegate = self
~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
xmlParser.parse()
~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
xmlParser.parse()
~~~~~~~~~ ^~~~~
[15/30] Compiling SwiftPatterns LogSearch.swift
[16/30] Compiling SwiftPatterns Math.swift
[17/30] Compiling SwiftPatterns MediatedAccess.swift
[18/30] Compiling SwiftPatterns URL+ExtendedAttributes.swift
[19/30] Compiling SwiftPatterns URL+relativePaths.swift
[20/30] Compiling SwiftPatterns Cursor.swift
[21/30] Compiling SwiftPatterns DataExtraction.swift
[22/30] Compiling SwiftPatterns DirectoryMonitor.swift
[23/30] Compiling SwiftPatterns SerializedResourceWrapping.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:461:7: error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
if isDir {
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:488:72: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
if fileManager.fileExists(atPath: url.path, isDirectory: &isDir) || !isDir {
^
[24/30] Compiling SwiftPatterns String+fixes.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:461:7: error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
if isDir {
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:488:72: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
if fileManager.fileExists(atPath: url.path, isDirectory: &isDir) || !isDir {
^
error: fatalError
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/SwiftFoundationCompressionTests/Package.swift.gz
/host/spi-builder-workspace/Tests/SwiftFoundationCompressionTests/NewPackageFileName.swift.gz
/host/spi-builder-workspace/Tests/SwiftFoundationCompressionTests/rezipped.zip
/host/spi-builder-workspace/Tests/SwiftFoundationCompressionTests/I Surrender All.mxl
/host/spi-builder-workspace/Tests/SwiftFoundationCompressionTests/Package.swift.zip
[0/1] Planning build
Building for debugging...
[0/7] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling SwiftPatterns XMLItem.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:85:16: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
let xmlParser:XMLParser
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:101:44: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parserDidEndDocument(_ parser:XMLParser) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:106:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:114:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:118:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, foundCharacters string: String) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:128:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:91:15: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
xmlParser = XMLParser(data: data)
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
xmlParser.delegate = self
~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
xmlParser.parse()
~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
xmlParser.parse()
~~~~~~~~~ ^~~~~
[3/15] Compiling SwiftPatterns String+fixes.swift
[4/17] Compiling SwiftPatterns WeightedNode.swift
[5/17] Compiling SwiftPatterns SerializedResourceWrapping.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:461:7: error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
if isDir {
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/SerializedResourceWrapping.swift:488:72: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
if fileManager.fileExists(atPath: url.path, isDirectory: &isDir) || !isDir {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/19] Compiling SwiftPatterns DynamicCodingKeys.swift
[7/19] Emitting module SwiftPatterns
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
fileprivate var directoryMonitor:DirectoryMonitor?
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:85:16: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
let xmlParser:XMLParser
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:101:44: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parserDidEndDocument(_ parser:XMLParser) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:106:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:114:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:118:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, foundCharacters string: String) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:128:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
^~~~~~~~~~~~~~~~~
[8/19] Compiling SwiftPatterns Int+Bits.swift
[9/19] Compiling SwiftPatterns LocalFileSource.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
fileprivate var directoryMonitor:DirectoryMonitor?
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
^~~~~~~~~~~~~~~~
[10/23] Compiling SwiftPatterns Cursor.swift
[11/23] Compiling SwiftPatterns Alert.swift
[12/23] Compiling SwiftPatterns QueuedVar.swift
[13/23] Compiling SwiftPatterns URL+relativePaths.swift
[14/23] Compiling SwiftPatterns PriorityQueue.swift
[15/23] Compiling SwiftPatterns LogSearch.swift
[16/23] Compiling SwiftPatterns DataExtraction.swift
[17/23] Compiling SwiftPatterns ChangeSet.swift
error: fatalError
BUILD FAILURE 5.10 linux
Build Machine: Linux 1