Build Information
Failed to build BelarusianLacinka with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pikoshyk/belarusianlacinka.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/pikoshyk/belarusianlacinka
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1970838 Minor fixes
Cloned https://github.com/pikoshyk/belarusianlacinka.git
Revision (git rev-parse @):
19708380db9adb31fb80f5df496a23f8127ffd49
SUCCESS checkout https://github.com/pikoshyk/belarusianlacinka.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/pikoshyk/belarusianlacinka.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/3] Copying rules.xml
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Compiling BelarusianLacinka resource_bundle_accessor.swift
[5/8] Compiling BelarusianLacinka BLRulesParser.swift
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:82:26: error: cannot find type 'XMLParserDelegate' in scope
extension BLRulesParser: XMLParserDelegate {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:84:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:102:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parser(_ parser: XMLParser, foundCharacters string: String) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:197:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:255:41: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parserDidEndDocument(_ parser: XMLParser) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:72:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let parser = XMLParser(data: xmlResponseData)
^~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Compiling BelarusianLacinka BLConverter.swift
[7/8] Compiling BelarusianLacinka BLRule.swift
[8/8] Emitting module BelarusianLacinka
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:82:26: error: cannot find type 'XMLParserDelegate' in scope
extension BLRulesParser: XMLParserDelegate {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:84:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:102:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parser(_ parser: XMLParser, foundCharacters string: String) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:197:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:255:41: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parserDidEndDocument(_ parser: XMLParser) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module BelarusianLacinka
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:82:26: error: cannot find type 'XMLParserDelegate' in scope
extension BLRulesParser: XMLParserDelegate {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:84:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:102:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parser(_ parser: XMLParser, foundCharacters string: String) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:197:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:255:41: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parserDidEndDocument(_ parser: XMLParser) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
[3/3] Compiling BelarusianLacinka BLRulesParser.swift
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:82:26: error: cannot find type 'XMLParserDelegate' in scope
extension BLRulesParser: XMLParserDelegate {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:84:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:102:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parser(_ parser: XMLParser, foundCharacters string: String) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:197:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:255:41: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parserDidEndDocument(_ parser: XMLParser) {
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:72:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let parser = XMLParser(data: xmlResponseData)
^~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux