The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BelarusianLacinka, reference main (197083), with Swift 6.1 for Android on 28 May 2025 16:25:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/pikoshyk/belarusianlacinka.git
https://github.com/pikoshyk/belarusianlacinka.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BelarusianLacinka",
  "name" : "BelarusianLacinka",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "BelarusianLacinka",
      "targets" : [
        "BelarusianLacinka"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BelarusianLacinka",
      "module_type" : "SwiftTarget",
      "name" : "BelarusianLacinka",
      "path" : "Sources/BelarusianLacinka",
      "product_memberships" : [
        "BelarusianLacinka"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/BelarusianLacinka/Resources/rules.xml",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "BLConverter.swift",
        "BLRule.swift",
        "BLRulesParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/3] Copying rules.xml
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Compiling BelarusianLacinka BLRule.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Compiling BelarusianLacinka BLConverter.swift
[6/8] Emitting module BelarusianLacinka
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:82:26: error: cannot find type 'XMLParserDelegate' in scope
 80 | }
 81 |
 82 | extension BLRulesParser: XMLParserDelegate {
    |                          `- error: cannot find type 'XMLParserDelegate' in scope
 83 |
 84 |     func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
/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.
 82 | extension BLRulesParser: XMLParserDelegate {
 83 |
 84 |     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.
 85 |
 86 |         //The current parsed tag is presented as `elementName` in this function
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/BelarusianLacinka/BLRulesParser.swift:102:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
100 |     }
101 |
102 |     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.
103 |         let valueStr = string.trimmingCharacters(in: .whitespacesAndNewlines)
104 |         let lastElement = self.elementsOrder.last ?? ""
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:197:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
195 |     }
196 |
197 |     func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
198 |
199 |         if self.elementsOrder.count > 2 && self.elementsOrder.reversed()[2] == "renderer" {
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/BelarusianLacinka/BLRulesParser.swift:255:41: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
253 |     }
254 |
255 |     func parserDidEndDocument(_ parser: XMLParser) {
    |                                         `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
256 |     }
257 | }
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
[7/8] Compiling BelarusianLacinka resource_bundle_accessor.swift
[8/8] Compiling BelarusianLacinka BLRulesParser.swift
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:82:26: error: cannot find type 'XMLParserDelegate' in scope
 80 | }
 81 |
 82 | extension BLRulesParser: XMLParserDelegate {
    |                          `- error: cannot find type 'XMLParserDelegate' in scope
 83 |
 84 |     func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
/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.
 82 | extension BLRulesParser: XMLParserDelegate {
 83 |
 84 |     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.
 85 |
 86 |         //The current parsed tag is presented as `elementName` in this function
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/BelarusianLacinka/BLRulesParser.swift:102:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
100 |     }
101 |
102 |     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.
103 |         let valueStr = string.trimmingCharacters(in: .whitespacesAndNewlines)
104 |         let lastElement = self.elementsOrder.last ?? ""
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:197:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
195 |     }
196 |
197 |     func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
198 |
199 |         if self.elementsOrder.count > 2 && self.elementsOrder.reversed()[2] == "renderer" {
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/BelarusianLacinka/BLRulesParser.swift:255:41: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
253 |     }
254 |
255 |     func parserDidEndDocument(_ parser: XMLParser) {
    |                                         `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
256 |     }
257 | }
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/BelarusianLacinka/BLRulesParser.swift:72:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 70 |         }
 71 |
 72 |         let parser = XMLParser(data: xmlResponseData)
    |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 73 |         parser.delegate = self
 74 |         parser.parse()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling BelarusianLacinka resource_bundle_accessor.swift
[3/6] Compiling BelarusianLacinka BLRulesParser.swift
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:82:26: error: cannot find type 'XMLParserDelegate' in scope
 80 | }
 81 |
 82 | extension BLRulesParser: XMLParserDelegate {
    |                          `- error: cannot find type 'XMLParserDelegate' in scope
 83 |
 84 |     func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
/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.
 82 | extension BLRulesParser: XMLParserDelegate {
 83 |
 84 |     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.
 85 |
 86 |         //The current parsed tag is presented as `elementName` in this function
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/BelarusianLacinka/BLRulesParser.swift:102:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
100 |     }
101 |
102 |     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.
103 |         let valueStr = string.trimmingCharacters(in: .whitespacesAndNewlines)
104 |         let lastElement = self.elementsOrder.last ?? ""
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:197:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
195 |     }
196 |
197 |     func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
198 |
199 |         if self.elementsOrder.count > 2 && self.elementsOrder.reversed()[2] == "renderer" {
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/BelarusianLacinka/BLRulesParser.swift:255:41: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
253 |     }
254 |
255 |     func parserDidEndDocument(_ parser: XMLParser) {
    |                                         `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
256 |     }
257 | }
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/BelarusianLacinka/BLRulesParser.swift:72:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 70 |         }
 71 |
 72 |         let parser = XMLParser(data: xmlResponseData)
    |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 73 |         parser.delegate = self
 74 |         parser.parse()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Compiling BelarusianLacinka BLConverter.swift
[5/6] Compiling BelarusianLacinka BLRule.swift
[6/6] Emitting module BelarusianLacinka
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:82:26: error: cannot find type 'XMLParserDelegate' in scope
 80 | }
 81 |
 82 | extension BLRulesParser: XMLParserDelegate {
    |                          `- error: cannot find type 'XMLParserDelegate' in scope
 83 |
 84 |     func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
/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.
 82 | extension BLRulesParser: XMLParserDelegate {
 83 |
 84 |     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.
 85 |
 86 |         //The current parsed tag is presented as `elementName` in this function
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/BelarusianLacinka/BLRulesParser.swift:102:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
100 |     }
101 |
102 |     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.
103 |         let valueStr = string.trimmingCharacters(in: .whitespacesAndNewlines)
104 |         let lastElement = self.elementsOrder.last ?? ""
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:197:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
195 |     }
196 |
197 |     func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
    |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
198 |
199 |         if self.elementsOrder.count > 2 && self.elementsOrder.reversed()[2] == "renderer" {
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/BelarusianLacinka/BLRulesParser.swift:255:41: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
253 |     }
254 |
255 |     func parserDidEndDocument(_ parser: XMLParser) {
    |                                         `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
256 |     }
257 | }
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
BUILD FAILURE 6.1 android