Build Information
Failed to build swift-extract, reference main (9a4211), with Swift 6.4 for Android on 30 Sep 2026 18:43:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-54344843-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/swiftlang/swift-syntax
[1/80093] Fetching swift-syntax
Fetching https://github.com/huggingface/AnyLanguageModel.git
[80094/85692] Fetching swift-syntax, anylanguagemodel
Fetched https://github.com/huggingface/AnyLanguageModel.git (1.14s)
Fetched https://github.com/swiftlang/swift-syntax (7.78s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (10.01s)
Computing version for https://github.com/huggingface/AnyLanguageModel.git
Computed https://github.com/huggingface/AnyLanguageModel.git at 0.8.0 (0.33s)
Fetching https://github.com/mattt/EventSource
Fetching https://github.com/mattt/JSONSchema
Fetching https://github.com/mattt/PartialJSONDecoder
[1/207] Fetching jsonschema
[208/510] Fetching jsonschema, eventsource
Fetched https://github.com/mattt/JSONSchema (0.57s)
[185/303] Fetching eventsource
Fetched https://github.com/mattt/EventSource (0.59s)
[2/82] Fetching partialjsondecoder
Fetched https://github.com/mattt/PartialJSONDecoder (0.78s)
Computing version for https://github.com/mattt/PartialJSONDecoder
Computed https://github.com/mattt/PartialJSONDecoder at 1.0.1 (1.07s)
Computing version for https://github.com/mattt/JSONSchema
Computed https://github.com/mattt/JSONSchema at 1.3.1 (0.40s)
Fetching https://github.com/apple/swift-collections.git
[1/28069] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.84s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.5.1 (2.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.59s)
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/mattt/PartialJSONDecoder
Working copy of https://github.com/mattt/PartialJSONDecoder resolved at 1.0.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/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/huggingface/AnyLanguageModel.git
Working copy of https://github.com/huggingface/AnyLanguageModel.git resolved at 0.8.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Building for debugging...
[Computing dependencies]
[Provisioning 3 / 38]
[Constructing description]
[Pre-planning 1 / 802]
[Planning 447 / 802]
[Planning deferred tasks]
[Constructing 729 / 1754]
[Starting]
[22 / 322] extract-cli-product
[147 / 322] SwiftSyntax509
[160 / 328] SwiftSyntax600
[168 / 344] EventSource
[169 / 353] SwiftSyntax509
[186 / 353] SwiftSyntax600
[189 / 353] InternalCollectionsUtilities
[198 / 353] PartialJSONDecoder-product
[200 / 353] EventSource
[206 / 356] EventSource
[209 / 356] SwiftSyntax600
[211 / 356] PartialJSONDecoder-product
[213 / 356] SwiftSyntax509
[215 / 356] OrderedCollections
[216 / 356] OrderedCollections
[218 / 356] EventSource
[219 / 356] EventSource
[220 / 356] EventSource-product
[221 / 356] EventSource-product
[224 / 356] SwiftSyntax509
[226 / 358]
[229 / 376] OrderedCollections
[230 / 377] SwiftSyntax
[231 / 377] SwiftSyntax
[232 / 377] SwiftSyntax
[233 / 377] SwiftSyntax
[234 / 377] SwiftSyntax
[235 / 378] SwiftSyntax
[236 / 379] SwiftSyntax
[237 / 379] OrderedCollections
[239 / 379] OrderedCollections
[244 / 379] SwiftSyntax
[245 / 379] OrderedCollections
[246 / 379] PartialJSONDecoder
[247 / 379] OrderedCollections-product
[248 / 379] OrderedCollections-product
[250 / 379] OrderedCollections
[251 / 379] OrderedCollections
[252 / 379] OrderedCollections
[252 / 379] JSONSchema
[253 / 379] JSONSchema
[254 / 379] EventSource
[258 / 379] EventSource
[258 / 379] InternalCollectionsUtilities
[260 / 383] PartialJSONDecoder-product
[262 / 383] JSONSchema
[263 / 384] OrderedCollections
[264 / 384] JSONSchema
[270 / 384] EventSource
[270 / 384] JSONSchema
[271 / 385] JSONSchema
[273 / 385] JSONSchema
[273 / 385] SwiftSyntax
[281 / 388] SwiftBasicFormat
[285 / 404] SwiftParser
[286 / 412] SwiftParser
[289 / 412] SwiftDiagnostics
[294 / 412] SwiftParser
[297 / 412] SwiftParser
[302 / 412] SwiftBasicFormat
[307 / 412] SwiftParser
[308 / 412] SwiftParser
[310 / 412] SwiftDiagnostics
[311 / 412] SwiftDiagnostics
[312 / 412] SwiftOperators
[313 / 412] SwiftOperators
[314 / 412] SwiftDiagnostics-product
[316 / 412] SwiftBasicFormat
[317 / 412] SwiftParserDiagnostics
[318 / 413] SwiftParserDiagnostics
[320 / 413] SwiftBasicFormat
[322 / 413]
[323 / 415] SwiftParserDiagnostics
[325 / 423] SwiftParserDiagnostics
[326 / 423] SwiftParserDiagnostics
[327 / 424] SwiftParserDiagnostics
[328 / 424] SwiftParserDiagnostics
[329 / 424] SwiftParserDiagnostics
[330 / 424] SwiftParserDiagnostics
[332 / 424] SwiftParserDiagnostics
[336 / 424] SwiftParserDiagnostics
[337 / 424] SwiftSyntaxBuilder
[338 / 424] SwiftSyntaxBuilder
[341 / 426] SwiftBasicFormat
[344 / 435] SwiftParser
[347 / 435] SwiftOperators
[351 / 435] SwiftOperators
[354 / 435] SwiftOperators
[356 / 435] SwiftOperators
[356 / 435]
[357 / 436] SwiftSyntaxBuilder
[358 / 445] SwiftOperators
[361 / 445] SwiftSyntaxBuilder
[362 / 446] SwiftSyntaxBuilder
[363 / 446] SwiftSyntaxBuilder
[364 / 446] SwiftSyntaxBuilder
[367 / 446] SwiftSyntaxBuilder
[371 / 446] SwiftSyntaxBuilder
[372 / 447] SwiftSyntaxMacros
[373 / 447] SwiftSyntaxMacros
[378 / 457] SwiftSyntaxMacros
[379 / 457] SwiftSyntaxMacros
[381 / 457] SwiftSyntaxMacros
[386 / 457] SwiftSyntaxMacros
[387 / 457] SwiftSyntaxMacros-product
[388 / 457] SwiftSyntaxMacros-product
[390 / 457] SwiftSyntaxMacros
[393 / 467] SwiftSyntaxMacroExpansion
[395 / 467] SwiftSyntaxMacroExpansion
[396 / 467] SwiftSyntaxMacroExpansion
[397 / 468] SwiftSyntaxMacros
[398 / 469] SwiftSyntaxMacroExpansion
[399 / 469] SwiftSyntaxMacros
[401 / 469] SwiftSyntaxMacroExpansion
[402 / 469] SwiftSyntaxMacroExpansion
[408 / 469]
[413 / 479] SwiftCompilerPluginMessageHandling
[414 / 479] SwiftCompilerPluginMessageHandling
[416 / 479] SwiftCompilerPluginMessageHandling
[416 / 479] SwiftSyntaxMacroExpansion
[419 / 479] SwiftCompilerPluginMessageHandling
[423 / 479] SwiftCompilerPluginMessageHandling
[424 / 479] SwiftCompilerPlugin
[429 / 483] SwiftCompilerPlugin
[434 / 484] SwiftCompilerPlugin
[436 / 484] SwiftCompilerPluginMessageHandling
[436 / 484] SwiftSyntax
[436 / 484] SwiftCompilerPluginMessageHandling
[438 / 485] SwiftSyntax
[439 / 486] SwiftSyntax
[441 / 486] SwiftSyntax
[444 / 486] SwiftParser
[448 / 486] SwiftSyntaxMacros
[456 / 486] AnyLanguageModelMacros
[461 / 488] AnyLanguageModelMacros
[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