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 HandyJSON, reference master (f0b15d), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 22:33:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/alibaba/HandyJSON.git
Reference: master
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/alibaba/HandyJSON
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f0b15db 5.0.4-beta podspec
Cloned https://github.com/alibaba/HandyJSON.git
Revision (git rev-parse @):
f0b15db3bc0c51e935ea2385d6e33d412f04fffe
SUCCESS checkout https://github.com/alibaba/HandyJSON.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/alibaba/HandyJSON.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
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/34] Emitting module HandyJSON
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[4/38] Compiling HandyJSON Properties.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[5/38] Compiling HandyJSON PropertyInfo.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[6/38] Compiling HandyJSON ReflectionHelper.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[7/38] Compiling HandyJSON Serializer.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[8/38] Compiling HandyJSON TransformOf.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[9/38] Compiling HandyJSON TransformType.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[10/38] Compiling HandyJSON Transformable.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[11/38] Compiling HandyJSON URLTransform.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[12/38] Compiling HandyJSON ISO8601DateTransform.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[13/38] Compiling HandyJSON Logger.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[14/38] Compiling HandyJSON MangledName.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[15/38] Compiling HandyJSON Measuable.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[16/38] Compiling HandyJSON Metadata.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[17/38] Compiling HandyJSON NSDecimalNumberTransform.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[18/38] Compiling HandyJSON OtherExtension.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[19/38] Compiling HandyJSON PointerType.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[20/38] Compiling HandyJSON ExtendCustomModelType.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[21/38] Compiling HandyJSON FieldDescriptor.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[22/38] Compiling HandyJSON HelpingMapper.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[23/38] Compiling HandyJSON HexColorTransform.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[24/38] Compiling HandyJSON Deserializer.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[25/38] Compiling HandyJSON EnumTransform.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[26/38] Compiling HandyJSON EnumType.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[27/38] Compiling HandyJSON Export.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[28/38] Compiling HandyJSON ExtendCustomBasicType.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[29/38] Compiling HandyJSON AnyExtensions.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[30/38] Compiling HandyJSON BuiltInBasicType.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[31/38] Compiling HandyJSON BuiltInBridgeType.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[32/38] Compiling HandyJSON CBridge.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[33/38] Compiling HandyJSON Configuration.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[34/38] Compiling HandyJSON ContextDescriptorType.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[35/38] Compiling HandyJSON CustomDateFormatTransform.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[36/38] Compiling HandyJSON DataTransform.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[37/38] Compiling HandyJSON DateFormatterTransform.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
[38/38] Compiling HandyJSON DateTransform.swift
/host/spi-builder-workspace/Source/BuiltInBasicType.swift:20:8: error: no such module 'Foundation'
 18 | //
 19 |
 20 | import Foundation
    |        `- error: no such module 'Foundation'
 21 |
 22 | protocol _BuiltInBasicType: _Transformable {
BUILD FAILURE 6.2 wasm