Build Information
Failed to build swift-xml-parser, reference 0.2.0 (03238f), with Swift 6.4 for Linux on 18 Sep 2026 11:39:02 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/JaapWijnen/swift-xml-parser.git
Reference: 0.2.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/JaapWijnen/swift-xml-parser
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 03238fe Merge branch 'main' of github.com:JaapWijnen/swift-xml-parser
Cloned https://github.com/JaapWijnen/swift-xml-parser.git
Revision (git rev-parse @):
03238fe6c95b051695a061193eee281037edce26
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/JaapWijnen/swift-xml-parser.git at 0.2.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/JaapWijnen/swift-xml-parser.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/pointfreeco/swift-parsing.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/pointfreeco/swift-custom-dump.git
[1/27279] Fetching swift-collections
[18006/32934] Fetching swift-collections, swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump.git (1.17s)
[1/98270] Fetching swift-parsing
Fetched https://github.com/apple/swift-collections.git (4.75s)
Fetched https://github.com/pointfreeco/swift-parsing.git (4.78s)
Computing version for https://github.com/pointfreeco/swift-parsing.git
Computed https://github.com/pointfreeco/swift-parsing.git at 0.15.2 (4.99s)
Fetching https://github.com/pointfreeco/swift-case-paths
[1/5287] Fetching swift-case-paths
Fetched https://github.com/pointfreeco/swift-case-paths (0.54s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.10.0 (1.62s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
Fetching https://github.com/swiftlang/swift-syntax
[1/6136] Fetching swift-issue-reporting
[4051/86087] Fetching swift-issue-reporting, swift-syntax
Fetched https://github.com/pointfreeco/swift-issue-reporting (2.88s)
Fetched https://github.com/swiftlang/swift-syntax (2.90s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.0 (3.14s)
Computing version for https://github.com/pointfreeco/swift-custom-dump.git
Computed https://github.com/pointfreeco/swift-custom-dump.git at 0.11.2 (0.17s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2727] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (0.67s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (0.98s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.27s)
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.10.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump.git
Working copy of https://github.com/pointfreeco/swift-custom-dump.git resolved at 0.11.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
Creating working copy for https://github.com/pointfreeco/swift-parsing.git
Working copy of https://github.com/pointfreeco/swift-parsing.git resolved at 0.15.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1091]
[Planning deferred tasks]
[Starting]
[127 / 467] SwiftCompilerPluginMessageHandling
[248 / 490] SwiftSyntax602
[271 / 508] InternalCollectionsUtilities
[280 / 508] IssueReporting
[291 / 508] SwiftSyntax
[293 / 510] SwiftSyntax604
[302 / 511] SwiftSyntax600
[309 / 514] SwiftSyntax603
[318 / 515] IssueReporting
[319 / 515] InternalCollectionsUtilities
[324 / 515] InternalCollectionsUtilities
[325 / 515] InternalCollectionsUtilities
[325 / 515] HeapModule
[330 / 519] SwiftSyntax
[333 / 545] OrderedCollections
[338 / 546] _RopeModule
[338 / 547] _RopeModule
[340 / 547] _RopeModule
[343 / 547] SwiftSyntax
[344 / 547] _RopeModule
[348 / 547] _RopeModule
[356 / 547] _RopeModule
[358 / 547] SwiftSyntax
[359 / 547] SwiftSyntax
[359 / 547] _RopeModule
[361 / 548] _RopeModule
[363 / 548] _RopeModule
[365 / 548] OrderedCollections
[366 / 548] OrderedCollections
[368 / 548] OrderedCollections
[369 / 548] OrderedCollections
[370 / 548] IssueReporting
[376 / 551] InternalCollectionsUtilities
[380 / 568] HashTreeCollections
[381 / 576] HashTreeCollections
[383 / 577] OrderedCollections
[391 / 577] HeapModule
[393 / 577] ContainersPreview
[400 / 577] HashTreeCollections
[401 / 577] HashTreeCollections
[402 / 578] HeapModule
[404 / 578] HeapModule
[406 / 578] HashTreeCollections
[407 / 578] HashTreeCollections
[408 / 578] SwiftSyntax
[411 / 578] SwiftSyntax
[420 / 578] ContainersPreview
[422 / 578] ContainersPreview
[423 / 578] ContainersPreview
[424 / 578] DequeModule
[425 / 578] DequeModule
[430 / 581] ContainersPreview
[434 / 599] BitCollections
[439 / 599] CasePathsCore
[442 / 599] CasePathsCore
[444 / 599] CasePathsCore
[446 / 599] CasePathsCore
[448 / 599] BitCollections
[450 / 600] BitCollections
[452 / 600] BitCollections
[458 / 601] HashTreeCollections
[459 / 601] BitCollections
[462 / 601] BitCollections
[463 / 601] BitCollections
[467 / 622] SwiftDiagnostics
[468 / 622] SwiftBasicFormat
[475 / 629] SwiftDiagnostics
[476 / 629] SwiftParser
[477 / 630] SwiftParser
[480 / 630] SwiftSyntax
[488 / 630] SwiftParser
[492 / 630] SwiftParser
[493 / 630] SwiftDiagnostics
[494 / 630] SwiftOperators
[495 / 630] SwiftOperators
[498 / 630] SwiftDiagnostics
[499 / 630] SwiftDiagnostics
[502 / 630] SwiftBasicFormat
[504 / 631] SwiftDiagnostics
[506 / 631] SwiftDiagnostics
[507 / 631] SwiftParserDiagnostics
[508 / 631] SwiftParserDiagnostics
[514 / 643] SwiftParserDiagnostics
[517 / 661] DequeModule
[519 / 662] SwiftParserDiagnostics
[520 / 662] SwiftParserDiagnostics
[521 / 663] SwiftParserDiagnostics
[532 / 663] SwiftSyntaxBuilder
[533 / 663] SwiftSyntaxBuilder
[535 / 663] SwiftParser
[536 / 663] SwiftSyntax
[541 / 663] SwiftOperators
[544 / 663] SwiftOperators
[546 / 663] SwiftOperators
[550 / 663] DequeModule
[552 / 664] SwiftOperators
[554 / 664] SwiftOperators
[556 / 664] CasePathsCore
[559 / 664] OrderedCollections
[563 / 664] BitCollections
[574 / 681] Collections
[576 / 682] SwiftSyntaxBuilder
[578 / 682] SwiftSyntaxBuilder
[585 / 682] SwiftSyntaxBuilder
[587 / 682] SwiftParserDiagnostics
[599 / 683] DequeModule
[607 / 694] SwiftIfConfig
[609 / 694] SwiftIfConfig
[611 / 694] SwiftIfConfig
[612 / 694] SwiftIfConfig
[622 / 705] SwiftSyntaxMacros
[625 / 705] SwiftSyntaxMacros
[635 / 705] Collections
[639 / 715] SwiftSyntaxMacroExpansion
[644 / 717] SwiftSyntaxMacros
[648 / 717] SwiftSyntaxMacroExpansion
[658 / 727] SwiftCompilerPluginMessageHandling
[661 / 727] SwiftCompilerPluginMessageHandling
[662 / 727] SwiftCompilerPluginMessageHandling
[664 / 727] SwiftCompilerPluginMessageHandling
[673 / 730] SwiftCompilerPlugin
[680 / 733]
[682 / 734] CasePathsMacrosSupport
[687 / 734] SwiftSyntaxMacroExpansion
[689 / 735] CasePathsMacrosSupport
[691 / 736] SwiftCompilerPluginMessageHandling
[693 / 737] SwiftSyntax
[696 / 738] SwiftSyntax
[703 / 738] SwiftIfConfig
[713 / 739] CasePathsMacros
[717 / 742] CasePathsMacros
[721 / 743] CasePathsMacros
[729 / 751] CasePaths
[735 / 752] CasePaths
[742 / 761] Parsing
[743 / 761] Parsing
[744 / 762] Parsing
[745 / 762] CasePaths
[747 / 762] Parsing
[747 / 763] Parsing
[760 / 768] XMLParser
/host/spi-builder-workspace/Sources/XMLParser/XML.swift:38:83: [1;33mwarning: [1;39minitializer 'init(dictionaryLiteral:)' cannot be used in a default argument value because 'OrderedCollections' was not imported by this file; this is an error in the Swift 6 language mode[0;0m
[0;36m36 |[0;0m /// - attributes: the attributes of the xml tag
[0;36m37 |[0;0m /// - content: the content of the xml tag
[0;36m38 |[0;0m public init(name: String, attributes: OrderedDictionary<String, String> = [:], content: [Node] = []) {
[0;36m|[0;0m |- [1;33mwarning: [1;39minitializer 'init(dictionaryLiteral:)' cannot be used in a default argument value because 'OrderedCollections' was not imported by this file; this is an error in the Swift 6 language mode[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mThe missing import of module 'OrderedCollections' will be added implicitly[0;0m
[0;36m39 |[0;0m self.name = name
[0;36m40 |[0;0m self.attributes = attributes
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/XMLParser/XML.swift:38:83: [1;33mwarning: [1;39minitializer 'init(dictionaryLiteral:)' cannot be used in a default argument value because 'OrderedCollections' was not imported by this file; this is an error in the Swift 6 language mode[0;0m
[0;36m36 |[0;0m /// - attributes: the attributes of the xml tag
[0;36m37 |[0;0m /// - content: the content of the xml tag
[0;36m38 |[0;0m public init(name: String, attributes: OrderedDictionary<String, String> = [:], content: [Node] = []) {
[0;36m|[0;0m |- [1;33mwarning: [1;39minitializer 'init(dictionaryLiteral:)' cannot be used in a default argument value because 'OrderedCollections' was not imported by this file; this is an error in the Swift 6 language mode[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mThe missing import of module 'OrderedCollections' will be added implicitly[0;0m
[0;36m39 |[0;0m self.name = name
[0;36m40 |[0;0m self.attributes = attributes
/host/spi-builder-workspace/Sources/XMLParser/XMLParser.swift:23:5: [1;31merror: [1;39mgeneric type 'From' specialized with too few type parameters (got 2, but expected 3)[0;0m
[0;36m21 |[0;0m
[0;36m22 |[0;0m let tagNameParser = ParsePrint {
[0;36m23 |[0;0m From[4;39m<Conversions.UTF8ViewToSubstring, Prefix<Substring>>[0;0m(.substring) {
[0;36m|[0;0m `- [1;31merror: [1;39mgeneric type 'From' specialized with too few type parameters (got 2, but expected 3)[0;0m
[0;36m24 |[0;0m Prefix { $0.isLetter }
[0;36m25 |[0;0m }.map(.string)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/From.swift:1:15: [1;39mnote: [1;39mgeneric struct 'From' declared here[0;0m
[0;36m1 |[0;0m public struct From<Upstream: Conversion, DownstreamInput, Downstream: Parser>: Parser
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric struct 'From' declared here[0;0m
[0;36m2 |[0;0m where Upstream.Output == DownstreamInput, Downstream.Input == DownstreamInput {
[0;36m3 |[0;0m @usableFromInline
/host/spi-builder-workspace/Sources/XMLParser/XMLParser.swift:22:21: [1;31merror: [1;39mgeneric parameter 'Input' could not be inferred[0;0m
[0;36m20 |[0;0m }.map(Conversions.TuplesToDictionary())
[0;36m21 |[0;0m
[0;36m22 |[0;0m let tagNameParser = ParsePrint {
[0;36m|[0;0m |- [1;31merror: [1;39mgeneric parameter 'Input' could not be inferred[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mexplicitly specify the generic arguments to fix this issue[0;0m
[0;36m23 |[0;0m From<Conversions.UTF8ViewToSubstring, Prefix<Substring>>(.substring) {
[0;36m24 |[0;0m Prefix { $0.isLetter }
/host/spi-builder-workspace/Sources/XMLParser/XMLParser.swift:56:45: [1;33mwarning: [1;39m'/' is deprecated: Use a 'CasePathable' case key path, instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m54 |[0;0m let commentParser = ParsePrint {
[0;36m55 |[0;0m "<!--".utf8
[0;36m56 |[0;0m PrefixUpTo("-->".utf8).map(.string).map(/XML.Node.comment)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'/' is deprecated: Use a 'CasePathable' case key path, instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m57 |[0;0m "-->".utf8
[0;36m58 |[0;0m }
/host/spi-builder-workspace/Sources/XMLParser/XMLParser.swift:66:7: [1;31merror: [1;39mambiguous use of 'string'[0;0m
[0;36m64 |[0;0m }
[0;36m65 |[0;0m }
[0;36m66 |[0;0m .map(.string).map(/XML.Node.text)
[0;36m|[0;0m `- [1;31merror: [1;39mambiguous use of 'string'[0;0m
[0;36m67 |[0;0m
[0;36m68 |[0;0m let xmlPrologParser = ParsePrint {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/String.swift:11:21: [1;39mnote: [1;39mfound this candidate in module 'Parsing'[0;0m
[0;36m9 |[0;0m /// ```
[0;36m10 |[0;0m @inlinable
[0;36m11 |[0;0m public static var string: Self { .init() }
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate in module 'Parsing'[0;0m
[0;36m12 |[0;0m }
[0;36m13 |[0;0m
[0;36m:[0;0m
[0;36m29 |[0;0m /// ```
[0;36m30 |[0;0m @inlinable
[0;36m31 |[0;0m public static var string: Self { .init() }
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate in module 'Parsing'[0;0m
[0;36m32 |[0;0m }
[0;36m33 |[0;0m
/host/spi-builder-workspace/Sources/XMLParser/XMLParser.swift:103:15: [1;31merror: [1;39mcontextual closure type '(_.Output) -> Bool' expects 1 argument, but 3 were used in closure body[0;0m
[0;36m101 |[0;0m ">".utf8
[0;36m102 |[0;0m }
[0;36m103 |[0;0m .filter { tagHead, _, closingTag in tagHead.0 == closingTag }
[0;36m|[0;0m `- [1;31merror: [1;39mcontextual closure type '(_.Output) -> Bool' expects 1 argument, but 3 were used in closure body[0;0m
[0;36m104 |[0;0m .map(Conversions.UnpackXMLElementTuple())
[0;36m105 |[0;0m .map(.memberwise(XML.Element.init))
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/XMLParser/Conversions.swift /host/spi-builder-workspace/Sources/XMLParser/XML.swift /host/spi-builder-workspace/Sources/XMLParser/XMLParser.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 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/CasePathsMacros\#CasePathsMacros -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/swift-xml-parser.build/Debug-linux-x86_64/XMLParser-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-xml-parser.build/Debug-linux-x86_64/XMLParser-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-xml-parser.build/Debug-linux-x86_64/XMLParser-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name XMLParser -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-xml-parser.build/Debug-linux-x86_64/XMLParser-t.build/Objects-normal/x86_64/XMLParser_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/swift-xml-parser.build/Debug-linux-x86_64/XMLParser-t.build/Objects-normal/x86_64/Modules/XMLParser.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-xml-parser.build/Debug-linux-x86_64/XMLParser-t.build/Objects-normal/x86_64/Modules/XMLParser.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-xml-parser.build/Debug-linux-x86_64/XMLParser-t.build/Objects-normal/x86_64/XMLParser-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-xml-parser.build/Debug-linux-x86_64/XMLParser-t.build/Objects-normal/x86_64/XMLParser-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-xml-parser.build/Debug-linux-x86_64/XMLParser-t.build/Objects-normal/x86_64/XMLParser-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-xml-parser.build/Debug-linux-x86_64/XMLParser-t.build/Objects-normal/x86_64/Modules/XMLParser.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux