The Swift Package Index logo.Swift Package Index

Build Information

Failed to build feature-flags, reference 1.2.2 (d48dab), with Swift 6.3 for Wasm on 18 Apr 2026 06:08:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nashysolutions/feature-flags.git
Reference: 1.2.2
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/nashysolutions/feature-flags
 * tag               1.2.2      -> FETCH_HEAD
HEAD is now at d48dab6 Adding documentation.
Cloned https://github.com/nashysolutions/feature-flags.git
Revision (git rev-parse @):
d48dab67ca4a4668baab797f51913824a0aca218
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nashysolutions/feature-flags.git at 1.2.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/nashysolutions/feature-flags.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/nashysolutions/versioning.git
[1/80] Fetching versioning
Fetched https://github.com/nashysolutions/versioning.git from cache (0.44s)
Computing version for https://github.com/nashysolutions/versioning.git
Computed https://github.com/nashysolutions/versioning.git at 2.2.0 (1.48s)
Creating working copy for https://github.com/nashysolutions/versioning.git
Working copy of https://github.com/nashysolutions/versioning.git resolved at 2.2.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/5] Emitting module Versioning
[5/5] Compiling Versioning SemanticVersion.swift
[7/11] Compiling FeatureFlags FeatureFlags.swift
/host/spi-builder-workspace/Sources/FeatureFlags/FeatureFlags.swift:26:34: error: cannot find type 'ObservableObject' in scope
 24 | /// over default availability rules defined in the registry.
 25 | @MainActor
 26 | public final class FeatureFlags: ObservableObject {
    |                                  `- error: cannot find type 'ObservableObject' in scope
 27 |
 28 |     /// A published property containing the list of currently enabled feature flags.
/host/spi-builder-workspace/Sources/FeatureFlags/FeatureFlags.swift:30:6: error: unknown attribute 'Published'
 28 |     /// A published property containing the list of currently enabled feature flags.
 29 |     /// Observers can use this property to react to changes in feature availability.
 30 |     @Published public private(set) var enabledFeatures: [FeatureFlag] = []
    |      `- error: unknown attribute 'Published'
 31 |
 32 |     /// The registry responsible for managing the lifecycle and availability of feature flags.
[8/11] Compiling FeatureFlags UserOverrideManager.swift
[9/11] Compiling FeatureFlags FeatureRegistry.swift
[10/11] Compiling FeatureFlags FeatureFlag.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/11] Emitting module FeatureFlags
/host/spi-builder-workspace/Sources/FeatureFlags/FeatureFlags.swift:26:34: error: cannot find type 'ObservableObject' in scope
 24 | /// over default availability rules defined in the registry.
 25 | @MainActor
 26 | public final class FeatureFlags: ObservableObject {
    |                                  `- error: cannot find type 'ObservableObject' in scope
 27 |
 28 |     /// A published property containing the list of currently enabled feature flags.
/host/spi-builder-workspace/Sources/FeatureFlags/FeatureFlags.swift:30:6: error: unknown attribute 'Published'
 28 |     /// A published property containing the list of currently enabled feature flags.
 29 |     /// Observers can use this property to react to changes in feature availability.
 30 |     @Published public private(set) var enabledFeatures: [FeatureFlag] = []
    |      `- error: unknown attribute 'Published'
 31 |
 32 |     /// The registry responsible for managing the lifecycle and availability of feature flags.
BUILD FAILURE 6.3 wasm