The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Reblog, reference main (2840bc), with Swift 6.2 (beta) for Android on 23 Jun 2025 21:19:05 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattmassicotte/Reblog.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/mattmassicotte/Reblog
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2840bc2 Fix missing optionality
Cloned https://github.com/mattmassicotte/Reblog.git
Revision (git rev-parse @):
2840bc217873068b4c9da891dc6ceec122ad6e37
SUCCESS checkout https://github.com/mattmassicotte/Reblog.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mattmassicotte/Reblog.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/9] Compiling Reblog MediaAttachment.swift
[4/9] Compiling Reblog Account.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Compiling Reblog Marker.swift
[6/9] Emitting module Reblog
/host/spi-builder-workspace/Sources/Reblog/ContentParser.swift:25:33: error: cannot find type 'XMLParserDelegate' in scope
 23 | }
 24 |
 25 | class ParserDelegate: NSObject, XMLParserDelegate {
    |                                 `- error: cannot find type 'XMLParserDelegate' in scope
 26 | 	public var elementHandler: ((HTMLComponent) -> Void)?
 27 | 	private var activeComponent: HTMLComponent? = nil
/host/spi-builder-workspace/Sources/Reblog/ContentParser.swift:40:24: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 38 | 	}
 39 |
 40 | 	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.
 41 | 		switch elementName {
 42 | 		case "p":
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/Reblog/ContentParser.swift:66:24: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 64 | 	}
 65 |
 66 | 	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.
 67 | 		switch elementName {
 68 | 		case "a":
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/Reblog/ContentParser.swift:76:24: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 74 | 	}
 75 |
 76 | 	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.
 77 | 		switch activeComponent {
 78 | 		case let .link(url, text):
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/Reblog/ContentParser.swift:88:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 86 | 	}
 87 |
 88 | 	func parserDidEndDocument(_ parser: XMLParser) {
    |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 89 | 		commitActive()
 90 | 	}
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/9] Compiling Reblog ContentParser.swift
/host/spi-builder-workspace/Sources/Reblog/ContentParser.swift:25:33: error: cannot find type 'XMLParserDelegate' in scope
 23 | }
 24 |
 25 | class ParserDelegate: NSObject, XMLParserDelegate {
    |                                 `- error: cannot find type 'XMLParserDelegate' in scope
 26 | 	public var elementHandler: ((HTMLComponent) -> Void)?
 27 | 	private var activeComponent: HTMLComponent? = nil
/host/spi-builder-workspace/Sources/Reblog/ContentParser.swift:40:24: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 38 | 	}
 39 |
 40 | 	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.
 41 | 		switch elementName {
 42 | 		case "p":
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/Reblog/ContentParser.swift:66:24: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 64 | 	}
 65 |
 66 | 	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.
 67 | 		switch elementName {
 68 | 		case "a":
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/Reblog/ContentParser.swift:76:24: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 74 | 	}
 75 |
 76 | 	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.
 77 | 		switch activeComponent {
 78 | 		case let .link(url, text):
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/Reblog/ContentParser.swift:88:38: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 86 | 	}
 87 |
 88 | 	func parserDidEndDocument(_ parser: XMLParser) {
    |                                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
 89 | 		commitActive()
 90 | 	}
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/Reblog/ContentParser.swift:109:9: error: cannot find 'CFStringTransform' in scope
107 | 		let convertedString = string.mutableCopy() as! NSMutableString
108 |
109 | 		guard CFStringTransform(convertedString, nil, transform, true) else {
    |         `- error: cannot find 'CFStringTransform' in scope
110 | 			throw ContentParserError.transformFailed
111 | 		}
/host/spi-builder-workspace/Sources/Reblog/ContentParser.swift:109:44: error: 'nil' requires a contextual type
107 | 		let convertedString = string.mutableCopy() as! NSMutableString
108 |
109 | 		guard CFStringTransform(convertedString, nil, transform, true) else {
    |                                            `- error: 'nil' requires a contextual type
110 | 			throw ContentParserError.transformFailed
111 | 		}
/host/spi-builder-workspace/Sources/Reblog/ContentParser.swift:145:16: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
143 |
144 | 		let delegate = ParserDelegate()
145 | 		let parser = XMLParser(data: Data(xmlString.utf8))
    |                `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
146 |
147 | 		parser.delegate = delegate
[8/9] Compiling Reblog Status.swift
[9/9] Compiling Reblog ReblogStatus.swift
BUILD FAILURE 6.2 android