Build Information
Failed to build swift-extract, reference v0.16.0 (9a4211), with Swift 6.4 for Android on 30 Sep 2026 18:47:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/asaptf/swift-extract.git
Reference: v0.16.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/asaptf/swift-extract
* tag v0.16.0 -> FETCH_HEAD
HEAD is now at 9a4211d Record 0.16.0: a line of Chinese, Japanese or Korean is read as its words.
Cloned https://github.com/asaptf/swift-extract.git
Revision (git rev-parse @):
9a4211d3d0d04e109fec80d93521f3f8e82efbd8
SUCCESS checkout https://github.com/asaptf/swift-extract.git at v0.16.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/asaptf/swift-extract.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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/huggingface/AnyLanguageModel.git
Fetching https://github.com/swiftlang/swift-syntax
[1/80093] Fetching swift-syntax
[26432/85692] Fetching swift-syntax, anylanguagemodel
Fetched https://github.com/huggingface/AnyLanguageModel.git (2.03s)
[52862/80093] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (4.65s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (6.39s)
Computing version for https://github.com/huggingface/AnyLanguageModel.git
Computed https://github.com/huggingface/AnyLanguageModel.git at 0.8.0 (0.20s)
Fetching https://github.com/mattt/EventSource
Fetching https://github.com/mattt/JSONSchema
Fetching https://github.com/mattt/PartialJSONDecoder
[1/207] Fetching jsonschema
[16/510] Fetching jsonschema, eventsource
[511/592] Fetching jsonschema, eventsource, partialjsondecoder
Fetched https://github.com/mattt/JSONSchema (0.44s)
Fetched https://github.com/mattt/EventSource (0.44s)
Fetched https://github.com/mattt/PartialJSONDecoder (0.44s)
Computing version for https://github.com/mattt/PartialJSONDecoder
Computed https://github.com/mattt/PartialJSONDecoder at 1.0.1 (0.60s)
Computing version for https://github.com/mattt/JSONSchema
Computed https://github.com/mattt/JSONSchema at 1.3.1 (0.15s)
Fetching https://github.com/apple/swift-collections.git
[1/28069] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.48s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.5.1 (1.68s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.36s)
Creating working copy for https://github.com/mattt/PartialJSONDecoder
Working copy of https://github.com/mattt/PartialJSONDecoder resolved at 1.0.1
Creating working copy for https://github.com/mattt/JSONSchema
Working copy of https://github.com/mattt/JSONSchema resolved at 1.3.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.1
Creating working copy for https://github.com/mattt/EventSource
Working copy of https://github.com/mattt/EventSource resolved at 1.5.1
Creating working copy for https://github.com/huggingface/AnyLanguageModel.git
Working copy of https://github.com/huggingface/AnyLanguageModel.git resolved at 0.8.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 802]
[Planning deferred tasks]
[155 / 325]
[171 / 353] SwiftSyntax600
[188 / 353] PartialJSONDecoder
[198 / 353] InternalCollectionsUtilities
[200 / 355] SwiftSyntax510
[201 / 355] SwiftSyntax509
[202 / 355] SwiftSyntax600
[205 / 356] SwiftSyntax600
[208 / 356] InternalCollectionsUtilities
[215 / 356] OrderedCollections
[218 / 356] EventSource
[223 / 356] SwiftSyntax600
[226 / 358]
[229 / 376] SwiftSyntax
[230 / 377] SwiftSyntax
[231 / 377] SwiftSyntax
[233 / 377] SwiftSyntax
[235 / 378] SwiftSyntax
[237 / 379] OrderedCollections
[239 / 379] OrderedCollections
[244 / 379] SwiftSyntax
[247 / 379] PartialJSONDecoder
[248 / 379] OrderedCollections-product
[249 / 379] OrderedCollections-product
[251 / 379] OrderedCollections
[252 / 379] OrderedCollections
[252 / 379] JSONSchema
[256 / 379] SwiftSyntax
[261 / 383] OrderedCollections
[263 / 384] OrderedCollections
[270 / 384] OrderedCollections
[270 / 384] JSONSchema
[273 / 385] SwiftSyntax
[285 / 403] SwiftBasicFormat
[286 / 412] SwiftParser
[289 / 412] SwiftDiagnostics
[300 / 412] SwiftParser
[301 / 412] SwiftParser
[302 / 412] SwiftParser
[303 / 412] SwiftParser
[305 / 412] SwiftParser
[309 / 412] SwiftParser
[311 / 412] SwiftDiagnostics
[312 / 412] SwiftDiagnostics
[313 / 412] SwiftOperators
[314 / 412] SwiftOperators
[316 / 412] SwiftBasicFormat
[317 / 412] SwiftBasicFormat
[318 / 413] SwiftParserDiagnostics
[321 / 413] SwiftDiagnostics
[325 / 423] SwiftParserDiagnostics
[326 / 423] SwiftParserDiagnostics
[329 / 424] SwiftParserDiagnostics
[330 / 424] SwiftParserDiagnostics
[331 / 424] SwiftParserDiagnostics
[335 / 424] SwiftParserDiagnostics
[336 / 424] SwiftSyntaxBuilder
[340 / 425] SwiftBasicFormat
[344 / 435] SwiftOperators
[345 / 435] SwiftOperators
[346 / 435] SwiftOperators
[347 / 435] SwiftOperators
[348 / 435] SwiftOperators
[350 / 435] SwiftOperators
[356 / 435] SwiftOperators
[360 / 445] SwiftSyntaxBuilder
[362 / 446] SwiftSyntaxBuilder
[363 / 447] SwiftSyntaxBuilder
[364 / 447] SwiftSyntaxBuilder
[367 / 447] SwiftSyntaxBuilder
[372 / 447] SwiftSyntaxBuilder
[376 / 448] SwiftSyntaxMacros
[379 / 457] SwiftSyntaxMacros
[380 / 457] SwiftSyntaxMacros
[381 / 457] SwiftSyntaxMacros
[388 / 457] SwiftSyntaxMacros
[389 / 458] SwiftSyntaxMacros-product
[391 / 458] SwiftSyntaxMacros-product
[397 / 468] SwiftSyntaxMacroExpansion
[398 / 468] SwiftSyntaxMacroExpansion
[399 / 468] SwiftSyntaxMacroExpansion
[400 / 468] SwiftSyntaxMacroExpansion
[401 / 469] SwiftSyntaxMacros
[402 / 469] SwiftSyntaxMacroExpansion
[409 / 469] SwiftSyntaxMacros
[409 / 469] SwiftSyntaxMacroExpansion
[412 / 479] SwiftCompilerPluginMessageHandling
[413 / 479] SwiftCompilerPluginMessageHandling
[414 / 479] SwiftCompilerPluginMessageHandling
[415 / 479] SwiftCompilerPluginMessageHandling
[417 / 479] SwiftCompilerPluginMessageHandling
[420 / 479] SwiftCompilerPluginMessageHandling
[427 / 481]
[429 / 483] SwiftCompilerPlugin
[430 / 483] SwiftCompilerPlugin
[434 / 484] SwiftCompilerPlugin
[435 / 484] SwiftCompilerPlugin
[436 / 484] SwiftCompilerPluginMessageHandling
[438 / 485] SwiftSyntax
[439 / 486] SwiftSyntax
[441 / 486] SwiftSyntax
[446 / 486] SwiftParserDiagnostics
[450 / 486] SwiftCompilerPluginMessageHandling
[461 / 488] ExtractMacros
[469 / 496] ExtractMacros
[470 / 496] ExtractMacros
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/ExtractMacros/ExtractableMacro.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile ExtractableMacro.swift
/host/spi-builder-workspace/Sources/ExtractMacros/ExtractableMacro.swift:269:14: [1;31merror: [1;39mvalue of type 'String' has no member 'replacingOccurrences'[0;0m
[0;36m267 |[0;0m private static func escapeString(_ value: String) -> String {
[0;36m268 |[0;0m value
[0;36m269 |[0;0m .[4;39mreplacingOccurrences[0;0m(of: "\\", with: "\\\\")
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'String' has no member 'replacingOccurrences'[0;0m
[0;36m270 |[0;0m .replacingOccurrences(of: "\"", with: "\\\"")
[0;36m271 |[0;0m .replacingOccurrences(of: "\n", with: "\\n")
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/ExtractMacros/ExtractableMacro.swift /host/spi-builder-workspace/Sources/ExtractMacros/GuideMacro.swift /host/spi-builder-workspace/Sources/ExtractMacros/Plugin.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-extract.build/Debug-linux-x86_64/ExtractMacros-t.build/Objects-normal/x86_64/ExtractableMacro.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-extract.build/Debug-linux-x86_64/ExtractMacros-t.build/Objects-normal/x86_64/ExtractableMacro.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-extract.build/Debug-linux-x86_64/ExtractMacros-t.build/Objects-normal/x86_64/ExtractableMacro.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-extract.build/Debug-linux-x86_64/ExtractMacros-t.build/Objects-normal/x86_64/ExtractableMacro.dia -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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/_SwiftSyntaxCShims/include/module.modulemap -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/checkouts/swift-syntax/Sources/_SwiftSyntaxCShims/include -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-extract.build/Debug-linux-x86_64/ExtractMacros-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-extract.build/Debug-linux-x86_64/ExtractMacros-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-extract.build/Debug-linux-x86_64/ExtractMacros-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ExtractMacros -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-extract.build/Debug-linux-x86_64/ExtractMacros-t.build/Objects-normal/x86_64/ExtractMacros_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-extract.build/Debug-linux-x86_64/ExtractMacros-t.build/Objects-normal/x86_64/ExtractableMacro.o -index-unit-output-path /swift-extract.build/Debug-linux-x86_64/ExtractMacros-t.build/Objects-normal/x86_64/ExtractableMacro.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android