The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ContentstackUtils with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.34.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 d99058f Merge pull request #16 from contentstack/next
Cloned https://github.com/contentstack/contentstack-utils-swift.git
Revision (git rev-parse @):
d99058fba5bf09d88a9347a1f7c078a47cf86329
SUCCESS checkout https://github.com/contentstack/contentstack-utils-swift.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/contentstack/contentstack-utils-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
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'
import libxml2
       ^
[4/27] Compiling ContentstackUtils GQLEmbededAsset.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[5/27] Compiling ContentstackUtils GQLEmbededEntry.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[6/27] Compiling ContentstackUtils JSONNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[7/27] Compiling ContentstackUtils String+Extension.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[8/27] Compiling ContentstackUtils StyleType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[9/27] Compiling ContentstackUtils TextNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[10/27] Compiling ContentstackUtils CSS.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[11/27] Compiling ContentstackUtils Deprecated.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[12/27] Compiling ContentstackUtils Kanna.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[13/27] Compiling ContentstackUtils Node.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[14/27] Compiling ContentstackUtils NodeType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[15/27] Compiling ContentstackUtils Option.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[16/27] Compiling ContentstackUtils Edges.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[17/27] Compiling ContentstackUtils EmbedItemType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[18/27] Compiling ContentstackUtils EntryEmbedded.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[19/27] Compiling ContentstackUtils libxmlHTMLDocument.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[20/27] Compiling ContentstackUtils libxmlHTMLNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[21/27] Compiling ContentstackUtils libxmlParserOption.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[22/27] Compiling ContentstackUtils JSONNodes.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[23/27] Compiling ContentstackUtils MarkType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[24/27] Compiling ContentstackUtils Metadata.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[25/27] Compiling ContentstackUtils ConnectionNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[26/27] Compiling ContentstackUtils ContentstackUtils.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[27/27] Compiling ContentstackUtils Decodable.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
error: fatalError
[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'
import libxml2
       ^
[3/23] Compiling ContentstackUtils EmbedItemType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[4/23] Compiling ContentstackUtils EntryEmbedded.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[5/23] Compiling ContentstackUtils String+Extension.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[6/23] Compiling ContentstackUtils StyleType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[7/23] Compiling ContentstackUtils TextNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[8/26] Compiling ContentstackUtils Node.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[9/26] Compiling ContentstackUtils NodeType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[10/26] Compiling ContentstackUtils Option.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[11/26] Compiling ContentstackUtils GQLEmbededAsset.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[12/26] Compiling ContentstackUtils GQLEmbededEntry.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[13/26] Compiling ContentstackUtils JSONNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
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'
import libxml2
       ^
[15/26] Compiling ContentstackUtils ConnectionNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[16/26] Compiling ContentstackUtils ContentstackUtils.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[17/26] Compiling ContentstackUtils Decodable.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[18/26] Compiling ContentstackUtils JSONNodes.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[19/26] Compiling ContentstackUtils MarkType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[20/26] Compiling ContentstackUtils Metadata.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[21/26] Compiling ContentstackUtils CSS.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[22/26] Compiling ContentstackUtils Deprecated.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[23/26] Compiling ContentstackUtils Kanna.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[24/26] Compiling ContentstackUtils libxmlHTMLDocument.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[25/26] Compiling ContentstackUtils libxmlHTMLNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[26/26] Compiling ContentstackUtils libxmlParserOption.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1