The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectFileMaker, reference 4.0.0 (cfb8c4), with Swift 6.2 for Wasm on 14 Oct 2026 23:01:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-filemaker.git
Reference: 4.0.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/perfectlysoft/perfect-filemaker
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at cfb8c4f Merge pull request #5 from PerfectlySoft/release-prep
Cloned https://github.com/perfectlysoft/perfect-filemaker.git
Revision (git rev-parse @):
cfb8c4fd52d4182d308cfa34f800222ba5e62448
SUCCESS checkout https://github.com/perfectlysoft/perfect-filemaker.git at 4.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-filemaker.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0563b842faffea9ddc6fe15fbd2051d02dff3ef29dc4b5bfe0a0910a084eee81
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/PerfectlySoft/Perfect-XML.git
[1/313] Fetching perfect-xml
Fetched https://github.com/PerfectlySoft/Perfect-XML.git from cache (0.49s)
Computing version for https://github.com/PerfectlySoft/Perfect-XML.git
Computed https://github.com/PerfectlySoft/Perfect-XML.git at 4.0.0 (0.78s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-XML.git
Working copy of https://github.com/PerfectlySoft/Perfect-XML.git resolved at 4.0.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling PerfectXML XPath.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:768:1: error: unknown type name 'XML_DEPRECATED'
 766 | 		xmlFreeDtd		(xmlDtdPtr cur);
 767 | #ifdef LIBXML_LEGACY_ENABLED
 768 | XML_DEPRECATED
     | `- error: unknown type name 'XML_DEPRECATED'
 769 | XMLPUBFUN xmlNsPtr
 770 | 		xmlNewGlobalNs		(xmlDocPtr doc,
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:769:19: error: expected ';' after top level declarator
 767 | #ifdef LIBXML_LEGACY_ENABLED
 768 | XML_DEPRECATED
 769 | XMLPUBFUN xmlNsPtr
     |                   `- error: expected ';' after top level declarator
 770 | 		xmlNewGlobalNs		(xmlDocPtr doc,
 771 | 					 const xmlChar *href,
     :
1308 | #endif
1309 | #ifndef __XML_PARSER_H__
1310 | #include <libxml/xmlmemory.h>
     |          `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:1310:
1311 | #endif
1312 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/usr/include/libxml2/libxml/xmlmemory.h:218:10: note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
216 | #ifndef __XML_GLOBALS_H
217 | #ifndef __XML_THREADS_H__
218 | #include <libxml/threads.h>
    |          `- note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
219 | #include <libxml/globals.h>
220 | #endif
/usr/include/libxml2/libxml/threads.h:35:10: note: in file included from /usr/include/libxml2/libxml/threads.h:35:
33 | }
34 | #endif
35 | #include <libxml/globals.h>
   |          `- note: in file included from /usr/include/libxml2/libxml/threads.h:35:
36 | #ifdef __cplusplus
37 | extern "C" {
/usr/include/libxml2/libxml/globals.h:18:10: note: in file included from /usr/include/libxml2/libxml/globals.h:18:
 16 |
 17 | #include <libxml/xmlversion.h>
 18 | #include <libxml/parser.h>
    |          `- note: in file included from /usr/include/libxml2/libxml/globals.h:18:
 19 | #include <libxml/xmlerror.h>
 20 | #include <libxml/SAX2.h>
/usr/include/libxml2/libxml/parser.h:812:10: note: in file included from /usr/include/libxml2/libxml/parser.h:812:
 810 | #endif
 811 |
 812 | #include <libxml/encoding.h>
     |          `- note: in file included from /usr/include/libxml2/libxml/parser.h:812:
 813 | #include <libxml/xmlIO.h>
 814 | #include <libxml/globals.h>
/usr/include/libxml2/libxml/encoding.h:31:10: error: 'unicode/ucnv.h' file not found
 29 | #endif
 30 | #ifdef LIBXML_ICU_ENABLED
 31 | #include <unicode/ucnv.h>
    |          `- error: 'unicode/ucnv.h' file not found
 32 | #endif
 33 | #ifdef __cplusplus
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
  6 | //
  7 |
  8 | import perfectxml2
    |        `- error: could not build C module 'perfectxml2'
  9 |
 10 | public struct SAXError: Error {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module PerfectXML
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:768:1: error: unknown type name 'XML_DEPRECATED'
 766 | 		xmlFreeDtd		(xmlDtdPtr cur);
 767 | #ifdef LIBXML_LEGACY_ENABLED
 768 | XML_DEPRECATED
     | `- error: unknown type name 'XML_DEPRECATED'
 769 | XMLPUBFUN xmlNsPtr
 770 | 		xmlNewGlobalNs		(xmlDocPtr doc,
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:769:19: error: expected ';' after top level declarator
 767 | #ifdef LIBXML_LEGACY_ENABLED
 768 | XML_DEPRECATED
 769 | XMLPUBFUN xmlNsPtr
     |                   `- error: expected ';' after top level declarator
 770 | 		xmlNewGlobalNs		(xmlDocPtr doc,
 771 | 					 const xmlChar *href,
     :
1308 | #endif
1309 | #ifndef __XML_PARSER_H__
1310 | #include <libxml/xmlmemory.h>
     |          `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:1310:
1311 | #endif
1312 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/usr/include/libxml2/libxml/xmlmemory.h:218:10: note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
216 | #ifndef __XML_GLOBALS_H
217 | #ifndef __XML_THREADS_H__
218 | #include <libxml/threads.h>
    |          `- note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
219 | #include <libxml/globals.h>
220 | #endif
/usr/include/libxml2/libxml/threads.h:35:10: note: in file included from /usr/include/libxml2/libxml/threads.h:35:
33 | }
34 | #endif
35 | #include <libxml/globals.h>
   |          `- note: in file included from /usr/include/libxml2/libxml/threads.h:35:
36 | #ifdef __cplusplus
37 | extern "C" {
/usr/include/libxml2/libxml/globals.h:18:10: note: in file included from /usr/include/libxml2/libxml/globals.h:18:
 16 |
 17 | #include <libxml/xmlversion.h>
 18 | #include <libxml/parser.h>
    |          `- note: in file included from /usr/include/libxml2/libxml/globals.h:18:
 19 | #include <libxml/xmlerror.h>
 20 | #include <libxml/SAX2.h>
/usr/include/libxml2/libxml/parser.h:812:10: note: in file included from /usr/include/libxml2/libxml/parser.h:812:
 810 | #endif
 811 |
 812 | #include <libxml/encoding.h>
     |          `- note: in file included from /usr/include/libxml2/libxml/parser.h:812:
 813 | #include <libxml/xmlIO.h>
 814 | #include <libxml/globals.h>
/usr/include/libxml2/libxml/encoding.h:31:10: error: 'unicode/ucnv.h' file not found
 29 | #endif
 30 | #ifdef LIBXML_ICU_ENABLED
 31 | #include <unicode/ucnv.h>
    |          `- error: 'unicode/ucnv.h' file not found
 32 | #endif
 33 | #ifdef __cplusplus
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
  6 | //
  7 |
  8 | import perfectxml2
    |        `- error: could not build C module 'perfectxml2'
  9 |
 10 | public struct SAXError: Error {
[6/9] Compiling PerfectXML XMLDOM.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:768:1: error: unknown type name 'XML_DEPRECATED'
 766 | 		xmlFreeDtd		(xmlDtdPtr cur);
 767 | #ifdef LIBXML_LEGACY_ENABLED
 768 | XML_DEPRECATED
     | `- error: unknown type name 'XML_DEPRECATED'
 769 | XMLPUBFUN xmlNsPtr
 770 | 		xmlNewGlobalNs		(xmlDocPtr doc,
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:769:19: error: expected ';' after top level declarator
 767 | #ifdef LIBXML_LEGACY_ENABLED
 768 | XML_DEPRECATED
 769 | XMLPUBFUN xmlNsPtr
     |                   `- error: expected ';' after top level declarator
 770 | 		xmlNewGlobalNs		(xmlDocPtr doc,
 771 | 					 const xmlChar *href,
     :
1308 | #endif
1309 | #ifndef __XML_PARSER_H__
1310 | #include <libxml/xmlmemory.h>
     |          `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:1310:
1311 | #endif
1312 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/usr/include/libxml2/libxml/xmlmemory.h:218:10: note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
216 | #ifndef __XML_GLOBALS_H
217 | #ifndef __XML_THREADS_H__
218 | #include <libxml/threads.h>
    |          `- note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
219 | #include <libxml/globals.h>
220 | #endif
/usr/include/libxml2/libxml/threads.h:35:10: note: in file included from /usr/include/libxml2/libxml/threads.h:35:
33 | }
34 | #endif
35 | #include <libxml/globals.h>
   |          `- note: in file included from /usr/include/libxml2/libxml/threads.h:35:
36 | #ifdef __cplusplus
37 | extern "C" {
/usr/include/libxml2/libxml/globals.h:18:10: note: in file included from /usr/include/libxml2/libxml/globals.h:18:
 16 |
 17 | #include <libxml/xmlversion.h>
 18 | #include <libxml/parser.h>
    |          `- note: in file included from /usr/include/libxml2/libxml/globals.h:18:
 19 | #include <libxml/xmlerror.h>
 20 | #include <libxml/SAX2.h>
/usr/include/libxml2/libxml/parser.h:812:10: note: in file included from /usr/include/libxml2/libxml/parser.h:812:
 810 | #endif
 811 |
 812 | #include <libxml/encoding.h>
     |          `- note: in file included from /usr/include/libxml2/libxml/parser.h:812:
 813 | #include <libxml/xmlIO.h>
 814 | #include <libxml/globals.h>
/usr/include/libxml2/libxml/encoding.h:31:10: error: 'unicode/ucnv.h' file not found
 29 | #endif
 30 | #ifdef LIBXML_ICU_ENABLED
 31 | #include <unicode/ucnv.h>
    |          `- error: 'unicode/ucnv.h' file not found
 32 | #endif
 33 | #ifdef __cplusplus
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
  6 | //
  7 |
  8 | import perfectxml2
    |        `- error: could not build C module 'perfectxml2'
  9 |
 10 | public struct SAXError: Error {
[7/9] Compiling PerfectXML Codable.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:768:1: error: unknown type name 'XML_DEPRECATED'
 766 | 		xmlFreeDtd		(xmlDtdPtr cur);
 767 | #ifdef LIBXML_LEGACY_ENABLED
 768 | XML_DEPRECATED
     | `- error: unknown type name 'XML_DEPRECATED'
 769 | XMLPUBFUN xmlNsPtr
 770 | 		xmlNewGlobalNs		(xmlDocPtr doc,
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:769:19: error: expected ';' after top level declarator
 767 | #ifdef LIBXML_LEGACY_ENABLED
 768 | XML_DEPRECATED
 769 | XMLPUBFUN xmlNsPtr
     |                   `- error: expected ';' after top level declarator
 770 | 		xmlNewGlobalNs		(xmlDocPtr doc,
 771 | 					 const xmlChar *href,
     :
1308 | #endif
1309 | #ifndef __XML_PARSER_H__
1310 | #include <libxml/xmlmemory.h>
     |          `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:1310:
1311 | #endif
1312 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/usr/include/libxml2/libxml/xmlmemory.h:218:10: note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
216 | #ifndef __XML_GLOBALS_H
217 | #ifndef __XML_THREADS_H__
218 | #include <libxml/threads.h>
    |          `- note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
219 | #include <libxml/globals.h>
220 | #endif
/usr/include/libxml2/libxml/threads.h:35:10: note: in file included from /usr/include/libxml2/libxml/threads.h:35:
33 | }
34 | #endif
35 | #include <libxml/globals.h>
   |          `- note: in file included from /usr/include/libxml2/libxml/threads.h:35:
36 | #ifdef __cplusplus
37 | extern "C" {
/usr/include/libxml2/libxml/globals.h:18:10: note: in file included from /usr/include/libxml2/libxml/globals.h:18:
 16 |
 17 | #include <libxml/xmlversion.h>
 18 | #include <libxml/parser.h>
    |          `- note: in file included from /usr/include/libxml2/libxml/globals.h:18:
 19 | #include <libxml/xmlerror.h>
 20 | #include <libxml/SAX2.h>
/usr/include/libxml2/libxml/parser.h:812:10: note: in file included from /usr/include/libxml2/libxml/parser.h:812:
 810 | #endif
 811 |
 812 | #include <libxml/encoding.h>
     |          `- note: in file included from /usr/include/libxml2/libxml/parser.h:812:
 813 | #include <libxml/xmlIO.h>
 814 | #include <libxml/globals.h>
/usr/include/libxml2/libxml/encoding.h:31:10: error: 'unicode/ucnv.h' file not found
 29 | #endif
 30 | #ifdef LIBXML_ICU_ENABLED
 31 | #include <unicode/ucnv.h>
    |          `- error: 'unicode/ucnv.h' file not found
 32 | #endif
 33 | #ifdef __cplusplus
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
  6 | //
  7 |
  8 | import perfectxml2
    |        `- error: could not build C module 'perfectxml2'
  9 |
 10 | public struct SAXError: Error {
[8/9] Compiling PerfectXML SAX.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:768:1: error: unknown type name 'XML_DEPRECATED'
 766 | 		xmlFreeDtd		(xmlDtdPtr cur);
 767 | #ifdef LIBXML_LEGACY_ENABLED
 768 | XML_DEPRECATED
     | `- error: unknown type name 'XML_DEPRECATED'
 769 | XMLPUBFUN xmlNsPtr
 770 | 		xmlNewGlobalNs		(xmlDocPtr doc,
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:769:19: error: expected ';' after top level declarator
 767 | #ifdef LIBXML_LEGACY_ENABLED
 768 | XML_DEPRECATED
 769 | XMLPUBFUN xmlNsPtr
     |                   `- error: expected ';' after top level declarator
 770 | 		xmlNewGlobalNs		(xmlDocPtr doc,
 771 | 					 const xmlChar *href,
     :
1308 | #endif
1309 | #ifndef __XML_PARSER_H__
1310 | #include <libxml/xmlmemory.h>
     |          `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:1310:
1311 | #endif
1312 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/usr/include/libxml2/libxml/xmlmemory.h:218:10: note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
216 | #ifndef __XML_GLOBALS_H
217 | #ifndef __XML_THREADS_H__
218 | #include <libxml/threads.h>
    |          `- note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
219 | #include <libxml/globals.h>
220 | #endif
/usr/include/libxml2/libxml/threads.h:35:10: note: in file included from /usr/include/libxml2/libxml/threads.h:35:
33 | }
34 | #endif
35 | #include <libxml/globals.h>
   |          `- note: in file included from /usr/include/libxml2/libxml/threads.h:35:
36 | #ifdef __cplusplus
37 | extern "C" {
/usr/include/libxml2/libxml/globals.h:18:10: note: in file included from /usr/include/libxml2/libxml/globals.h:18:
 16 |
 17 | #include <libxml/xmlversion.h>
 18 | #include <libxml/parser.h>
    |          `- note: in file included from /usr/include/libxml2/libxml/globals.h:18:
 19 | #include <libxml/xmlerror.h>
 20 | #include <libxml/SAX2.h>
/usr/include/libxml2/libxml/parser.h:812:10: note: in file included from /usr/include/libxml2/libxml/parser.h:812:
 810 | #endif
 811 |
 812 | #include <libxml/encoding.h>
     |          `- note: in file included from /usr/include/libxml2/libxml/parser.h:812:
 813 | #include <libxml/xmlIO.h>
 814 | #include <libxml/globals.h>
/usr/include/libxml2/libxml/encoding.h:31:10: error: 'unicode/ucnv.h' file not found
 29 | #endif
 30 | #ifdef LIBXML_ICU_ENABLED
 31 | #include <unicode/ucnv.h>
    |          `- error: 'unicode/ucnv.h' file not found
 32 | #endif
 33 | #ifdef __cplusplus
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
  6 | //
  7 |
  8 | import perfectxml2
    |        `- error: could not build C module 'perfectxml2'
  9 |
 10 | public struct SAXError: Error {
[9/9] Compiling PerfectXML XMLStream.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:768:1: error: unknown type name 'XML_DEPRECATED'
 766 | 		xmlFreeDtd		(xmlDtdPtr cur);
 767 | #ifdef LIBXML_LEGACY_ENABLED
 768 | XML_DEPRECATED
     | `- error: unknown type name 'XML_DEPRECATED'
 769 | XMLPUBFUN xmlNsPtr
 770 | 		xmlNewGlobalNs		(xmlDocPtr doc,
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:769:19: error: expected ';' after top level declarator
 767 | #ifdef LIBXML_LEGACY_ENABLED
 768 | XML_DEPRECATED
 769 | XMLPUBFUN xmlNsPtr
     |                   `- error: expected ';' after top level declarator
 770 | 		xmlNewGlobalNs		(xmlDocPtr doc,
 771 | 					 const xmlChar *href,
     :
1308 | #endif
1309 | #ifndef __XML_PARSER_H__
1310 | #include <libxml/xmlmemory.h>
     |          `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h:1310:
1311 | #endif
1312 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:10: note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- note: in file included from /host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/libxml2/libxml2.h:4:
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/usr/include/libxml2/libxml/xmlmemory.h:218:10: note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
216 | #ifndef __XML_GLOBALS_H
217 | #ifndef __XML_THREADS_H__
218 | #include <libxml/threads.h>
    |          `- note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
219 | #include <libxml/globals.h>
220 | #endif
/usr/include/libxml2/libxml/threads.h:35:10: note: in file included from /usr/include/libxml2/libxml/threads.h:35:
33 | }
34 | #endif
35 | #include <libxml/globals.h>
   |          `- note: in file included from /usr/include/libxml2/libxml/threads.h:35:
36 | #ifdef __cplusplus
37 | extern "C" {
/usr/include/libxml2/libxml/globals.h:18:10: note: in file included from /usr/include/libxml2/libxml/globals.h:18:
 16 |
 17 | #include <libxml/xmlversion.h>
 18 | #include <libxml/parser.h>
    |          `- note: in file included from /usr/include/libxml2/libxml/globals.h:18:
 19 | #include <libxml/xmlerror.h>
 20 | #include <libxml/SAX2.h>
/usr/include/libxml2/libxml/parser.h:812:10: note: in file included from /usr/include/libxml2/libxml/parser.h:812:
 810 | #endif
 811 |
 812 | #include <libxml/encoding.h>
     |          `- note: in file included from /usr/include/libxml2/libxml/parser.h:812:
 813 | #include <libxml/xmlIO.h>
 814 | #include <libxml/globals.h>
/usr/include/libxml2/libxml/encoding.h:31:10: error: 'unicode/ucnv.h' file not found
 29 | #endif
 30 | #ifdef LIBXML_ICU_ENABLED
 31 | #include <unicode/ucnv.h>
    |          `- error: 'unicode/ucnv.h' file not found
 32 | #endif
 33 | #ifdef __cplusplus
/host/spi-builder-workspace/.build/checkouts/Perfect-XML/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
  6 | //
  7 |
  8 | import perfectxml2
    |        `- error: could not build C module 'perfectxml2'
  9 |
 10 | public struct SAXError: Error {
BUILD FAILURE 6.2 wasm