The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-extract, reference main (9a4211), with Swift 6.4 for Linux on 30 Sep 2026 18:42:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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

Build 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:         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-2":/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/huggingface/AnyLanguageModel.git
Fetching https://github.com/swiftlang/swift-syntax
[1/5599] Fetching anylanguagemodel
[5600/85692] Fetching anylanguagemodel, swift-syntax
Fetched https://github.com/huggingface/AnyLanguageModel.git (6.34s)
Fetched https://github.com/swiftlang/swift-syntax (6.37s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (7.86s)
Computing version for https://github.com/huggingface/AnyLanguageModel.git
Computed https://github.com/huggingface/AnyLanguageModel.git at 0.8.0 (0.22s)
Fetching https://github.com/mattt/PartialJSONDecoder
Fetching https://github.com/mattt/EventSource
Fetching https://github.com/mattt/JSONSchema
[4/303] Fetching eventsource
[2/510] Fetching eventsource, jsonschema
[396/592] Fetching eventsource, jsonschema, partialjsondecoder
Fetched https://github.com/mattt/JSONSchema (0.49s)
[190/385] Fetching eventsource, partialjsondecoder
Fetched https://github.com/mattt/EventSource (0.49s)
[69/82] Fetching partialjsondecoder
Fetched https://github.com/mattt/PartialJSONDecoder (0.54s)
Computing version for https://github.com/mattt/PartialJSONDecoder
Computed https://github.com/mattt/PartialJSONDecoder at 1.0.1 (0.76s)
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.46s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.5.1 (1.72s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.52s)
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/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/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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 802]
[Planning 608 / 802]
[Planning deferred tasks]
[Starting]
[97 / 319] InternalCollectionsUtilities
[159 / 329] SwiftSyntax509
[166 / 350] EventSource
[183 / 350] SwiftSyntax600
[185 / 350] InternalCollectionsUtilities
[196 / 350] InternalCollectionsUtilities
[196 / 350] SwiftSyntax509
[199 / 351] EventSource
[203 / 352] SwiftSyntax510
[212 / 353] SwiftSyntax510
[214 / 353] InternalCollectionsUtilities
[215 / 353] EventSource
[217 / 353] EventSource-product
[218 / 353] EventSource-product
[221 / 353] SwiftSyntax509
[222 / 354]
[223 / 356] SwiftSyntax
[227 / 374] OrderedCollections
[228 / 374] SwiftSyntax
[230 / 374] SwiftSyntax
[231 / 375] SwiftSyntax
[232 / 376] SwiftSyntax
[233 / 376] SwiftSyntax
[234 / 376] OrderedCollections
[242 / 376] PartialJSONDecoder
[243 / 376] PartialJSONDecoder
[244 / 376] OrderedCollections-product
[245 / 376] OrderedCollections-product
[246 / 376] OrderedCollections-product
[248 / 376] OrderedCollections
[249 / 376] OrderedCollections
[249 / 376] JSONSchema
[252 / 376] InternalCollectionsUtilities
[256 / 377]
[257 / 380] JSONSchema
[260 / 380] JSONSchema
[264 / 380] JSONSchema
[267 / 381] OrderedCollections
[267 / 381] JSONSchema
[270 / 382] SwiftSyntax
[278 / 385] SwiftBasicFormat
[283 / 409] SwiftParser
[284 / 409] SwiftDiagnostics
[286 / 409] SwiftDiagnostics
[290 / 409] SwiftBasicFormat
[292 / 409] SwiftBasicFormat
[294 / 409] SwiftParser
[300 / 409] SwiftParser
[304 / 409] SwiftParser
[306 / 409] SwiftParser
[307 / 409] SwiftDiagnostics
[308 / 409] SwiftOperators
[309 / 409] SwiftOperators
[310 / 409] SwiftDiagnostics-product
[312 / 409] SwiftDiagnostics
[314 / 409] SwiftBasicFormat
[315 / 410] SwiftDiagnostics
[317 / 410] SwiftDiagnostics
[318 / 410] SwiftParserDiagnostics
[319 / 410] SwiftBasicFormat
[323 / 430] SwiftOperators
[324 / 430] SwiftParserDiagnostics
[326 / 431] SwiftParserDiagnostics
[332 / 431] SwiftOperators
[333 / 431] SwiftOperators
[333 / 431] SwiftParser
[339 / 432] SwiftParserDiagnostics
[341 / 432] SwiftParserDiagnostics
[342 / 432] SwiftParser
[343 / 432] SwiftOperators
[346 / 432] SwiftOperators
[348 / 432] SwiftOperators
[349 / 432] SwiftOperators
[350 / 432] SwiftOperators
[351 / 432] SwiftOperators
[352 / 432] SwiftBasicFormat
[352 / 432]
[356 / 442] SwiftSyntaxBuilder
[362 / 442] SwiftSyntaxBuilder
[363 / 443] SwiftSyntaxMacros
[364 / 443] SwiftParserDiagnostics
[366 / 444] SwiftSyntaxBuilder
[367 / 444] SwiftSyntaxBuilder
[368 / 444] SwiftSyntaxBuilder
[369 / 444] SwiftParserDiagnostics
[370 / 444] SwiftOperators
[372 / 445]
[375 / 454] SwiftSyntaxMacros
[378 / 454] SwiftSyntaxBuilder
[383 / 454] SwiftSyntaxMacros-product
[388 / 455]
[391 / 464] SwiftSyntaxMacroExpansion
[392 / 464] SwiftSyntaxMacroExpansion
[393 / 464] SwiftSyntaxMacroExpansion
[394 / 465] SwiftSyntaxMacros
[397 / 465] SwiftSyntaxMacroExpansion
[403 / 465] SwiftSyntaxMacroExpansion
[403 / 465] SwiftSyntaxBuilder
[405 / 466] SwiftSyntaxBuilder
[405 / 466] SwiftCompilerPluginMessageHandling
[409 / 476] SwiftCompilerPluginMessageHandling
[410 / 476] SwiftCompilerPluginMessageHandling
[412 / 476] SwiftCompilerPluginMessageHandling
[413 / 476] SwiftCompilerPluginMessageHandling
[415 / 477] SwiftSyntaxMacroExpansion
[416 / 477] SwiftCompilerPluginMessageHandling
[422 / 477] SwiftCompilerPluginMessageHandling
[423 / 477] SwiftCompilerPlugin
[426 / 480] SwiftCompilerPlugin
[431 / 480] SwiftCompilerPluginMessageHandling
[431 / 480] SwiftCompilerPlugin
[431 / 481] SwiftCompilerPlugin
[432 / 481] SwiftCompilerPlugin
[433 / 481] SwiftCompilerPluginMessageHandling
[435 / 482] SwiftSyntax
[436 / 483] SwiftSyntax
[438 / 483] SwiftSyntax
[441 / 483] SwiftParser
[444 / 483] SwiftSyntaxBuilder
[447 / 483] SwiftCompilerPluginMessageHandling
[458 / 485] ExtractMacros
[466 / 493] ExtractMacros
[466 / 493] AnyLanguageModelMacros
[467 / 493] AnyLanguageModelMacros
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:
/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