Build Information
Failed to build MetaTextKit, reference main (fc0a26), with Swift 6.1 for Android on 12 Dec 2025 08:07:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/TwidereProject/MetaTextKit.git
https://github.com/TwidereProject/MetaTextKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "fuzi",
"requirement" : {
"range" : [
{
"lower_bound" : "3.2.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/DimensionDev/Fuzi.git"
},
{
"identity" : "sdwebimage",
"requirement" : {
"range" : [
{
"lower_bound" : "5.20.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SDWebImage/SDWebImage.git"
},
{
"identity" : "twitter-text",
"requirement" : {
"exact" : [
"0.0.6"
]
},
"type" : "sourceControl",
"url" : "https://github.com/TwidereProject/twitter-text.git"
}
],
"manifest_display_name" : "MetaTextKit",
"name" : "MetaTextKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "MetaTextKit",
"targets" : [
"MetaTextKit",
"MetaTextArea",
"MetaLabel",
"MastodonMeta",
"TwitterMeta",
"Meta"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TwitterMetaTests",
"module_type" : "SwiftTarget",
"name" : "TwitterMetaTests",
"path" : "Tests/TwitterMetaTests",
"sources" : [
"TwitterMetaTests+RichText.swift",
"TwitterMetaTests.swift"
],
"target_dependencies" : [
"TwitterMeta"
],
"type" : "test"
},
{
"c99name" : "TwitterMeta",
"module_type" : "SwiftTarget",
"name" : "TwitterMeta",
"path" : "Sources/TwitterMeta",
"product_dependencies" : [
"TwitterText"
],
"product_memberships" : [
"MetaTextKit"
],
"sources" : [
"SwiftTwitterTextProvider.swift",
"TwitterContent+Meta.swift",
"TwitterContent.swift",
"TwitterMetaContent+Document.swift",
"TwitterMetaContent+Text.swift",
"TwitterMetaContent.swift",
"TwitterTextProvider.swift",
"import.swift"
],
"target_dependencies" : [
"Meta"
],
"type" : "library"
},
{
"c99name" : "MetaTextKit",
"module_type" : "SwiftTarget",
"name" : "MetaTextKit",
"path" : "Sources/MetaTextKit",
"product_memberships" : [
"MetaTextKit"
],
"sources" : [
"MetaLayoutManager.swift",
"MetaNSAttributedStringKey.swift",
"MetaText+NSLayoutManagerDelegate.swift",
"MetaText.swift",
"MetaTextStorage.swift",
"MetaTextView.swift",
"import.swift"
],
"target_dependencies" : [
"Meta"
],
"type" : "library"
},
{
"c99name" : "MetaTextArea",
"module_type" : "SwiftTarget",
"name" : "MetaTextArea",
"path" : "Sources/MetaTextArea",
"product_memberships" : [
"MetaTextKit"
],
"sources" : [
"MetaParagraphTextLayoutFragment.swift",
"MetaTextAreaLayer.swift",
"MetaTextAreaView+AccessibilityContainer.swift",
"MetaTextAreaView+AccessibilityElement.swift",
"MetaTextAreaView+MetaContent.swift",
"MetaTextAreaView.swift",
"MetaTextLayoutFragmentLayer.swift"
],
"target_dependencies" : [
"Meta",
"MetaTextKit"
],
"type" : "library"
},
{
"c99name" : "MetaLabel",
"module_type" : "SwiftTarget",
"name" : "MetaLabel",
"path" : "Sources/MetaLabel",
"product_memberships" : [
"MetaTextKit"
],
"sources" : [
"MetaLabel.swift"
],
"target_dependencies" : [
"MetaTextArea"
],
"type" : "library"
},
{
"c99name" : "Meta",
"module_type" : "SwiftTarget",
"name" : "Meta",
"path" : "Sources/Meta",
"product_dependencies" : [
"SDWebImage"
],
"product_memberships" : [
"MetaTextKit"
],
"sources" : [
"AnimatedImageMetaAttachment/AnimatedImageMetaAttachment.swift",
"AnimatedImageMetaAttachment/AnimatedImageMetaAttachmentView.swift",
"AnimatedImageMetaAttachment/AnimatedImageMetaAttachmentViewProvider.swift",
"MediaMetaAttachment/MediaMetaAttachment.swift",
"MediaMetaAttachment/MediaMetaAttachmentView.swift",
"MediaMetaAttachment/MediaMetaAttachmentViewProvider.swift",
"Meta+Entity.swift",
"Meta.swift",
"MetaAttachment.swift",
"MetaContent.swift",
"MetaProvider.swift",
"PlaintextContent.swift",
"PlaintextMetaContent.swift",
"RawContent.swift"
],
"type" : "library"
},
{
"c99name" : "MastodonMetaTests",
"module_type" : "SwiftTarget",
"name" : "MastodonMetaTests",
"path" : "Tests/MastodonMetaTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/MastodonMetaTests/Resources/custom-emojis.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"MastodonMetaTests.swift"
],
"target_dependencies" : [
"MastodonMeta"
],
"type" : "test"
},
{
"c99name" : "MastodonMeta",
"module_type" : "SwiftTarget",
"name" : "MastodonMeta",
"path" : "Sources/MastodonMeta",
"product_dependencies" : [
"Fuzi"
],
"product_memberships" : [
"MetaTextKit"
],
"sources" : [
"MastodonContent.swift",
"MastodonMetaContent+Document.swift",
"MastodonMetaContent+Node.swift",
"MastodonMetaContent+Text.swift",
"MastodonMetaContent.swift",
"import.swift"
],
"target_dependencies" : [
"Meta"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/SDWebImage/SDWebImage.git
Fetching https://github.com/TwidereProject/twitter-text.git
Fetching https://github.com/DimensionDev/Fuzi.git
[1/624] Fetching twitter-text
[182/1456] Fetching twitter-text, fuzi
Fetched https://github.com/DimensionDev/Fuzi.git from cache (0.23s)
[1/25892] Fetching sdwebimage
Fetched https://github.com/TwidereProject/twitter-text.git from cache (2.26s)
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (2.31s)
Computing version for https://github.com/TwidereProject/twitter-text.git
Computed https://github.com/TwidereProject/twitter-text.git at 0.0.6 (2.90s)
Fetching https://github.com/nysander/UnicodeURL.git
[1/125] Fetching unicodeurl
Fetched https://github.com/nysander/UnicodeURL.git from cache (0.18s)
Computing version for https://github.com/DimensionDev/Fuzi.git
Computed https://github.com/DimensionDev/Fuzi.git at 3.2.0 (0.76s)
Computing version for https://github.com/nysander/UnicodeURL.git
Computed https://github.com/nysander/UnicodeURL.git at 0.1.0 (0.57s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.5 (0.61s)
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/nysander/UnicodeURL.git
Working copy of https://github.com/nysander/UnicodeURL.git resolved at 0.1.0
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/TwidereProject/twitter-text.git
Working copy of https://github.com/TwidereProject/twitter-text.git resolved at 0.0.6
Building for debugging...
[0/92] Write sources
[1/92] Copying v3.json
[2/92] Copying v2.json
[5/92] Write sources
[7/92] Copying v1.json
[7/92] Write sources
[7/92] Copying PrivacyInfo.xcprivacy
[7/92] Write sources
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/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 IDNSDK nameprep.c
[13/92] Compiling IDNSDK util.c
[13/92] Compiling IDNSDK race.c
[13/92] Compiling IDNSDK toxxx.c
[13/92] Compiling IDNSDK puny.c
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2[13/92] Compiling UIColor+SDHexString.m
[13/92] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/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.
[0/79] Compiling UIColor+SDHexString.m
[0/79] Compiling SDWebImage resource_bundle_accessor.m
[0/79] Compiling IDNSDK util.c
[0/79] Compiling IDNSDK nameprep.c
[0/79] Compiling IDNSDK race.c
[0/79] Compiling IDNSDK puny.c
[0/79] Compiling IDNSDK toxxx.c
[0/79] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android