Build Information
Failed to build swift-knowledge-graph, reference v0.3.0 (c6b9b7), with Swift 6.3 for Android on 29 Jun 2026 03:44:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1amageek/swift-knowledge-graph.git
Reference: v0.3.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/1amageek/swift-knowledge-graph
* tag v0.3.0 -> FETCH_HEAD
HEAD is now at c6b9b74 Add graph presentation canvas and edge label styles
Cloned https://github.com/1amageek/swift-knowledge-graph.git
Revision (git rev-parse @):
c6b9b7489c1f2c405d81f0c0facda06bee854b35
SUCCESS checkout https://github.com/1amageek/swift-knowledge-graph.git at v0.3.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/1amageek/swift-knowledge-graph.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:451958f7df55f9af673f8b0851dc526f2aee3222db374ae53b89fa21ad564bc8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-272D24FF697CF451.txt
[4/19] Emitting module KnowledgeGraph
[5/21] Compiling KnowledgeGraph KnowledgeGraphError.swift
[6/21] Compiling KnowledgeGraph NamedGraph.swift
[7/21] Compiling KnowledgeGraph NodeIdentifier.swift
[8/21] Compiling KnowledgeGraph NodeKind.swift
[9/21] Compiling KnowledgeGraph GraphStyle.swift
[10/21] Compiling KnowledgeGraph KnowledgeGraph.swift
[11/21] Compiling KnowledgeGraph GraphElementReference.swift
[12/21] Compiling KnowledgeGraph GraphLayoutDirective.swift
[13/21] Compiling KnowledgeGraph Attribute.swift
[14/21] Compiling KnowledgeGraph Edge.swift
[15/21] Compiling KnowledgeGraph EdgeIdentifier.swift
[16/21] Compiling KnowledgeGraph KnowledgeGraphBuilder.swift
[17/21] Compiling KnowledgeGraph KnowledgeGraphDocument.swift
[18/21] Compiling KnowledgeGraph GraphPresentation.swift
[19/21] Compiling KnowledgeGraph GraphPresentationGroup.swift
[20/21] Compiling KnowledgeGraph Namespace.swift
[21/21] Compiling KnowledgeGraph Node.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/55] Emitting module KnowledgeGraphParsers
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:19:45: error: cannot find type 'XMLParserDelegate' in scope
17 | /// The class itself is intentionally `final` and used only on the calling
18 | /// thread during a single `parse()` call.
19 | final class RDFXMLEventCollector: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
20 |
21 | private(set) var events: [RDFXMLEvent] = []
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:26:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
24 |
25 | func parser(
26 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
27 | didStartElement elementName: String,
28 | namespaceURI: 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:49:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
47 |
48 | func parser(
49 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
50 | didEndElement elementName: String,
51 | namespaceURI: 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:65:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
63 | }
64 |
65 | 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.
66 | if pendingText == nil {
67 | pendingText = 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:73:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
71 | }
72 |
73 | 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.
74 | let string = String(decoding: CDATABlock, as: UTF8.self)
75 | if pendingText == 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:82:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
80 | }
81 |
82 | func parser(_ parser: XMLParser, parseErrorOccurred error: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
83 | if parseError == nil {
84 | parseError = 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:88:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
86 | }
87 |
88 | func parser(_ parser: XMLParser, validationErrorOccurred error: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
89 | if parseError == nil {
90 | parseError = 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:135:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
133 | private var namespaceStack: [[String: String]] = [[:]]
134 |
135 | func parser(_ parser: XMLParser, didStartMappingPrefix prefix: String, toURI namespaceURI: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
136 | // Foundation calls this *before* `didStartElement`. Stage the binding
137 | // in a pending frame that will be merged when the element actually
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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:145:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
143 | }
144 |
145 | func parser(_ parser: XMLParser, didEndMappingPrefix prefix: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
146 | // Bindings unwind in element-end order. Since we push one frame per
147 | // element on `didStartElement`, no per-prefix bookkeeping is needed
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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:170:43: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
168 | }
169 |
170 | func parserDidStartDocument(_ parser: XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
171 | // Reset state in case the same collector is reused.
172 | events.removeAll()
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/KnowledgeGraphParsers/RDFXML/RDFXMLParser.swift:77:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
75 | }
76 |
77 | private func xmlPosition(parser: XMLParser) -> SourcePosition {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
78 | SourcePosition(
79 | line: max(1, parser.lineNumber),
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
[24/59] Compiling KnowledgeGraphParsers ParsingContext.swift
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:19:45: error: cannot find type 'XMLParserDelegate' in scope
17 | /// The class itself is intentionally `final` and used only on the calling
18 | /// thread during a single `parse()` call.
19 | final class RDFXMLEventCollector: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
20 |
21 | private(set) var events: [RDFXMLEvent] = []
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:26:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
24 |
25 | func parser(
26 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
27 | didStartElement elementName: String,
28 | namespaceURI: 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:49:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
47 |
48 | func parser(
49 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
50 | didEndElement elementName: String,
51 | namespaceURI: 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:65:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
63 | }
64 |
65 | 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.
66 | if pendingText == nil {
67 | pendingText = 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:73:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
71 | }
72 |
73 | 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.
74 | let string = String(decoding: CDATABlock, as: UTF8.self)
75 | if pendingText == 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:82:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
80 | }
81 |
82 | func parser(_ parser: XMLParser, parseErrorOccurred error: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
83 | if parseError == nil {
84 | parseError = 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:88:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
86 | }
87 |
88 | func parser(_ parser: XMLParser, validationErrorOccurred error: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
89 | if parseError == nil {
90 | parseError = 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:135:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
133 | private var namespaceStack: [[String: String]] = [[:]]
134 |
135 | func parser(_ parser: XMLParser, didStartMappingPrefix prefix: String, toURI namespaceURI: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
136 | // Foundation calls this *before* `didStartElement`. Stage the binding
137 | // in a pending frame that will be merged when the element actually
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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:145:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
143 | }
144 |
145 | func parser(_ parser: XMLParser, didEndMappingPrefix prefix: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
146 | // Bindings unwind in element-end order. Since we push one frame per
147 | // element on `didStartElement`, no per-prefix bookkeeping is needed
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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:170:43: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
168 | }
169 |
170 | func parserDidStartDocument(_ parser: XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
171 | // Reset state in case the same collector is reused.
172 | events.removeAll()
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
[25/59] Compiling KnowledgeGraphParsers RDFXMLConstants.swift
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:19:45: error: cannot find type 'XMLParserDelegate' in scope
17 | /// The class itself is intentionally `final` and used only on the calling
18 | /// thread during a single `parse()` call.
19 | final class RDFXMLEventCollector: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
20 |
21 | private(set) var events: [RDFXMLEvent] = []
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:26:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
24 |
25 | func parser(
26 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
27 | didStartElement elementName: String,
28 | namespaceURI: 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:49:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
47 |
48 | func parser(
49 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
50 | didEndElement elementName: String,
51 | namespaceURI: 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:65:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
63 | }
64 |
65 | 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.
66 | if pendingText == nil {
67 | pendingText = 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:73:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
71 | }
72 |
73 | 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.
74 | let string = String(decoding: CDATABlock, as: UTF8.self)
75 | if pendingText == 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:82:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
80 | }
81 |
82 | func parser(_ parser: XMLParser, parseErrorOccurred error: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
83 | if parseError == nil {
84 | parseError = 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:88:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
86 | }
87 |
88 | func parser(_ parser: XMLParser, validationErrorOccurred error: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
89 | if parseError == nil {
90 | parseError = 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:135:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
133 | private var namespaceStack: [[String: String]] = [[:]]
134 |
135 | func parser(_ parser: XMLParser, didStartMappingPrefix prefix: String, toURI namespaceURI: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
136 | // Foundation calls this *before* `didStartElement`. Stage the binding
137 | // in a pending frame that will be merged when the element actually
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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:145:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
143 | }
144 |
145 | func parser(_ parser: XMLParser, didEndMappingPrefix prefix: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
146 | // Bindings unwind in element-end order. Since we push one frame per
147 | // element on `didStartElement`, no per-prefix bookkeeping is needed
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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:170:43: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
168 | }
169 |
170 | func parserDidStartDocument(_ parser: XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
171 | // Reset state in case the same collector is reused.
172 | events.removeAll()
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
[26/59] Compiling KnowledgeGraphParsers RDFXMLEvent.swift
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:19:45: error: cannot find type 'XMLParserDelegate' in scope
17 | /// The class itself is intentionally `final` and used only on the calling
18 | /// thread during a single `parse()` call.
19 | final class RDFXMLEventCollector: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
20 |
21 | private(set) var events: [RDFXMLEvent] = []
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:26:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
24 |
25 | func parser(
26 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
27 | didStartElement elementName: String,
28 | namespaceURI: 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:49:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
47 |
48 | func parser(
49 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
50 | didEndElement elementName: String,
51 | namespaceURI: 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:65:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
63 | }
64 |
65 | 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.
66 | if pendingText == nil {
67 | pendingText = 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:73:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
71 | }
72 |
73 | 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.
74 | let string = String(decoding: CDATABlock, as: UTF8.self)
75 | if pendingText == 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:82:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
80 | }
81 |
82 | func parser(_ parser: XMLParser, parseErrorOccurred error: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
83 | if parseError == nil {
84 | parseError = 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:88:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
86 | }
87 |
88 | func parser(_ parser: XMLParser, validationErrorOccurred error: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
89 | if parseError == nil {
90 | parseError = 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:135:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
133 | private var namespaceStack: [[String: String]] = [[:]]
134 |
135 | func parser(_ parser: XMLParser, didStartMappingPrefix prefix: String, toURI namespaceURI: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
136 | // Foundation calls this *before* `didStartElement`. Stage the binding
137 | // in a pending frame that will be merged when the element actually
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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:145:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
143 | }
144 |
145 | func parser(_ parser: XMLParser, didEndMappingPrefix prefix: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
146 | // Bindings unwind in element-end order. Since we push one frame per
147 | // element on `didStartElement`, no per-prefix bookkeeping is needed
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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:170:43: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
168 | }
169 |
170 | func parserDidStartDocument(_ parser: XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
171 | // Reset state in case the same collector is reused.
172 | events.removeAll()
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
[27/59] Compiling KnowledgeGraphParsers RDFXMLEventCollector.swift
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:19:45: error: cannot find type 'XMLParserDelegate' in scope
17 | /// The class itself is intentionally `final` and used only on the calling
18 | /// thread during a single `parse()` call.
19 | final class RDFXMLEventCollector: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
20 |
21 | private(set) var events: [RDFXMLEvent] = []
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:26:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
24 |
25 | func parser(
26 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
27 | didStartElement elementName: String,
28 | namespaceURI: 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:49:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
47 |
48 | func parser(
49 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
50 | didEndElement elementName: String,
51 | namespaceURI: 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:65:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
63 | }
64 |
65 | 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.
66 | if pendingText == nil {
67 | pendingText = 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:73:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
71 | }
72 |
73 | 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.
74 | let string = String(decoding: CDATABlock, as: UTF8.self)
75 | if pendingText == 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:82:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
80 | }
81 |
82 | func parser(_ parser: XMLParser, parseErrorOccurred error: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
83 | if parseError == nil {
84 | parseError = 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:88:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
86 | }
87 |
88 | func parser(_ parser: XMLParser, validationErrorOccurred error: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
89 | if parseError == nil {
90 | parseError = 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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:135:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
133 | private var namespaceStack: [[String: String]] = [[:]]
134 |
135 | func parser(_ parser: XMLParser, didStartMappingPrefix prefix: String, toURI namespaceURI: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
136 | // Foundation calls this *before* `didStartElement`. Stage the binding
137 | // in a pending frame that will be merged when the element actually
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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:145:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
143 | }
144 |
145 | func parser(_ parser: XMLParser, didEndMappingPrefix prefix: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
146 | // Bindings unwind in element-end order. Since we push one frame per
147 | // element on `didStartElement`, no per-prefix bookkeeping is needed
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/KnowledgeGraphParsers/RDFXML/RDFXMLEventCollector.swift:170:43: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
168 | }
169 |
170 | func parserDidStartDocument(_ parser: XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
171 | // Reset state in case the same collector is reused.
172 | events.removeAll()
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
[28/59] Compiling KnowledgeGraphParsers SourcePosition.swift
[29/59] Compiling KnowledgeGraphParsers TriGParser.swift
[30/59] Compiling KnowledgeGraphParsers Token.swift
[31/59] Compiling KnowledgeGraphParsers TurtleEscapes.swift
[32/59] Compiling KnowledgeGraphParsers IRI.swift
[33/59] Compiling KnowledgeGraphParsers IRIComponents.swift
[34/59] Compiling KnowledgeGraphParsers IRIPercentEncoding.swift
[35/59] Compiling KnowledgeGraphParsers IRIResolver.swift
[36/59] Compiling KnowledgeGraphParsers JSONLDContext.swift
[37/59] Compiling KnowledgeGraphParsers RDFXMLGrammar.swift
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLParser.swift:77:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
75 | }
76 |
77 | private func xmlPosition(parser: XMLParser) -> SourcePosition {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
78 | SourcePosition(
79 | line: max(1, parser.lineNumber),
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/KnowledgeGraphParsers/RDFXML/RDFXMLParser.swift:55:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
53 | private func collectEvents() throws -> [RDFXMLEvent] {
54 | let data = Data(buffer)
55 | let xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
56 | xmlParser.shouldProcessNamespaces = true
57 | xmlParser.shouldReportNamespacePrefixes = true
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLParser.swift:79:33: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'lineNumber'
77 | private func xmlPosition(parser: XMLParser) -> SourcePosition {
78 | SourcePosition(
79 | line: max(1, parser.lineNumber),
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'lineNumber'
80 | column: max(1, parser.columnNumber),
81 | byteOffset: 0
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLParser.swift:80:35: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'columnNumber'
78 | SourcePosition(
79 | line: max(1, parser.lineNumber),
80 | column: max(1, parser.columnNumber),
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'columnNumber'
81 | byteOffset: 0
82 | )
[38/59] Compiling KnowledgeGraphParsers RDFXMLLiteralSerializer.swift
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLParser.swift:77:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
75 | }
76 |
77 | private func xmlPosition(parser: XMLParser) -> SourcePosition {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
78 | SourcePosition(
79 | line: max(1, parser.lineNumber),
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/KnowledgeGraphParsers/RDFXML/RDFXMLParser.swift:55:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
53 | private func collectEvents() throws -> [RDFXMLEvent] {
54 | let data = Data(buffer)
55 | let xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
56 | xmlParser.shouldProcessNamespaces = true
57 | xmlParser.shouldReportNamespacePrefixes = true
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLParser.swift:79:33: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'lineNumber'
77 | private func xmlPosition(parser: XMLParser) -> SourcePosition {
78 | SourcePosition(
79 | line: max(1, parser.lineNumber),
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'lineNumber'
80 | column: max(1, parser.columnNumber),
81 | byteOffset: 0
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLParser.swift:80:35: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'columnNumber'
78 | SourcePosition(
79 | line: max(1, parser.lineNumber),
80 | column: max(1, parser.columnNumber),
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'columnNumber'
81 | byteOffset: 0
82 | )
[39/59] Compiling KnowledgeGraphParsers RDFXMLNCName.swift
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLParser.swift:77:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
75 | }
76 |
77 | private func xmlPosition(parser: XMLParser) -> SourcePosition {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
78 | SourcePosition(
79 | line: max(1, parser.lineNumber),
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/KnowledgeGraphParsers/RDFXML/RDFXMLParser.swift:55:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
53 | private func collectEvents() throws -> [RDFXMLEvent] {
54 | let data = Data(buffer)
55 | let xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
56 | xmlParser.shouldProcessNamespaces = true
57 | xmlParser.shouldReportNamespacePrefixes = true
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLParser.swift:79:33: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'lineNumber'
77 | private func xmlPosition(parser: XMLParser) -> SourcePosition {
78 | SourcePosition(
79 | line: max(1, parser.lineNumber),
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'lineNumber'
80 | column: max(1, parser.columnNumber),
81 | byteOffset: 0
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLParser.swift:80:35: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'columnNumber'
78 | SourcePosition(
79 | line: max(1, parser.lineNumber),
80 | column: max(1, parser.columnNumber),
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'columnNumber'
81 | byteOffset: 0
82 | )
[40/59] Compiling KnowledgeGraphParsers RDFXMLParser.swift
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLParser.swift:77:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
75 | }
76 |
77 | private func xmlPosition(parser: XMLParser) -> SourcePosition {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
78 | SourcePosition(
79 | line: max(1, parser.lineNumber),
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/KnowledgeGraphParsers/RDFXML/RDFXMLParser.swift:55:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
53 | private func collectEvents() throws -> [RDFXMLEvent] {
54 | let data = Data(buffer)
55 | let xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
56 | xmlParser.shouldProcessNamespaces = true
57 | xmlParser.shouldReportNamespacePrefixes = true
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLParser.swift:79:33: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'lineNumber'
77 | private func xmlPosition(parser: XMLParser) -> SourcePosition {
78 | SourcePosition(
79 | line: max(1, parser.lineNumber),
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'lineNumber'
80 | column: max(1, parser.columnNumber),
81 | byteOffset: 0
/host/spi-builder-workspace/Sources/KnowledgeGraphParsers/RDFXML/RDFXMLParser.swift:80:35: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'columnNumber'
78 | SourcePosition(
79 | line: max(1, parser.lineNumber),
80 | column: max(1, parser.columnNumber),
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'columnNumber'
81 | byteOffset: 0
82 | )
[41/59] Compiling KnowledgeGraphParsers JSONLDNodeMapGeneration.swift
[42/59] Compiling KnowledgeGraphParsers JSONLDParser.swift
[43/59] Compiling KnowledgeGraphParsers JSONLDTermDefinition.swift
[44/59] Compiling KnowledgeGraphParsers JSONLDToRDF.swift
[45/59] Compiling KnowledgeGraphParsers JSONLDValueExpansion.swift
[46/59] Compiling KnowledgeGraphParsers JSONValue.swift
[47/59] Compiling KnowledgeGraphParsers JSONValueDecoder.swift
[48/59] Compiling KnowledgeGraphParsers KnowledgeGraphParser.swift
[49/59] Compiling KnowledgeGraphParsers NQuadsParser.swift
[50/59] Compiling KnowledgeGraphParsers ParserError.swift
[51/59] Compiling KnowledgeGraphParsers JSONLDContextProcessing.swift
[52/59] Compiling KnowledgeGraphParsers JSONLDExpansion.swift
[53/59] Compiling KnowledgeGraphParsers JSONLDGraphPresentationExtractor.swift
[54/59] Compiling KnowledgeGraphParsers JSONLDIRIExpansion.swift
[55/59] Compiling KnowledgeGraphParsers JSONLDKeyword.swift
[56/59] Compiling KnowledgeGraphParsers TurtleGrammar.swift
[57/59] Compiling KnowledgeGraphParsers TurtleLiterals.swift
[58/59] Compiling KnowledgeGraphParsers TurtleParser.swift
[59/59] Compiling KnowledgeGraphParsers TurtleTokenizer.swift
BUILD FAILURE 6.3 android