Build Information
Failed to build swift-extract, reference main (c27fb3), with Swift 6.4 for Linux on 2 Nov 2026 07:24:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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: linux
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-53886769-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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ad3afec1d6cff9a88dbd06b5b923cd7d46d6f55cc44d4c49fe48cde94ee812a7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/huggingface/AnyLanguageModel.git
[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 (3.51s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (4.52s)
Computing version for https://github.com/huggingface/AnyLanguageModel.git
Computed https://github.com/huggingface/AnyLanguageModel.git at 0.8.0 (0.15s)
Fetching https://github.com/mattt/PartialJSONDecoder
Fetching https://github.com/mattt/EventSource
Fetching https://github.com/mattt/JSONSchema
[1/207] Fetching jsonschema
[204/540] Fetching jsonschema, eventsource
[428/628] Fetching jsonschema, eventsource, partialjsondecoder
Fetched https://github.com/mattt/EventSource (0.46s)
Fetched https://github.com/mattt/PartialJSONDecoder (0.46s)
Fetched https://github.com/mattt/JSONSchema (0.46s)
Computing version for https://github.com/mattt/PartialJSONDecoder
Computed https://github.com/mattt/PartialJSONDecoder at 1.0.1 (0.69s)
Computing version for https://github.com/mattt/JSONSchema
Computed https://github.com/mattt/JSONSchema at 1.3.1 (0.13s)
Fetching https://github.com/apple/swift-collections.git
[1/29448] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.36s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.5.1 (1.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.23s)
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/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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.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/huggingface/AnyLanguageModel.git
Working copy of https://github.com/huggingface/AnyLanguageModel.git resolved at 0.8.0
Building for debugging...
[Computing dependencies]
[Provisioning 24 / 38]
[Pre-planning 1 / 802]
[Planning deferred tasks]
[162 / 331] _SwiftSyntaxCShims
[183 / 350] SwiftSyntax509
[184 / 350] PartialJSONDecoder
[197 / 350] EventSource
[211 / 353] OrderedCollections
[214 / 353] InternalCollectionsUtilities
[217 / 353] EventSource-product
[223 / 355] SwiftSyntax
[227 / 374] SwiftSyntax
[230 / 374] SwiftSyntax
[232 / 375] SwiftSyntax
[232 / 376] OrderedCollections
[234 / 376] OrderedCollections
[242 / 376] PartialJSONDecoder
[244 / 376] OrderedCollections
[245 / 376] OrderedCollections
[246 / 376] OrderedCollections
[247 / 376] OrderedCollections
[250 / 376] OrderedCollections-product
[254 / 376] InternalCollectionsUtilities
[258 / 380] JSONSchema
[259 / 381] OrderedCollections
[262 / 381] JSONSchema
[267 / 381]
[267 / 381] JSONSchema
[270 / 382] SwiftSyntax
[282 / 400] SwiftDiagnostics
[283 / 409] SwiftParser
[295 / 409] SwiftParser
[296 / 409] SwiftParser
[297 / 409] SwiftParser
[299 / 409] SwiftParser
[300 / 409] SwiftParser
[302 / 409] SwiftParser
[306 / 409] SwiftParser
[308 / 409] SwiftDiagnostics
[309 / 409] SwiftDiagnostics
[310 / 409] SwiftDiagnostics
[312 / 409] SwiftOperators
[316 / 409] SwiftBasicFormat
[317 / 409] SwiftParserDiagnostics
[321 / 420] SwiftParserDiagnostics
[322 / 420] SwiftDiagnostics
[323 / 421] SwiftParserDiagnostics
[324 / 421] SwiftParserDiagnostics
[328 / 421] SwiftParserDiagnostics
[333 / 422] SwiftParserDiagnostics
[337 / 422]
[341 / 434] SwiftSyntaxBuilder
[342 / 442] SwiftSyntaxBuilder
[344 / 442] SwiftSyntaxBuilder
[347 / 442] SwiftParserDiagnostics
[348 / 442] SwiftOperators
[353 / 442] SwiftSyntaxBuilder
[356 / 442] SwiftSyntaxBuilder
[361 / 443] SwiftSyntaxMacros
[362 / 443] SwiftSyntaxMacros
[364 / 443] SwiftSyntaxBuilder-product
[366 / 443] SwiftOperators
[368 / 443] SwiftOperators
[370 / 443] SwiftOperators
[372 / 445]
[377 / 454] SwiftSyntaxMacros
[378 / 454] SwiftSyntaxMacros
[380 / 454] SwiftSyntaxMacros
[387 / 455] SwiftSyntaxMacros-product
[393 / 465] SwiftSyntaxMacroExpansion
[395 / 466] SwiftSyntaxMacros
[396 / 466] SwiftSyntaxMacros
[399 / 466] SwiftSyntaxMacroExpansion
[400 / 466] SwiftSyntaxMacroExpansion
[407 / 467] SwiftCompilerPluginMessageHandling
[411 / 476] SwiftCompilerPluginMessageHandling
[412 / 476] SwiftCompilerPluginMessageHandling
[413 / 476] SwiftCompilerPluginMessageHandling
[414 / 476] SwiftSyntaxMacroExpansion
[416 / 476] SwiftCompilerPluginMessageHandling
[418 / 477] SwiftCompilerPluginMessageHandling
[431 / 480] SwiftCompilerPlugin
[433 / 481] SwiftCompilerPluginMessageHandling
[435 / 482] SwiftSyntax
[438 / 483] SwiftSyntax
[445 / 483]
[458 / 485] AnyLanguageModelMacros
[466 / 493] 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:
/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 /usr/lib/swift/host/plugins/testing\#/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 /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /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 linux