The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-xml-parser, reference 0.2.0 (03238f), with Swift 6.4 for Wasm on 18 Sep 2026 11:39:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build 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:         wasm
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-54344844-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-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.11s)
[25370/27279] Fetching swift-collections
[27280/125549] Fetching swift-collections, swift-parsing
Fetched https://github.com/apple/swift-collections.git (4.73s)
Fetched https://github.com/pointfreeco/swift-parsing.git (4.76s)
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.71s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.10.0 (1.82s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
Fetching https://github.com/swiftlang/swift-syntax
[1/6136] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.72s)
[1/79951] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (2.99s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.0 (3.25s)
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.19s)
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 (1.00s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.20s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.30s)
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-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.10.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
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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1091]
[Planning deferred tasks]
[Starting]
[116 / 456] SwiftOperators
[227 / 478] SwiftSyntax602
[268 / 488] InternalCollectionsUtilities
[270 / 497] SwiftSyntax604
[284 / 500] SwiftSyntax601
[293 / 503] SwiftSyntax603
[301 / 504] SwiftSyntax602
[309 / 504] InternalCollectionsUtilities
[310 / 504] _RopeModule
[311 / 504] InternalCollectionsUtilities
[316 / 504] InternalCollectionsUtilities
[316 / 504] HeapModule
[323 / 514] _RopeModule
[325 / 515] _RopeModule
[326 / 516] _RopeModule
[327 / 516] IssueReporting
[334 / 523] IssueReporting
[341 / 557] HeapModule
[343 / 575] HashTreeCollections
[344 / 575] ContainersPreview
[354 / 575] _RopeModule
[369 / 584] BitCollections
[370 / 584] SwiftSyntax
[371 / 585] _RopeModule
[379 / 585] SwiftSyntax
[380 / 585] OrderedCollections
[390 / 585] SwiftSyntax
[392 / 585] OrderedCollections
[394 / 585] OrderedCollections
[396 / 585] OrderedCollections
[399 / 585] OrderedCollections
[399 / 585] IssueReporting
[401 / 585] HeapModule
[403 / 585] HeapModule
[406 / 585] OrderedCollections
[410 / 587] OrderedCollections
[413 / 587] HashTreeCollections
[415 / 587] HashTreeCollections
[416 / 587] HashTreeCollections
[418 / 587] ContainersPreview
[421 / 587] DequeModule
[423 / 587] DequeModule
[426 / 587] CasePathsCore
[428 / 588] ContainersPreview
[432 / 588] CasePathsCore
[434 / 588] CasePathsCore
[442 / 589] SwiftSyntax-product
[447 / 590] CasePathsCore
[449 / 590] BitCollections
[451 / 590] BitCollections
[452 / 590] BitCollections
[452 / 590]
[457 / 610] SwiftDiagnostics
[457 / 619] SwiftDiagnostics
[461 / 619] SwiftDiagnostics
[471 / 628] DequeModule
[471 / 628] BitCollections
[473 / 629] SwiftParser
[474 / 629] SwiftParser
[475 / 629] SwiftParser
[477 / 629] SwiftParser
[481 / 629] SwiftParser
[483 / 629] SwiftParser
[484 / 629] DequeModule
[486 / 629] DequeModule
[491 / 629] SwiftOperators
[492 / 629] SwiftDiagnostics-product
[494 / 629] SwiftDiagnostics
[498 / 629] SwiftBasicFormat
[499 / 630] SwiftParserDiagnostics
[502 / 630] SwiftDiagnostics
[504 / 630] SwiftBasicFormat
[506 / 630] DequeModule
[508 / 630] DequeModule
[509 / 631] SwiftBasicFormat
[513 / 631] DequeModule
[514 / 631] DequeModule
[516 / 632] Collections
[526 / 634] IssueReporting
[531 / 653] SwiftParserDiagnostics
[531 / 653] SwiftSyntax
[535 / 659] SwiftOperators
[542 / 659] SwiftParserDiagnostics
[546 / 659] Collections
[555 / 659] SwiftParserDiagnostics
[556 / 659] SwiftSyntaxBuilder
[560 / 659] SwiftOperators
[562 / 659] SwiftOperators
[565 / 659] SwiftParserDiagnostics
[572 / 670] SwiftOperators
[573 / 671] SwiftSyntaxBuilder
[574 / 672] SwiftSyntaxBuilder
[576 / 672] SwiftSyntaxBuilder
[577 / 672] SwiftSyntaxBuilder
[591 / 674]
[598 / 683] SwiftIfConfig
[599 / 683] SwiftIfConfig
[600 / 683] SwiftIfConfig
[602 / 683] SwiftIfConfig
[610 / 693] SwiftSyntaxMacros
[614 / 694] SwiftSyntaxMacros
[622 / 694] SwiftSyntaxMacros
[628 / 704] SwiftSyntaxMacroExpansion
[631 / 704] SwiftSyntaxMacros
[633 / 706] SwiftSyntaxMacroExpansion
[636 / 706] SwiftSyntaxMacroExpansion
[646 / 716] SwiftCompilerPluginMessageHandling
[648 / 716] SwiftCompilerPluginMessageHandling
[649 / 716] SwiftSyntaxMacroExpansion
[650 / 716] SwiftCompilerPluginMessageHandling
[653 / 716] SwiftCompilerPluginMessageHandling
[661 / 719] SwiftCompilerPlugin
[662 / 719] SwiftCompilerPlugin
[671 / 723] SwiftSyntaxMacroExpansion
[678 / 724] CasePathsMacrosSupport
[680 / 725] SwiftCompilerPluginMessageHandling
[682 / 726] SwiftSyntax
[685 / 727] SwiftSyntax
[692 / 727] SwiftIfConfig
[702 / 728] CasePathsMacros
[706 / 731] CasePathsMacros
[710 / 732] CasePathsMacros
[718 / 740] CasePaths
[720 / 740] CasePaths
[724 / 741] CasePaths
[725 / 742] CasePaths
[727 / 742] Parsing
[736 / 751] Parsing
[736 / 752] Parsing
[749 / 757] XMLParser
/host/spi-builder-workspace/Sources/XMLParser/XML.swift:38:83: warning: initializer '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
36 |         ///   - attributes: the attributes of the xml tag
37 |         ///   - content: the content of the xml tag
38 |         public init(name: String, attributes: OrderedDictionary<String, String> = [:], content: [Node] = []) {
   |                                                                                   |- warning: initializer '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
   |                                                                                   `- note: The missing import of module 'OrderedCollections' will be added implicitly
39 |             self.name = name
40 |             self.attributes = attributes
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/XMLParser/XML.swift:38:83: warning: initializer '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
36 |         ///   - attributes: the attributes of the xml tag
37 |         ///   - content: the content of the xml tag
38 |         public init(name: String, attributes: OrderedDictionary<String, String> = [:], content: [Node] = []) {
   |                                                                                   |- warning: initializer '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
   |                                                                                   `- note: The missing import of module 'OrderedCollections' will be added implicitly
39 |             self.name = name
40 |             self.attributes = attributes
/host/spi-builder-workspace/Sources/XMLParser/XMLParser.swift:23:5: error: generic type 'From' specialized with too few type parameters (got 2, but expected 3)
 21 |
 22 | let tagNameParser = ParsePrint {
 23 |     From<Conversions.UTF8ViewToSubstring, Prefix<Substring>>(.substring) {
    |     `- error: generic type 'From' specialized with too few type parameters (got 2, but expected 3)
 24 |         Prefix { $0.isLetter }
 25 |     }.map(.string)
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/From.swift:1:15: note: generic struct 'From' declared here
 1 | public struct From<Upstream: Conversion, DownstreamInput, Downstream: Parser>: Parser
   |               `- note: generic struct 'From' declared here
 2 | where Upstream.Output == DownstreamInput, Downstream.Input == DownstreamInput {
 3 |   @usableFromInline
/host/spi-builder-workspace/Sources/XMLParser/XMLParser.swift:22:21: error: generic parameter 'Input' could not be inferred
 20 | }.map(Conversions.TuplesToDictionary())
 21 |
 22 | let tagNameParser = ParsePrint {
    |                     |- error: generic parameter 'Input' could not be inferred
    |                     `- note: explicitly specify the generic arguments to fix this issue
 23 |     From<Conversions.UTF8ViewToSubstring, Prefix<Substring>>(.substring) {
 24 |         Prefix { $0.isLetter }
/host/spi-builder-workspace/Sources/XMLParser/XMLParser.swift:56:45: warning: '/' is deprecated: Use a 'CasePathable' case key path, instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 54 | let commentParser = ParsePrint {
 55 |     "<!--".utf8
 56 |     PrefixUpTo("-->".utf8).map(.string).map(/XML.Node.comment)
    |                                             `- warning: '/' is deprecated: Use a 'CasePathable' case key path, instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 57 |     "-->".utf8
 58 | }
/host/spi-builder-workspace/Sources/XMLParser/XMLParser.swift:66:7: error: ambiguous use of 'string'
 64 |     }
 65 | }
 66 | .map(.string).map(/XML.Node.text)
    |       `- error: ambiguous use of 'string'
 67 |
 68 | let xmlPrologParser = ParsePrint {
/host/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Conversions/String.swift:11:21: note: found this candidate in module 'Parsing'
 9 |   /// ```
10 |   @inlinable
11 |   public static var string: Self { .init() }
   |                     `- note: found this candidate in module 'Parsing'
12 | }
13 |
   :
29 |   /// ```
30 |   @inlinable
31 |   public static var string: Self { .init() }
   |                     `- note: found this candidate in module 'Parsing'
32 | }
33 |
/host/spi-builder-workspace/Sources/XMLParser/XMLParser.swift:103:15: error: contextual closure type '(_.Output) -> Bool' expects 1 argument, but 3 were used in closure body
101 |         ">".utf8
102 |     }
103 |     .filter { tagHead, _, closingTag in tagHead.0 == closingTag }
    |               `- error: contextual closure type '(_.Output) -> Bool' expects 1 argument, but 3 were used in closure body
104 |     .map(Conversions.UnpackXMLElementTuple())
105 |     .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 wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -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 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -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-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-xml-parser.build/Debug-webassembly-wasm32/XMLParser-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-xml-parser.build/Debug-webassembly-wasm32/XMLParser-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-xml-parser.build/Debug-webassembly-wasm32/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-webassembly-wasm32/XMLParser-t.build/Objects-normal/wasm32/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-webassembly-wasm32/XMLParser-t.build/Objects-normal/wasm32/Modules/XMLParser.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-xml-parser.build/Debug-webassembly-wasm32/XMLParser-t.build/Objects-normal/wasm32/Modules/XMLParser.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-xml-parser.build/Debug-webassembly-wasm32/XMLParser-t.build/Objects-normal/wasm32/XMLParser-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-xml-parser.build/Debug-webassembly-wasm32/XMLParser-t.build/Objects-normal/wasm32/XMLParser-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-xml-parser.build/Debug-webassembly-wasm32/XMLParser-t.build/Objects-normal/wasm32/XMLParser-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-xml-parser.build/Debug-webassembly-wasm32/XMLParser-t.build/Objects-normal/wasm32/Modules/XMLParser.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm