Build Information
Failed to build MetaTextKit, reference main (fc0a26), with Swift 6.2 for Wasm on 12 Dec 2025 08:06:28 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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/TwidereProject/MetaTextKit.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/TwidereProject/MetaTextKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at fc0a263 fix: text view cursor disappear issue
Cloned https://github.com/TwidereProject/MetaTextKit.git
Revision (git rev-parse @):
fc0a2634b395ec778be365ecc80c35af100920e4
SUCCESS checkout https://github.com/TwidereProject/MetaTextKit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/TwidereProject/MetaTextKit.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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/SDWebImage/SDWebImage.git
Fetching https://github.com/DimensionDev/Fuzi.git
Fetching https://github.com/TwidereProject/twitter-text.git
[1/624] Fetching twitter-text
[83/1456] Fetching twitter-text, fuzi
[1457/27348] Fetching twitter-text, fuzi, sdwebimage
Fetched https://github.com/DimensionDev/Fuzi.git from cache (0.24s)
[2437/26516] Fetching twitter-text, sdwebimage
Fetched https://github.com/TwidereProject/twitter-text.git from cache (0.27s)
[3625/25892] Fetching sdwebimage
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (1.75s)
Computing version for https://github.com/TwidereProject/twitter-text.git
Computed https://github.com/TwidereProject/twitter-text.git at 0.0.6 (2.12s)
Fetching https://github.com/nysander/UnicodeURL.git
[1/125] Fetching unicodeurl
Fetched https://github.com/nysander/UnicodeURL.git from cache (0.19s)
Computing version for https://github.com/DimensionDev/Fuzi.git
Computed https://github.com/DimensionDev/Fuzi.git at 3.2.0 (0.56s)
Computing version for https://github.com/nysander/UnicodeURL.git
Computed https://github.com/nysander/UnicodeURL.git at 0.1.0 (0.36s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.5 (0.36s)
Creating working copy for https://github.com/DimensionDev/Fuzi.git
Working copy of https://github.com/DimensionDev/Fuzi.git resolved at 3.2.0
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.21.5
Creating working copy for https://github.com/TwidereProject/twitter-text.git
Working copy of https://github.com/TwidereProject/twitter-text.git resolved at 0.0.6
Creating working copy for https://github.com/nysander/UnicodeURL.git
Working copy of https://github.com/nysander/UnicodeURL.git resolved at 0.1.0
Building for debugging...
[0/92] Write sources
[8/92] Copying v1.json
[8/92] Copying PrivacyInfo.xcprivacy
[8/92] Copying v2.json
[11/92] Write sources
[12/92] Copying v3.json
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[13/92] Compiling SDWebImage resource_bundle_accessor.m
[13/92] Compiling UIColor+SDHexString.m
[13/92] Compiling IDNSDK nameprep.c
[13/92] Compiling IDNSDK util.c
[13/92] Compiling IDNSDK race.c
[13/92] Compiling IDNSDK puny.c
[13/92] Compiling IDNSDK toxxx.c
[13/92] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm