Build Information
Failed to build fory, reference main (a88a8a), with Swift 6.2 for Wasm on 1 May 2026 07:10:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apache/fory.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/apache/fory
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a88a8a6 feat(go): support nested field annotation type specs (#3640)
Cloned https://github.com/apache/fory.git
Revision (git rev-parse @):
a88a8a63a1fd45922099b2d02f09cfb9334079a1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apache/fory.git at main
========================================
Build
========================================
Selected platform: wasm
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-3":/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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75037] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (15.84s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (21.10s)
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.68s)
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling ForyMacro ForyObjectMacro.swift
/host/spi-builder-workspace/swift/Sources/ForyMacro/ForyObjectMacro.swift:2498:10: error: value of type 'String' has no member 'replacingOccurrences'
2496 |
2497 | func trimType(_ type: String) -> String {
2498 | type.replacingOccurrences(of: " ", with: "")
| `- error: value of type 'String' has no member 'replacingOccurrences'
2499 | }
2500 |
[6/15] Compiling ForyMacro ForyObjectMacroPrimitiveFastPath.swift
[7/15] Emitting module ForyMacro
[8/15] Compiling ForyMacro ForyObjectMacroReadGeneration.swift
BUILD FAILURE 6.2 wasm