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 Toggles, reference 1.0.0 (a66844), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 17:01:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/TogglesPlatform/Toggles.git
Reference: 1.0.0
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/TogglesPlatform/Toggles
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at a668441 Merge pull request #52 from TogglesPlatform/move-cli-tools-to-separate-repos
Cloned https://github.com/TogglesPlatform/Toggles.git
Revision (git rev-parse @):
a668441a54cf53a86903fb3e15bb0ff0cb76d52d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/TogglesPlatform/Toggles.git at 1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/TogglesPlatform/Toggles.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.40s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (2.56s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3416] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.25s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.76s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Copying PreviewDatasource.json
[2/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/55] Emitting module Toggles
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[7/62] Compiling Toggles ObjectSupportedType+Codable.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[8/62] Compiling Toggles ObjectSupportedType+Equatable.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[9/62] Compiling Toggles ObjectSupportedType+Utilities.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[10/62] Compiling Toggles String+Object.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[11/62] Compiling Toggles String+Bool.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[12/62] Compiling Toggles String+ValidJSON.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[13/62] Compiling Toggles Toggle+Codable.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[14/62] Compiling Toggles Group.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[15/62] Compiling Toggles Metadata.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[16/62] Compiling Toggles Object.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[17/62] Compiling Toggles ObjectSupportedType.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[18/62] Compiling Toggles Toggle.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[19/62] Compiling Toggles Value.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[20/62] Compiling Toggles Variable.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[21/62] Compiling Toggles InputValidationHelper.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[22/62] Compiling Toggles SearchFilter.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[23/62] Compiling Toggles TogglesValidator.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[24/62] Compiling Toggles ValueCache.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[25/62] Compiling Toggles ToggleDetailView.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[26/62] Compiling Toggles TogglesView.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[27/62] Compiling Toggles resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[28/62] Compiling Toggles ToggleObservable.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[29/62] Compiling Toggles Ciphering.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[30/62] Compiling Toggles Logger.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[31/62] Compiling Toggles MutableValueProvider.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[32/62] Compiling Toggles Publishing.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[33/62] Compiling Toggles Reacting.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[34/62] Compiling Toggles ValueProvider.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[35/62] Compiling Toggles ChaCha20Poly1305.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[36/62] Compiling Toggles Dictionary+Toggles.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[37/62] Compiling Toggles Group+Identifiable.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[38/62] Compiling Toggles Group+Utilities.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[39/62] Compiling Toggles Object+Codable.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[40/62] Compiling Toggles Object+Equatable.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[41/62] Compiling Toggles ObjectSupportedType+Accessors.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[42/62] Compiling Toggles Toggle+Comparable.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[43/62] Compiling Toggles Toggle+Identifiable.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[44/62] Compiling Toggles Toggle+Utilities.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[45/62] Compiling Toggles Value+Accessors.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[46/62] Compiling Toggles Value+Semi-Equatable.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[47/62] Compiling Toggles Value+Utilities.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[48/62] Compiling Toggles Datasource.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[49/62] Compiling Toggles DefaultValueProvider.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[50/62] Compiling Toggles InMemoryValueProvider.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[51/62] Compiling Toggles LocalValueProvider.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[52/62] Compiling Toggles PersistentValueProvider.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[53/62] Compiling Toggles ToggleManager+Caching.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[54/62] Compiling Toggles ToggleManager+Ciphering.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[55/62] Compiling Toggles ToggleManager+Logging.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[56/62] Compiling Toggles ToggleManager+Overrides.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[57/62] Compiling Toggles ToggleManager+Publishing.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[58/62] Compiling Toggles ToggleManager+Reacting.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[59/62] Compiling Toggles ToggleManager+Trace.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[60/62] Compiling Toggles ToggleManager.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[61/62] Compiling Toggles CipherConfiguration.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
[62/62] Compiling Toggles GroupLoader.swift
/host/spi-builder-workspace/Sources/Ciphers/ChaCha20Poly1305.swift:3:8: error: no such module 'Foundation'
 1 | //  ChaCha20Poly1305.swift
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 | import CryptoKit
 5 |
BUILD FAILURE 6.2 wasm