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 SWCompression, reference 4.8.6 (390e0b), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 11:24:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/tsolomko/SWCompression.git
Reference: 4.8.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/tsolomko/SWCompression
 * tag               4.8.6      -> FETCH_HEAD
HEAD is now at 390e0b0 Merge branch 'develop'
Submodule path 'Tests/Test Files': checked out '83a2bcadb7efb27c1835a2b1324b1a0617bcf901'
Submodule 'Tests/Test Files' (https://github.com/tsolomko/SWCompression-Test-Files.git) registered for path 'Tests/Test Files'
Cloning into '/host/spi-builder-workspace/Tests/Test Files'...
Cloned https://github.com/tsolomko/SWCompression.git
Revision (git rev-parse @):
390e0b0af8dd19a600005a242a89e570ff482e09
SUCCESS checkout https://github.com/tsolomko/SWCompression.git at 4.8.6
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tsolomko/SWCompression.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/tsolomko/BitByteData
Fetching https://github.com/jakeheis/SwiftCLI
[1/3067] Fetching bitbytedata
[3068/8141] Fetching bitbytedata, swiftcli
Fetched https://github.com/tsolomko/BitByteData from cache (0.41s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.42s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (0.80s)
Computing version for https://github.com/tsolomko/BitByteData
Computed https://github.com/tsolomko/BitByteData at 2.0.4 (0.50s)
Creating working copy for https://github.com/tsolomko/BitByteData
Working copy of https://github.com/tsolomko/BitByteData resolved at 2.0.4
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 6.0.3
Building for debugging...
[0/13] Write sources
[4/13] Copying PrivacyInfo.xcprivacy
[6/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/46] Emitting module BitByteData
/host/spi-builder-workspace/.build/checkouts/BitByteData/Sources/BigEndianByteReader.swift:6:8: error: no such module 'Foundation'
  4 | // See LICENSE for license information
  5 |
  6 | import Foundation
    |        `- error: no such module 'Foundation'
  7 |
  8 | /// A type that contains functions for reading `Data` byte-by-byte in the Big Endian order.
[9/47] Compiling SwiftCLI OptionRegistry.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[10/47] Compiling SwiftCLI Parameter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[11/47] Compiling SwiftCLI Parser.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[12/49] Compiling BitByteData resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/BitByteData/Sources/BigEndianByteReader.swift:6:8: error: no such module 'Foundation'
  4 | // See LICENSE for license information
  5 |
  6 | import Foundation
    |        `- error: no such module 'Foundation'
  7 |
  8 | /// A type that contains functions for reading `Data` byte-by-byte in the Big Endian order.
[13/49] Compiling BitByteData LsbBitReader.swift
/host/spi-builder-workspace/.build/checkouts/BitByteData/Sources/BigEndianByteReader.swift:6:8: error: no such module 'Foundation'
  4 | // See LICENSE for license information
  5 |
  6 | import Foundation
    |        `- error: no such module 'Foundation'
  7 |
  8 | /// A type that contains functions for reading `Data` byte-by-byte in the Big Endian order.
[14/49] Compiling BitByteData LsbBitWriter.swift
/host/spi-builder-workspace/.build/checkouts/BitByteData/Sources/BigEndianByteReader.swift:6:8: error: no such module 'Foundation'
  4 | // See LICENSE for license information
  5 |
  6 | import Foundation
    |        `- error: no such module 'Foundation'
  7 |
  8 | /// A type that contains functions for reading `Data` byte-by-byte in the Big Endian order.
[15/49] Compiling SwiftCLI Term.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[16/49] Compiling SwiftCLI Validation.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[17/49] Compiling BitByteData MsbBitWriter.swift
/host/spi-builder-workspace/.build/checkouts/BitByteData/Sources/BigEndianByteReader.swift:6:8: error: no such module 'Foundation'
  4 | // See LICENSE for license information
  5 |
  6 | import Foundation
    |        `- error: no such module 'Foundation'
  7 |
  8 | /// A type that contains functions for reading `Data` byte-by-byte in the Big Endian order.
[18/49] Compiling BitByteData MsbBitReader.swift
/host/spi-builder-workspace/.build/checkouts/BitByteData/Sources/BigEndianByteReader.swift:6:8: error: no such module 'Foundation'
  4 | // See LICENSE for license information
  5 |
  6 | import Foundation
    |        `- error: no such module 'Foundation'
  7 |
  8 | /// A type that contains functions for reading `Data` byte-by-byte in the Big Endian order.
[19/49] Compiling BitByteData SignedNumberRepresentation.swift
/host/spi-builder-workspace/.build/checkouts/BitByteData/Sources/BigEndianByteReader.swift:6:8: error: no such module 'Foundation'
  4 | // See LICENSE for license information
  5 |
  6 | import Foundation
    |        `- error: no such module 'Foundation'
  7 |
  8 | /// A type that contains functions for reading `Data` byte-by-byte in the Big Endian order.
[20/49] Compiling BitByteData Extensions.swift
/host/spi-builder-workspace/.build/checkouts/BitByteData/Sources/BigEndianByteReader.swift:6:8: error: no such module 'Foundation'
  4 | // See LICENSE for license information
  5 |
  6 | import Foundation
    |        `- error: no such module 'Foundation'
  7 |
  8 | /// A type that contains functions for reading `Data` byte-by-byte in the Big Endian order.
[21/49] Compiling BitByteData LittleEndianByteReader.swift
/host/spi-builder-workspace/.build/checkouts/BitByteData/Sources/BigEndianByteReader.swift:6:8: error: no such module 'Foundation'
  4 | // See LICENSE for license information
  5 |
  6 | import Foundation
    |        `- error: no such module 'Foundation'
  7 |
  8 | /// A type that contains functions for reading `Data` byte-by-byte in the Big Endian order.
[22/49] Compiling SwiftCLI ArgumentList.swift
/host/spi-builder-workspace/.build/checkouts/BitByteData/Sources/BigEndianByteReader.swift:6:8: error: no such module 'Foundation'
  4 | // See LICENSE for license information
  5 |
  6 | import Foundation
    |        `- error: no such module 'Foundation'
  7 |
  8 | /// A type that contains functions for reading `Data` byte-by-byte in the Big Endian order.
[23/49] Compiling SwiftCLI ArgumentListManipulator.swift
/host/spi-builder-workspace/.build/checkouts/BitByteData/Sources/BigEndianByteReader.swift:6:8: error: no such module 'Foundation'
  4 | // See LICENSE for license information
  5 |
  6 | import Foundation
    |        `- error: no such module 'Foundation'
  7 |
  8 | /// A type that contains functions for reading `Data` byte-by-byte in the Big Endian order.
[24/49] Compiling SwiftCLI CLI.swift
/host/spi-builder-workspace/.build/checkouts/BitByteData/Sources/BigEndianByteReader.swift:6:8: error: no such module 'Foundation'
  4 | // See LICENSE for license information
  5 |
  6 | import Foundation
    |        `- error: no such module 'Foundation'
  7 |
  8 | /// A type that contains functions for reading `Data` byte-by-byte in the Big Endian order.
[25/49] Compiling SwiftCLI Error.swift
/host/spi-builder-workspace/.build/checkouts/BitByteData/Sources/BigEndianByteReader.swift:6:8: error: no such module 'Foundation'
  4 | // See LICENSE for license information
  5 |
  6 | import Foundation
    |        `- error: no such module 'Foundation'
  7 |
  8 | /// A type that contains functions for reading `Data` byte-by-byte in the Big Endian order.
[26/49] Compiling SwiftCLI ValueBox.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[27/49] Compiling SwiftCLI VersionCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[28/49] Compiling SwiftCLI Path.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[29/49] Compiling SwiftCLI Stream.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[30/49] Compiling SwiftCLI Task.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/49] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
BUILD FAILURE 6.2 wasm