The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftFoundationCompression, reference master (0eba1f), with Swift 6.2 (beta) for Linux on 19 Jun 2025 02:52:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/benspratling4/swiftfoundationcompression.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/benspratling4/swiftfoundationcompression
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/benspratling4/swiftfoundationcompression.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/benspratling4/SwiftPatterns.git
[1/301] Fetching swiftpatterns
Fetched https://github.com/benspratling4/SwiftPatterns.git from cache (0.26s)
Computing version for https://github.com/benspratling4/SwiftPatterns.git
Computed https://github.com/benspratling4/SwiftPatterns.git at 4.5.0 (0.76s)
Creating working copy for https://github.com/benspratling4/SwiftPatterns.git
Working copy of https://github.com/benspratling4/SwiftPatterns.git resolved at 4.5.0
warning: 'swiftpatterns': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/PrivacyInfo.xcprivacy
Building for debugging...
[0/9] Write sources
[2/9] Write swift-version-24593BA9C3E375BF.txt
[4/32] Compiling SwiftPatterns Cursor.swift
[5/32] Compiling SwiftPatterns DataExtraction.swift
[6/32] Compiling SwiftPatterns DirectoryMonitor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/35] Emitting module SwiftPatterns
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
23 | 	fileprivate let directoryURL:URL
24 | 	fileprivate let extensions:Set<String>
25 | 	fileprivate var directoryMonitor:DirectoryMonitor?
   |                                   `- error: cannot find type 'DirectoryMonitor' in scope
26 |
27 | 	public init?(directoryURL:URL, extensions:[String] = [], handler:@escaping (_ changes:ChangeSet)->()) {
/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.
 83 |
 84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
 85 | 	let xmlParser:XMLParser
    |                `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 86 | 	var nodeStack:[XMLItem]
 87 | 	var completion:((_ node:XMLItem?, _ error:Error?)->())?
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/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.
 99 | 	}
100 |
101 | 	public func parserDidEndDocument(_ parser:XMLParser) {
    |                                            `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | 		completion?(nodeStack.first, nil)
103 | 		completion = nil
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/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.
104 | 	}
105 |
106 | 	public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
    |                               `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
107 | 		let newNode:XMLItem = XMLItem()
108 | 		newNode.name = elementName
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/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.
112 | 	}
113 |
114 | 	public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
    |                               `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
115 | 		nodeStack.removeLast()
116 | 	}
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/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.
116 | 	}
117 |
118 | 	public func parser(_ parser: XMLParser, foundCharacters string: String) {
    |                               `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
119 | 		let topNode:XMLItem = nodeStack.last!
120 | 		if let lastChild = topNode.children.last as? 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/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.
126 | 	}
127 |
128 | 	public 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.
129 | 		completion?(nil, parseError)
130 | 		completion = nil
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/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
 82 |
 83 |
 84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
    |                                               `- error: cannot find type 'XMLParserDelegate' in scope
 85 | 	let xmlParser:XMLParser
 86 | 	var nodeStack:[XMLItem]
[8/35] Compiling SwiftPatterns MediatedAccess.swift
[9/35] Compiling SwiftPatterns PriorityQueue.swift
[10/35] Compiling SwiftPatterns QueuedVar.swift
[11/35] Compiling SwiftPatterns String+fixes.swift
[12/35] Compiling SwiftPatterns String+insertWithPrecautionaryWhitespace.swift
[13/35] Compiling SwiftPatterns URL+ExtendedAttributes.swift
[14/35] Compiling SwiftPatterns DynamicCodingKeys.swift
[15/35] Compiling SwiftPatterns Int+Bits.swift
[16/35] Compiling SwiftPatterns JSONPrimitive.swift
[17/35] Compiling SwiftPatterns LocalFileSource.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
23 | 	fileprivate let directoryURL:URL
24 | 	fileprivate let extensions:Set<String>
25 | 	fileprivate var directoryMonitor:DirectoryMonitor?
   |                                   `- error: cannot find type 'DirectoryMonitor' in scope
26 |
27 | 	public init?(directoryURL:URL, extensions:[String] = [], handler:@escaping (_ changes:ChangeSet)->()) {
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
32 | 		self.changeHandler = handler
33 | 		self.directoryURL = directoryURL
34 | 		directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
   |                      `- error: cannot find 'DirectoryMonitor' in scope
35 | 			self?.directoryDidChange()
36 | 		})
[18/35] Compiling SwiftPatterns LogSearch.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
23 | 	fileprivate let directoryURL:URL
24 | 	fileprivate let extensions:Set<String>
25 | 	fileprivate var directoryMonitor:DirectoryMonitor?
   |                                   `- error: cannot find type 'DirectoryMonitor' in scope
26 |
27 | 	public init?(directoryURL:URL, extensions:[String] = [], handler:@escaping (_ changes:ChangeSet)->()) {
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
32 | 		self.changeHandler = handler
33 | 		self.directoryURL = directoryURL
34 | 		directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
   |                      `- error: cannot find 'DirectoryMonitor' in scope
35 | 			self?.directoryDidChange()
36 | 		})
[19/35] Compiling SwiftPatterns Math.swift
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:25:35: error: cannot find type 'DirectoryMonitor' in scope
23 | 	fileprivate let directoryURL:URL
24 | 	fileprivate let extensions:Set<String>
25 | 	fileprivate var directoryMonitor:DirectoryMonitor?
   |                                   `- error: cannot find type 'DirectoryMonitor' in scope
26 |
27 | 	public init?(directoryURL:URL, extensions:[String] = [], handler:@escaping (_ changes:ChangeSet)->()) {
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/LocalFileSource.swift:34:22: error: cannot find 'DirectoryMonitor' in scope
32 | 		self.changeHandler = handler
33 | 		self.directoryURL = directoryURL
34 | 		directoryMonitor = DirectoryMonitor(directoryURL: directoryURL, handler: { [weak self] in
   |                      `- error: cannot find 'DirectoryMonitor' in scope
35 | 			self?.directoryDidChange()
36 | 		})
[20/35] Compiling SwiftPatterns Alert.swift
[21/35] Compiling SwiftPatterns Array+StableUniqueValues.swift
[22/35] Compiling SwiftPatterns Array+dropLastWhile.swift
[23/35] Compiling SwiftPatterns ChangeSet.swift
[24/35] 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'
459 | 			var isDir: ObjCBool = false
460 | 			let _ = fileManager.fileExists(atPath: file.path, isDirectory: &isDir)
461 | 			if isDir {
    |       `- error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
462 | 				let dirWrapper = DirectoryWrapping(url: file, fileManager: fileManager)
463 | 				subWrappers[file.lastPathComponent] = dirWrapper
/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'
486 | 	fileprivate func recursiveWrite(to url:URL, fileManager:FileManager)throws {
487 | 		var isDir:ObjCBool = false
488 | 		if fileManager.fileExists(atPath: url.path, isDirectory: &isDir) || !isDir {
    |                                                                        `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
489 | 			try fileManager.createDirectory(at: url, withIntermediateDirectories: true, attributes: nil)
490 | 		}
[25/35] Compiling SwiftPatterns SkippingDecodeErrors.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'
459 | 			var isDir: ObjCBool = false
460 | 			let _ = fileManager.fileExists(atPath: file.path, isDirectory: &isDir)
461 | 			if isDir {
    |       `- error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
462 | 				let dirWrapper = DirectoryWrapping(url: file, fileManager: fileManager)
463 | 				subWrappers[file.lastPathComponent] = dirWrapper
/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'
486 | 	fileprivate func recursiveWrite(to url:URL, fileManager:FileManager)throws {
487 | 		var isDir:ObjCBool = false
488 | 		if fileManager.fileExists(atPath: url.path, isDirectory: &isDir) || !isDir {
    |                                                                        `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
489 | 			try fileManager.createDirectory(at: url, withIntermediateDirectories: true, attributes: nil)
490 | 		}
[26/35] Compiling SwiftPatterns String+CharacterSet+replacements.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'
459 | 			var isDir: ObjCBool = false
460 | 			let _ = fileManager.fileExists(atPath: file.path, isDirectory: &isDir)
461 | 			if isDir {
    |       `- error: cannot convert value of type 'ObjCBool' to expected condition type 'Bool'
462 | 				let dirWrapper = DirectoryWrapping(url: file, fileManager: fileManager)
463 | 				subWrappers[file.lastPathComponent] = dirWrapper
/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'
486 | 	fileprivate func recursiveWrite(to url:URL, fileManager:FileManager)throws {
487 | 		var isDir:ObjCBool = false
488 | 		if fileManager.fileExists(atPath: url.path, isDirectory: &isDir) || !isDir {
    |                                                                        `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
489 | 			try fileManager.createDirectory(at: url, withIntermediateDirectories: true, attributes: nil)
490 | 		}
[27/35] Compiling SwiftPatterns URL+relativePaths.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.
 83 |
 84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
 85 | 	let xmlParser:XMLParser
    |                `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 86 | 	var nodeStack:[XMLItem]
 87 | 	var completion:((_ node:XMLItem?, _ error:Error?)->())?
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/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.
 99 | 	}
100 |
101 | 	public func parserDidEndDocument(_ parser:XMLParser) {
    |                                            `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | 		completion?(nodeStack.first, nil)
103 | 		completion = nil
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/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.
104 | 	}
105 |
106 | 	public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
    |                               `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
107 | 		let newNode:XMLItem = XMLItem()
108 | 		newNode.name = elementName
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/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.
112 | 	}
113 |
114 | 	public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
    |                               `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
115 | 		nodeStack.removeLast()
116 | 	}
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/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.
116 | 	}
117 |
118 | 	public func parser(_ parser: XMLParser, foundCharacters string: String) {
    |                               `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
119 | 		let topNode:XMLItem = nodeStack.last!
120 | 		if let lastChild = topNode.children.last as? 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/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.
126 | 	}
127 |
128 | 	public 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.
129 | 		completion?(nil, parseError)
130 | 		completion = nil
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/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
 82 |
 83 |
 84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
    |                                               `- error: cannot find type 'XMLParserDelegate' in scope
 85 | 	let xmlParser:XMLParser
 86 | 	var nodeStack:[XMLItem]
/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
 89 | 		nodeStack = [XMLItem()]
 90 | 		nodeStack.first?.name = "Document"
 91 | 		xmlParser = XMLParser(data: data)
    |               `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 92 | 		super.init()
 93 | 		xmlParser.delegate = self
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
 91 | 		xmlParser = XMLParser(data: data)
 92 | 		super.init()
 93 | 		xmlParser.delegate = self
    |             `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
 94 | 	}
 95 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
 96 | 	public func parseNode(_ completion:@escaping (_ node:XMLItem?, _ error:Error?)->()) {
 97 | 		self.completion = completion
 98 | 		xmlParser.parse()
    |             `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
 99 | 	}
100 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
140 |
141 | 	func parseNodes()->XMLItem? {
142 | 		xmlParser.parse()
    |             `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
143 | 		return nodeStack.first
144 | 	}
[28/35] 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.
 83 |
 84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
 85 | 	let xmlParser:XMLParser
    |                `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 86 | 	var nodeStack:[XMLItem]
 87 | 	var completion:((_ node:XMLItem?, _ error:Error?)->())?
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/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.
 99 | 	}
100 |
101 | 	public func parserDidEndDocument(_ parser:XMLParser) {
    |                                            `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | 		completion?(nodeStack.first, nil)
103 | 		completion = nil
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/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.
104 | 	}
105 |
106 | 	public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
    |                               `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
107 | 		let newNode:XMLItem = XMLItem()
108 | 		newNode.name = elementName
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/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.
112 | 	}
113 |
114 | 	public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
    |                               `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
115 | 		nodeStack.removeLast()
116 | 	}
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/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.
116 | 	}
117 |
118 | 	public func parser(_ parser: XMLParser, foundCharacters string: String) {
    |                               `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
119 | 		let topNode:XMLItem = nodeStack.last!
120 | 		if let lastChild = topNode.children.last as? 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/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.
126 | 	}
127 |
128 | 	public 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.
129 | 		completion?(nil, parseError)
130 | 		completion = nil
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/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
 82 |
 83 |
 84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
    |                                               `- error: cannot find type 'XMLParserDelegate' in scope
 85 | 	let xmlParser:XMLParser
 86 | 	var nodeStack:[XMLItem]
/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
 89 | 		nodeStack = [XMLItem()]
 90 | 		nodeStack.first?.name = "Document"
 91 | 		xmlParser = XMLParser(data: data)
    |               `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 92 | 		super.init()
 93 | 		xmlParser.delegate = self
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
 91 | 		xmlParser = XMLParser(data: data)
 92 | 		super.init()
 93 | 		xmlParser.delegate = self
    |             `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
 94 | 	}
 95 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
 96 | 	public func parseNode(_ completion:@escaping (_ node:XMLItem?, _ error:Error?)->()) {
 97 | 		self.completion = completion
 98 | 		xmlParser.parse()
    |             `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
 99 | 	}
100 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
140 |
141 | 	func parseNodes()->XMLItem? {
142 | 		xmlParser.parse()
    |             `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
143 | 		return nodeStack.first
144 | 	}
[29/35] 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.
 83 |
 84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
 85 | 	let xmlParser:XMLParser
    |                `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 86 | 	var nodeStack:[XMLItem]
 87 | 	var completion:((_ node:XMLItem?, _ error:Error?)->())?
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/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.
 99 | 	}
100 |
101 | 	public func parserDidEndDocument(_ parser:XMLParser) {
    |                                            `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | 		completion?(nodeStack.first, nil)
103 | 		completion = nil
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/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.
104 | 	}
105 |
106 | 	public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
    |                               `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
107 | 		let newNode:XMLItem = XMLItem()
108 | 		newNode.name = elementName
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/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.
112 | 	}
113 |
114 | 	public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
    |                               `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
115 | 		nodeStack.removeLast()
116 | 	}
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/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.
116 | 	}
117 |
118 | 	public func parser(_ parser: XMLParser, foundCharacters string: String) {
    |                               `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
119 | 		let topNode:XMLItem = nodeStack.last!
120 | 		if let lastChild = topNode.children.last as? 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/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.
126 | 	}
127 |
128 | 	public 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.
129 | 		completion?(nil, parseError)
130 | 		completion = nil
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/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:84:47: error: cannot find type 'XMLParserDelegate' in scope
 82 |
 83 |
 84 | public class DataToXMLItemFactory : NSObject, XMLParserDelegate {
    |                                               `- error: cannot find type 'XMLParserDelegate' in scope
 85 | 	let xmlParser:XMLParser
 86 | 	var nodeStack:[XMLItem]
/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
 89 | 		nodeStack = [XMLItem()]
 90 | 		nodeStack.first?.name = "Document"
 91 | 		xmlParser = XMLParser(data: data)
    |               `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 92 | 		super.init()
 93 | 		xmlParser.delegate = self
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:93:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
 91 | 		xmlParser = XMLParser(data: data)
 92 | 		super.init()
 93 | 		xmlParser.delegate = self
    |             `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
 94 | 	}
 95 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:98:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
 96 | 	public func parseNode(_ completion:@escaping (_ node:XMLItem?, _ error:Error?)->()) {
 97 | 		self.completion = completion
 98 | 		xmlParser.parse()
    |             `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
 99 | 	}
100 |
/host/spi-builder-workspace/.build/checkouts/SwiftPatterns/Sources/SwiftPatterns/XMLItem.swift:142:13: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
140 |
141 | 	func parseNodes()->XMLItem? {
142 | 		xmlParser.parse()
    |             `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
143 | 		return nodeStack.first
144 | 	}
BUILD FAILURE 6.2 linux