Build Information
Failed to build AudioMarker, reference 0.1.1 (28cf6a), with Swift 6.2 for Linux on 25 Jun 2026 13:53:51 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/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4071e0796c748d991a0123890d2f0ecadc8fcc8c
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/atelier-socle/swift-audio-marker.git
Reference: 0.1.1
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/atelier-socle/swift-audio-marker
* tag 0.1.1 -> FETCH_HEAD
HEAD is now at 28cf6a5 ci: add Codecov threshold to absorb toolchain coverage drift
Cloned https://github.com/atelier-socle/swift-audio-marker.git
Revision (git rev-parse @):
28cf6a592a5fe8307f2b82a0ac0eff867f747401
SUCCESS checkout https://github.com/atelier-socle/swift-audio-marker.git at 0.1.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/atelier-socle/swift-audio-marker.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/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c1e64916691157aa211c844e845a45f54e1288d5927bb1481ff28ec0cfa5960d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-argument-parser.git
[1/17949] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.64s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.80s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/15] Write sources
[7/15] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/91] Emitting module AudioMarker
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:95:57: error: cannot find type 'XMLParserDelegate' in scope
93 | // MARK: - XML Parser Delegate
94 |
95 | private final class PodloveXMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
96 |
97 | var chapters = ChapterList()
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:101:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 |
100 | func parser(
101 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | didStartElement elementName: String,
103 | 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/AudioMarker/Exporter/TTMLParser.swift:96:51: error: cannot find type 'XMLParserDelegate' in scope
94 | /// Uses `Foundation.XMLParser` (the only native Swift XML parser).
95 | /// This class is required because `XMLParserDelegate` is an `@objc` protocol.
96 | private final class TTMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
97 |
98 | // MARK: - State
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:200:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
198 |
199 | func parser(
200 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
201 | didStartElement elementName: String,
202 | 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/AudioMarker/Exporter/TTMLParser.swift:225:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
223 |
224 | func parser(
225 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
226 | didEndElement elementName: String,
227 | 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/AudioMarker/Exporter/TTMLParser.swift:246:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
244 | }
245 |
246 | 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.
247 | if inSpan {
248 | currentSpanText += 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/AudioMarker/Exporter/TTMLParser.swift:256:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
254 | }
255 |
256 | 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.
257 | if self.parseError == nil {
258 | self.parseError = .invalidXML(parseError.localizedDescription)
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
[10/101] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/101] Emitting module ArgumentParserToolInfo
[12/102] Wrapping AST for ArgumentParserToolInfo for debugging
[14/149] Emitting module ArgumentParser
[15/155] Compiling AudioMarker FileReader.swift
[16/155] Compiling AudioMarker FileWriter.swift
[17/155] Compiling AudioMarker StreamingConstants.swift
[18/155] Compiling AudioMarker StreamingError.swift
[19/155] Compiling AudioMarker AudioValidator.swift
[20/155] Compiling AudioMarker ChapterValidationRules.swift
[21/155] Compiling AudioMarker MetadataValidationRules.swift
[22/155] Compiling AudioMarker ValidationIssue.swift
[23/155] Compiling AudioMarker ValidationResult.swift
[24/155] Compiling AudioMarker ValidationRule.swift
[25/155] Compiling ArgumentParser BashCompletionsGenerator.swift
[26/155] Compiling ArgumentParser CompletionsGenerator.swift
[27/155] Compiling ArgumentParser FishCompletionsGenerator.swift
[28/155] Compiling ArgumentParser ZshCompletionsGenerator.swift
[29/155] Compiling ArgumentParser Argument.swift
[30/155] Compiling ArgumentParser ArgumentDiscussion.swift
[31/155] Compiling ArgumentParser ArgumentHelp.swift
[32/155] Compiling ArgumentParser ArgumentVisibility.swift
[33/155] Compiling ArgumentParser CompletionKind.swift
[34/155] Compiling ArgumentParser Errors.swift
[35/155] Compiling ArgumentParser Flag.swift
[36/155] Compiling ArgumentParser SplitArguments.swift
[37/155] Compiling ArgumentParser DumpHelpGenerator.swift
[38/155] Compiling ArgumentParser HelpCommand.swift
[39/155] Compiling ArgumentParser HelpGenerator.swift
[40/155] Compiling ArgumentParser MessageInfo.swift
[41/155] Compiling ArgumentParser UsageGenerator.swift
[42/155] Compiling ArgumentParser CollectionExtensions.swift
[43/155] Compiling ArgumentParser Foundation.swift
[44/155] Compiling ArgumentParser Mutex.swift
[45/155] Compiling ArgumentParser Platform.swift
[46/155] Compiling ArgumentParser AsyncParsableCommand.swift
[47/155] Compiling ArgumentParser CommandConfiguration.swift
[48/155] Compiling ArgumentParser CommandGroup.swift
[49/155] Compiling ArgumentParser EnumerableFlag.swift
[50/155] Compiling ArgumentParser ExpressibleByArgument.swift
[51/155] Compiling ArgumentParser ParsableArguments.swift
[52/155] Compiling ArgumentParser Name.swift
[53/155] Compiling ArgumentParser Parsed.swift
[54/155] Compiling ArgumentParser ParsedValues.swift
[55/155] Compiling ArgumentParser ParserError.swift
[56/155] Compiling ArgumentParser NameSpecification.swift
[57/155] Compiling ArgumentParser Option.swift
[58/155] Compiling ArgumentParser OptionGroup.swift
[59/155] Compiling ArgumentParser ParsableCommand.swift
[60/155] Compiling ArgumentParser ArgumentDecoder.swift
[61/155] Compiling ArgumentParser ArgumentDefinition.swift
[62/155] Compiling ArgumentParser ArgumentSet.swift
[63/155] Compiling ArgumentParser CommandParser.swift
[64/155] Compiling ArgumentParser InputKey.swift
[65/155] Compiling ArgumentParser InputOrigin.swift
[66/155] Compiling ArgumentParser ParentCommand.swift
[67/155] Compiling AudioMarker Chapter.swift
[68/155] Compiling AudioMarker ChapterList.swift
[69/155] Compiling AudioMarker ContentType.swift
[70/155] Compiling AudioMarker LyricLine.swift
[71/155] Compiling AudioMarker LyricSegment.swift
[72/155] Compiling AudioMarker PrivateData.swift
[73/155] Compiling AudioMarker SynchronizedLyrics.swift
[74/155] Compiling AudioMarker UniqueFileIdentifier.swift
[75/155] Compiling AudioMarker BinaryReader.swift
[76/155] Compiling AudioMarker BinaryWriter.swift
[77/155] Compiling ArgumentParser SequenceExtensions.swift
[78/155] Compiling ArgumentParser StringExtensions.swift
[79/155] Compiling ArgumentParser SwiftExtensions.swift
[80/155] Compiling ArgumentParser Tree.swift
[81/155] Compiling ArgumentParser AsyncCompletionsValidator.swift
[82/155] Compiling ArgumentParser CodingKeyValidator.swift
[83/155] Compiling ArgumentParser NonsenseFlagsValidator.swift
[84/155] Compiling ArgumentParser ParsableArgumentsValidation.swift
[85/155] Compiling ArgumentParser PositionalArgumentsValidator.swift
[86/155] Compiling ArgumentParser UniqueNamesValidator.swift
[87/155] Compiling AudioMarker PodloveXMLExporter.swift
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:95:57: error: cannot find type 'XMLParserDelegate' in scope
93 | // MARK: - XML Parser Delegate
94 |
95 | private final class PodloveXMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
96 |
97 | var chapters = ChapterList()
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:101:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 |
100 | func parser(
101 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | didStartElement elementName: String,
103 | 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/AudioMarker/Exporter/PodloveXMLExporter.swift:65:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | }
64 | let delegate = PodloveXMLParserDelegate()
65 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
66 | parser.delegate = delegate
67 |
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:112:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
110 | guard let startString = attributes["start"] else {
111 | parseError = ExportError.invalidFormat("Missing 'start' attribute in chapter element.")
112 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
113 | return
114 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:117:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
115 | guard let title = attributes["title"] else {
116 | parseError = ExportError.invalidFormat("Missing 'title' attribute in chapter element.")
117 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
118 | return
119 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:127:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
125 | } catch {
126 | parseError = ExportError.invalidFormat("Invalid timestamp '\(startString)'.")
127 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
128 | }
129 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:96:51: error: cannot find type 'XMLParserDelegate' in scope
94 | /// Uses `Foundation.XMLParser` (the only native Swift XML parser).
95 | /// This class is required because `XMLParserDelegate` is an `@objc` protocol.
96 | private final class TTMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
97 |
98 | // MARK: - State
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:200:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
198 |
199 | func parser(
200 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
201 | didStartElement elementName: String,
202 | 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/AudioMarker/Exporter/TTMLParser.swift:225:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
223 |
224 | func parser(
225 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
226 | didEndElement elementName: String,
227 | 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/AudioMarker/Exporter/TTMLParser.swift:246:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
244 | }
245 |
246 | 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.
247 | if inSpan {
248 | currentSpanText += 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/AudioMarker/Exporter/TTMLParser.swift:256:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
254 | }
255 |
256 | 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.
257 | if self.parseError == nil {
258 | self.parseError = .invalidXML(parseError.localizedDescription)
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/AudioMarker/Exporter/TTMLParser.swift:60:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 | public func parseDocument(from data: Data) throws -> TTMLDocument {
59 | let delegate = TTMLParserDelegate()
60 | let xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
61 | xmlParser.delegate = delegate
62 | xmlParser.shouldProcessNamespaces = true
[88/155] Compiling AudioMarker SRTExporter.swift
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:95:57: error: cannot find type 'XMLParserDelegate' in scope
93 | // MARK: - XML Parser Delegate
94 |
95 | private final class PodloveXMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
96 |
97 | var chapters = ChapterList()
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:101:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 |
100 | func parser(
101 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | didStartElement elementName: String,
103 | 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/AudioMarker/Exporter/PodloveXMLExporter.swift:65:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | }
64 | let delegate = PodloveXMLParserDelegate()
65 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
66 | parser.delegate = delegate
67 |
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:112:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
110 | guard let startString = attributes["start"] else {
111 | parseError = ExportError.invalidFormat("Missing 'start' attribute in chapter element.")
112 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
113 | return
114 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:117:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
115 | guard let title = attributes["title"] else {
116 | parseError = ExportError.invalidFormat("Missing 'title' attribute in chapter element.")
117 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
118 | return
119 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:127:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
125 | } catch {
126 | parseError = ExportError.invalidFormat("Invalid timestamp '\(startString)'.")
127 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
128 | }
129 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:96:51: error: cannot find type 'XMLParserDelegate' in scope
94 | /// Uses `Foundation.XMLParser` (the only native Swift XML parser).
95 | /// This class is required because `XMLParserDelegate` is an `@objc` protocol.
96 | private final class TTMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
97 |
98 | // MARK: - State
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:200:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
198 |
199 | func parser(
200 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
201 | didStartElement elementName: String,
202 | 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/AudioMarker/Exporter/TTMLParser.swift:225:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
223 |
224 | func parser(
225 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
226 | didEndElement elementName: String,
227 | 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/AudioMarker/Exporter/TTMLParser.swift:246:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
244 | }
245 |
246 | 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.
247 | if inSpan {
248 | currentSpanText += 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/AudioMarker/Exporter/TTMLParser.swift:256:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
254 | }
255 |
256 | 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.
257 | if self.parseError == nil {
258 | self.parseError = .invalidXML(parseError.localizedDescription)
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/AudioMarker/Exporter/TTMLParser.swift:60:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 | public func parseDocument(from data: Data) throws -> TTMLDocument {
59 | let delegate = TTMLParserDelegate()
60 | let xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
61 | xmlParser.delegate = delegate
62 | xmlParser.shouldProcessNamespaces = true
[89/155] Compiling AudioMarker TTMLAgent.swift
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:95:57: error: cannot find type 'XMLParserDelegate' in scope
93 | // MARK: - XML Parser Delegate
94 |
95 | private final class PodloveXMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
96 |
97 | var chapters = ChapterList()
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:101:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 |
100 | func parser(
101 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | didStartElement elementName: String,
103 | 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/AudioMarker/Exporter/PodloveXMLExporter.swift:65:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | }
64 | let delegate = PodloveXMLParserDelegate()
65 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
66 | parser.delegate = delegate
67 |
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:112:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
110 | guard let startString = attributes["start"] else {
111 | parseError = ExportError.invalidFormat("Missing 'start' attribute in chapter element.")
112 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
113 | return
114 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:117:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
115 | guard let title = attributes["title"] else {
116 | parseError = ExportError.invalidFormat("Missing 'title' attribute in chapter element.")
117 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
118 | return
119 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:127:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
125 | } catch {
126 | parseError = ExportError.invalidFormat("Invalid timestamp '\(startString)'.")
127 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
128 | }
129 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:96:51: error: cannot find type 'XMLParserDelegate' in scope
94 | /// Uses `Foundation.XMLParser` (the only native Swift XML parser).
95 | /// This class is required because `XMLParserDelegate` is an `@objc` protocol.
96 | private final class TTMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
97 |
98 | // MARK: - State
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:200:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
198 |
199 | func parser(
200 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
201 | didStartElement elementName: String,
202 | 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/AudioMarker/Exporter/TTMLParser.swift:225:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
223 |
224 | func parser(
225 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
226 | didEndElement elementName: String,
227 | 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/AudioMarker/Exporter/TTMLParser.swift:246:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
244 | }
245 |
246 | 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.
247 | if inSpan {
248 | currentSpanText += 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/AudioMarker/Exporter/TTMLParser.swift:256:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
254 | }
255 |
256 | 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.
257 | if self.parseError == nil {
258 | self.parseError = .invalidXML(parseError.localizedDescription)
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/AudioMarker/Exporter/TTMLParser.swift:60:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 | public func parseDocument(from data: Data) throws -> TTMLDocument {
59 | let delegate = TTMLParserDelegate()
60 | let xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
61 | xmlParser.delegate = delegate
62 | xmlParser.shouldProcessNamespaces = true
[90/155] Compiling AudioMarker TTMLDocument.swift
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:95:57: error: cannot find type 'XMLParserDelegate' in scope
93 | // MARK: - XML Parser Delegate
94 |
95 | private final class PodloveXMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
96 |
97 | var chapters = ChapterList()
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:101:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 |
100 | func parser(
101 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | didStartElement elementName: String,
103 | 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/AudioMarker/Exporter/PodloveXMLExporter.swift:65:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | }
64 | let delegate = PodloveXMLParserDelegate()
65 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
66 | parser.delegate = delegate
67 |
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:112:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
110 | guard let startString = attributes["start"] else {
111 | parseError = ExportError.invalidFormat("Missing 'start' attribute in chapter element.")
112 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
113 | return
114 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:117:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
115 | guard let title = attributes["title"] else {
116 | parseError = ExportError.invalidFormat("Missing 'title' attribute in chapter element.")
117 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
118 | return
119 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:127:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
125 | } catch {
126 | parseError = ExportError.invalidFormat("Invalid timestamp '\(startString)'.")
127 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
128 | }
129 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:96:51: error: cannot find type 'XMLParserDelegate' in scope
94 | /// Uses `Foundation.XMLParser` (the only native Swift XML parser).
95 | /// This class is required because `XMLParserDelegate` is an `@objc` protocol.
96 | private final class TTMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
97 |
98 | // MARK: - State
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:200:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
198 |
199 | func parser(
200 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
201 | didStartElement elementName: String,
202 | 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/AudioMarker/Exporter/TTMLParser.swift:225:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
223 |
224 | func parser(
225 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
226 | didEndElement elementName: String,
227 | 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/AudioMarker/Exporter/TTMLParser.swift:246:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
244 | }
245 |
246 | 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.
247 | if inSpan {
248 | currentSpanText += 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/AudioMarker/Exporter/TTMLParser.swift:256:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
254 | }
255 |
256 | 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.
257 | if self.parseError == nil {
258 | self.parseError = .invalidXML(parseError.localizedDescription)
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/AudioMarker/Exporter/TTMLParser.swift:60:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 | public func parseDocument(from data: Data) throws -> TTMLDocument {
59 | let delegate = TTMLParserDelegate()
60 | let xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
61 | xmlParser.delegate = delegate
62 | xmlParser.shouldProcessNamespaces = true
[91/155] Compiling AudioMarker TTMLExporter.swift
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:95:57: error: cannot find type 'XMLParserDelegate' in scope
93 | // MARK: - XML Parser Delegate
94 |
95 | private final class PodloveXMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
96 |
97 | var chapters = ChapterList()
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:101:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 |
100 | func parser(
101 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | didStartElement elementName: String,
103 | 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/AudioMarker/Exporter/PodloveXMLExporter.swift:65:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | }
64 | let delegate = PodloveXMLParserDelegate()
65 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
66 | parser.delegate = delegate
67 |
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:112:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
110 | guard let startString = attributes["start"] else {
111 | parseError = ExportError.invalidFormat("Missing 'start' attribute in chapter element.")
112 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
113 | return
114 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:117:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
115 | guard let title = attributes["title"] else {
116 | parseError = ExportError.invalidFormat("Missing 'title' attribute in chapter element.")
117 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
118 | return
119 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:127:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
125 | } catch {
126 | parseError = ExportError.invalidFormat("Invalid timestamp '\(startString)'.")
127 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
128 | }
129 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:96:51: error: cannot find type 'XMLParserDelegate' in scope
94 | /// Uses `Foundation.XMLParser` (the only native Swift XML parser).
95 | /// This class is required because `XMLParserDelegate` is an `@objc` protocol.
96 | private final class TTMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
97 |
98 | // MARK: - State
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:200:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
198 |
199 | func parser(
200 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
201 | didStartElement elementName: String,
202 | 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/AudioMarker/Exporter/TTMLParser.swift:225:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
223 |
224 | func parser(
225 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
226 | didEndElement elementName: String,
227 | 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/AudioMarker/Exporter/TTMLParser.swift:246:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
244 | }
245 |
246 | 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.
247 | if inSpan {
248 | currentSpanText += 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/AudioMarker/Exporter/TTMLParser.swift:256:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
254 | }
255 |
256 | 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.
257 | if self.parseError == nil {
258 | self.parseError = .invalidXML(parseError.localizedDescription)
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/AudioMarker/Exporter/TTMLParser.swift:60:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 | public func parseDocument(from data: Data) throws -> TTMLDocument {
59 | let delegate = TTMLParserDelegate()
60 | let xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
61 | xmlParser.delegate = delegate
62 | xmlParser.shouldProcessNamespaces = true
[92/155] Compiling AudioMarker TTMLParseError.swift
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:95:57: error: cannot find type 'XMLParserDelegate' in scope
93 | // MARK: - XML Parser Delegate
94 |
95 | private final class PodloveXMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
96 |
97 | var chapters = ChapterList()
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:101:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 |
100 | func parser(
101 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | didStartElement elementName: String,
103 | 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/AudioMarker/Exporter/PodloveXMLExporter.swift:65:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | }
64 | let delegate = PodloveXMLParserDelegate()
65 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
66 | parser.delegate = delegate
67 |
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:112:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
110 | guard let startString = attributes["start"] else {
111 | parseError = ExportError.invalidFormat("Missing 'start' attribute in chapter element.")
112 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
113 | return
114 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:117:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
115 | guard let title = attributes["title"] else {
116 | parseError = ExportError.invalidFormat("Missing 'title' attribute in chapter element.")
117 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
118 | return
119 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:127:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
125 | } catch {
126 | parseError = ExportError.invalidFormat("Invalid timestamp '\(startString)'.")
127 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
128 | }
129 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:96:51: error: cannot find type 'XMLParserDelegate' in scope
94 | /// Uses `Foundation.XMLParser` (the only native Swift XML parser).
95 | /// This class is required because `XMLParserDelegate` is an `@objc` protocol.
96 | private final class TTMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
97 |
98 | // MARK: - State
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:200:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
198 |
199 | func parser(
200 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
201 | didStartElement elementName: String,
202 | 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/AudioMarker/Exporter/TTMLParser.swift:225:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
223 |
224 | func parser(
225 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
226 | didEndElement elementName: String,
227 | 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/AudioMarker/Exporter/TTMLParser.swift:246:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
244 | }
245 |
246 | 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.
247 | if inSpan {
248 | currentSpanText += 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/AudioMarker/Exporter/TTMLParser.swift:256:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
254 | }
255 |
256 | 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.
257 | if self.parseError == nil {
258 | self.parseError = .invalidXML(parseError.localizedDescription)
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/AudioMarker/Exporter/TTMLParser.swift:60:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 | public func parseDocument(from data: Data) throws -> TTMLDocument {
59 | let delegate = TTMLParserDelegate()
60 | let xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
61 | xmlParser.delegate = delegate
62 | xmlParser.shouldProcessNamespaces = true
[93/155] Compiling AudioMarker TTMLParser.swift
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:95:57: error: cannot find type 'XMLParserDelegate' in scope
93 | // MARK: - XML Parser Delegate
94 |
95 | private final class PodloveXMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
96 |
97 | var chapters = ChapterList()
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:101:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 |
100 | func parser(
101 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | didStartElement elementName: String,
103 | 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/AudioMarker/Exporter/PodloveXMLExporter.swift:65:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | }
64 | let delegate = PodloveXMLParserDelegate()
65 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
66 | parser.delegate = delegate
67 |
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:112:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
110 | guard let startString = attributes["start"] else {
111 | parseError = ExportError.invalidFormat("Missing 'start' attribute in chapter element.")
112 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
113 | return
114 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:117:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
115 | guard let title = attributes["title"] else {
116 | parseError = ExportError.invalidFormat("Missing 'title' attribute in chapter element.")
117 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
118 | return
119 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:127:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
125 | } catch {
126 | parseError = ExportError.invalidFormat("Invalid timestamp '\(startString)'.")
127 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
128 | }
129 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:96:51: error: cannot find type 'XMLParserDelegate' in scope
94 | /// Uses `Foundation.XMLParser` (the only native Swift XML parser).
95 | /// This class is required because `XMLParserDelegate` is an `@objc` protocol.
96 | private final class TTMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
97 |
98 | // MARK: - State
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:200:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
198 |
199 | func parser(
200 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
201 | didStartElement elementName: String,
202 | 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/AudioMarker/Exporter/TTMLParser.swift:225:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
223 |
224 | func parser(
225 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
226 | didEndElement elementName: String,
227 | 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/AudioMarker/Exporter/TTMLParser.swift:246:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
244 | }
245 |
246 | 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.
247 | if inSpan {
248 | currentSpanText += 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/AudioMarker/Exporter/TTMLParser.swift:256:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
254 | }
255 |
256 | 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.
257 | if self.parseError == nil {
258 | self.parseError = .invalidXML(parseError.localizedDescription)
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/AudioMarker/Exporter/TTMLParser.swift:60:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 | public func parseDocument(from data: Data) throws -> TTMLDocument {
59 | let delegate = TTMLParserDelegate()
60 | let xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
61 | xmlParser.delegate = delegate
62 | xmlParser.shouldProcessNamespaces = true
[94/155] Compiling AudioMarker TTMLRegion.swift
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:95:57: error: cannot find type 'XMLParserDelegate' in scope
93 | // MARK: - XML Parser Delegate
94 |
95 | private final class PodloveXMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
96 |
97 | var chapters = ChapterList()
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:101:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 |
100 | func parser(
101 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | didStartElement elementName: String,
103 | 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/AudioMarker/Exporter/PodloveXMLExporter.swift:65:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | }
64 | let delegate = PodloveXMLParserDelegate()
65 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
66 | parser.delegate = delegate
67 |
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:112:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
110 | guard let startString = attributes["start"] else {
111 | parseError = ExportError.invalidFormat("Missing 'start' attribute in chapter element.")
112 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
113 | return
114 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:117:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
115 | guard let title = attributes["title"] else {
116 | parseError = ExportError.invalidFormat("Missing 'title' attribute in chapter element.")
117 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
118 | return
119 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:127:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
125 | } catch {
126 | parseError = ExportError.invalidFormat("Invalid timestamp '\(startString)'.")
127 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
128 | }
129 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:96:51: error: cannot find type 'XMLParserDelegate' in scope
94 | /// Uses `Foundation.XMLParser` (the only native Swift XML parser).
95 | /// This class is required because `XMLParserDelegate` is an `@objc` protocol.
96 | private final class TTMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
97 |
98 | // MARK: - State
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:200:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
198 |
199 | func parser(
200 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
201 | didStartElement elementName: String,
202 | 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/AudioMarker/Exporter/TTMLParser.swift:225:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
223 |
224 | func parser(
225 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
226 | didEndElement elementName: String,
227 | 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/AudioMarker/Exporter/TTMLParser.swift:246:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
244 | }
245 |
246 | 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.
247 | if inSpan {
248 | currentSpanText += 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/AudioMarker/Exporter/TTMLParser.swift:256:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
254 | }
255 |
256 | 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.
257 | if self.parseError == nil {
258 | self.parseError = .invalidXML(parseError.localizedDescription)
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/AudioMarker/Exporter/TTMLParser.swift:60:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 | public func parseDocument(from data: Data) throws -> TTMLDocument {
59 | let delegate = TTMLParserDelegate()
60 | let xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
61 | xmlParser.delegate = delegate
62 | xmlParser.shouldProcessNamespaces = true
[95/155] Compiling AudioMarker TTMLStyle.swift
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:95:57: error: cannot find type 'XMLParserDelegate' in scope
93 | // MARK: - XML Parser Delegate
94 |
95 | private final class PodloveXMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
96 |
97 | var chapters = ChapterList()
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:101:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 |
100 | func parser(
101 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | didStartElement elementName: String,
103 | 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/AudioMarker/Exporter/PodloveXMLExporter.swift:65:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | }
64 | let delegate = PodloveXMLParserDelegate()
65 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
66 | parser.delegate = delegate
67 |
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:112:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
110 | guard let startString = attributes["start"] else {
111 | parseError = ExportError.invalidFormat("Missing 'start' attribute in chapter element.")
112 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
113 | return
114 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:117:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
115 | guard let title = attributes["title"] else {
116 | parseError = ExportError.invalidFormat("Missing 'title' attribute in chapter element.")
117 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
118 | return
119 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:127:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
125 | } catch {
126 | parseError = ExportError.invalidFormat("Invalid timestamp '\(startString)'.")
127 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
128 | }
129 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:96:51: error: cannot find type 'XMLParserDelegate' in scope
94 | /// Uses `Foundation.XMLParser` (the only native Swift XML parser).
95 | /// This class is required because `XMLParserDelegate` is an `@objc` protocol.
96 | private final class TTMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
97 |
98 | // MARK: - State
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:200:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
198 |
199 | func parser(
200 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
201 | didStartElement elementName: String,
202 | 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/AudioMarker/Exporter/TTMLParser.swift:225:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
223 |
224 | func parser(
225 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
226 | didEndElement elementName: String,
227 | 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/AudioMarker/Exporter/TTMLParser.swift:246:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
244 | }
245 |
246 | 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.
247 | if inSpan {
248 | currentSpanText += 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/AudioMarker/Exporter/TTMLParser.swift:256:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
254 | }
255 |
256 | 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.
257 | if self.parseError == nil {
258 | self.parseError = .invalidXML(parseError.localizedDescription)
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/AudioMarker/Exporter/TTMLParser.swift:60:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 | public func parseDocument(from data: Data) throws -> TTMLDocument {
59 | let delegate = TTMLParserDelegate()
60 | let xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
61 | xmlParser.delegate = delegate
62 | xmlParser.shouldProcessNamespaces = true
[96/155] Compiling AudioMarker TTMLTimeParser.swift
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:95:57: error: cannot find type 'XMLParserDelegate' in scope
93 | // MARK: - XML Parser Delegate
94 |
95 | private final class PodloveXMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
96 |
97 | var chapters = ChapterList()
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:101:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 |
100 | func parser(
101 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | didStartElement elementName: String,
103 | 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/AudioMarker/Exporter/PodloveXMLExporter.swift:65:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | }
64 | let delegate = PodloveXMLParserDelegate()
65 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
66 | parser.delegate = delegate
67 |
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:112:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
110 | guard let startString = attributes["start"] else {
111 | parseError = ExportError.invalidFormat("Missing 'start' attribute in chapter element.")
112 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
113 | return
114 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:117:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
115 | guard let title = attributes["title"] else {
116 | parseError = ExportError.invalidFormat("Missing 'title' attribute in chapter element.")
117 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
118 | return
119 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:127:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
125 | } catch {
126 | parseError = ExportError.invalidFormat("Invalid timestamp '\(startString)'.")
127 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
128 | }
129 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:96:51: error: cannot find type 'XMLParserDelegate' in scope
94 | /// Uses `Foundation.XMLParser` (the only native Swift XML parser).
95 | /// This class is required because `XMLParserDelegate` is an `@objc` protocol.
96 | private final class TTMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
97 |
98 | // MARK: - State
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:200:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
198 |
199 | func parser(
200 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
201 | didStartElement elementName: String,
202 | 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/AudioMarker/Exporter/TTMLParser.swift:225:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
223 |
224 | func parser(
225 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
226 | didEndElement elementName: String,
227 | 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/AudioMarker/Exporter/TTMLParser.swift:246:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
244 | }
245 |
246 | 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.
247 | if inSpan {
248 | currentSpanText += 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/AudioMarker/Exporter/TTMLParser.swift:256:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
254 | }
255 |
256 | 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.
257 | if self.parseError == nil {
258 | self.parseError = .invalidXML(parseError.localizedDescription)
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/AudioMarker/Exporter/TTMLParser.swift:60:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 | public func parseDocument(from data: Data) throws -> TTMLDocument {
59 | let delegate = TTMLParserDelegate()
60 | let xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
61 | xmlParser.delegate = delegate
62 | xmlParser.shouldProcessNamespaces = true
[97/155] Compiling AudioMarker WebVTTExporter.swift
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:95:57: error: cannot find type 'XMLParserDelegate' in scope
93 | // MARK: - XML Parser Delegate
94 |
95 | private final class PodloveXMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
96 |
97 | var chapters = ChapterList()
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:101:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 |
100 | func parser(
101 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
102 | didStartElement elementName: String,
103 | 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/AudioMarker/Exporter/PodloveXMLExporter.swift:65:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | }
64 | let delegate = PodloveXMLParserDelegate()
65 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
66 | parser.delegate = delegate
67 |
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:112:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
110 | guard let startString = attributes["start"] else {
111 | parseError = ExportError.invalidFormat("Missing 'start' attribute in chapter element.")
112 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
113 | return
114 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:117:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
115 | guard let title = attributes["title"] else {
116 | parseError = ExportError.invalidFormat("Missing 'title' attribute in chapter element.")
117 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
118 | return
119 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/PodloveXMLExporter.swift:127:20: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
125 | } catch {
126 | parseError = ExportError.invalidFormat("Invalid timestamp '\(startString)'.")
127 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
128 | }
129 | }
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:96:51: error: cannot find type 'XMLParserDelegate' in scope
94 | /// Uses `Foundation.XMLParser` (the only native Swift XML parser).
95 | /// This class is required because `XMLParserDelegate` is an `@objc` protocol.
96 | private final class TTMLParserDelegate: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
97 |
98 | // MARK: - State
/host/spi-builder-workspace/Sources/AudioMarker/Exporter/TTMLParser.swift:200:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
198 |
199 | func parser(
200 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
201 | didStartElement elementName: String,
202 | 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/AudioMarker/Exporter/TTMLParser.swift:225:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
223 |
224 | func parser(
225 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
226 | didEndElement elementName: String,
227 | 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/AudioMarker/Exporter/TTMLParser.swift:246:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
244 | }
245 |
246 | 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.
247 | if inSpan {
248 | currentSpanText += 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/AudioMarker/Exporter/TTMLParser.swift:256:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
254 | }
255 |
256 | 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.
257 | if self.parseError == nil {
258 | self.parseError = .invalidXML(parseError.localizedDescription)
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/AudioMarker/Exporter/TTMLParser.swift:60:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 | public func parseDocument(from data: Data) throws -> TTMLDocument {
59 | let delegate = TTMLParserDelegate()
60 | let xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
61 | xmlParser.delegate = delegate
62 | xmlParser.shouldProcessNamespaces = true
BUILD FAILURE 6.2 linux