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 docc2html, reference develop (1c203c), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 06:17:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DoccZz/docc2html.git
Reference: develop
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/DoccZz/docc2html
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 1c203c7 Unwrap more optional strings
Cloned https://github.com/DoccZz/docc2html.git
Revision (git rev-parse @):
1c203c720635cf67ccd30d6e1c7196eed43ea95a
SUCCESS checkout https://github.com/DoccZz/docc2html.git at develop
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/DoccZz/docc2html.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" 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:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/AlwaysRightInstitute/mustache.git
Fetching https://github.com/DoccZz/DocCArchive.git
Fetching https://github.com/apple/swift-log.git
[1/559] Fetching mustache
[560/1022] Fetching mustache, doccarchive
[1023/4858] Fetching mustache, doccarchive, swift-log
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.40s)
Fetched https://github.com/DoccZz/DocCArchive.git from cache (0.40s)
Fetched https://github.com/apple/swift-log.git from cache (0.43s)
Computing version for https://github.com/DoccZz/DocCArchive.git
Computed https://github.com/DoccZz/DocCArchive.git at 0.4.2 (0.89s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.2 (0.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.43s)
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/DoccZz/DocCArchive.git
Working copy of https://github.com/DoccZz/DocCArchive.git resolved at 0.4.2
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/53] Emitting module Mustache
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[9/54] Emitting module Logging
[10/54] Compiling Logging Locks.swift
[11/54] Compiling DocCArchive Parameter.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[12/54] Compiling DocCArchive Section.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[13/54] Compiling DocCArchive Task.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[14/54] Compiling DocCArchive InlineContent.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[15/54] Compiling DocCArchive InterfaceLanguage.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[16/54] Compiling DocCArchive MetaData.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[17/54] Compiling DocCArchive Platform.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[18/54] Compiling DocCArchive Step.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[19/54] Compiling DocCArchive Document.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[20/54] Compiling DocCArchive Fragment.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[21/54] Compiling DocCArchive Identifier.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[22/54] Compiling DocCArchive Reference.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[23/54] Compiling DocCArchive SectionReference.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[24/54] Compiling DocCArchive TopicReference.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[25/57] Compiling DocCArchive FileReference.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[26/57] Compiling DocCArchive ImageReference.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[27/57] Compiling DocCArchive LinkReference.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[28/57] Compiling Mustache MustacheRendering.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[29/57] Compiling Mustache MustacheParser.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[30/57] Compiling Mustache MustacheNode.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[31/57] Compiling Mustache MustacheRenderingContext.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[32/57] Compiling DocCArchive SchemaVersion.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[33/57] Compiling DocCArchive Declaration.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[34/57] Compiling DocCArchive HeroSection.swift
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[35/57] Compiling Mustache Mustachable.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[36/57] Compiling Mustache HTMLEscape.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[37/57] Compiling Mustache Helpers.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[38/57] Compiling Mustache SimpleKVC.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/57] Emitting module DocCArchive
/host/spi-builder-workspace/.build/checkouts/DocCArchive/Sources/DocCArchive/DocCArchive.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /**
[40/57] Compiling Logging LogHandler.swift
BUILD FAILURE 6.2 wasm