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 SwiftyHTMLBuilder, reference main (d4c46f), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 02:52:24 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/yukiny0811/SwiftyHTMLBuilder.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/yukiny0811/SwiftyHTMLBuilder
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d4c46f5 Merge pull request #1 from yukiny0811/develop-2.0.0
Cloned https://github.com/yukiny0811/SwiftyHTMLBuilder.git
Revision (git rev-parse @):
d4c46f58944f5821d660dc60f92bd790e0125fad
SUCCESS checkout https://github.com/yukiny0811/SwiftyHTMLBuilder.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/yukiny0811/SwiftyHTMLBuilder.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
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/13674] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.39s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.4 (3.07s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
[4491/75504] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (7.77s)
Fetched https://github.com/swiftlang/swift-syntax from cache (7.84s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (8.47s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.83s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.91s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.48s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.4
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
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/45] Emitting module SwiftyHTMLBuilder
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[4/50] Compiling SwiftyHTMLBuilder String+.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[5/50] Compiling SwiftyHTMLBuilder Util.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[6/50] Compiling SwiftyHTMLBuilder CSSColor.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[7/50] Compiling SwiftyHTMLBuilder CSSPosition.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[8/50] Compiling SwiftyHTMLBuilder CSSSizeUnit.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[9/50] Compiling SwiftyHTMLBuilder CharsetEncodingType.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[10/50] Compiling SwiftyHTMLBuilder span.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[11/50] Compiling SwiftyHTMLBuilder text.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[12/50] Compiling SwiftyHTMLBuilder title.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[13/50] Compiling SwiftyHTMLBuilder vstack.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[14/50] Compiling SwiftyHTMLBuilder zstack.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[15/50] Compiling SwiftyHTMLBuilder group.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[16/50] Compiling SwiftyHTMLBuilder h.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[17/50] Compiling SwiftyHTMLBuilder head.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[18/50] Compiling SwiftyHTMLBuilder header.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[19/50] Compiling SwiftyHTMLBuilder hstack.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[20/50] Compiling SwiftyHTMLBuilder html.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[21/50] Compiling SwiftyHTMLBuilder margin.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[22/50] Compiling SwiftyHTMLBuilder padding.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[23/50] Compiling SwiftyHTMLBuilder position.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[24/50] Compiling SwiftyHTMLBuilder width.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[25/50] Compiling SwiftyHTMLBuilder a.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[26/50] Compiling SwiftyHTMLBuilder body.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[27/50] Compiling SwiftyHTMLBuilder img.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[28/50] Compiling SwiftyHTMLBuilder link.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[29/50] Compiling SwiftyHTMLBuilder meta.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[30/50] Compiling SwiftyHTMLBuilder nav.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[31/50] Compiling SwiftyHTMLBuilder p.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[32/50] Compiling SwiftyHTMLBuilder section.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[33/50] Compiling SwiftyHTMLBuilder br.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[34/50] Compiling SwiftyHTMLBuilder div.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[35/50] Compiling SwiftyHTMLBuilder doctype.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[36/50] Compiling SwiftyHTMLBuilder document.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[37/50] Compiling SwiftyHTMLBuilder empty.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[38/50] Compiling SwiftyHTMLBuilder footer.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[39/50] Compiling SwiftyHTMLBuilder FlexAlignment.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[40/50] Compiling SwiftyHTMLBuilder MediaQueryType.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[41/50] Compiling SwiftyHTMLBuilder MetaName.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[42/50] Compiling SwiftyHTMLBuilder backgroundColor.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[43/50] Compiling SwiftyHTMLBuilder color.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[44/50] Compiling SwiftyHTMLBuilder height.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[45/50] Compiling SwiftyHTMLBuilder MediaQuery.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[46/50] Compiling SwiftyHTMLBuilder HTML.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[47/50] Compiling SwiftyHTMLBuilder HTMLBlock.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[48/50] Compiling SwiftyHTMLBuilder HTMLBuilder.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[49/50] Compiling SwiftyHTMLBuilder HTMLCompiler.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
[50/50] Compiling SwiftyHTMLBuilder HTMLStringConvertible.swift
/host/spi-builder-workspace/Sources/SwiftyHTMLBuilder/Blocks/MediaQuery.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public class MediaQuery: HTMLBlock {
BUILD FAILURE 6.2 wasm