Build Information
Failed to build swift-extract, reference v0.16.0 (9a4211), with Swift 6.4 for Linux on 30 Sep 2026 18:37:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 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: 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-54344844-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/huggingface/AnyLanguageModel.git
[1/5599] Fetching anylanguagemodel
[5600/85692] Fetching anylanguagemodel, swift-syntax
Fetched https://github.com/huggingface/AnyLanguageModel.git (6.10s)
Fetched https://github.com/swiftlang/swift-syntax (6.13s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (7.37s)
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/JSONSchema
Fetching https://github.com/mattt/PartialJSONDecoder
Fetching https://github.com/mattt/EventSource
[1/303] Fetching eventsource
[162/385] Fetching eventsource, partialjsondecoder
Fetched https://github.com/mattt/EventSource (0.43s)
Fetched https://github.com/mattt/PartialJSONDecoder (0.44s)
[1/207] Fetching jsonschema
Fetched https://github.com/mattt/JSONSchema (0.52s)
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.17s)
Fetching https://github.com/apple/swift-collections.git
[1/28069] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.78s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.5.1 (1.95s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.30s)
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/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/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/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]
[Starting]
[73 / 319] PartialJSONDecoder
[163 / 341] _SwiftSyntaxCShims
[183 / 350] InternalCollectionsUtilities
[190 / 350] PartialJSONDecoder
[190 / 350] EventSource
[201 / 350] PartialJSONDecoder-product
[203 / 351] SwiftSyntax509
[206 / 351] InternalCollectionsUtilities
[209 / 353] SwiftSyntax600
[210 / 353] SwiftSyntax510
[215 / 353] EventSource
[216 / 353] EventSource-product
[217 / 353] EventSource-product
[220 / 353] SwiftSyntax510
[223 / 355]
[226 / 373] OrderedCollections
[228 / 373] SwiftSyntax
[230 / 374] SwiftSyntax
[231 / 375] SwiftSyntax
[232 / 376] SwiftSyntax
[233 / 376] SwiftSyntax
[234 / 376] PartialJSONDecoder
[237 / 376] OrderedCollections
[243 / 376] PartialJSONDecoder
[245 / 376] OrderedCollections
[247 / 376] OrderedCollections-product
[248 / 376] OrderedCollections
[249 / 376] JSONSchema
[255 / 376] EventSource
[257 / 380] OrderedCollections
[259 / 381] OrderedCollections
[267 / 381] EventSource-product
[267 / 381] JSONSchema
[270 / 382] SwiftSyntax
[282 / 400] SwiftDiagnostics
[283 / 409] SwiftParser
[285 / 409] SwiftBasicFormat
[291 / 409] SwiftBasicFormat
[296 / 409] SwiftParser
[298 / 409] SwiftParser
[299 / 409] SwiftParser
[301 / 409] SwiftParser
[305 / 409] SwiftParser
[307 / 409] SwiftDiagnostics
[308 / 409] SwiftDiagnostics
[310 / 409] SwiftDiagnostics
[311 / 409] SwiftOperators
[312 / 409] SwiftDiagnostics
[314 / 409] SwiftDiagnostics
[316 / 409] SwiftBasicFormat
[317 / 410] SwiftBasicFormat
[324 / 430] SwiftParserDiagnostics
[327 / 430] SwiftParserDiagnostics
[333 / 430] SwiftOperators
[337 / 431] SwiftParserDiagnostics
[338 / 431] SwiftSyntaxBuilder
[339 / 431] SwiftParserDiagnostics
[342 / 431] SwiftOperators
[344 / 431] SwiftOperators
[345 / 432] SwiftParser
[346 / 432] SwiftParser
[350 / 432] SwiftOperators
[351 / 432] SwiftOperators
[352 / 432]
[357 / 442] SwiftSyntaxBuilder
[359 / 442] SwiftSyntaxBuilder
[360 / 443] SwiftSyntaxBuilder
[363 / 443] SwiftSyntaxBuilder
[371 / 444]
[374 / 453] SwiftSyntaxMacros
[375 / 453] SwiftSyntaxMacros
[379 / 454] SwiftSyntaxMacros
[386 / 454] SwiftSyntaxMacros-product
[392 / 464] SwiftSyntaxMacroExpansion
[395 / 466] SwiftSyntaxMacroExpansion
[396 / 466] SwiftSyntaxMacros
[398 / 466] SwiftSyntaxMacroExpansion
[400 / 466] SwiftSyntaxBuilder
[401 / 466] SwiftSyntaxMacroExpansion
[410 / 476] SwiftCompilerPluginMessageHandling
[411 / 476] SwiftCompilerPluginMessageHandling
[413 / 476] SwiftCompilerPluginMessageHandling
[414 / 476] SwiftCompilerPluginMessageHandling
[416 / 476] SwiftCompilerPluginMessageHandling
[417 / 476] SwiftCompilerPluginMessageHandling
[424 / 479] SwiftCompilerPluginMessageHandling
[429 / 479] SwiftSyntaxMacroExpansion
[432 / 481] SwiftCompilerPlugin
[433 / 481] SwiftCompilerPluginMessageHandling
[435 / 482] SwiftSyntax
[436 / 483] SwiftSyntax
[438 / 483] SwiftSyntax
[444 / 483] SwiftSyntaxBuilder
[458 / 485] AnyLanguageModelMacros
[466 / 493] AnyLanguageModelMacros
[468 / 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