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 LSKit, reference main (20911f), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 06:03:28 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/divadretlaw/lskit.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/divadretlaw/lskit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 20911f6 Add basic progress
Cloned https://github.com/divadretlaw/lskit.git
Revision (git rev-parse @):
20911f68fef6f9f46bdd97df5bc119abd0d45be4
SUCCESS checkout https://github.com/divadretlaw/lskit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/divadretlaw/lskit.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
Fetching https://github.com/facebook/zstd
Fetching https://github.com/divadretlaw/BinaryUtils.git
[1/266] Fetching binaryutils
[267/82308] Fetching binaryutils, zstd
Fetched https://github.com/divadretlaw/BinaryUtils.git from cache (7.14s)
Fetched https://github.com/facebook/zstd from cache (7.31s)
Computing version for https://github.com/divadretlaw/BinaryUtils.git
Computed https://github.com/divadretlaw/BinaryUtils.git at 1.1.0 (10.60s)
Computing version for https://github.com/facebook/zstd
Computed https://github.com/facebook/zstd at 1.5.7 (0.54s)
Creating working copy for https://github.com/facebook/zstd
Working copy of https://github.com/facebook/zstd resolved at 1.5.7
Creating working copy for https://github.com/divadretlaw/BinaryUtils.git
Working copy of https://github.com/divadretlaw/BinaryUtils.git resolved at 1.1.0
Building for debugging...
[0/34] Compiling error_private.c
[1/34] Write swift-version-24593BA9C3E375BF.txt
[2/34] Compiling pool.c
[3/34] Compiling debug.c
[4/34] Compiling entropy_common.c
[5/34] Compiling fse_decompress.c
[6/34] Compiling fastcover.c
[7/34] Compiling huf_compress.c
[8/34] Compiling huf_decompress_amd64.S
[8/34] Compiling zdict.c
[10/34] Compiling zstd_ddict.c
[11/34] Compiling cover.c
[12/34] Compiling zstd_decompress.c
[13/34] Compiling divsufsort.c
[14/34] Compiling zstd_preSplit.c
[15/34] Compiling zstdmt_compress.c
[16/34] Compiling zstd_ldm.c
[17/34] Compiling zstd_decompress_block.c
[18/34] Compiling zstd_compress_superblock.c
[19/34] Compiling zstd_compress_sequences.c
[20/34] Compiling huf_decompress.c
[21/34] Compiling zstd_compress_literals.c
[22/34] Compiling zstd_opt.c
[23/34] Compiling hist.c
[24/34] Compiling threading.c
[25/34] Write sources
[27/34] Compiling zstd_double_fast.c
[28/34] Compiling zstd_common.c
[29/34] Compiling fse_compress.c
[30/34] Compiling xxhash.c
[31/38] Compiling zstd_fast.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/56] Emitting module BinaryUtils
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[33/58] Compiling zstd_compress.c
[34/58] Compiling zstd_lazy.c
[36/58] Compiling BinaryUtils FileHandle+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[37/58] Compiling BinaryUtils String+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[38/58] Compiling BinaryUtils UInt64+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[39/58] Compiling BinaryUtils MD5.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[40/58] Compiling BinaryUtils FileHandleIterator.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[41/58] Compiling BinaryUtils BinaryDecoder.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[42/58] Compiling BinaryUtils BinaryEncoder.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[43/58] Compiling BinaryUtils BinaryCodingKey.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[44/58] Compiling BinaryUtils DataDecoder.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[45/58] Compiling BinaryUtils DataKeyedDecodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[46/58] Compiling BinaryUtils DataSingleValueDecodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[47/58] Compiling BinaryUtils DataUnkeyedDecodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[48/58] Compiling BinaryUtils DataEncoder.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[49/58] Compiling BinaryUtils DataKeyedEncodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[50/58] Compiling BinaryUtils DataSingleValueEncodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[51/58] Compiling BinaryUtils DataUnkeyedEncodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[52/58] Compiling BinaryUtils FileHandleDecoder.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[53/58] Compiling BinaryUtils Data+Compression.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[54/58] Compiling BinaryUtils Data+Helper.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[55/58] Compiling BinaryUtils Data+Init.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[56/58] Compiling BinaryUtils FileHandleKeyedDecoder.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[57/58] Compiling BinaryUtils FileHandleSingleValueDecodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
[58/58] Compiling BinaryUtils FileHandleUnkeyedDecodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/BinaryUtils/Sources/BinaryUtils/BinaryCodable/BinaryDecoder.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public final class BinaryDecoder {
BUILD FAILURE 6.2 wasm