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 OpenFeature, reference main (56b477), with Swift 6.2 (beta) for Wasm on 12 Sep 2025 03:06:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/open-feature/swift-sdk.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/open-feature/swift-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 56b477e feat!: add provider event details (#77)
Cloned https://github.com/open-feature/swift-sdk.git
Revision (git rev-parse @):
56b477e69250bc52feab0c9838234843d83b5732
SUCCESS checkout https://github.com/open-feature/swift-sdk.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/open-feature/swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
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
[3/32] Compiling OpenFeature ProviderEvents.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[4/32] Compiling OpenFeature ProviderMetadata.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[5/32] Compiling OpenFeature ProviderStatus.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[6/32] Compiling OpenFeature Reason.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[7/36] Compiling OpenFeature HookContext.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[8/36] Compiling OpenFeature HookSupport.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[9/36] Compiling OpenFeature ImmutableContext.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[10/36] Compiling OpenFeature ImmutableStructure.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[11/36] Compiling OpenFeature MetadataValue.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[12/36] Compiling OpenFeature MutableStructure.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[13/36] Compiling OpenFeature OpenFeatureAPI.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[14/36] Compiling OpenFeature OpenFeatureClient.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[15/36] Compiling OpenFeature FlagEvaluationOptions.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[16/36] Compiling OpenFeature FlagMetadataValue.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[17/36] Compiling OpenFeature FlagValueType.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[18/36] Compiling OpenFeature Hook.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[19/36] Compiling OpenFeature Structure.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[20/36] Compiling OpenFeature Value.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[21/36] Compiling OpenFeature ErrorCode.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[22/36] Compiling OpenFeature OpenFeatureError.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/36] Emitting module OpenFeature
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[24/36] Compiling OpenFeature EventMetadataValue.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[25/36] Compiling OpenFeature Features+Defaults.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[26/36] Compiling OpenFeature Features.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[27/36] Compiling OpenFeature FlagEvaluationDetails.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[28/36] Compiling OpenFeature BaseEvaluation.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[29/36] Compiling OpenFeature Client.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[30/36] Compiling OpenFeature ClientMetadata.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[31/36] Compiling OpenFeature EvaluationContext.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[32/36] Compiling OpenFeature EventHandler.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[33/36] Compiling OpenFeature FeatureProvider.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[34/36] Compiling OpenFeature NoOpProvider.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[35/36] Compiling OpenFeature ProviderEvaluation.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
[36/36] Compiling OpenFeature ProviderEventDetails.swift
/host/spi-builder-workspace/Sources/OpenFeature/BaseEvaluation.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// This is a common interface between the evaluation results that providers return and what is given to the end users.
BUILD FAILURE 6.2 wasm