The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Patterns, reference 0.1.2 (c778b7), with Swift 6.4 for Android on 18 Sep 2026 14:25:31 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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 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:         android
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-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-se0270-range-set
[1/76] Fetching swift-se0270-range-set
[77/18994] Fetching swift-se0270-range-set, swift-argument-parser
Fetched https://github.com/apple/swift-se0270-range-set (0.84s)
Fetched https://github.com/apple/swift-argument-parser (0.85s)
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.05s)
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...
[Pre-planning 1 / 184]
[Starting]
[51 / 84] ArgumentParserToolInfo
[56 / 84] SE0270_RangeSet
[64 / 94] Patterns
[65 / 94] SE0270_RangeSet
[67 / 94] Patterns
[68 / 94] 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 | 	}
[71 / 96] SE0270_RangeSet
[80 / 96]
[83 / 97] 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 aarch64 /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/Errors.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Errors.swift
[88 / 106] ArgumentParser
/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:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /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 -primary-file /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/ArgumentHelp.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/CompletionKind.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/Errors.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/Flag.swift -primary-file /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 -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/supplementaryOutputs-7 -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/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-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/ArgumentParser_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/ArgumentHelp.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/CompletionKind.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/Errors.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/Flag.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/NameSpecification.o -index-unit-output-path /swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/ArgumentHelp.o -index-unit-output-path /swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/CompletionKind.o -index-unit-output-path /swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/Errors.o -index-unit-output-path /swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/Flag.o -index-unit-output-path /swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/NameSpecification.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android