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 Persist, reference v1.2.4 (063637), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 10:12:58 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/JosephDuffy/Persist.git
Reference: v1.2.4
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/JosephDuffy/Persist
 * tag               v1.2.4     -> FETCH_HEAD
HEAD is now at 063637a Add PrivacyInfo.xcprivacy
Cloned https://github.com/JosephDuffy/Persist.git
Revision (git rev-parse @):
063637a6d0bfadd0e66cad1d98bafb5cc3b28fce
SUCCESS checkout https://github.com/JosephDuffy/Persist.git at v1.2.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/JosephDuffy/Persist.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
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[1/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/32] Emitting module Persist
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[5/32] Compiling Persist AnyCancellable.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[6/32] Compiling Persist Cancellable.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[7/32] Compiling Persist DefaultValuePersistOption.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[8/32] Compiling Persist FileManagerStorage.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[9/36] Compiling Persist StorableInUserDefaultsTransformer.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[10/36] Compiling Persist UserDefaultsStorage.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[11/36] Compiling Persist UserDefaultsValue.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[12/36] Compiling Persist resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[13/36] Compiling Persist AggregateTransformer.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[14/36] Compiling Persist JSONTransformer.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[15/36] Compiling Persist PropertyListTransformer.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[16/36] Compiling Persist RawRepresentableTransformer.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[17/36] Compiling Persist NSUbiquitousKeyValueStoreValue.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[18/36] Compiling Persist Persisted+NSUbiquitousKeyValueStore.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[19/36] Compiling Persist Persister+NSUbiquitousKeyValueStore.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[20/36] Compiling Persist StorableInNSUbiquitousKeyValueStoreTransformer.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[21/36] Compiling Persist Transformer.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[22/36] Compiling Persist Persisted+UserDefaults.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[23/36] Compiling Persist Persister+UserDefaults.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[24/36] Compiling Persist StorableInUserDefaults.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[25/36] Compiling Persist StorableInUbiquitousKeyValueStore.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[26/36] Compiling Persist ObservablePersister.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[27/36] Compiling Persist PersistStorage.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[28/36] Compiling Persist Persisted.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[29/36] Compiling Persist PersistenceError.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[30/36] Compiling Persist Persister.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[31/36] Compiling Persist Storage.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[32/36] Compiling Persist Subscription.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[33/36] Compiling Persist Persisted+FileManager.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[34/36] Compiling Persist Persister+FileManager.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[35/36] Compiling Persist InMemoryStorage.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
[36/36] Compiling Persist NSUbiquitousKeyValueStoreStorage.swift
/host/spi-builder-workspace/Sources/Persist/FileManager/FileManagerStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /**
BUILD FAILURE 6.2 wasm