The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HsExtensions.Swift, reference 1.0.6 (001201), with Swift 6.2 for Wasm on 21 Jun 2025 23:41:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/horizontalsystems/HsExtensions.Swift.git
Reference: 1.0.6
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/horizontalsystems/HsExtensions.Swift
 * tag               1.0.6      -> FETCH_HEAD
HEAD is now at 0012014 Fix `DistinctPublished` property wrapper
Cloned https://github.com/horizontalsystems/HsExtensions.Swift.git
Revision (git rev-parse @):
0012014f98ae81ffb89b0d3a2e9c204559e1c278
SUCCESS checkout https://github.com/horizontalsystems/HsExtensions.Swift.git at 1.0.6
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/horizontalsystems/HsExtensions.Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling HsExtensions AnyTask.swift
/host/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[4/16] Compiling HsExtensions Array.swift
/host/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[5/17] Compiling HsExtensions HsExtension.swift
/host/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[6/17] Compiling HsExtensions Published.swift
/host/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[7/17] Compiling HsExtensions Decimal.swift
/host/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[8/17] Compiling HsExtensions Directory.swift
/host/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[9/17] Compiling HsExtensions String.swift
/host/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[10/17] Compiling HsExtensions Task+AnyTask.swift
/host/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[11/17] Compiling HsExtensions Timer.swift
/host/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/17] Emitting module HsExtensions
/host/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[13/17] Compiling HsExtensions BinaryConvertible.swift
/host/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[14/17] Compiling HsExtensions Data.swift
/host/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[15/17] Compiling HsExtensions Date.swift
/host/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[16/17] Compiling HsExtensions DateFormatter.swift
/host/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[17/17] Compiling HsExtensions VarInt.swift
/host/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
BUILD FAILURE 6.2 wasm