The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ContentstackUtils, reference v1.5.0 (a02d89), with Swift 6.0 for Linux on 6 Apr 2026 13:50:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build 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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/contentstack/contentstack-utils-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:1db7dbcaf887dbb499f5976218948969b74406bfba66e3dcc9b7cf6b3e333907
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-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 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
[5/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
[6/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
[7/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
[8/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
[9/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
[10/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
[11/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
[12/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
[13/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
[14/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
[15/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
[16/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
[17/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
[18/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
[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 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
[23/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
[24/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
[25/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
[26/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
[27/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
BUILD FAILURE 6.0 linux