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 Sourceful, reference 0.4.0 (77317c), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 07:32:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/twostraws/Sourceful.git
Reference: 0.4.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/twostraws/Sourceful
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 77317c0 Merge pull request #17 from NathanFallet/patch-2
Cloned https://github.com/twostraws/Sourceful.git
Revision (git rev-parse @):
77317c0043dc0330e2baf02c43d415bc7cc8a784
SUCCESS checkout https://github.com/twostraws/Sourceful.git at 0.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/twostraws/Sourceful.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
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/27] Emitting module Sourceful
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[4/30] Compiling Sourceful Python3Lexer.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[5/30] Compiling Sourceful SwiftLexer.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[6/30] Compiling Sourceful Lexer.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[7/30] Compiling Sourceful Paragraph.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[8/30] Compiling Sourceful String+Range.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[9/30] Compiling Sourceful Types.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[10/30] Compiling Sourceful InnerTextView.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[11/30] Compiling Sourceful DefaultSourceCodeTheme.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[12/30] Compiling Sourceful NSMutableAttributedString+Tokens.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[13/30] Compiling Sourceful NSTextView+UIKit.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[14/30] Compiling Sourceful ASTVisualizer.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[15/30] Compiling Sourceful JavaLexer.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[16/30] Compiling Sourceful JavaScriptLexer.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[17/30] Compiling Sourceful OCamlLexer.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[18/30] Compiling Sourceful SyntaxTextView.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[19/30] Compiling Sourceful SyntaxTextViewLayoutManager.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[20/30] Compiling Sourceful TextViewWrapperView.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[21/30] Compiling Sourceful SourceCodeTheme.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[22/30] Compiling Sourceful SourceCodeToken.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[23/30] Compiling Sourceful SourceCodeTextEditor.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[24/30] Compiling Sourceful LineNumberLayoutManager.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[25/30] Compiling Sourceful Paragraphs.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[26/30] Compiling Sourceful SyntaxTextView+TextViewDelegate.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[27/30] Compiling Sourceful RegexLexer.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[28/30] Compiling Sourceful SyntaxColorTheme.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[29/30] Compiling Sourceful Token.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
[30/30] Compiling Sourceful SourceCodeRegexLexer.swift
/host/spi-builder-workspace/Sources/Sourceful/ASTVisualizer.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 | import CoreGraphics
 11 |
BUILD FAILURE 6.2 wasm