The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ContentstackSwift, reference v2.5.1 (e0063f), with Swift 6.2 for Wasm on 17 Aug 2026 11:35:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/contentstack/contentstack-swift.git
Reference: v2.5.1
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-swift
 * tag               v2.5.1     -> FETCH_HEAD
HEAD is now at e0063ff Merge pull request #155 from contentstack/development
Cloned https://github.com/contentstack/contentstack-swift.git
Revision (git rev-parse @):
e0063ff151500e0a010e8826c3356171509be064
SUCCESS checkout https://github.com/contentstack/contentstack-swift.git at v2.5.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/contentstack/contentstack-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:70428a4f4110aef5b17a27427e965f31cf3855e8cf1dfdc416ed61c780337965
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/contentstack/contentstack-utils-swift.git
Fetching https://github.com/contentstack/contentstack-swift-dvr.git
[1/921] Fetching contentstack-swift-dvr
[922/1767] Fetching contentstack-swift-dvr, contentstack-utils-swift
Fetched https://github.com/contentstack/contentstack-swift-dvr.git from cache (0.55s)
Fetched https://github.com/contentstack/contentstack-utils-swift.git from cache (0.55s)
Computing version for https://github.com/contentstack/contentstack-swift-dvr.git
Computed https://github.com/contentstack/contentstack-swift-dvr.git at 1.0.0 (0.72s)
Computing version for https://github.com/contentstack/contentstack-utils-swift.git
Computed https://github.com/contentstack/contentstack-utils-swift.git at 1.3.4 (0.17s)
Creating working copy for https://github.com/contentstack/contentstack-utils-swift.git
Working copy of https://github.com/contentstack/contentstack-utils-swift.git resolved at 1.3.4
Creating working copy for https://github.com/contentstack/contentstack-swift-dvr.git
Working copy of https://github.com/contentstack/contentstack-swift-dvr.git resolved at 1.0.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/25] Emitting module ContentstackUtils
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils GQLEmbededAsset.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils GQLEmbededEntry.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils JSONNode.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils String+Extension.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils StyleType.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils TextNode.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils ConnectionNode.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils ContentstackUtils.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils Decodable.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils libxmlHTMLDocument.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils libxmlHTMLNode.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils libxmlParserOption.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils Edges.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils EmbedItemType.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils EntryEmbedded.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils Node.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils NodeType.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils Option.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils JSONNodes.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils MarkType.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils Metadata.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils CSS.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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/28] Compiling ContentstackUtils Deprecated.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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
[28/28] Compiling ContentstackUtils Kanna.swift
/host/spi-builder-workspace/.build/checkouts/contentstack-utils-swift/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.2 wasm