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 PersistentKeyValueKit, reference main (2f459e), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 18:04:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/kylehughes/PersistentKeyValueKit.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/kylehughes/PersistentKeyValueKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2f459e0 Initial commit
Cloned https://github.com/kylehughes/PersistentKeyValueKit.git
Revision (git rev-parse @):
2f459e001820c74bb271036dd6a821df0f629b4c
SUCCESS checkout https://github.com/kylehughes/PersistentKeyValueKit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kylehughes/PersistentKeyValueKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/31] Emitting module PersistentKeyValueKit
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[4/34] Compiling PersistentKeyValueKit PersistentKeyUIObservableObject.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[5/34] Compiling PersistentKeyValueKit PersistentValue+EnvironmentValues.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[6/34] Compiling PersistentKeyValueKit PersistentValue.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[7/34] Compiling PersistentKeyValueKit Dictionary<String, KeyValuePersistible>+KeyValuePersistible.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[8/34] Compiling PersistentKeyValueKit Double+KeyValuePersistible.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[9/34] Compiling PersistentKeyValueKit Float+KeyValuePersistible.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[10/34] Compiling PersistentKeyValueKit Int+KeyValuePersistible.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[11/34] Compiling PersistentKeyValueKit ProxyPersistentKeyValueRepresentation.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[12/34] Compiling PersistentKeyValueKit ProxyPersistentKeyValueRepresentationProtocol.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[13/34] Compiling PersistentKeyValueKit RawRepresentablePersistentKeyValueRepresentation.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[14/34] Compiling PersistentKeyValueKit PersistentKeyValueRepresentation.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[15/34] Compiling PersistentKeyValueKit Data+KeyValuePersistible.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[16/34] Compiling PersistentKeyValueKit URL+KeyValuePersistible.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[17/34] Compiling PersistentKeyValueKit Array<KeyValuePersistible>+KeyValuePersistible.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[18/34] Compiling PersistentKeyValueKit Bool+KeyValuePersistible.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[19/34] Compiling PersistentKeyValueKit PersistentDebugKey.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[20/34] Compiling PersistentKeyValueKit PersistentKey.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[21/34] Compiling PersistentKeyValueKit PersistentKeyProtocol.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[22/34] Compiling PersistentKeyValueKit DefaultPersistentKeyValueStoreViewModifier.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[23/34] Compiling PersistentKeyValueKit CodablePersistentKeyValueRepresentation.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[24/34] Compiling PersistentKeyValueKit LosslessStringConvertiblePersistentKeyValueRepresentation.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[25/34] Compiling PersistentKeyValueKit OptionalPersistentKeyValueRepresentation.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[26/34] Compiling PersistentKeyValueKit PrimitivePersistentKeyValueRepresentation.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[27/34] Compiling PersistentKeyValueKit NSUbiquitousKeyValueStore+PersistentKeyValueStore.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[28/34] Compiling PersistentKeyValueKit UserDefaults+PersistentKeyValueStore.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[29/34] Compiling PersistentKeyValueKit InMemoryPersistentKeyValueStore.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[30/34] Compiling PersistentKeyValueKit PersistentKeyValueStore.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[31/34] Compiling PersistentKeyValueKit Optional+KeyValuePersistible.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[32/34] Compiling PersistentKeyValueKit String+KeyValuePersistible.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[33/34] Compiling PersistentKeyValueKit KeyValuePersistible.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
[34/34] Compiling PersistentKeyValueKit PrimitiveKeyValuePersistible.swift
/host/spi-builder-workspace/Sources/PersistentKeyValueKit/Key-Value Persistible/Extension/Foundation/Data+KeyValuePersistible.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | // MARK: - KeyValuePersistible Extension
BUILD FAILURE 6.2 wasm