The Swift Package Index logo.Swift Package Index

Build Information

Failed to build fory, reference v0.17.0 (ad1b28), with Swift 6.2 for Android on 21 Apr 2026 22:24:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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:         android
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-4606859-0":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75026] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (11.38s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (16.23s)
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-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.71s)
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version--11D90AFD9DD3AB2.txt
[5/15] Compiling ForyMacro ForyObjectMacroReadGeneration.swift
[6/15] Emitting module ForyMacro
[7/15] Compiling ForyMacro ForyObjectMacroPrimitiveFastPath.swift
[8/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 |
BUILD FAILURE 6.2 android