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 FileBuilder, reference 0.1.0 (9c23c2), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 17:53:11 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/danielctull/FileBuilder.git
Reference: 0.1.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/danielctull/FileBuilder
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 9c23c20 Remove ability for users to create instances of Empty
Cloned https://github.com/danielctull/FileBuilder.git
Revision (git rev-parse @):
9c23c20766d83711b9afb963617e8119da63ac21
SUCCESS checkout https://github.com/danielctull/FileBuilder.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/danielctull/FileBuilder.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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/39] Emitting module FileBuilder
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[5/44] Compiling FileBuilder Environment.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[6/44] Compiling FileBuilder AccumulatedFile.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[7/44] Compiling FileBuilder AnyFile.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[8/44] Compiling FileBuilder ArrayFile.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[9/44] Compiling FileBuilder BuiltinFile.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[10/44] Compiling FileBuilder FileEnvironment.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[11/44] Compiling FileBuilder FileModifier.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[12/44] Compiling FileBuilder TextFile.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[13/44] Compiling FileBuilder Accumulated.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[14/44] Compiling FileBuilder Either.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[15/44] Compiling FileBuilder Line.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[16/44] Compiling FileBuilder NeverText.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[17/44] Compiling FileBuilder OptionalText.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[18/44] Compiling FileBuilder String.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[19/44] Compiling FileBuilder Indentation.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[20/44] Compiling FileBuilder Wrap.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[21/44] Compiling FileBuilder Text.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[22/44] Compiling FileBuilder TextBuilder.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[23/44] Compiling FileBuilder TextEnvironment.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[24/44] Compiling FileBuilder TextModifier.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[25/44] Compiling FileBuilder Empty.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[26/44] Compiling FileBuilder Group.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[27/44] Compiling FileBuilder Modified.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[28/44] Compiling FileBuilder AccumulatedText.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[29/44] Compiling FileBuilder AnyText.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[30/44] Compiling FileBuilder ArrayText.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[31/44] Compiling FileBuilder BuiltinText.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[32/44] Compiling FileBuilder EitherText.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[33/44] Compiling FileBuilder EmptyText.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[34/44] Compiling FileBuilder GroupText.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[35/44] Compiling FileBuilder DataFile.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[36/44] Compiling FileBuilder Directory.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[37/44] Compiling FileBuilder StringEncoding.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[38/44] Compiling FileBuilder File.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[39/44] Compiling FileBuilder FileBuilder.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[40/44] Compiling FileBuilder EitherFile.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[41/44] Compiling FileBuilder EmptyFile.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[42/44] Compiling FileBuilder GroupFile.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[43/44] Compiling FileBuilder NeverFile.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
[44/44] Compiling FileBuilder OptionalFile.swift
/host/spi-builder-workspace/Sources/FileBuilder/File/Content/AccumulatedFile.swift:2:8: error: no such module 'Foundation'
 1 |
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | extension Accumulated: File where First: File, Second: File {
BUILD FAILURE 6.2 wasm