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 SmartText, reference main (8bbc02), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 15:02:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/NikSativa/SmartText.git
Reference: main
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/NikSativa/SmartText
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8bbc02d upd SwiftFormat rules and github actions
Cloned https://github.com/NikSativa/SmartText.git
Revision (git rev-parse @):
8bbc02deb04e21030dbae0f73a2fb90ff41805d2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NikSativa/SmartText.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/NikSativa/SmartText.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/NikSativa/SpryKit.git
[1/967] Fetching sprykit
Fetched https://github.com/NikSativa/SpryKit.git from cache (0.25s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 3.0.4 (1.11s)
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
[1258/72204] Fetching cwlpreconditiontesting, swift-syntax
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (4.83s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.90s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (8.71s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.66s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.22s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.65s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/NikSativa/SpryKit.git
Working copy of https://github.com/NikSativa/SpryKit.git resolved at 3.0.4
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[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/34] Emitting module SmartText
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[5/38] Compiling SmartText TextFormatter.NumbersOnly.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[6/38] Compiling SmartText TextFormatter.StripLeadingSpaces.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[7/38] Compiling SmartText TextFormatter.StripSpaces.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[8/38] Compiling SmartText TextFormatter.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[9/38] Compiling SmartText LocalizedStringKey+ST.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[10/38] Compiling SmartText SmartTextField.Eventier.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[11/38] Compiling SmartText SmartTextField.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[12/38] Compiling SmartText UISmartTextField.Configuration.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[13/38] Compiling SmartText UISmartTextField.DatePicker.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[14/38] Compiling SmartText TextValidator.Custom.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[15/38] Compiling SmartText TextValidator.Email.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[16/38] Compiling SmartText TextValidator.Identity.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[17/38] Compiling SmartText TextValidator.IncludesLowercase.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[18/38] Compiling SmartText TextFormatable.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[19/38] Compiling SmartText TextFormatter.Custom.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[20/38] Compiling SmartText TextFormatter.Email.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[21/38] Compiling SmartText TextFormatter.Identity.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[22/38] Compiling SmartText TextFormatter.LengthLimited.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[23/38] Compiling SmartText RangeExt.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[24/38] Compiling SmartText STString.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[25/38] Compiling SmartText StringExt.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[26/38] Compiling SmartText SmartTextField.Configuration.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[27/38] Compiling SmartText TextValidator.NotEmpty.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[28/38] Compiling SmartText TextValidator.NumbersOnly.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[29/38] Compiling SmartText TextValidator.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[30/38] Compiling SmartText resource_bundle_accessor.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[31/38] Compiling SmartText UISmartTextField.Eventier.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[32/38] Compiling SmartText UISmartTextField.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[33/38] Compiling SmartText TextValidatable.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[34/38] Compiling SmartText TextValidationResult.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[35/38] Compiling SmartText TextValidator.IncludesUppercase.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[36/38] Compiling SmartText TextValidator.LengthLimited.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[37/38] Compiling SmartText TextValidator.MaxLengthLimited.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
[38/38] Compiling SmartText TextValidator.MinLengthLimited.swift
/host/spi-builder-workspace/Source/Formatter/TextFormatable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if swift(>=6.0)
BUILD FAILURE 6.2 wasm