Build Information
Failed to build Toybox, reference 2.1.0 (413f79), with Swift 6.4 for Linux on 16 Sep 2026 02:56:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/giginet/toybox.git
Reference: 2.1.0
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/giginet/toybox
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at 413f796 Update Formula
Cloned https://github.com/giginet/toybox.git
Revision (git rev-parse @):
413f796b9ec729967127dc2f92cd60399729a267
SUCCESS checkout https://github.com/giginet/toybox.git at 2.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/giginet/toybox.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2329] Fetching commandant
[2/5194] Fetching commandant, swxmlhash
Fetched https://github.com/Carthage/Commandant.git (0.47s)
Fetched https://github.com/drmohundro/SWXMLHash.git (0.50s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.9.0 (1.56s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (0.19s)
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.18.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.9.0
Building for debugging...
[Pre-planning 1 / 155]
[20 / 60] ToyboxKit
[45 / 75] Commandant
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:185:11: [1;31merror: [1;39mcannot find type 'XMLParserDelegate' in scope[0;0m
[0;36m183 |[0;0m #if os(Linux)
[0;36m184 |[0;0m
[0;36m185 |[0;0m extension [4;39mXMLParserDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'XMLParserDelegate' in scope[0;0m
[0;36m186 |[0;0m func parserDidStartDocument(_ parser: Foundation.XMLParser) { }
[0;36m187 |[0;0m func parserDidEndDocument(_ parser: Foundation.XMLParser) { }
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:267:49: [1;31merror: [1;39mcannot find type 'XMLParserDelegate' in scope[0;0m
[0;36m265 |[0;0m
[0;36m266 |[0;0m /// The implementation of XMLParserDelegate and where the lazy parsing actually happens.
[0;36m267 |[0;0m class LazyXMLParser: NSObject, SimpleXmlParser, [4;39mXMLParserDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'XMLParserDelegate' in scope[0;0m
[0;36m268 |[0;0m required init(_ options: SWXMLHashOptions) {
[0;36m269 |[0;0m root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:300:38: [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m298 |[0;0m }
[0;36m299 |[0;0m
[0;36m300 |[0;0m func parser(_ parser: Foundation.[4;39mXMLParser[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m301 |[0;0m didStartElement elementName: String,
[0;36m302 |[0;0m namespaceURI: String?,
Foundation.XMLParser:2:18: [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
[0;36m2 |[0;0m public typealias XMLParser = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:317:38: [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m315 |[0;0m }
[0;36m316 |[0;0m
[0;36m317 |[0;0m func parser(_ parser: Foundation.[4;39mXMLParser[0;0m, foundCharacters string: String) {
[0;36m|[0;0m `- [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m318 |[0;0m if !onMatch() {
[0;36m319 |[0;0m return
Foundation.XMLParser:2:18: [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
[0;36m2 |[0;0m public typealias XMLParser = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:327:27: [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m325 |[0;0m }
[0;36m326 |[0;0m
[0;36m327 |[0;0m func parser(_ parser: [4;39mXMLParser[0;0m, foundCDATA CDATABlock: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m328 |[0;0m if !onMatch() {
[0;36m329 |[0;0m return
Foundation.XMLParser:2:18: [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
[0;36m2 |[0;0m public typealias XMLParser = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:339:38: [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m337 |[0;0m }
[0;36m338 |[0;0m
[0;36m339 |[0;0m func parser(_ parser: Foundation.[4;39mXMLParser[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m340 |[0;0m didEndElement elementName: String,
[0;36m341 |[0;0m namespaceURI: String?,
Foundation.XMLParser:2:18: [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
[0;36m2 |[0;0m public typealias XMLParser = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:364:49: [1;31merror: [1;39mcannot find type 'XMLParserDelegate' in scope[0;0m
[0;36m362 |[0;0m
[0;36m363 |[0;0m /// The implementation of XMLParserDelegate and where the parsing actually happens.
[0;36m364 |[0;0m class FullXMLParser: NSObject, SimpleXmlParser, [4;39mXMLParserDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'XMLParserDelegate' in scope[0;0m
[0;36m365 |[0;0m required init(_ options: SWXMLHashOptions) {
[0;36m366 |[0;0m root = XMLElement(name: rootElementName, options: options)
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:395:38: [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m393 |[0;0m }
[0;36m394 |[0;0m
[0;36m395 |[0;0m func parser(_ parser: Foundation.[4;39mXMLParser[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m396 |[0;0m didStartElement elementName: String,
[0;36m397 |[0;0m namespaceURI: String?,
Foundation.XMLParser:2:18: [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
[0;36m2 |[0;0m public typealias XMLParser = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:407:38: [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m405 |[0;0m }
[0;36m406 |[0;0m
[0;36m407 |[0;0m func parser(_ parser: Foundation.[4;39mXMLParser[0;0m, foundCharacters string: String) {
[0;36m|[0;0m `- [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m408 |[0;0m let current = parentStack.top()
[0;36m409 |[0;0m
Foundation.XMLParser:2:18: [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
[0;36m2 |[0;0m public typealias XMLParser = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:413:38: [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m411 |[0;0m }
[0;36m412 |[0;0m
[0;36m413 |[0;0m func parser(_ parser: Foundation.[4;39mXMLParser[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m414 |[0;0m didEndElement elementName: String,
[0;36m415 |[0;0m namespaceURI: String?,
Foundation.XMLParser:2:18: [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
[0;36m2 |[0;0m public typealias XMLParser = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:420:27: [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m418 |[0;0m }
[0;36m419 |[0;0m
[0;36m420 |[0;0m func parser(_ parser: [4;39mXMLParser[0;0m, foundCDATA CDATABlock: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m421 |[0;0m if let cdataText = String(data: CDATABlock, encoding: String.Encoding.utf8) {
[0;36m422 |[0;0m let current = parentStack.top()
Foundation.XMLParser:2:18: [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
[0;36m2 |[0;0m public typealias XMLParser = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:428:27: [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m426 |[0;0m }
[0;36m427 |[0;0m
[0;36m428 |[0;0m func parser(_ parser: [4;39mXMLParser[0;0m, parseErrorOccurred parseError: Error) {
[0;36m|[0;0m `- [1;31merror: [1;39m'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.[0;0m
[0;36m429 |[0;0m #if os(Linux) && !swift(>=4.1.50)
[0;36m430 |[0;0m if let err = parseError as? NSError {
Foundation.XMLParser:2:18: [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
[0;36m2 |[0;0m public typealias XMLParser = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'XMLParser' has been explicitly marked unavailable here[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift /host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/XMLIndexer+XMLIndexerDeserializable.swift /host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/shim.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SWXMLHash.build/Debug-linux-x86_64/SWXMLHash-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SWXMLHash.build/Debug-linux-x86_64/SWXMLHash-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SWXMLHash.build/Debug-linux-x86_64/SWXMLHash-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SWXMLHash -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SWXMLHash.build/Debug-linux-x86_64/SWXMLHash-t.build/Objects-normal/x86_64/SWXMLHash_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SWXMLHash.build/Debug-linux-x86_64/SWXMLHash-t.build/Objects-normal/x86_64/Modules/SWXMLHash.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SWXMLHash.build/Debug-linux-x86_64/SWXMLHash-t.build/Objects-normal/x86_64/Modules/SWXMLHash.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SWXMLHash.build/Debug-linux-x86_64/SWXMLHash-t.build/Objects-normal/x86_64/SWXMLHash-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SWXMLHash.build/Debug-linux-x86_64/SWXMLHash-t.build/Objects-normal/x86_64/SWXMLHash-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SWXMLHash.build/Debug-linux-x86_64/SWXMLHash-t.build/Objects-normal/x86_64/SWXMLHash-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SWXMLHash.build/Debug-linux-x86_64/SWXMLHash-t.build/Objects-normal/x86_64/Modules/SWXMLHash.swiftmodule
[45 / 75] SWXMLHash
error: Build failed
BUILD FAILURE 6.4 linux