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 develop (e71c7d), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 11:28:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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: develop
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
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at e71c7d8 [CI] Use docker for broken windows builds
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 @):
e71c7d88f350b90365395c3fd6af61082344ee18
SUCCESS checkout https://github.com/tsolomko/SWCompression.git at develop
========================================
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-4606859-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
[1/3067] Fetching bitbytedata
Fetched https://github.com/tsolomko/BitByteData from cache (0.54s)
Computing version for https://github.com/tsolomko/BitByteData
Computed https://github.com/tsolomko/BitByteData at 2.0.4 (1.44s)
Creating working copy for https://github.com/tsolomko/BitByteData
Working copy of https://github.com/tsolomko/BitByteData resolved at 2.0.4
Building for debugging...
[0/5] Copying PrivacyInfo.xcprivacy
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/17] 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.
[7/18] Compiling BitByteData BigEndianByteReader.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.
[8/18] Compiling BitByteData BitReader.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.
[9/18] 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.
[10/18] 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.
[11/18] 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.
[12/18] 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.
[13/18] 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.
[14/18] 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.
[15/18] 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.
[16/18] Compiling BitByteData BitWriter.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.
[17/18] Compiling BitByteData ByteReader.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/18] 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.
BUILD FAILURE 6.2 wasm