Build Information
Failed to build ContentstackUtils, reference master (fb7179), with Swift 6.1 for Linux on 9 Oct 2026 10:59:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
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 fb7179f Updated codeowners
Cloned https://github.com/contentstack/contentstack-utils-swift.git
Revision (git rev-parse @):
fb7179f699f482b0c8ff73482360fd2b86903a15
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-54344849-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: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 saguaro1/spi-images
Digest: sha256:13a529f31207afe6597b18f20995fc2db944100da935819188c653038756cb1b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Building for debugging...
[0/3] Write sources
[1/3] Copying endpoint-info.json
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/27] 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
[5/30] 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
[6/30] 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
[7/30] Compiling ContentstackUtils resource_bundle_accessor.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/30] 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
[9/30] 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
[10/30] 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
[11/30] 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
[12/30] 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
[13/30] 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
[14/30] 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
[15/30] 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
[16/30] 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
[17/30] 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
[18/30] 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
[19/30] Compiling ContentstackUtils Endpoint.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/30] 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
[21/30] 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
[22/30] 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
[23/30] 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
[24/30] 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
[25/30] 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
[26/30] 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
[27/30] 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
[28/30] 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
[29/30] 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
[30/30] 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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:13a529f31207afe6597b18f20995fc2db944100da935819188c653038756cb1b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/25] 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
[3/25] 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
[4/25] 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
[5/28] 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
[6/28] 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
[7/28] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/28] 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
[9/28] 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
[10/28] Compiling ContentstackUtils Endpoint.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/28] 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
[12/28] 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
[13/28] 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
[14/28] 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
[15/28] 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
[16/28] 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
[17/28] 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
[18/28] 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
[19/28] 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/28] 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/28] 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/28] 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
[23/28] 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/28] 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/28] 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/28] 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/28] 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
[28/28] Compiling ContentstackUtils resource_bundle_accessor.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