The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ContentstackUtils with Swift 5.7 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-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: v1.3.2
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.3.2     -> FETCH_HEAD
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 v1.3.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $workDir
https://github.com/contentstack/contentstack-utils-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[1/22] Compiling ContentstackUtils Node.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[2/22] Compiling ContentstackUtils NodeType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[3/22] Compiling ContentstackUtils Option.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)[4/25] Emitting module ContentstackUtils
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[5/25] Compiling ContentstackUtils CSS.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[6/25] Compiling ContentstackUtils Deprecated.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[7/25] Compiling ContentstackUtils Kanna.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[8/25] Compiling ContentstackUtils String+Extension.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[9/25] Compiling ContentstackUtils StyleType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[10/25] Compiling ContentstackUtils TextNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[11/25] Compiling ContentstackUtils ConnectionNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[12/25] Compiling ContentstackUtils ContentstackUtils.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[13/25] Compiling ContentstackUtils Decodable.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[14/25] Compiling ContentstackUtils GQLEmbededAsset.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[15/25] Compiling ContentstackUtils GQLEmbededEntry.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[16/25] Compiling ContentstackUtils JSONNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[17/25] Compiling ContentstackUtils JSONNodes.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[18/25] Compiling ContentstackUtils MarkType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[19/25] Compiling ContentstackUtils Metadata.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[20/25] Compiling ContentstackUtils Edges.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[21/25] Compiling ContentstackUtils EmbedItemType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[22/25] Compiling ContentstackUtils EntryEmbedded.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[23/25] Compiling ContentstackUtils libxmlHTMLDocument.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[24/25] Compiling ContentstackUtils libxmlHTMLNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[25/25] Compiling ContentstackUtils libxmlParserOption.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[0/1] Planning build
Building for debugging...
[1/22] Compiling ContentstackUtils String+Extension.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[2/22] Compiling ContentstackUtils StyleType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[3/22] Compiling ContentstackUtils TextNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[4/25] Compiling ContentstackUtils GQLEmbededAsset.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[5/25] Compiling ContentstackUtils GQLEmbededEntry.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[6/25] 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)[7/25] Emitting module ContentstackUtils
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[8/25] Compiling ContentstackUtils ConnectionNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[9/25] Compiling ContentstackUtils ContentstackUtils.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[10/25] Compiling ContentstackUtils Decodable.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[11/25] Compiling ContentstackUtils JSONNodes.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[12/25] Compiling ContentstackUtils MarkType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[13/25] Compiling ContentstackUtils Metadata.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[14/25] Compiling ContentstackUtils Edges.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[15/25] Compiling ContentstackUtils EmbedItemType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[16/25] Compiling ContentstackUtils EntryEmbedded.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[17/25] Compiling ContentstackUtils Node.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[18/25] Compiling ContentstackUtils NodeType.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[19/25] Compiling ContentstackUtils Option.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[20/25] Compiling ContentstackUtils CSS.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[21/25] Compiling ContentstackUtils Deprecated.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[22/25] Compiling ContentstackUtils Kanna.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[23/25] Compiling ContentstackUtils libxmlHTMLDocument.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[24/25] Compiling ContentstackUtils libxmlHTMLNode.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
[25/25] Compiling ContentstackUtils libxmlParserOption.swift
/host/spi-builder-workspace/Sources/Kanna/CSS.swift:26:8: error: no such module 'libxml2'
import libxml2
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 2