The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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.2-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.2
Building package at path:  $PWD
https://github.com/asaptf/swift-extract.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:813c8e8a77634154d7d247705cb89167ff1c866446abbe321f542129dc4cf5a7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-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 from cache (6.77s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.84s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (8.27s)
Computing version for https://github.com/huggingface/AnyLanguageModel.git
Computed https://github.com/huggingface/AnyLanguageModel.git at 0.8.0 (0.19s)
Fetching https://github.com/mattt/EventSource
Fetching https://github.com/mattt/PartialJSONDecoder
Fetching https://github.com/mattt/JSONSchema
[1/207] Fetching jsonschema
[30/289] Fetching jsonschema, partialjsondecoder
[245/592] Fetching jsonschema, partialjsondecoder, eventsource
Fetched https://github.com/mattt/JSONSchema from cache (0.52s)
[307/385] Fetching partialjsondecoder, eventsource
Fetched https://github.com/mattt/PartialJSONDecoder from cache (0.53s)
Fetched https://github.com/mattt/EventSource from cache (0.53s)
Computing version for https://github.com/mattt/PartialJSONDecoder
Computed https://github.com/mattt/PartialJSONDecoder at 1.0.1 (0.68s)
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 from cache (2.79s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.5.1 (2.98s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.35s)
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
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/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.1
Creating working copy for https://github.com/mattt/EventSource
Working copy of https://github.com/mattt/EventSource resolved at 1.5.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.39s)
Building for debugging...
[0/34] Write sources
[17/34] Write swift-version-24593BA9C3E375BF.txt
[19/118] Emitting module InternalCollectionsUtilities
[20/121] Emitting module PartialJSONDecoder
[21/121] Emitting module EventSource
[22/121] Compiling AnyLanguageModelMacros Plugin.swift
[23/121] Emitting module ExtractMacros
[24/121] Compiling EventSource AsyncSequence+Events.swift
[25/121] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[26/121] Compiling InternalCollectionsUtilities _SortedCollection.swift
[27/121] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[28/121] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[29/121] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[30/121] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[31/121] Compiling EventSource EventSource+AsyncHTTPClient.swift
[32/121] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[33/121] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[34/121] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[35/121] Compiling InternalCollectionsUtilities Span+Extras.swift
[36/121] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[37/121] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[38/121] Compiling InternalCollectionsUtilities Debugging.swift
[39/121] Compiling InternalCollectionsUtilities Descriptions.swift
[40/121] Emitting module InternalCollectionsUtilities
[41/121] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[42/121] Compiling InternalCollectionsUtilities Integer rank.swift
[43/121] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[44/121] Compiling InternalCollectionsUtilities UInt+reversed.swift
[49/124] Compiling EventSource AsyncEventsSequence.swift
[50/124] Emitting module EventSource
[51/124] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[52/124] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[53/124] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[54/124] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[55/124] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[56/124] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[57/124] Compiling InternalCollectionsUtilities MutableRef.swift
[62/124] Compiling ExtractMacros 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")
[63/124] Compiling ExtractMacros Plugin.swift
[64/124] Compiling ExtractMacros GuideMacro.swift
[65/124] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[81/124] Compiling EventSource AsyncEventsSequence.swift
[82/124] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[83/124] Compiling InternalCollectionsUtilities String+Padding.swift
[84/124] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[85/124] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[90/124] Compiling EventSource EventSource+AsyncHTTPClient.swift
BUILD FAILURE 6.2 linux