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 GOFeatureFlag, reference v0.4.0 (bd7039), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 08:47:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/go-feature-flag/openfeature-swift-provider.git
Reference: v0.4.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/go-feature-flag/openfeature-swift-provider
 * tag               v0.4.0     -> FETCH_HEAD
HEAD is now at bd70399 feat: Openfeature SDK spec 0.8 support (#15)
Cloned https://github.com/go-feature-flag/openfeature-swift-provider.git
Revision (git rev-parse @):
bd703990705221703f20ff2c861d5fa11bf4212a
SUCCESS checkout https://github.com/go-feature-flag/openfeature-swift-provider.git at v0.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/go-feature-flag/openfeature-swift-provider.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Fetching https://github.com/open-feature/swift-sdk.git
[1/784] Fetching swift-sdk
Fetched https://github.com/open-feature/swift-sdk.git from cache (0.32s)
Computing version for https://github.com/open-feature/swift-sdk.git
Computed https://github.com/open-feature/swift-sdk.git at 0.3.0 (0.85s)
Creating working copy for https://github.com/open-feature/swift-sdk.git
Working copy of https://github.com/open-feature/swift-sdk.git resolved at 0.3.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/31] Emitting module OpenFeature
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature ProviderEvaluation.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature ProviderEvents.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature ProviderMetadata.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature EventHandler.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature Features+Defaults.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature Features.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature FlagEvaluationDetails.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature ProviderStatus.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature Reason.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature Structure.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature OpenFeatureAPI.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature OpenFeatureClient.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature FeatureProvider.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature NoOpProvider.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature FlagEvaluationOptions.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature FlagMetadataValue.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature FlagValueType.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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.
[23/34] Compiling OpenFeature Hook.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature HookContext.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature HookSupport.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature MutableContext.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature MutableStructure.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature BaseEvaluation.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature Client.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature ClientMetadata.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature EvaluationContext.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature Value.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature ErrorCode.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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/34] Compiling OpenFeature OpenFeatureError.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/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