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 elementary-htmx, reference main (6e8430), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 17:38:41 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/sliemeobn/elementary-htmx.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/sliemeobn/elementary-htmx
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6e8430d add api-breakage CI check (#15)
Cloned https://github.com/sliemeobn/elementary-htmx.git
Revision (git rev-parse @):
6e8430d24a6dc2de9d16270a6af985eb37a190ad
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sliemeobn/elementary-htmx.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sliemeobn/elementary-htmx.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
Fetching https://github.com/sliemeobn/elementary.git
[1/1263] Fetching elementary
Fetched https://github.com/sliemeobn/elementary.git from cache (0.53s)
Computing version for https://github.com/sliemeobn/elementary.git
Computed https://github.com/sliemeobn/elementary.git at 0.5.2 (1.40s)
Creating working copy for https://github.com/sliemeobn/elementary.git
Working copy of https://github.com/sliemeobn/elementary.git resolved at 0.5.2
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/29] Compiling Elementary HtmlAttributes+global.swift
[9/29] Compiling Elementary HtmlDocument.swift
[10/29] Compiling Elementary HtmlElements.swift
[11/29] Compiling Elementary Html+Rendering.swift
[12/29] Compiling Elementary HtmlAttributes+common.swift
[13/29] Compiling Elementary HtmlAttributes+event.swift
[14/29] Compiling Elementary HtmlTags.swift
[15/29] Compiling Elementary HtmlAsyncRenderer.swift
[16/29] Compiling Elementary HtmlTextRenderer.swift
[17/32] Emitting module Elementary
[18/32] Compiling Elementary Html+Attributes.swift
[19/32] Compiling Elementary Html+Elements.swift
[20/32] Compiling Elementary HtmlBuilder+Tuples.swift
[21/32] Compiling Elementary CoreModel.swift
[22/32] Compiling Elementary Environment.swift
[23/32] Compiling Elementary ForEach.swift
[24/32] Compiling Elementary AsyncContent.swift
[25/32] Compiling Elementary AsyncForEach.swift
[26/32] Compiling Elementary AttributeStorage.swift
[27/32] Compiling Elementary HtmlBuilder.swift
[28/32] Compiling Elementary HtmlElement+Async.swift
[29/32] Compiling Elementary StoredAttribute.swift
[30/32] Compiling Elementary RenderingUtils.swift
[31/32] Compiling Elementary SendOnceBox.swift
[32/32] Compiling Elementary SendableAnyHTMLBox.swift
[34/40] Compiling TestUtilities Utilities.swift
/host/spi-builder-workspace/Tests/TestUtilities/Utilities.swift:2:8: error: no such module 'XCTest'
1 | import Elementary
2 | import XCTest
  |        `- error: no such module 'XCTest'
3 |
4 | public func HTMLAttributeAssertEqual(_ attribute: HTMLAttribute<HTMLTag.div>, _ name: String, _ value: String?, file: StaticString = #filePath, line: UInt = #line) {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/40] Emitting module TestUtilities
/host/spi-builder-workspace/Tests/TestUtilities/Utilities.swift:2:8: error: no such module 'XCTest'
1 | import Elementary
2 | import XCTest
  |        `- error: no such module 'XCTest'
3 |
4 | public func HTMLAttributeAssertEqual(_ attribute: HTMLAttribute<HTMLTag.div>, _ name: String, _ value: String?, file: StaticString = #filePath, line: UInt = #line) {
[36/40] Emitting module ElementaryHyperscript
[37/40] Compiling ElementaryHyperscript HTMLAttribute+Hyperscript.swift
[38/40] Emitting module ElementaryHTMX
/host/spi-builder-workspace/Sources/ElementaryHTMX/HTMLAttribute+HTMX.swift:32:92: warning: 'appending(seperatedBy:)' is deprecated: renamed to 'appending(separatedBy:)' [#DeprecatedDeclaration]
 30 |     static func selectOOB(_ selector: String, _ swap: HTMLAttributeValue.HTMX.SwapTarget? = nil) -> HTMLAttribute {
 31 |         if let swap {
 32 |             .init(name: "hx-select-oob", value: "\(selector):\(swap.rawValue)", mergedBy: .appending(seperatedBy: ","))
    |                                                                                            |- warning: 'appending(seperatedBy:)' is deprecated: renamed to 'appending(separatedBy:)' [#DeprecatedDeclaration]
    |                                                                                            `- note: use 'appending(separatedBy:)' instead
 33 |         } else {
 34 |             .init(name: "hx-select-oob", value: selector, mergedBy: .appending(seperatedBy: ","))
/host/spi-builder-workspace/Sources/ElementaryHTMX/HTMLAttribute+HTMX.swift:34:70: warning: 'appending(seperatedBy:)' is deprecated: renamed to 'appending(separatedBy:)' [#DeprecatedDeclaration]
 32 |             .init(name: "hx-select-oob", value: "\(selector):\(swap.rawValue)", mergedBy: .appending(seperatedBy: ","))
 33 |         } else {
 34 |             .init(name: "hx-select-oob", value: selector, mergedBy: .appending(seperatedBy: ","))
    |                                                                      |- warning: 'appending(seperatedBy:)' is deprecated: renamed to 'appending(separatedBy:)' [#DeprecatedDeclaration]
    |                                                                      `- note: use 'appending(separatedBy:)' instead
 35 |         }
 36 |     }
/host/spi-builder-workspace/Sources/ElementaryHTMX/HTMLAttribute+HTMX.swift:59:69: warning: 'appending(seperatedBy:)' is deprecated: renamed to 'appending(separatedBy:)' [#DeprecatedDeclaration]
 57 |
 58 |     static func trigger(_ value: HTMLAttributeValue.HTMX.EventTrigger) -> HTMLAttribute {
 59 |         .init(name: "hx-trigger", value: value.rawValue, mergedBy: .appending(seperatedBy: ", "))
    |                                                                     |- warning: 'appending(seperatedBy:)' is deprecated: renamed to 'appending(separatedBy:)' [#DeprecatedDeclaration]
    |                                                                     `- note: use 'appending(separatedBy:)' instead
 60 |     }
 61 |
/host/spi-builder-workspace/Sources/ElementaryHTMX/HTMLAttribute+HTMX.swift:63:69: warning: 'appending(seperatedBy:)' is deprecated: renamed to 'appending(separatedBy:)' [#DeprecatedDeclaration]
 61 |
 62 |     static func trigger(_ value: HTMLAttributeValue.HTMX.PollingTrigger) -> HTMLAttribute {
 63 |         .init(name: "hx-trigger", value: value.rawValue, mergedBy: .appending(seperatedBy: ", "))
    |                                                                     |- warning: 'appending(seperatedBy:)' is deprecated: renamed to 'appending(separatedBy:)' [#DeprecatedDeclaration]
    |                                                                     `- note: use 'appending(separatedBy:)' instead
 64 |     }
 65 |
BUILD FAILURE 6.2 wasm