Build Information
Failed to build ContentstackUtils, reference v1.5.0 (a02d89), with Swift 6.1 for Android on 6 Apr 2026 13:53:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/contentstack/contentstack-utils-swift.git
Reference: v1.5.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/contentstack/contentstack-utils-swift
* tag v1.5.0 -> FETCH_HEAD
HEAD is now at a02d898 Merge pull request #38 from contentstack/staging
Cloned https://github.com/contentstack/contentstack-utils-swift.git
Revision (git rev-parse @):
a02d898389cc65f7e30efb98ae3e4be27c65c73c
SUCCESS checkout https://github.com/contentstack/contentstack-utils-swift.git at v1.5.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/contentstack/contentstack-utils-swift.git
https://github.com/contentstack/contentstack-utils-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "ContentstackUtils",
"name" : "ContentstackUtils",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "ContentstackUtils",
"targets" : [
"ContentstackUtils"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "libxml2",
"module_type" : "SystemLibraryTarget",
"name" : "libxml2",
"path" : "Modules",
"product_memberships" : [
"ContentstackUtils"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "ContentstackUtilsTests",
"module_type" : "SwiftTarget",
"name" : "ContentstackUtilsTests",
"path" : "Tests/ContentstackUtilsTests",
"sources" : [
"Constants.swift",
"ContentBlock.swift",
"ContentstackUtilsArrayTest.swift",
"ContentstackUtilsCustomRendertest.swift",
"ContentstackUtilsJsonToHtmlTest.swift",
"ContentstackUtilsTests.swift",
"CustomRenderOptionMock.swift",
"Decodable.swift",
"DefaultRenderTests.swift",
"EmbededModelMock.swift",
"GQLJsonRTE.swift",
"GQLJsonToHtml.swift",
"JsonNodes.swift",
"JsonNodesHtmlResults.swift",
"MarkTypeTest.swift",
"MetadataTests.swift",
"NodeParser.swift",
"NodeTypeTest.swift",
"StringExtensionTests.swift",
"TestClient.swift",
"VariantUtilityTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ContentstackUtils"
],
"type" : "test"
},
{
"c99name" : "ContentstackUtils",
"module_type" : "SwiftTarget",
"name" : "ContentstackUtils",
"path" : "Sources",
"product_memberships" : [
"ContentstackUtils"
],
"sources" : [
"ContentstackUtils/ConnectionNode.swift",
"ContentstackUtils/ContentstackUtils.swift",
"ContentstackUtils/Decodable.swift",
"ContentstackUtils/Edges.swift",
"ContentstackUtils/EmbedItemType.swift",
"ContentstackUtils/EntryEmbedded.swift",
"ContentstackUtils/GQLEmbededAsset.swift",
"ContentstackUtils/GQLEmbededEntry.swift",
"ContentstackUtils/JSONNode.swift",
"ContentstackUtils/JSONNodes.swift",
"ContentstackUtils/MarkType.swift",
"ContentstackUtils/Metadata.swift",
"ContentstackUtils/Node.swift",
"ContentstackUtils/NodeType.swift",
"ContentstackUtils/Option.swift",
"ContentstackUtils/String+Extension.swift",
"ContentstackUtils/StyleType.swift",
"ContentstackUtils/TextNode.swift",
"Kanna/CSS.swift",
"Kanna/Deprecated.swift",
"Kanna/Kanna.swift",
"Kanna/libxmlHTMLDocument.swift",
"Kanna/libxmlHTMLNode.swift",
"Kanna/libxmlParserOption.swift"
],
"target_dependencies" : [
"libxml2"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.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 swiftpackageindex/spi-images
Digest: sha256:8d42880410d691f231f1a6445d3941a4c9d6c7af65062a9750a54d2059944963
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/24] Emitting module ContentstackUtils
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[4/27] Compiling ContentstackUtils GQLEmbededAsset.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[5/27] Compiling ContentstackUtils GQLEmbededEntry.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[6/27] Compiling ContentstackUtils JSONNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[7/27] Compiling ContentstackUtils JSONNodes.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[8/27] Compiling ContentstackUtils MarkType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[9/27] Compiling ContentstackUtils Metadata.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[10/27] Compiling ContentstackUtils String+Extension.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[11/27] Compiling ContentstackUtils StyleType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[12/27] Compiling ContentstackUtils TextNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[13/27] Compiling ContentstackUtils Node.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[14/27] Compiling ContentstackUtils NodeType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[15/27] Compiling ContentstackUtils Option.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[16/27] Compiling ContentstackUtils Edges.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[17/27] Compiling ContentstackUtils EmbedItemType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[18/27] Compiling ContentstackUtils EntryEmbedded.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[19/27] Compiling ContentstackUtils ConnectionNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[20/27] Compiling ContentstackUtils ContentstackUtils.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[21/27] Compiling ContentstackUtils Decodable.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[22/27] Compiling ContentstackUtils CSS.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[23/27] Compiling ContentstackUtils Deprecated.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[24/27] Compiling ContentstackUtils Kanna.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[25/27] Compiling ContentstackUtils libxmlHTMLDocument.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[26/27] Compiling ContentstackUtils libxmlHTMLNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[27/27] Compiling ContentstackUtils libxmlParserOption.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:8d42880410d691f231f1a6445d3941a4c9d6c7af65062a9750a54d2059944963
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/23] Compiling ContentstackUtils Edges.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[3/23] Compiling ContentstackUtils EmbedItemType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[4/23] Compiling ContentstackUtils EntryEmbedded.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[5/26] Compiling ContentstackUtils JSONNodes.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[6/26] Compiling ContentstackUtils MarkType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[7/26] Compiling ContentstackUtils Metadata.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[8/26] Compiling ContentstackUtils GQLEmbededAsset.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[9/26] Compiling ContentstackUtils GQLEmbededEntry.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[10/26] Compiling ContentstackUtils JSONNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[11/26] Compiling ContentstackUtils Node.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[12/26] Compiling ContentstackUtils NodeType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[13/26] Compiling ContentstackUtils Option.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/26] Emitting module ContentstackUtils
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[15/26] Compiling ContentstackUtils ConnectionNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[16/26] Compiling ContentstackUtils ContentstackUtils.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[17/26] Compiling ContentstackUtils Decodable.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[18/26] Compiling ContentstackUtils libxmlHTMLDocument.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[19/26] Compiling ContentstackUtils libxmlHTMLNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[20/26] Compiling ContentstackUtils libxmlParserOption.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[21/26] Compiling ContentstackUtils CSS.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[22/26] Compiling ContentstackUtils Deprecated.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[23/26] Compiling ContentstackUtils Kanna.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[24/26] Compiling ContentstackUtils String+Extension.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[25/26] Compiling ContentstackUtils StyleType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
[26/26] Compiling ContentstackUtils TextNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
24 | */
25 | import Foundation
26 | import libxml2
| `- error: no such module 'libxml2'
27 |
28 | typealias AKRegularExpression = NSRegularExpression
BUILD FAILURE 6.1 android