The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Patterns, reference 0.1.2 (c778b7), with Swift 6.4 for Wasm on 18 Sep 2026 14:26:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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/kareman/Patterns.git
Reference: 0.1.2
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/kareman/Patterns
 * tag               0.1.2      -> FETCH_HEAD
HEAD is now at c778b7d Remove any mention of specific Swift version
Cloned https://github.com/kareman/Patterns.git
Revision (git rev-parse @):
c778b7d547c0c9344755ef1916224fd91478bddd
SUCCESS checkout https://github.com/kareman/Patterns.git at 0.1.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/kareman/Patterns.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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/apple/swift-argument-parser
Fetching https://github.com/apple/swift-se0270-range-set
[1/18918] Fetching swift-argument-parser
[18919/18994] Fetching swift-argument-parser, swift-se0270-range-set
Fetched https://github.com/apple/swift-se0270-range-set (0.90s)
Fetched https://github.com/apple/swift-argument-parser (0.91s)
Computing version for https://github.com/apple/swift-se0270-range-set
Computed https://github.com/apple/swift-se0270-range-set at 1.0.1 (1.10s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.20s)
Creating working copy for https://github.com/apple/swift-se0270-range-set
Working copy of https://github.com/apple/swift-se0270-range-set resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[47 / 79] SE0270_RangeSet
[48 / 79] ArgumentParserToolInfo
[60 / 89] Patterns
/host/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:65:1: warning: extension declares a conformance of imported type 'UTF8View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
63 | }
64 |
65 | extension String.UTF8View: LosslessStringConvertible {
   | |- warning: extension declares a conformance of imported type 'UTF8View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
66 | 	@inlinable
67 | 	public init?(_ description: String) {
/host/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:72:1: warning: extension declares a conformance of imported type 'UTF16View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
70 | }
71 |
72 | extension String.UTF16View: LosslessStringConvertible {
   | |- warning: extension declares a conformance of imported type 'UTF16View' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
73 | 	@inlinable
74 | 	public init?(_ description: String) {
/host/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:79:1: warning: extension declares a conformance of imported type 'UnicodeScalarView' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
77 | }
78 |
79 | extension String.UnicodeScalarView: LosslessStringConvertible {
   | |- warning: extension declares a conformance of imported type 'UnicodeScalarView' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
80 | 	@inlinable
81 | 	public init?(_ description: String) {
/host/spi-builder-workspace/Sources/Patterns/Grammar.swift:125:25: warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 27 | ///   will lead to infinite recursion.
 28 | @dynamicMemberLookup
 29 | public class Grammar<Input: BidirectionalCollection>: Pattern where Input.Element: Hashable {
    |                      `- note: 'Input' previously declared here
 30 | 	/// Calls another subpattern in a grammar.
 31 | 	public struct CallPattern: Pattern {
    :
123 | 	}
124 |
125 | 	public static func == <Input>(lhs: Grammar<Input>, rhs: Grammar<Input>) -> Bool {
    |                         `- warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
126 | 		lhs.patterns.elementsEqual(rhs.patterns, by: { $0.name == $1.name && $0.pattern == $1.pattern })
127 | 	}
[62 / 89] Patterns
[68 / 89] Patterns
[72 / 90] Patterns
[74 / 91] SE0270_RangeSet
[79 / 92] ArgumentParser
[83 / 101] ArgumentParser
/host/spi-builder-workspace/Sources/Patterns/Grammar.swift:125:25: warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 27 | ///   will lead to infinite recursion.
 28 | @dynamicMemberLookup
 29 | public class Grammar<Input: BidirectionalCollection>: Pattern where Input.Element: Hashable {
    |                      `- note: 'Input' previously declared here
 30 | 	/// Calls another subpattern in a grammar.
 31 | 	public struct CallPattern: Pattern {
    :
123 | 	}
124 |
125 | 	public static func == <Input>(lhs: Grammar<Input>, rhs: Grammar<Input>) -> Bool {
    |                         `- warning: generic parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
126 | 		lhs.patterns.elementsEqual(rhs.patterns, by: { $0.name == $1.name && $0.pattern == $1.pattern })
127 | 	}
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/BashCompletionsGenerator.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/FishCompletionsGenerator.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/ZshCompletionsGenerator.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/Argument.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/ArgumentHelp.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/CompletionKind.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/Errors.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/Flag.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/NameSpecification.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/Option.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/OptionGroup.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Types/CommandConfiguration.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Types/EnumerableFlag.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Types/ExpressibleByArgument.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Types/ParsableArguments.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Types/ParsableArgumentsValidation.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Types/ParsableCommand.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/ArgumentDecoder.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/ArgumentDefinition.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/ArgumentSet.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/InputOrigin.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/Name.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/Parsed.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/ParsedValues.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/ParserError.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/SplitArguments.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpCommand.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/UsageGenerator.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/CollectionExtensions.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/SequenceExtensions.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/StringExtensions.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Tree.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 -suppress-warnings -swift-version 5 -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 -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-argument-parser.build/Debug-webassembly-wasm32/ArgumentParser-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/ArgumentParser-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/ArgumentParser-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ArgumentParser -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/ArgumentParser-t.build/Objects-normal/wasm32/ArgumentParser_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-argument-parser.build/Debug-webassembly-wasm32/ArgumentParser-t.build/Objects-normal/wasm32/Modules/ArgumentParser.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/ArgumentParser-t.build/Objects-normal/wasm32/Modules/ArgumentParser.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/ArgumentParser-t.build/Objects-normal/wasm32/ArgumentParser-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/ArgumentParser-t.build/Objects-normal/wasm32/ArgumentParser-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/ArgumentParser-t.build/Objects-normal/wasm32/ArgumentParser-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-webassembly-wasm32/ArgumentParser-t.build/Objects-normal/wasm32/Modules/ArgumentParser.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm