The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build DocX, reference master (437572), with Swift 6.2 (beta) for Wasm on 29 Aug 2025 08:01:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shinjukunian/DocX.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/shinjukunian/DocX
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 437572a Badges (#53)
Cloned https://github.com/shinjukunian/DocX.git
Revision (git rev-parse @):
437572ad2ae5e70d8d9e35b4a14e146372855137
SUCCESS checkout https://github.com/shinjukunian/DocX.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/shinjukunian/DocX.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/shinjukunian/AEXML.git
Fetching https://github.com/weichsel/ZIPFoundation.git
[1/1594] Fetching aexml
[1595/7193] Fetching aexml, zipfoundation
Fetched https://github.com/shinjukunian/AEXML.git from cache (0.52s)
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (0.54s)
Computing version for https://github.com/shinjukunian/AEXML.git
Computed https://github.com/shinjukunian/AEXML.git at 4.7.0 (0.87s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (0.36s)
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
Creating working copy for https://github.com/shinjukunian/AEXML.git
Working copy of https://github.com/shinjukunian/AEXML.git resolved at 4.7.0
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/5] Write sources
[3/5] Copying blank
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/32] Compiling AEXML Parser.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | #if canImport(FoundationXML)
  9 | import FoundationXML
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/32] Emitting module ZIPFoundation
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[8/34] Compiling ZIPFoundation Archive+BackingConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[9/34] Compiling ZIPFoundation Archive+Deprecated.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[10/34] Compiling ZIPFoundation Archive+Helpers.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/34] Emitting module AEXML
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | #if canImport(FoundationXML)
  9 | import FoundationXML
[12/34] Compiling AEXML Builders.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | #if canImport(FoundationXML)
  9 | import FoundationXML
[13/34] Compiling AEXML Options.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | #if canImport(FoundationXML)
  9 | import FoundationXML
[14/34] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[15/34] Compiling ZIPFoundation URL+ZIP.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[16/34] Compiling AEXML Error.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | #if canImport(FoundationXML)
  9 | import FoundationXML
[17/34] Compiling AEXML Element.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | #if canImport(FoundationXML)
  9 | import FoundationXML
[18/34] Compiling ZIPFoundation Archive+ReadingDeprecated.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[19/34] Compiling ZIPFoundation Archive+Writing.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[20/34] Compiling ZIPFoundation Archive+WritingDeprecated.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[21/34] Compiling ZIPFoundation Archive+MemoryFile.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[22/34] Compiling ZIPFoundation Archive+Progress.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[23/34] Compiling ZIPFoundation Archive+Reading.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[24/34] Compiling ZIPFoundation Data+CompressionDeprecated.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[25/34] Compiling AEXML Document.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
  5 |  */
  6 |
  7 | import Foundation
    |        `- error: no such module 'Foundation'
  8 | #if canImport(FoundationXML)
  9 | import FoundationXML
[26/34] Compiling ZIPFoundation Data+Serialization.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[27/34] Compiling ZIPFoundation Date+ZIP.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[28/34] Compiling ZIPFoundation Entry+Serialization.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[29/34] Compiling ZIPFoundation Entry+ZIP64.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[30/34] Compiling ZIPFoundation Archive+ZIP64.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[31/34] Compiling ZIPFoundation Archive.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[32/34] Compiling ZIPFoundation Data+Compression.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[33/34] Compiling ZIPFoundation Entry.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
[34/34] Compiling ZIPFoundation FileManager+ZIP.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | extension Archive {
BUILD FAILURE 6.2 wasm