Build Information
Failed to build CurrencyConverter, reference main (1e62e3), with Swift 6.3 for Linux on 14 Apr 2026 10:13:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pixyzehn/currency-converter.git
Reference: main
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/pixyzehn/currency-converter
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1e62e31 Update dependabot.yml
Cloned https://github.com/pixyzehn/currency-converter.git
Revision (git rev-parse @):
1e62e3123ab2cfc5fc77fb88fd7c6de3c0af4f5c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/pixyzehn/currency-converter.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/pixyzehn/currency-converter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2271] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.69s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (5.18s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.74s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.71s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/11] Compiling CurrencyConverter XMLParserError.swift
[6/11] Compiling CurrencyConverter CurrencyRate.swift
[7/11] Compiling CurrencyConverter ReferenceRatesXMLParser.swift
/host/spi-builder-workspace/Sources/CurrencyConverter/ReferenceRatesXMLParser.swift:3:42: error: cannot find type 'XMLParserDelegate' in scope
1 | import Foundation
2 |
3 | class ReferenceRatesXMLParser: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
4 | private static let defaultXMLURL = URL(string: "https://expenses.cash/eurofxref/eurofxref.xml")!
5 |
/host/spi-builder-workspace/Sources/CurrencyConverter/ReferenceRatesXMLParser.swift:89:62: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
87 | }
88 |
89 | private func handleParseError(_ message: String, parser: XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
90 | callbackGuard.call {
91 | callbacks.parseErrorOccurred?(.custom(message))
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/CurrencyConverter/ReferenceRatesXMLParser.swift:98:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
96 | // MARK: - XMLParserDelegate
97 |
98 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String: String] = [:]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 | guard elementName == "Cube", !attributeDict.isEmpty else {
100 | // Skip throwing an error as there will be element names to ignore,
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/CurrencyConverter/ReferenceRatesXMLParser.swift:141:41: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
139 | }
140 |
141 | func parserDidEndDocument(_ parser: XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
142 | if let resultDate = resultDate {
143 | callbackGuard.call {
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/CurrencyConverter/ReferenceRatesXMLParser.swift:153:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
151 | }
152 |
153 | 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.
154 | callbackGuard.call {
155 | callbacks.parseErrorOccurred?(.general(parseError))
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CurrencyConverter/ReferenceRatesXMLParser.swift:54:21: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
52 | resetParseState()
53 | callbackGuard = SafeCallback()
54 | let parser: XMLParser?
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
55 | switch source {
56 | case .url(let url):
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/CurrencyConverter/ReferenceRatesXMLParser.swift:57:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
55 | switch source {
56 | case .url(let url):
57 | parser = XMLParser(contentsOf: url)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
58 | case .data(let data):
59 | parser = XMLParser(data: data)
/host/spi-builder-workspace/Sources/CurrencyConverter/ReferenceRatesXMLParser.swift:59:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
57 | parser = XMLParser(contentsOf: url)
58 | case .data(let data):
59 | parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
60 | }
61 | guard let parser else {
/host/spi-builder-workspace/Sources/CurrencyConverter/ReferenceRatesXMLParser.swift:67:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
65 | return
66 | }
67 | parser.delegate = self
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
68 | let succeeded = parser.parse()
69 | if !succeeded {
/host/spi-builder-workspace/Sources/CurrencyConverter/ReferenceRatesXMLParser.swift:68:32: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
66 | }
67 | parser.delegate = self
68 | let succeeded = parser.parse()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
69 | if !succeeded {
70 | if let error = parser.parserError {
/host/spi-builder-workspace/Sources/CurrencyConverter/ReferenceRatesXMLParser.swift:70:35: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parserError'
68 | let succeeded = parser.parse()
69 | if !succeeded {
70 | if let error = parser.parserError {
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parserError'
71 | callbackGuard.call {
72 | callbacks.parseErrorOccurred?(.general(error))
/host/spi-builder-workspace/Sources/CurrencyConverter/ReferenceRatesXMLParser.swift:93:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
91 | callbacks.parseErrorOccurred?(.custom(message))
92 | }
93 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
94 | }
95 |
/host/spi-builder-workspace/Sources/CurrencyConverter/ReferenceRatesXMLParser.swift:125:27: warning: 'isoCurrencyCodes' is deprecated: Use `Locale.Currency.isoCurrencies` instead [#DeprecatedDeclaration]
123 | }
124 | case XMLParserKeys.currency.rawValue:
125 | if Locale.isoCurrencyCodes.contains(attribute.value) {
| `- warning: 'isoCurrencyCodes' is deprecated: Use `Locale.Currency.isoCurrencies` instead [#DeprecatedDeclaration]
126 | currencyRate.currencyCode = attribute.value
127 | } else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[8/11] Compiling CurrencyConverter ReferenceRates.swift
/host/spi-builder-workspace/Sources/CurrencyConverter/ReferenceRates.swift:22:22: warning: 'isoCurrencyCodes' is deprecated: Use `Locale.Currency.isoCurrencies` instead [#DeprecatedDeclaration]
20 | /// - baseCurrencyCode: The base currency code for the currency rates. The default is "EUR".
21 | public func rates(amount: Double = 1, baseCurrencyCode: String = "EUR") -> [CurrencyRate] {
22 | guard Locale.isoCurrencyCodes.contains(baseCurrencyCode) else {
| `- warning: 'isoCurrencyCodes' is deprecated: Use `Locale.Currency.isoCurrencies` instead [#DeprecatedDeclaration]
23 | return []
24 | }
/host/spi-builder-workspace/Sources/CurrencyConverter/ReferenceRates.swift:60:39: warning: 'isoCurrencyCodes' is deprecated: Use `Locale.Currency.isoCurrencies` instead [#DeprecatedDeclaration]
58 | }
59 |
60 | let isoCurrencyCodes = Locale.isoCurrencyCodes
| `- warning: 'isoCurrencyCodes' is deprecated: Use `Locale.Currency.isoCurrencies` instead [#DeprecatedDeclaration]
61 |
62 | guard isoCurrencyCodes.contains(fromCurrencyCode) && isoCurrencyCodes.contains(toCurrencyCode) else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[9/11] Compiling CurrencyConverter CurrencyConverter.swift
/host/spi-builder-workspace/Sources/CurrencyConverter/ReferenceRatesXMLParser.swift:3:42: error: cannot find type 'XMLParserDelegate' in scope
1 | import Foundation
2 |
3 | class ReferenceRatesXMLParser: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
4 | private static let defaultXMLURL = URL(string: "https://expenses.cash/eurofxref/eurofxref.xml")!
5 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/11] Emitting module CurrencyConverter
/host/spi-builder-workspace/Sources/CurrencyConverter/ReferenceRatesXMLParser.swift:3:42: error: cannot find type 'XMLParserDelegate' in scope
1 | import Foundation
2 |
3 | class ReferenceRatesXMLParser: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
4 | private static let defaultXMLURL = URL(string: "https://expenses.cash/eurofxref/eurofxref.xml")!
5 |
/host/spi-builder-workspace/Sources/CurrencyConverter/ReferenceRatesXMLParser.swift:89:62: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
87 | }
88 |
89 | private func handleParseError(_ message: String, parser: XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
90 | callbackGuard.call {
91 | callbacks.parseErrorOccurred?(.custom(message))
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/CurrencyConverter/ReferenceRatesXMLParser.swift:98:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
96 | // MARK: - XMLParserDelegate
97 |
98 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String: String] = [:]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
99 | guard elementName == "Cube", !attributeDict.isEmpty else {
100 | // Skip throwing an error as there will be element names to ignore,
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/CurrencyConverter/ReferenceRatesXMLParser.swift:141:41: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
139 | }
140 |
141 | func parserDidEndDocument(_ parser: XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
142 | if let resultDate = resultDate {
143 | callbackGuard.call {
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/CurrencyConverter/ReferenceRatesXMLParser.swift:153:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
151 | }
152 |
153 | 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.
154 | callbackGuard.call {
155 | callbacks.parseErrorOccurred?(.general(parseError))
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
[11/11] Compiling CurrencyConverter SafeCallback.swift
BUILD FAILURE 6.3 linux