The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-extract, reference main (c27fb3), with Swift 6.4 for Android on 2 Nov 2026 07:29:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
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 c27fb3d Fix CI Core Image compatibility and OCR test contention (#11)
Cloned https://github.com/asaptf/swift-extract.git
Revision (git rev-parse @):
c27fb3da750dc3eaa8f135a71772dd6dc1903801
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-54344845-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:1ec638249ee9496bfd8413990a8663326bfd4883adb2b1d6b616fd753c8ff99b
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/9491] Fetching anylanguagemodel
Fetched https://github.com/huggingface/AnyLanguageModel.git (0.76s)
[1/81484] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (4.03s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (5.05s)
Computing version for https://github.com/huggingface/AnyLanguageModel.git
Computed https://github.com/huggingface/AnyLanguageModel.git at 0.8.0 (0.16s)
Fetching https://github.com/mattt/PartialJSONDecoder
Fetching https://github.com/mattt/EventSource
Fetching https://github.com/mattt/JSONSchema
[1/207] Fetching jsonschema
[204/295] Fetching jsonschema, partialjsondecoder
Fetched https://github.com/mattt/JSONSchema (0.37s)
Fetched https://github.com/mattt/PartialJSONDecoder (0.38s)
[1/333] Fetching eventsource
Fetched https://github.com/mattt/EventSource (0.45s)
Computing version for https://github.com/mattt/PartialJSONDecoder
Computed https://github.com/mattt/PartialJSONDecoder at 1.0.1 (0.59s)
Computing version for https://github.com/mattt/JSONSchema
Computed https://github.com/mattt/JSONSchema at 1.3.1 (0.16s)
Fetching https://github.com/apple/swift-collections.git
[1/29448] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.69s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.5.1 (1.85s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.24s)
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/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.5
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/mattt/JSONSchema
Working copy of https://github.com/mattt/JSONSchema resolved at 1.3.1
Creating working copy for https://github.com/mattt/EventSource
Working copy of https://github.com/mattt/EventSource resolved at 1.5.1
Building for debugging...
[Computing dependencies]
[Provisioning 7 / 38]
[Pre-planning 1 / 802]
[Planning deferred tasks]
[167 / 344] EventSource
[172 / 353] InternalCollectionsUtilities
[192 / 353] SwiftSyntax
[194 / 353] PartialJSONDecoder
[204 / 353] SwiftSyntax510
[206 / 354] SwiftSyntax510
[212 / 356] InternalCollectionsUtilities
[216 / 356] InternalCollectionsUtilities
[219 / 356] EventSource
[225 / 357] EventSource
[226 / 368] OrderedCollections
[230 / 377] SwiftSyntax
[230 / 377] PartialJSONDecoder
[233 / 377] OrderedCollections
[237 / 377] PartialJSONDecoder
[238 / 377] SwiftSyntax
[241 / 378] SwiftSyntax
[241 / 378] EventSource
[244 / 379] PartialJSONDecoder
[246 / 379] PartialJSONDecoder
[248 / 379] OrderedCollections
[249 / 379] OrderedCollections-product
[250 / 379] OrderedCollections-product
[251 / 379] OrderedCollections-product
[252 / 379] OrderedCollections
[258 / 379]
[262 / 383] JSONSchema
[267 / 383] OrderedCollections
[268 / 384] OrderedCollections
[270 / 384] OrderedCollections
[270 / 384] SwiftSyntax
[279 / 396] SwiftDiagnostics
[282 / 411] SwiftParser
[283 / 411] SwiftDiagnostics
[284 / 411] SwiftDiagnostics
[291 / 412] JSONSchema
[292 / 412] SwiftBasicFormat
[296 / 412] SwiftBasicFormat
[297 / 412] SwiftParser
[300 / 412] SwiftParser
[304 / 412] SwiftParser
[306 / 412] SwiftDiagnostics
[306 / 412] SwiftParser
[307 / 412] SwiftDiagnostics
[309 / 412] SwiftOperators
[310 / 412] SwiftOperators
[311 / 412] SwiftDiagnostics
[313 / 412] SwiftBasicFormat
[314 / 413] SwiftParserDiagnostics
[316 / 413] SwiftBasicFormat
[319 / 413] SwiftBasicFormat
[320 / 413] JSONSchema
[322 / 413]
[324 / 415]
[325 / 416] SwiftParser
[331 / 435] SwiftParserDiagnostics
[332 / 435] SwiftOperators
[334 / 435] SwiftParserDiagnostics
[343 / 435] SwiftParserDiagnostics
[344 / 435] SwiftSyntaxBuilder
[345 / 435] SwiftSyntaxBuilder
[349 / 435] SwiftOperators
[352 / 435] SwiftOperators
[353 / 435] SwiftOperators
[354 / 435] SwiftOperators
[355 / 435] SwiftOperators
[359 / 445] SwiftSyntaxBuilder
[361 / 445] SwiftSyntaxBuilder
[363 / 447] SwiftSyntaxBuilder
[364 / 447] SwiftSyntaxBuilder
[371 / 447] SwiftSyntaxBuilder
[372 / 447] SwiftParserDiagnostics
[376 / 448] SwiftSyntaxMacros
[379 / 457] SwiftSyntaxMacros
[381 / 457] SwiftSyntaxMacros
[384 / 458] SwiftSyntaxMacros
[389 / 458] SwiftSyntaxMacros
[392 / 459] SwiftSyntaxBuilder
[399 / 469] SwiftSyntaxMacros
[401 / 469] SwiftSyntaxMacros
[403 / 469] SwiftSyntaxMacroExpansion
[404 / 469] SwiftSyntaxMacroExpansion
[413 / 479] SwiftCompilerPluginMessageHandling
[414 / 479] SwiftCompilerPluginMessageHandling
[415 / 479] SwiftSyntaxMacroExpansion
[416 / 479] SwiftCompilerPluginMessageHandling
[417 / 479] SwiftCompilerPluginMessageHandling
[419 / 479] SwiftCompilerPluginMessageHandling
[425 / 480] SwiftSyntaxMacroExpansion
[429 / 483] SwiftSyntaxMacroExpansion
[432 / 483] SwiftCompilerPlugin
[434 / 483] SwiftCompilerPlugin
[435 / 484] SwiftCompilerPlugin
[436 / 484] SwiftCompilerPluginMessageHandling
[438 / 485] SwiftSyntax
[438 / 486] SwiftSyntax
[441 / 486] SwiftSyntax
[444 / 486] SwiftParser
[448 / 486] SwiftSyntaxMacros
[460 / 487]
[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: error: value of type 'String' has no member 'replacingOccurrences'
267 |     private static func escapeString(_ value: String) -> String {
268 |         value
269 |             .replacingOccurrences(of: "\\", with: "\\\\")
    |              `- error: value of type 'String' has no member 'replacingOccurrences'
270 |             .replacingOccurrences(of: "\"", with: "\\\"")
271 |             .replacingOccurrences(of: "\n", with: "\\n")
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/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.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/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.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/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