The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftPatterns with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/benspratling4/SwiftPatterns.git
Reference: 4.3.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/SwiftPatterns
 * tag               4.3.0      -> FETCH_HEAD
HEAD is now at c2631f7 Add SkippingDecodeErrors
Cloned https://github.com/benspratling4/SwiftPatterns.git
Revision (git rev-parse @):
c2631f7c4b22440f70cb82d1d6edb801c30dd292
SUCCESS checkout https://github.com/benspratling4/SwiftPatterns.git at 4.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/benspratling4/SwiftPatterns.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/27] Emitting module SwiftPatterns
/host/spi-builder-workspace/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
        fileprivate var directoryMonitor:DirectoryMonitor?
                                         ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:25:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol SubResourceWrapping : class, SerializedResourceWrapping {
                                      ^~~~~
                                      AnyObject
/host/spi-builder-workspace/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/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/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/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/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/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/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
                                              ^~~~~~~~~~~~~~~~~
[4/30] Compiling SwiftPatterns Math.swift
[5/30] Compiling SwiftPatterns MediatedAccess.swift
[6/30] Compiling SwiftPatterns PriorityQueue.swift
[7/30] Compiling SwiftPatterns Alert.swift
[8/30] Compiling SwiftPatterns Array+StableUniqueValues.swift
[9/30] Compiling SwiftPatterns Array+dropLastWhile.swift
[10/30] Compiling SwiftPatterns URL+relativePaths.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/URL+relativePaths.swift:34:15: warning: immutable value 'childComponent' was never used; consider replacing with '_' or removing it
                for (index, childComponent) in parentComponents.enumerated() {
                            ^~~~~~~~~~~~~~
                            _
/host/spi-builder-workspace/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/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/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/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/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/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/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
                                              ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/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/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
                xmlParser.delegate = self
                ~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
                xmlParser.parse()
                ~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
                xmlParser.parse()
                ~~~~~~~~~ ^~~~~
[11/30] Compiling SwiftPatterns WeightedNode.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/URL+relativePaths.swift:34:15: warning: immutable value 'childComponent' was never used; consider replacing with '_' or removing it
                for (index, childComponent) in parentComponents.enumerated() {
                            ^~~~~~~~~~~~~~
                            _
/host/spi-builder-workspace/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/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/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/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/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/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/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
                                              ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/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/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
                xmlParser.delegate = self
                ~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
                xmlParser.parse()
                ~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
                xmlParser.parse()
                ~~~~~~~~~ ^~~~~
[12/30] Compiling SwiftPatterns XMLItem.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/URL+relativePaths.swift:34:15: warning: immutable value 'childComponent' was never used; consider replacing with '_' or removing it
                for (index, childComponent) in parentComponents.enumerated() {
                            ^~~~~~~~~~~~~~
                            _
/host/spi-builder-workspace/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/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/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/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/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/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/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
                                              ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/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/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
                xmlParser.delegate = self
                ~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
                xmlParser.parse()
                ~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
                xmlParser.parse()
                ~~~~~~~~~ ^~~~~
[13/30] Compiling SwiftPatterns String+CharacterSet+replacements.swift
[14/30] Compiling SwiftPatterns String+fixes.swift
[15/30] Compiling SwiftPatterns URL+ExtendedAttributes.swift
[16/30] Compiling SwiftPatterns ChangeSet.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:78:7: warning: variable 'exhaustedOld' was written to, but never read
                var exhaustedOld:Bool = false
                    ^
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:79:7: warning: variable 'exhaustedNew' was written to, but never read
                var exhaustedNew:Bool = false
                    ^
/host/spi-builder-workspace/Sources/SwiftPatterns/DataExtraction.swift:19:3: warning: using '_' to ignore the result of a Void-returning function is redundant
                _ = self.copyBytes(to: bufferPointer, from: index..<(index + width))
                ^~~~

[17/30] Compiling SwiftPatterns Cursor.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:78:7: warning: variable 'exhaustedOld' was written to, but never read
                var exhaustedOld:Bool = false
                    ^
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:79:7: warning: variable 'exhaustedNew' was written to, but never read
                var exhaustedNew:Bool = false
                    ^
/host/spi-builder-workspace/Sources/SwiftPatterns/DataExtraction.swift:19:3: warning: using '_' to ignore the result of a Void-returning function is redundant
                _ = self.copyBytes(to: bufferPointer, from: index..<(index + width))
                ^~~~

[18/30] Compiling SwiftPatterns DataExtraction.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:78:7: warning: variable 'exhaustedOld' was written to, but never read
                var exhaustedOld:Bool = false
                    ^
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:79:7: warning: variable 'exhaustedNew' was written to, but never read
                var exhaustedNew:Bool = false
                    ^
/host/spi-builder-workspace/Sources/SwiftPatterns/DataExtraction.swift:19:3: warning: using '_' to ignore the result of a Void-returning function is redundant
                _ = self.copyBytes(to: bufferPointer, from: index..<(index + width))
                ^~~~

[19/30] Compiling SwiftPatterns DirectoryMonitor.swift
[20/30] Compiling SwiftPatterns DynamicCodingKeys.swift
[21/30] Compiling SwiftPatterns Int+Bits.swift
[22/30] Compiling SwiftPatterns QueuedVar.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:25:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol SubResourceWrapping : class, SerializedResourceWrapping {
                                      ^~~~~
                                      AnyObject
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:344:39: warning: setter argument 'newValue' was never used, but the property was accessed
                        representation = FileWrapping(data:contents, name:url.lastPathComponent)
                                                           ^
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:344:39: note: did you mean to use 'newValue' instead of accessing the property's current value?
                        representation = FileWrapping(data:contents, name:url.lastPathComponent)
                                                           ^~~~~~~~
                                                           newValue
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:461:7: error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
                        if isDir {
                           ^~~~~
/host/spi-builder-workspace/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 {
                                                                                     ^
[23/30] Compiling SwiftPatterns SerializedResourceWrapping.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:25:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol SubResourceWrapping : class, SerializedResourceWrapping {
                                      ^~~~~
                                      AnyObject
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:344:39: warning: setter argument 'newValue' was never used, but the property was accessed
                        representation = FileWrapping(data:contents, name:url.lastPathComponent)
                                                           ^
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:344:39: note: did you mean to use 'newValue' instead of accessing the property's current value?
                        representation = FileWrapping(data:contents, name:url.lastPathComponent)
                                                           ^~~~~~~~
                                                           newValue
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:461:7: error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
                        if isDir {
                           ^~~~~
/host/spi-builder-workspace/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 SkippingDecodeErrors.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:25:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol SubResourceWrapping : class, SerializedResourceWrapping {
                                      ^~~~~
                                      AnyObject
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:344:39: warning: setter argument 'newValue' was never used, but the property was accessed
                        representation = FileWrapping(data:contents, name:url.lastPathComponent)
                                                           ^
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:344:39: note: did you mean to use 'newValue' instead of accessing the property's current value?
                        representation = FileWrapping(data:contents, name:url.lastPathComponent)
                                                           ^~~~~~~~
                                                           newValue
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:461:7: error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
                        if isDir {
                           ^~~~~
/host/spi-builder-workspace/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 {
                                                                                     ^
[25/30] Compiling SwiftPatterns JSONPrimitive.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
        fileprivate var directoryMonitor:DirectoryMonitor?
                                         ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
                directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
                                   ^~~~~~~~~~~~~~~~
[26/30] Compiling SwiftPatterns LocalFileSource.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
        fileprivate var directoryMonitor:DirectoryMonitor?
                                         ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
                directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
                                   ^~~~~~~~~~~~~~~~
[27/30] Compiling SwiftPatterns LogSearch.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
        fileprivate var directoryMonitor:DirectoryMonitor?
                                         ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
                directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
                                   ^~~~~~~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling SwiftPatterns QueuedVar.swift
[3/14] Compiling SwiftPatterns SkippingDecodeErrors.swift
[4/14] Compiling SwiftPatterns SerializedResourceWrapping.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:25:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol SubResourceWrapping : class, SerializedResourceWrapping {
                                      ^~~~~
                                      AnyObject
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:344:39: warning: setter argument 'newValue' was never used, but the property was accessed
                        representation = FileWrapping(data:contents, name:url.lastPathComponent)
                                                           ^
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:344:39: note: did you mean to use 'newValue' instead of accessing the property's current value?
                        representation = FileWrapping(data:contents, name:url.lastPathComponent)
                                                           ^~~~~~~~
                                                           newValue
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:461:7: error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
                        if isDir {
                           ^~~~~
/host/spi-builder-workspace/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)
[5/14] Compiling SwiftPatterns LogSearch.swift
[6/14] Emitting module SwiftPatterns
/host/spi-builder-workspace/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
        fileprivate var directoryMonitor:DirectoryMonitor?
                                         ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:25:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol SubResourceWrapping : class, SerializedResourceWrapping {
                                      ^~~~~
                                      AnyObject
/host/spi-builder-workspace/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/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/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/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/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/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/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
                                              ^~~~~~~~~~~~~~~~~
[7/14] Compiling SwiftPatterns JSONPrimitive.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
        fileprivate var directoryMonitor:DirectoryMonitor?
                                         ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
                directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
                                   ^~~~~~~~~~~~~~~~
[8/14] Compiling SwiftPatterns LocalFileSource.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
        fileprivate var directoryMonitor:DirectoryMonitor?
                                         ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
                directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
                                   ^~~~~~~~~~~~~~~~
[9/18] Compiling SwiftPatterns URL+relativePaths.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/URL+relativePaths.swift:34:15: warning: immutable value 'childComponent' was never used; consider replacing with '_' or removing it
                for (index, childComponent) in parentComponents.enumerated() {
                            ^~~~~~~~~~~~~~
                            _
[10/18] Compiling SwiftPatterns WeightedNode.swift
[11/19] Compiling SwiftPatterns XMLItem.swift
/host/spi-builder-workspace/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/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/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/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/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/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/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
                                              ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/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/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
                xmlParser.delegate = self
                ~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
                xmlParser.parse()
                ~~~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
                xmlParser.parse()
                ~~~~~~~~~ ^~~~~
[12/19] Compiling SwiftPatterns PriorityQueue.swift
[13/19] Compiling SwiftPatterns Cursor.swift
[14/19] Compiling SwiftPatterns String+CharacterSet+replacements.swift
[15/19] Compiling SwiftPatterns Alert.swift
[16/19] Compiling SwiftPatterns ChangeSet.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:78:7: warning: variable 'exhaustedOld' was written to, but never read
                var exhaustedOld:Bool = false
                    ^
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:79:7: warning: variable 'exhaustedNew' was written to, but never read
                var exhaustedNew:Bool = false
                    ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1