Build Information
Failed to build Patterns, reference master (c778b7), with Swift 6.4 for Android on 18 Sep 2026 14:26:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kareman/Patterns.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
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-53886770-1":/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/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.93s)
Fetched https://github.com/apple/swift-argument-parser (0.94s)
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.13s)
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]
[40 / 73]
[51 / 84] ArgumentParserToolInfo
[51 / 84] SE0270_RangeSet
[62 / 86] Patterns
[64 / 94] Patterns
[65 / 94] Patterns
[66 / 94] Patterns
[68 / 94] Patterns
[71 / 96] SE0270_RangeSet
[73 / 96] Patterns
[78 / 97] ArgumentParserToolInfo
/host/spi-builder-workspace/Sources/Patterns/Grammar.swift:125:25: [1;33mwarning: [1;39mgeneric parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m27 |[0;0m /// will lead to infinite recursion.
[0;36m28 |[0;0m @dynamicMemberLookup
[0;36m29 |[0;0m public class Grammar<Input: BidirectionalCollection>: Pattern where Input.Element: Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39m'Input' previously declared here[0;0m
[0;36m30 |[0;0m /// Calls another subpattern in a grammar.
[0;36m31 |[0;0m public struct CallPattern: Pattern {
[0;36m:[0;0m
[0;36m123 |[0;0m }
[0;36m124 |[0;0m
[0;36m125 |[0;0m public static func == <Input>(lhs: Grammar<Input>, rhs: Grammar<Input>) -> Bool {
[0;36m|[0;0m `- [1;33mwarning: [1;39mgeneric parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m126 |[0;0m lhs.patterns.elementsEqual(rhs.patterns, by: { $0.name == $1.name && $0.pattern == $1.pattern })
[0;36m127 |[0;0m }
[81 / 106] ArgumentParser
[82 / 106] ArgumentParser
/host/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:65:1: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m63 |[0;0m }
[0;36m64 |[0;0m
[0;36m65 |[0;0m extension String.UTF8View: LosslessStringConvertible {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m66 |[0;0m @inlinable
[0;36m67 |[0;0m public init?(_ description: String) {
/host/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:72:1: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m70 |[0;0m }
[0;36m71 |[0;0m
[0;36m72 |[0;0m extension String.UTF16View: LosslessStringConvertible {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m73 |[0;0m @inlinable
[0;36m74 |[0;0m public init?(_ description: String) {
/host/spi-builder-workspace/Sources/Patterns/Atomic Patterns/Literal.swift:79:1: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m77 |[0;0m }
[0;36m78 |[0;0m
[0;36m79 |[0;0m extension String.UnicodeScalarView: LosslessStringConvertible {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m80 |[0;0m @inlinable
[0;36m81 |[0;0m public init?(_ description: String) {
/host/spi-builder-workspace/Sources/Patterns/Grammar.swift:125:25: [1;33mwarning: [1;39mgeneric parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m27 |[0;0m /// will lead to infinite recursion.
[0;36m28 |[0;0m @dynamicMemberLookup
[0;36m29 |[0;0m public class Grammar<Input: BidirectionalCollection>: Pattern where Input.Element: Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39m'Input' previously declared here[0;0m
[0;36m30 |[0;0m /// Calls another subpattern in a grammar.
[0;36m31 |[0;0m public struct CallPattern: Pattern {
[0;36m:[0;0m
[0;36m123 |[0;0m }
[0;36m124 |[0;0m
[0;36m125 |[0;0m public static func == <Input>(lhs: Grammar<Input>, rhs: Grammar<Input>) -> Bool {
[0;36m|[0;0m `- [1;33mwarning: [1;39mgeneric parameter 'Input' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m126 |[0;0m lhs.patterns.elementsEqual(rhs.patterns, by: { $0.name == $1.name && $0.pattern == $1.pattern })
[0;36m127 |[0;0m }
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
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: [1;31merror: [1;39mcannot find 'EXIT_SUCCESS' in scope[0;0m
[0;36m59 |[0;0m
[0;36m60 |[0;0m /// An exit code that indicates successful completion of a command.
[0;36m61 |[0;0m public static let success = ExitCode([4;39mEXIT_SUCCESS[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'EXIT_SUCCESS' in scope[0;0m
[0;36m62 |[0;0m
[0;36m63 |[0;0m /// 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: [1;31merror: [1;39mcannot find 'EXIT_FAILURE' in scope[0;0m
[0;36m62 |[0;0m
[0;36m63 |[0;0m /// An exit code that indicates that the command failed.
[0;36m64 |[0;0m public static let failure = ExitCode([4;39mEXIT_FAILURE[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'EXIT_FAILURE' in scope[0;0m
[0;36m65 |[0;0m
[0;36m66 |[0;0m /// 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: [1;31merror: [1;39mcannot find 'EX_USAGE' in scope[0;0m
[0;36m68 |[0;0m public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
[0;36m69 |[0;0m #else
[0;36m70 |[0;0m public static let validationFailure = ExitCode([4;39mEX_USAGE[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'EX_USAGE' in scope[0;0m
[0;36m71 |[0;0m #endif
[0;36m72 |[0;0m
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