Build Information
Failed to build XMLMapper, reference 2.0.0 (f3b024
), with Swift 6.2 (beta) for Linux on 19 Jun 2025 10:28:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gcharita/XMLMapper.git
Reference: 2.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/gcharita/XMLMapper
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at f3b0241 Updated podspec version
Cloned https://github.com/gcharita/XMLMapper.git
Revision (git rev-parse @):
f3b02419a42d25332f1beecc2b1aee34ebb7afa0
SUCCESS checkout https://github.com/gcharita/XMLMapper.git at 2.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/gcharita/XMLMapper.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/35] Emitting module XMLMapper
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:151:28: error: cannot find type 'XMLParserDelegate' in scope
149 | // MARK: - XMLParserDelegate
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
152 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
153 | endText()
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:152:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
152 | 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.
153 | endText()
154 | endData()
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/XMLMapper/Classes/XMLObjectParser.swift:217:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
215 | }
216 |
217 | 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.
218 | endText()
219 | endData()
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/XMLMapper/Classes/XMLObjectParser.swift:259:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
257 | }
258 |
259 | 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.
260 | addText(string)
261 | }
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/XMLMapper/Classes/XMLObjectParser.swift:263:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
261 | }
262 |
263 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
264 | if cdataAsString {
265 | guard let string = String(data: CDATABlock, encoding: .utf8) else {
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/XMLMapper/Classes/XMLObjectParser.swift:274:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
272 | }
273 |
274 | func parser(_ parser: XMLParser, foundComment comment: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
275 | if preserveComments {
276 | let top = stack?.last
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/XMLMapper/Classes/XMLObjectParser.swift:287:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
285 | }
286 |
287 | 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.
288 | print(parseError)
289 | error = parseError
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/XMLMapper/Classes/XMLObjectParser.swift:293:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
291 | }
292 |
293 | func parser(_ parser: XMLParser, validationErrorOccurred validationError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
294 | print(validationError)
295 | error = validationError
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
[4/39] Compiling XMLMapper XMLTransformOf.swift
/host/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:318:52: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
316 |
317 | if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromXML && map.isKeyPresent {
318 | let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
| `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
319 | let (key, values) = arg
320 | if let XMLArray = fromXMLArrayWithTransform(values, transform: transform) {
/host/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:354:52: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
352 | if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromXML && map.isKeyPresent {
353 |
354 | let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
| `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
355 | let (key, values) = arg
356 | if let XMLArray = fromXMLArrayWithTransform(values, transform: transform) {
/host/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:375:47: warning: tuple conversion from '(key: String, value: [Transform.Object])' to '(key: String, values: [Transform.Object])' mismatches labels
373 |
374 | if map.mappingType == .toXML {
375 | let transformedDictionary = left?.map { (arg: (key: String, values: [Transform.Object])) in
| `- warning: tuple conversion from '(key: String, value: [Transform.Object])' to '(key: String, values: [Transform.Object])' mismatches labels
376 | return (arg.key, toXMLArrayWithTransform(arg.values, transform: transform) ?? [])
377 | }
[5/39] Compiling XMLMapper XMLTransformOperators.swift
/host/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:318:52: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
316 |
317 | if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromXML && map.isKeyPresent {
318 | let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
| `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
319 | let (key, values) = arg
320 | if let XMLArray = fromXMLArrayWithTransform(values, transform: transform) {
/host/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:354:52: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
352 | if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromXML && map.isKeyPresent {
353 |
354 | let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
| `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
355 | let (key, values) = arg
356 | if let XMLArray = fromXMLArrayWithTransform(values, transform: transform) {
/host/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:375:47: warning: tuple conversion from '(key: String, value: [Transform.Object])' to '(key: String, values: [Transform.Object])' mismatches labels
373 |
374 | if map.mappingType == .toXML {
375 | let transformedDictionary = left?.map { (arg: (key: String, values: [Transform.Object])) in
| `- warning: tuple conversion from '(key: String, value: [Transform.Object])' to '(key: String, values: [Transform.Object])' mismatches labels
376 | return (arg.key, toXMLArrayWithTransform(arg.values, transform: transform) ?? [])
377 | }
[6/39] Compiling XMLMapper XMLTransformType.swift
/host/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:318:52: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
316 |
317 | if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromXML && map.isKeyPresent {
318 | let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
| `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
319 | let (key, values) = arg
320 | if let XMLArray = fromXMLArrayWithTransform(values, transform: transform) {
/host/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:354:52: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
352 | if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromXML && map.isKeyPresent {
353 |
354 | let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
| `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
355 | let (key, values) = arg
356 | if let XMLArray = fromXMLArrayWithTransform(values, transform: transform) {
/host/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:375:47: warning: tuple conversion from '(key: String, value: [Transform.Object])' to '(key: String, values: [Transform.Object])' mismatches labels
373 |
374 | if map.mappingType == .toXML {
375 | let transformedDictionary = left?.map { (arg: (key: String, values: [Transform.Object])) in
| `- warning: tuple conversion from '(key: String, value: [Transform.Object])' to '(key: String, values: [Transform.Object])' mismatches labels
376 | return (arg.key, toXMLArrayWithTransform(arg.values, transform: transform) ?? [])
377 | }
[7/39] Compiling XMLMapper XMLURLTransform.swift
/host/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:318:52: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
316 |
317 | if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromXML && map.isKeyPresent {
318 | let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
| `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
319 | let (key, values) = arg
320 | if let XMLArray = fromXMLArrayWithTransform(values, transform: transform) {
/host/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:354:52: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
352 | if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromXML && map.isKeyPresent {
353 |
354 | let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
| `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
355 | let (key, values) = arg
356 | if let XMLArray = fromXMLArrayWithTransform(values, transform: transform) {
/host/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:375:47: warning: tuple conversion from '(key: String, value: [Transform.Object])' to '(key: String, values: [Transform.Object])' mismatches labels
373 |
374 | if map.mappingType == .toXML {
375 | let transformedDictionary = left?.map { (arg: (key: String, values: [Transform.Object])) in
| `- warning: tuple conversion from '(key: String, value: [Transform.Object])' to '(key: String, values: [Transform.Object])' mismatches labels
376 | return (arg.key, toXMLArrayWithTransform(arg.values, transform: transform) ?? [])
377 | }
[8/39] Compiling XMLMapper Array+cdataString.swift
[9/39] Compiling XMLMapper Dictionary+XMLParser.swift
[10/39] Compiling XMLMapper Dictionary+isEqual.swift
[11/39] Compiling XMLMapper Dictionary+mapValues.swift
[12/39] Compiling XMLMapper FromXML.swift
[13/39] Compiling XMLMapper XMLSerialization+ReadingOptions.swift
[14/39] Compiling XMLMapper XMLSerialization.swift
[15/39] Compiling XMLMapper XMLStringConvertibleOperators.swift
[16/39] Compiling XMLMapper XMLStringConvertibleTransform.swift
[17/39] Compiling XMLMapper XMLDictionaryTransform.swift
[18/39] Compiling XMLMapper XMLEnumOperators.swift
[19/39] Compiling XMLMapper XMLEnumTransform.swift
[20/39] Compiling XMLMapper XMLHexColorTransform.swift
[21/39] Compiling XMLMapper XMLMap.swift
[22/39] Compiling XMLMapper XMLMappable.swift
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:151:28: error: cannot find type 'XMLParserDelegate' in scope
149 | // MARK: - XMLParserDelegate
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
152 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
153 | endText()
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:152:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
152 | 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.
153 | endText()
154 | endData()
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/XMLMapper/Classes/XMLObjectParser.swift:217:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
215 | }
216 |
217 | 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.
218 | endText()
219 | endData()
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/XMLMapper/Classes/XMLObjectParser.swift:259:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
257 | }
258 |
259 | 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.
260 | addText(string)
261 | }
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/XMLMapper/Classes/XMLObjectParser.swift:263:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
261 | }
262 |
263 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
264 | if cdataAsString {
265 | guard let string = String(data: CDATABlock, encoding: .utf8) else {
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/XMLMapper/Classes/XMLObjectParser.swift:274:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
272 | }
273 |
274 | func parser(_ parser: XMLParser, foundComment comment: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
275 | if preserveComments {
276 | let top = stack?.last
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/XMLMapper/Classes/XMLObjectParser.swift:287:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
285 | }
286 |
287 | 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.
288 | print(parseError)
289 | error = parseError
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/XMLMapper/Classes/XMLObjectParser.swift:293:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
291 | }
292 |
293 | func parser(_ parser: XMLParser, validationErrorOccurred validationError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
294 | print(validationError)
295 | error = validationError
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/XMLMapper/Classes/XMLObjectParser.swift:62:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
60 | let xmlObjectParser = XMLObjectParser()
61 | xmlObjectParser.applyOptions(options)
62 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | parser.delegate = xmlObjectParser
64 | parser.parse()
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:290:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
288 | print(parseError)
289 | error = parseError
290 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
291 | }
292 |
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:296:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
294 | print(validationError)
295 | error = validationError
296 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
297 | }
298 | }
[23/39] Compiling XMLMapper XMLMapper.swift
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:151:28: error: cannot find type 'XMLParserDelegate' in scope
149 | // MARK: - XMLParserDelegate
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
152 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
153 | endText()
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:152:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
152 | 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.
153 | endText()
154 | endData()
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/XMLMapper/Classes/XMLObjectParser.swift:217:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
215 | }
216 |
217 | 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.
218 | endText()
219 | endData()
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/XMLMapper/Classes/XMLObjectParser.swift:259:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
257 | }
258 |
259 | 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.
260 | addText(string)
261 | }
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/XMLMapper/Classes/XMLObjectParser.swift:263:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
261 | }
262 |
263 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
264 | if cdataAsString {
265 | guard let string = String(data: CDATABlock, encoding: .utf8) else {
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/XMLMapper/Classes/XMLObjectParser.swift:274:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
272 | }
273 |
274 | func parser(_ parser: XMLParser, foundComment comment: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
275 | if preserveComments {
276 | let top = stack?.last
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/XMLMapper/Classes/XMLObjectParser.swift:287:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
285 | }
286 |
287 | 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.
288 | print(parseError)
289 | error = parseError
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/XMLMapper/Classes/XMLObjectParser.swift:293:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
291 | }
292 |
293 | func parser(_ parser: XMLParser, validationErrorOccurred validationError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
294 | print(validationError)
295 | error = validationError
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/XMLMapper/Classes/XMLObjectParser.swift:62:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
60 | let xmlObjectParser = XMLObjectParser()
61 | xmlObjectParser.applyOptions(options)
62 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | parser.delegate = xmlObjectParser
64 | parser.parse()
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:290:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
288 | print(parseError)
289 | error = parseError
290 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
291 | }
292 |
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:296:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
294 | print(validationError)
295 | error = validationError
296 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
297 | }
298 | }
[24/39] Compiling XMLMapper XMLNSDecimalNumberTransform.swift
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:151:28: error: cannot find type 'XMLParserDelegate' in scope
149 | // MARK: - XMLParserDelegate
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
152 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
153 | endText()
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:152:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
152 | 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.
153 | endText()
154 | endData()
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/XMLMapper/Classes/XMLObjectParser.swift:217:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
215 | }
216 |
217 | 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.
218 | endText()
219 | endData()
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/XMLMapper/Classes/XMLObjectParser.swift:259:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
257 | }
258 |
259 | 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.
260 | addText(string)
261 | }
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/XMLMapper/Classes/XMLObjectParser.swift:263:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
261 | }
262 |
263 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
264 | if cdataAsString {
265 | guard let string = String(data: CDATABlock, encoding: .utf8) else {
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/XMLMapper/Classes/XMLObjectParser.swift:274:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
272 | }
273 |
274 | func parser(_ parser: XMLParser, foundComment comment: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
275 | if preserveComments {
276 | let top = stack?.last
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/XMLMapper/Classes/XMLObjectParser.swift:287:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
285 | }
286 |
287 | 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.
288 | print(parseError)
289 | error = parseError
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/XMLMapper/Classes/XMLObjectParser.swift:293:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
291 | }
292 |
293 | func parser(_ parser: XMLParser, validationErrorOccurred validationError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
294 | print(validationError)
295 | error = validationError
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/XMLMapper/Classes/XMLObjectParser.swift:62:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
60 | let xmlObjectParser = XMLObjectParser()
61 | xmlObjectParser.applyOptions(options)
62 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | parser.delegate = xmlObjectParser
64 | parser.parse()
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:290:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
288 | print(parseError)
289 | error = parseError
290 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
291 | }
292 |
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:296:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
294 | print(validationError)
295 | error = validationError
296 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
297 | }
298 | }
[25/39] Compiling XMLMapper XMLObjectParser.swift
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:151:28: error: cannot find type 'XMLParserDelegate' in scope
149 | // MARK: - XMLParserDelegate
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
152 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
153 | endText()
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:152:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
152 | 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.
153 | endText()
154 | endData()
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/XMLMapper/Classes/XMLObjectParser.swift:217:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
215 | }
216 |
217 | 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.
218 | endText()
219 | endData()
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/XMLMapper/Classes/XMLObjectParser.swift:259:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
257 | }
258 |
259 | 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.
260 | addText(string)
261 | }
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/XMLMapper/Classes/XMLObjectParser.swift:263:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
261 | }
262 |
263 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
264 | if cdataAsString {
265 | guard let string = String(data: CDATABlock, encoding: .utf8) else {
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/XMLMapper/Classes/XMLObjectParser.swift:274:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
272 | }
273 |
274 | func parser(_ parser: XMLParser, foundComment comment: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
275 | if preserveComments {
276 | let top = stack?.last
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/XMLMapper/Classes/XMLObjectParser.swift:287:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
285 | }
286 |
287 | 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.
288 | print(parseError)
289 | error = parseError
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/XMLMapper/Classes/XMLObjectParser.swift:293:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
291 | }
292 |
293 | func parser(_ parser: XMLParser, validationErrorOccurred validationError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
294 | print(validationError)
295 | error = validationError
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/XMLMapper/Classes/XMLObjectParser.swift:62:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
60 | let xmlObjectParser = XMLObjectParser()
61 | xmlObjectParser.applyOptions(options)
62 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | parser.delegate = xmlObjectParser
64 | parser.parse()
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:290:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
288 | print(parseError)
289 | error = parseError
290 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
291 | }
292 |
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:296:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
294 | print(validationError)
295 | error = validationError
296 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
297 | }
298 | }
[26/39] Compiling XMLMapper XMLParserConstant.swift
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:17: error: cannot convert value of type 'NSDictionary' to type 'Dictionary<Key, Value>' in coercion
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| `- error: cannot convert value of type 'NSDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
[27/39] Compiling XMLMapper XMLParserHelper.swift
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:17: error: cannot convert value of type 'NSDictionary' to type 'Dictionary<Key, Value>' in coercion
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| `- error: cannot convert value of type 'NSDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
[28/39] Compiling XMLMapper XMLRepresentable.swift
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:17: error: cannot convert value of type 'NSDictionary' to type 'Dictionary<Key, Value>' in coercion
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| `- error: cannot convert value of type 'NSDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
[29/39] Compiling XMLMapper XMLSerialization+Error.swift
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:17: error: cannot convert value of type 'NSDictionary' to type 'Dictionary<Key, Value>' in coercion
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| `- error: cannot convert value of type 'NSDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
[30/39] Compiling XMLMapper XMLCDATATransform.swift
[31/39] Compiling XMLMapper XMLCustomDateFormatTransform.swift
[32/39] Compiling XMLMapper XMLDataTransform.swift
[33/39] Compiling XMLMapper XMLDateFormatterTransform.swift
[34/39] Compiling XMLMapper XMLDateTransform.swift
[35/39] Compiling XMLMapper NSMutableDictionary+XMLParser.swift
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
[36/39] Compiling XMLMapper Operators.swift
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
[37/39] Compiling XMLMapper Sequence+compactMap.swift
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
[38/39] Compiling XMLMapper String+XMLParser.swift
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
[39/39] Compiling XMLMapper ToXML.swift
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
BUILD FAILURE 6.2 linux