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 CodableDatastore, reference 0.3.8 (123bea), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 04:00:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/mochidev/CodableDatastore.git
Reference: 0.3.8
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/mochidev/CodableDatastore
 * tag               0.3.8      -> FETCH_HEAD
HEAD is now at 123beae Updated the recommended version in the README
Cloned https://github.com/mochidev/CodableDatastore.git
Revision (git rev-parse @):
123beae86f8d53ee36e0f7ba116debf6e010b8ab
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mochidev/CodableDatastore.git at 0.3.8
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mochidev/CodableDatastore.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/mochidev/AsyncSequenceReader.git
Fetching https://github.com/mochidev/Bytes.git
[1/452] Fetching bytes
[453/678] Fetching bytes, asyncsequencereader
Fetched https://github.com/mochidev/AsyncSequenceReader.git from cache (0.34s)
Fetched https://github.com/mochidev/Bytes.git from cache (0.34s)
Computing version for https://github.com/mochidev/AsyncSequenceReader.git
Computed https://github.com/mochidev/AsyncSequenceReader.git at 0.3.1 (1.09s)
Computing version for https://github.com/mochidev/Bytes.git
Computed https://github.com/mochidev/Bytes.git at 0.3.1 (2.80s)
Creating working copy for https://github.com/mochidev/Bytes.git
Working copy of https://github.com/mochidev/Bytes.git resolved at 0.3.1
Creating working copy for https://github.com/mochidev/AsyncSequenceReader.git
Working copy of https://github.com/mochidev/AsyncSequenceReader.git resolved at 0.3.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/22] Compiling Bytes String.swift
/host/spi-builder-workspace/.build/checkouts/Bytes/Sources/Bytes/Colletion+Casting.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | extension BidirectionalCollection where Element == Byte {
[6/23] Compiling Bytes Integer.swift
/host/spi-builder-workspace/.build/checkouts/Bytes/Sources/Bytes/Colletion+Casting.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | extension BidirectionalCollection where Element == Byte {
[7/23] Compiling Bytes Colletion+Casting.swift
/host/spi-builder-workspace/.build/checkouts/Bytes/Sources/Bytes/Colletion+Casting.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | extension BidirectionalCollection where Element == Byte {
[8/23] Compiling Bytes RawRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/Bytes/Sources/Bytes/Colletion+Casting.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | extension BidirectionalCollection where Element == Byte {
[9/23] Emitting module AsyncSequenceReader
[10/23] Compiling AsyncSequenceReader AnyReadableSequence.swift
[11/23] Compiling Bytes BytesError.swift
/host/spi-builder-workspace/.build/checkouts/Bytes/Sources/Bytes/Colletion+Casting.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | extension BidirectionalCollection where Element == Byte {
[12/24] Compiling AsyncSequenceReader AsyncReadUpToElementsSequence.swift
[13/24] Compiling AsyncSequenceReader AsyncSequenceReader.swift
[14/24] Compiling Bytes AsyncByteIterator.swift
/host/spi-builder-workspace/.build/checkouts/Bytes/Sources/Bytes/Colletion+Casting.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | extension BidirectionalCollection where Element == Byte {
[15/24] Compiling Bytes AsyncChunkedBytes.swift
/host/spi-builder-workspace/.build/checkouts/Bytes/Sources/Bytes/Colletion+Casting.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | extension BidirectionalCollection where Element == Byte {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/24] Emitting module Bytes
/host/spi-builder-workspace/.build/checkouts/Bytes/Sources/Bytes/Colletion+Casting.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | extension BidirectionalCollection where Element == Byte {
[17/24] Compiling Bytes ByteIterator.swift
/host/spi-builder-workspace/.build/checkouts/Bytes/Sources/Bytes/Colletion+Casting.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | extension BidirectionalCollection where Element == Byte {
[18/24] Compiling Bytes Bytes.swift
/host/spi-builder-workspace/.build/checkouts/Bytes/Sources/Bytes/Colletion+Casting.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | extension BidirectionalCollection where Element == Byte {
[19/24] Compiling AsyncSequenceReader AsyncReadSequence.swift
[20/24] Compiling AsyncSequenceReader AsyncReadUpToCountSequence.swift
[21/24] Compiling AsyncSequenceReader AsyncBufferedIterator.swift
[22/24] Compiling AsyncSequenceReader AsyncIteratorMapSequence.swift
[23/24] Compiling AsyncSequenceReader AsyncSequenceReaderError.swift
[25/25] Compiling Bytes UUID.swift
/host/spi-builder-workspace/.build/checkouts/Bytes/Sources/Bytes/Colletion+Casting.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | extension BidirectionalCollection where Element == Byte {
BUILD FAILURE 6.2 wasm