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 Markin, reference master (bae285), with Swift 6.2 (beta) for Wasm on 23 Aug 2025 23:02:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/apparata/markin.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/apparata/markin
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at bae285d Update README.md
Cloned https://github.com/apparata/markin.git
Revision (git rev-parse @):
bae285d786c371005fb474190fae670d8fed1a73
SUCCESS checkout https://github.com/apparata/markin.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apparata/markin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
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/31] Emitting module Markin
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[4/35] Compiling Markin Scanner+Helpers.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[5/35] Compiling Markin String+HTMLEntity.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[6/35] Compiling Markin String+Subscript.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[7/35] Compiling Markin BlockQuoteElement.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[8/35] Compiling Markin ParagraphElement.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[9/35] Compiling Markin TableOfContentsElement.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[10/35] Compiling Markin BlockElement.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[11/35] Compiling Markin DocumentElement.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[12/35] Compiling Markin BoldElement.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[13/35] Compiling Markin CodeElement.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[14/35] Compiling Markin ImageElement.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[15/35] Compiling Markin ItalicElement.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[16/35] Compiling Markin MarkinError.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[17/35] Compiling Markin MarkinParser.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[18/35] Compiling Markin MarkinBlockQuoteView.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[19/35] Compiling Markin MarkinCodeBlockView.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[20/35] Compiling Markin MarkinParagraphView.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[21/35] Compiling Markin MarkinStyle.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[22/35] Compiling Markin MarkinTableOfContentsView.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[23/35] Compiling Markin MarkinView.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[24/35] Compiling Markin CodeBlockElement.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[25/35] Compiling Markin HeaderElement.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[26/35] Compiling Markin HorizontalRuleElement.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[27/35] Compiling Markin ListElement.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[28/35] Compiling Markin LinkElement.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[29/35] Compiling Markin TextElement.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[30/35] Compiling Markin InlineElement.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[31/35] Compiling Markin MarkinElement.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[32/35] Compiling Markin MarkinDocumentView.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[33/35] Compiling Markin MarkinHeaderView.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[34/35] Compiling Markin MarkinHorizontalRuleView.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
[35/35] Compiling Markin MarkinListView.swift
/host/spi-builder-workspace/Sources/Markin/Internal Extensions/Scanner+Helpers.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | extension Scanner {
BUILD FAILURE 6.2 wasm