The Swift Package Index logo.Swift Package Index

Build Information

Failed to build fory, reference v0.17.0 (ad1b28), with Swift 6.2 for Linux on 21 Apr 2026 22:00:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apache/fory.git
Reference: v0.17.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/apache/fory
 * tag               v0.17.0    -> FETCH_HEAD
HEAD is now at ad1b286 bump version to 0.17.0
Cloned https://github.com/apache/fory.git
Revision (git rev-parse @):
ad1b286ab61758d4a96618d7e7d0eea9a3c0dc9b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apache/fory.git at v0.17.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apache/fory.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:0ddb100795e64f71518020a73ad8441aeb43832ede7f1202ae7f8de93664f90d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/74987] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.88s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (14.14s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.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.70s)
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling ForyMacro ForyObjectMacroReadGeneration.swift
[6/15] Compiling ForyMacro ForyObjectMacro.swift
/host/spi-builder-workspace/swift/Sources/ForyMacro/ForyObjectMacro.swift:1547:10: error: value of type 'String' has no member 'replacingOccurrences'
1545 |
1546 | func trimType(_ type: String) -> String {
1547 |     type.replacingOccurrences(of: " ", with: "")
     |          `- error: value of type 'String' has no member 'replacingOccurrences'
1548 | }
1549 |
[7/15] Emitting module ForyMacro
[8/15] Compiling ForyMacro ForyObjectMacroPrimitiveFastPath.swift
BUILD FAILURE 6.2 linux