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 main (283d3a), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 08:47:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: 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/go-feature-flag/openfeature-swift-provider
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 283d3a9 Update README.md
Cloned https://github.com/go-feature-flag/openfeature-swift-provider.git
Revision (git rev-parse @):
283d3a93e71bd8b6f801f6393497b96ad2f8ef53
SUCCESS checkout https://github.com/go-feature-flag/openfeature-swift-provider.git at main
========================================
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-4609320-0":/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.42s)
Computing version for https://github.com/open-feature/swift-sdk.git
Computed https://github.com/open-feature/swift-sdk.git at 0.3.0 (8.07s)
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
[5/31] 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.
[6/31] 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.
[7/31] 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.
[8/31] 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.
[9/31] 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.
[10/31] 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.
[11/31] 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.
[12/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.
[13/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.
[14/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.
[15/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.
[16/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.
[17/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.
[18/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.
[19/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.
[20/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.
[21/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.
[22/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.
[23/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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/34] 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.
[25/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.
[26/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.
[27/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.
[28/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.
[29/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.
[30/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.
[31/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.
[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