Build Information
Failed to build ContentstackUtils, reference master (b3d2a4), with Swift 6.1 for Linux on 18 Apr 2026 07:51:33 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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/contentstack/contentstack-utils-swift.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at b3d2a4e Merge pull request #41 from contentstack/staging
Cloned https://github.com/contentstack/contentstack-utils-swift.git
Revision (git rev-parse @):
b3d2a4ed362a41d3d45a3c2ade97dc300bab1cce
SUCCESS checkout https://github.com/contentstack/contentstack-utils-swift.git at master
========================================
Build
========================================
Selected platform: linux
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
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-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 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
[11/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
[12/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
[13/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
[14/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
[15/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
[16/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
[17/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
[18/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
[19/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
[20/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
[21/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
[22/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
[23/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
[24/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
[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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/23] 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
[3/23] 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
[4/23] 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
[5/23] 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
[6/23] 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
[7/23] 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
[8/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
[9/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
[10/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
[11/26] 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
[12/26] 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
[13/26] 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
[14/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
[15/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
[16/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)
[17/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
[18/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
[19/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
[20/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
[21/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
[22/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
[23/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
[24/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
[25/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
[26/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
BUILD FAILURE 6.1 linux