Build Information
Failed to build SwiftPatterns, reference master (e4c8f1
), with Swift 6.1 for Android on 30 May 2025 15:07:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/benspratling4/SwiftPatterns.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/SwiftPatterns
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e4c8f15 Add String + replaceWithPrecautionaryWhitespace
Cloned https://github.com/benspratling4/SwiftPatterns.git
Revision (git rev-parse @):
e4c8f15505346d2cb6fd8b4e8b4f456cc25b4d53
SUCCESS checkout https://github.com/benspratling4/SwiftPatterns.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/benspratling4/SwiftPatterns.git
https://github.com/benspratling4/SwiftPatterns.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftPatterns",
"name" : "SwiftPatterns",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftPatterns",
"targets" : [
"SwiftPatterns"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SwiftPatternsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftPatternsTests",
"path" : "Tests/SwiftPatternsTests",
"sources" : [
"ArrayDropLastWhileTests.swift",
"ChangeSetTests.swift",
"JSONPrimitiveTests.swift",
"LogSearchTests.swift",
"SkippingDecodeErrorsTests.swift",
"String+fixes_Tests.swift",
"String+replaceWithPrecautionaryWhitespaceTests.swift",
"StringCharacterSetTests.swift",
"XMLItemTests.swift"
],
"target_dependencies" : [
"SwiftPatterns"
],
"type" : "test"
},
{
"c99name" : "SwiftPatterns",
"module_type" : "SwiftTarget",
"name" : "SwiftPatterns",
"path" : "Sources/SwiftPatterns",
"product_memberships" : [
"SwiftPatterns"
],
"sources" : [
"Alert.swift",
"Array+StableUniqueValues.swift",
"Array+dropLastWhile.swift",
"ChangeSet.swift",
"Cursor.swift",
"DataExtraction.swift",
"DirectoryMonitor.swift",
"DynamicCodingKeys.swift",
"Int+Bits.swift",
"JSONPrimitive.swift",
"LocalFileSource.swift",
"LogSearch.swift",
"Math.swift",
"MediatedAccess.swift",
"PriorityQueue.swift",
"QueuedVar.swift",
"SerializedResourceWrapping.swift",
"SkippingDecodeErrors.swift",
"String+CharacterSet+replacements.swift",
"String+fixes.swift",
"String+insertWithPrecautionaryWhitespace.swift",
"URL+ExtendedAttributes.swift",
"URL+relativePaths.swift",
"WeightedNode.swift",
"XMLItem.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SwiftPatterns/PrivacyInfo.xcprivacy
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/28] Emitting module SwiftPatterns
/host/spi-builder-workspace/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/Sources/SwiftPatterns/SerializedResourceWrapping.swift:25:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
23 |
24 | /// like a directory
25 | public protocol SubResourceWrapping : class, SerializedResourceWrapping {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
26 |
27 | ///access all the sub resources, usually for iteration
/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.
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/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/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/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/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/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/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]
[4/31] Compiling SwiftPatterns Alert.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:78:7: warning: variable 'exhaustedOld' was written to, but never read
76 | var oldIndex:Int = 0
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
| `- warning: variable 'exhaustedOld' was written to, but never read
79 | var exhaustedNew:Bool = false
80 |
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:79:7: warning: variable 'exhaustedNew' was written to, but never read
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
79 | var exhaustedNew:Bool = false
| `- warning: variable 'exhaustedNew' was written to, but never read
80 |
81 | //keys are original index number, values are new index number
[5/31] Compiling SwiftPatterns Array+StableUniqueValues.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:78:7: warning: variable 'exhaustedOld' was written to, but never read
76 | var oldIndex:Int = 0
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
| `- warning: variable 'exhaustedOld' was written to, but never read
79 | var exhaustedNew:Bool = false
80 |
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:79:7: warning: variable 'exhaustedNew' was written to, but never read
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
79 | var exhaustedNew:Bool = false
| `- warning: variable 'exhaustedNew' was written to, but never read
80 |
81 | //keys are original index number, values are new index number
[6/31] Compiling SwiftPatterns Array+dropLastWhile.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:78:7: warning: variable 'exhaustedOld' was written to, but never read
76 | var oldIndex:Int = 0
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
| `- warning: variable 'exhaustedOld' was written to, but never read
79 | var exhaustedNew:Bool = false
80 |
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:79:7: warning: variable 'exhaustedNew' was written to, but never read
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
79 | var exhaustedNew:Bool = false
| `- warning: variable 'exhaustedNew' was written to, but never read
80 |
81 | //keys are original index number, values are new index number
[7/31] Compiling SwiftPatterns ChangeSet.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:78:7: warning: variable 'exhaustedOld' was written to, but never read
76 | var oldIndex:Int = 0
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
| `- warning: variable 'exhaustedOld' was written to, but never read
79 | var exhaustedNew:Bool = false
80 |
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:79:7: warning: variable 'exhaustedNew' was written to, but never read
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
79 | var exhaustedNew:Bool = false
| `- warning: variable 'exhaustedNew' was written to, but never read
80 |
81 | //keys are original index number, values are new index number
[8/31] 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
32 | return false
33 | }
34 | for (index, childComponent) in parentComponents.enumerated() {
| `- warning: immutable value 'childComponent' was never used; consider replacing with '_' or removing it
35 | if parentComponents[index] != childComponents[index] {
36 | return false
/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.
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/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/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/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/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/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/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/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/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/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/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 | }
[9/31] 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
32 | return false
33 | }
34 | for (index, childComponent) in parentComponents.enumerated() {
| `- warning: immutable value 'childComponent' was never used; consider replacing with '_' or removing it
35 | if parentComponents[index] != childComponents[index] {
36 | return false
/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.
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/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/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/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/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/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/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/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/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/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/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 | }
[10/31] 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
32 | return false
33 | }
34 | for (index, childComponent) in parentComponents.enumerated() {
| `- warning: immutable value 'childComponent' was never used; consider replacing with '_' or removing it
35 | if parentComponents[index] != childComponents[index] {
36 | return false
/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.
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/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/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/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/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/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/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/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/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/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/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 | }
[11/31] Compiling SwiftPatterns LocalFileSource.swift
/host/spi-builder-workspace/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/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 | })
/host/spi-builder-workspace/Sources/SwiftPatterns/Math.swift:56:10: error: no exact matches in call to global function 'pow'
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| |- error: no exact matches in call to global function 'pow'
| |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
| `- note: candidate has partially matching parameter list (Decimal, Int)
57 | }
58 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/SwiftPatterns/Math.swift:56:10: error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
57 | }
58 | }
Foundation.pow:1:13: note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
Foundation.pow:1:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[12/31] Compiling SwiftPatterns LogSearch.swift
/host/spi-builder-workspace/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/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 | })
/host/spi-builder-workspace/Sources/SwiftPatterns/Math.swift:56:10: error: no exact matches in call to global function 'pow'
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| |- error: no exact matches in call to global function 'pow'
| |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
| `- note: candidate has partially matching parameter list (Decimal, Int)
57 | }
58 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/SwiftPatterns/Math.swift:56:10: error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
57 | }
58 | }
Foundation.pow:1:13: note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
Foundation.pow:1:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[13/31] Compiling SwiftPatterns Math.swift
/host/spi-builder-workspace/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/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 | })
/host/spi-builder-workspace/Sources/SwiftPatterns/Math.swift:56:10: error: no exact matches in call to global function 'pow'
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| |- error: no exact matches in call to global function 'pow'
| |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
| `- note: candidate has partially matching parameter list (Decimal, Int)
57 | }
58 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/SwiftPatterns/Math.swift:56:10: error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
57 | }
58 | }
Foundation.pow:1:13: note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
Foundation.pow:1:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[14/31] Compiling SwiftPatterns DynamicCodingKeys.swift
[15/31] Compiling SwiftPatterns Int+Bits.swift
[16/31] Compiling SwiftPatterns JSONPrimitive.swift
[17/31] Compiling SwiftPatterns MediatedAccess.swift
[18/31] Compiling SwiftPatterns PriorityQueue.swift
[19/31] Compiling SwiftPatterns QueuedVar.swift
[20/31] 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
23 |
24 | /// like a directory
25 | public protocol SubResourceWrapping : class, SerializedResourceWrapping {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
26 |
27 | ///access all the sub resources, usually for iteration
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:344:39: warning: setter argument 'newValue' was never used, but the property was accessed
342 | set {
343 | changedSinceRead = false
344 | representation = FileWrapping(data:contents, name:url.lastPathComponent)
| |- warning: setter argument 'newValue' was never used, but the property was accessed
| `- note: did you mean to use 'newValue' instead of accessing the property's current value?
345 | }
346 | }
/host/spi-builder-workspace/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/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 | }
[21/31] 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
23 |
24 | /// like a directory
25 | public protocol SubResourceWrapping : class, SerializedResourceWrapping {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
26 |
27 | ///access all the sub resources, usually for iteration
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:344:39: warning: setter argument 'newValue' was never used, but the property was accessed
342 | set {
343 | changedSinceRead = false
344 | representation = FileWrapping(data:contents, name:url.lastPathComponent)
| |- warning: setter argument 'newValue' was never used, but the property was accessed
| `- note: did you mean to use 'newValue' instead of accessing the property's current value?
345 | }
346 | }
/host/spi-builder-workspace/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/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 | }
[22/31] Compiling SwiftPatterns String+CharacterSet+replacements.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
23 |
24 | /// like a directory
25 | public protocol SubResourceWrapping : class, SerializedResourceWrapping {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
26 |
27 | ///access all the sub resources, usually for iteration
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:344:39: warning: setter argument 'newValue' was never used, but the property was accessed
342 | set {
343 | changedSinceRead = false
344 | representation = FileWrapping(data:contents, name:url.lastPathComponent)
| |- warning: setter argument 'newValue' was never used, but the property was accessed
| `- note: did you mean to use 'newValue' instead of accessing the property's current value?
345 | }
346 | }
/host/spi-builder-workspace/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/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 | }
[23/31] Compiling SwiftPatterns Cursor.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/DataExtraction.swift:19:3: warning: using '_' to ignore the result of a Void-returning function is redundant
17 | defer { unsafeBytes.deallocate() }
18 | let bufferPointer = UnsafeMutableBufferPointer(start: unsafeBytes, count: 1)
19 | _ = self.copyBytes(to: bufferPointer, from: index..<(index + width))
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
20 | return unsafeBytes.pointee
21 | }
[24/31] Compiling SwiftPatterns DataExtraction.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/DataExtraction.swift:19:3: warning: using '_' to ignore the result of a Void-returning function is redundant
17 | defer { unsafeBytes.deallocate() }
18 | let bufferPointer = UnsafeMutableBufferPointer(start: unsafeBytes, count: 1)
19 | _ = self.copyBytes(to: bufferPointer, from: index..<(index + width))
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
20 | return unsafeBytes.pointee
21 | }
[25/31] Compiling SwiftPatterns DirectoryMonitor.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/DataExtraction.swift:19:3: warning: using '_' to ignore the result of a Void-returning function is redundant
17 | defer { unsafeBytes.deallocate() }
18 | let bufferPointer = UnsafeMutableBufferPointer(start: unsafeBytes, count: 1)
19 | _ = self.copyBytes(to: bufferPointer, from: index..<(index + width))
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
20 | return unsafeBytes.pointee
21 | }
[26/31] Compiling SwiftPatterns String+fixes.swift
[27/31] Compiling SwiftPatterns String+insertWithPrecautionaryWhitespace.swift
[28/31] Compiling SwiftPatterns URL+ExtendedAttributes.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SwiftPatterns/PrivacyInfo.xcprivacy
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/27] Emitting module SwiftPatterns
/host/spi-builder-workspace/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/Sources/SwiftPatterns/SerializedResourceWrapping.swift:25:39: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
23 |
24 | /// like a directory
25 | public protocol SubResourceWrapping : class, SerializedResourceWrapping {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
26 |
27 | ///access all the sub resources, usually for iteration
/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.
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/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/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/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/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/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/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]
[3/30] Compiling SwiftPatterns String+fixes.swift
[4/30] Compiling SwiftPatterns String+insertWithPrecautionaryWhitespace.swift
[5/30] Compiling SwiftPatterns URL+ExtendedAttributes.swift
[6/30] Compiling SwiftPatterns LocalFileSource.swift
/host/spi-builder-workspace/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/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 | })
/host/spi-builder-workspace/Sources/SwiftPatterns/Math.swift:56:10: error: no exact matches in call to global function 'pow'
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| |- error: no exact matches in call to global function 'pow'
| |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
| `- note: candidate has partially matching parameter list (Decimal, Int)
57 | }
58 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/SwiftPatterns/Math.swift:56:10: error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
57 | }
58 | }
Foundation.pow:1:13: note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
Foundation.pow:1:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[7/30] Compiling SwiftPatterns LogSearch.swift
/host/spi-builder-workspace/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/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 | })
/host/spi-builder-workspace/Sources/SwiftPatterns/Math.swift:56:10: error: no exact matches in call to global function 'pow'
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| |- error: no exact matches in call to global function 'pow'
| |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
| `- note: candidate has partially matching parameter list (Decimal, Int)
57 | }
58 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/SwiftPatterns/Math.swift:56:10: error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
57 | }
58 | }
Foundation.pow:1:13: note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
Foundation.pow:1:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[8/30] Compiling SwiftPatterns Math.swift
/host/spi-builder-workspace/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/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 | })
/host/spi-builder-workspace/Sources/SwiftPatterns/Math.swift:56:10: error: no exact matches in call to global function 'pow'
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| |- error: no exact matches in call to global function 'pow'
| |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
| `- note: candidate has partially matching parameter list (Decimal, Int)
57 | }
58 | }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/Sources/SwiftPatterns/Math.swift:56:10: error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
54 | extension Float32 {
55 | public static func ^(left:Float32, right:Float32)->Float32 {
56 | return pow(left, right)
| `- error: no 'pow' candidates produce the expected contextual result type 'Float32' (aka 'Float')
57 | }
58 | }
Foundation.pow:1:13: note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: 'pow' produces 'CGFloat', not the expected contextual result type 'Float32' (aka 'Float')
Foundation.pow:1:13: note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: 'pow' produces 'Decimal', not the expected contextual result type 'Float32' (aka 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: 'pow' produces 'Double', not the expected contextual result type 'Float32' (aka 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[9/30] Compiling SwiftPatterns MediatedAccess.swift
[10/30] Compiling SwiftPatterns PriorityQueue.swift
[11/30] Compiling SwiftPatterns QueuedVar.swift
[12/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
32 | return false
33 | }
34 | for (index, childComponent) in parentComponents.enumerated() {
| `- warning: immutable value 'childComponent' was never used; consider replacing with '_' or removing it
35 | if parentComponents[index] != childComponents[index] {
36 | return false
/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.
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/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/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/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/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/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/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/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/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/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/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 | }
[13/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
32 | return false
33 | }
34 | for (index, childComponent) in parentComponents.enumerated() {
| `- warning: immutable value 'childComponent' was never used; consider replacing with '_' or removing it
35 | if parentComponents[index] != childComponents[index] {
36 | return false
/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.
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/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/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/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/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/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/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/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/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/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/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 | }
[14/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
32 | return false
33 | }
34 | for (index, childComponent) in parentComponents.enumerated() {
| `- warning: immutable value 'childComponent' was never used; consider replacing with '_' or removing it
35 | if parentComponents[index] != childComponents[index] {
36 | return false
/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.
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/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/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/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/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/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/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/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/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/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/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 | }
[15/30] Compiling SwiftPatterns Alert.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:78:7: warning: variable 'exhaustedOld' was written to, but never read
76 | var oldIndex:Int = 0
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
| `- warning: variable 'exhaustedOld' was written to, but never read
79 | var exhaustedNew:Bool = false
80 |
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:79:7: warning: variable 'exhaustedNew' was written to, but never read
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
79 | var exhaustedNew:Bool = false
| `- warning: variable 'exhaustedNew' was written to, but never read
80 |
81 | //keys are original index number, values are new index number
[16/30] Compiling SwiftPatterns Array+StableUniqueValues.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:78:7: warning: variable 'exhaustedOld' was written to, but never read
76 | var oldIndex:Int = 0
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
| `- warning: variable 'exhaustedOld' was written to, but never read
79 | var exhaustedNew:Bool = false
80 |
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:79:7: warning: variable 'exhaustedNew' was written to, but never read
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
79 | var exhaustedNew:Bool = false
| `- warning: variable 'exhaustedNew' was written to, but never read
80 |
81 | //keys are original index number, values are new index number
[17/30] Compiling SwiftPatterns Array+dropLastWhile.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:78:7: warning: variable 'exhaustedOld' was written to, but never read
76 | var oldIndex:Int = 0
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
| `- warning: variable 'exhaustedOld' was written to, but never read
79 | var exhaustedNew:Bool = false
80 |
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:79:7: warning: variable 'exhaustedNew' was written to, but never read
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
79 | var exhaustedNew:Bool = false
| `- warning: variable 'exhaustedNew' was written to, but never read
80 |
81 | //keys are original index number, values are new index number
[18/30] Compiling SwiftPatterns ChangeSet.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:78:7: warning: variable 'exhaustedOld' was written to, but never read
76 | var oldIndex:Int = 0
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
| `- warning: variable 'exhaustedOld' was written to, but never read
79 | var exhaustedNew:Bool = false
80 |
/host/spi-builder-workspace/Sources/SwiftPatterns/ChangeSet.swift:79:7: warning: variable 'exhaustedNew' was written to, but never read
77 | var newIndex:Int = 0
78 | var exhaustedOld:Bool = false
79 | var exhaustedNew:Bool = false
| `- warning: variable 'exhaustedNew' was written to, but never read
80 |
81 | //keys are original index number, values are new index number
[19/30] Compiling SwiftPatterns DynamicCodingKeys.swift
[20/30] Compiling SwiftPatterns Int+Bits.swift
[21/30] Compiling SwiftPatterns JSONPrimitive.swift
[22/30] Compiling SwiftPatterns Cursor.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/DataExtraction.swift:19:3: warning: using '_' to ignore the result of a Void-returning function is redundant
17 | defer { unsafeBytes.deallocate() }
18 | let bufferPointer = UnsafeMutableBufferPointer(start: unsafeBytes, count: 1)
19 | _ = self.copyBytes(to: bufferPointer, from: index..<(index + width))
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
20 | return unsafeBytes.pointee
21 | }
[23/30] Compiling SwiftPatterns DataExtraction.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/DataExtraction.swift:19:3: warning: using '_' to ignore the result of a Void-returning function is redundant
17 | defer { unsafeBytes.deallocate() }
18 | let bufferPointer = UnsafeMutableBufferPointer(start: unsafeBytes, count: 1)
19 | _ = self.copyBytes(to: bufferPointer, from: index..<(index + width))
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
20 | return unsafeBytes.pointee
21 | }
[24/30] Compiling SwiftPatterns DirectoryMonitor.swift
/host/spi-builder-workspace/Sources/SwiftPatterns/DataExtraction.swift:19:3: warning: using '_' to ignore the result of a Void-returning function is redundant
17 | defer { unsafeBytes.deallocate() }
18 | let bufferPointer = UnsafeMutableBufferPointer(start: unsafeBytes, count: 1)
19 | _ = self.copyBytes(to: bufferPointer, from: index..<(index + width))
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
20 | return unsafeBytes.pointee
21 | }
[25/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
23 |
24 | /// like a directory
25 | public protocol SubResourceWrapping : class, SerializedResourceWrapping {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
26 |
27 | ///access all the sub resources, usually for iteration
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:344:39: warning: setter argument 'newValue' was never used, but the property was accessed
342 | set {
343 | changedSinceRead = false
344 | representation = FileWrapping(data:contents, name:url.lastPathComponent)
| |- warning: setter argument 'newValue' was never used, but the property was accessed
| `- note: did you mean to use 'newValue' instead of accessing the property's current value?
345 | }
346 | }
/host/spi-builder-workspace/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/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/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
23 |
24 | /// like a directory
25 | public protocol SubResourceWrapping : class, SerializedResourceWrapping {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
26 |
27 | ///access all the sub resources, usually for iteration
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:344:39: warning: setter argument 'newValue' was never used, but the property was accessed
342 | set {
343 | changedSinceRead = false
344 | representation = FileWrapping(data:contents, name:url.lastPathComponent)
| |- warning: setter argument 'newValue' was never used, but the property was accessed
| `- note: did you mean to use 'newValue' instead of accessing the property's current value?
345 | }
346 | }
/host/spi-builder-workspace/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/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/30] Compiling SwiftPatterns String+CharacterSet+replacements.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
23 |
24 | /// like a directory
25 | public protocol SubResourceWrapping : class, SerializedResourceWrapping {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
26 |
27 | ///access all the sub resources, usually for iteration
/host/spi-builder-workspace/Sources/SwiftPatterns/SerializedResourceWrapping.swift:344:39: warning: setter argument 'newValue' was never used, but the property was accessed
342 | set {
343 | changedSinceRead = false
344 | representation = FileWrapping(data:contents, name:url.lastPathComponent)
| |- warning: setter argument 'newValue' was never used, but the property was accessed
| `- note: did you mean to use 'newValue' instead of accessing the property's current value?
345 | }
346 | }
/host/spi-builder-workspace/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/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 | }
BUILD FAILURE 6.1 android