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 feature-flags, reference 1.2.1 (d732b0), with Swift 6.1 for Wasm on 15 Jun 2025 13:14:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nashysolutions/feature-flags.git
Reference: 1.2.1
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.1      -> FETCH_HEAD
HEAD is now at d732b08 Using https protocol for dependency.
Cloned https://github.com/nashysolutions/feature-flags.git
Revision (git rev-parse @):
d732b08ca3fe4a8b74e4c25fdede45e9632ef2ca
SUCCESS checkout https://github.com/nashysolutions/feature-flags.git at 1.2.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nashysolutions/feature-flags.git
https://github.com/nashysolutions/feature-flags.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "versioning",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.0",
            "upper_bound" : "2.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nashysolutions/versioning.git"
    }
  ],
  "manifest_display_name" : "feature-flags",
  "name" : "feature-flags",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "FeatureFlags",
      "targets" : [
        "FeatureFlags"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FeatureFlagsTests",
      "module_type" : "SwiftTarget",
      "name" : "FeatureFlagsTests",
      "path" : "Tests/FeatureFlagsTests",
      "sources" : [
        "FeatureFlagTests.swift",
        "FeatureFlagsTests.swift",
        "FeatureRegistryTests.swift",
        "UserOverrideManagerTests.swift"
      ],
      "target_dependencies" : [
        "FeatureFlags"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FeatureFlags",
      "module_type" : "SwiftTarget",
      "name" : "FeatureFlags",
      "path" : "Sources/FeatureFlags",
      "product_dependencies" : [
        "Versioning"
      ],
      "product_memberships" : [
        "FeatureFlags"
      ],
      "sources" : [
        "FeatureFlag.swift",
        "FeatureFlags.swift",
        "FeatureRegistry.swift",
        "UserOverrideManager.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:1d9b2ff10447e71c7331541368dc204699fc22b6bc9ef4efb815c3e4c1ba42e3
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/nashysolutions/versioning.git
[1/80] Fetching versioning
Fetched https://github.com/nashysolutions/versioning.git from cache (0.24s)
Computing version for https://github.com/nashysolutions/versioning.git
Computed https://github.com/nashysolutions/versioning.git at 2.2.0 (0.78s)
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] Compiling Versioning SemanticVersion.swift
[5/5] Emitting module Versioning
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/11] Compiling FeatureFlags UserOverrideManager.swift
[8/11] Compiling FeatureFlags FeatureFlag.swift
[9/11] Compiling FeatureFlags FeatureRegistry.swift
[10/11] Emitting module FeatureFlags
/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.
/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.
[11/11] Compiling FeatureFlags FeatureFlags.swift
/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.
/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.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:1d9b2ff10447e71c7331541368dc204699fc22b6bc9ef4efb815c3e4c1ba42e3
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module Versioning
[3/3] Compiling Versioning SemanticVersion.swift
[5/9] Compiling FeatureFlags UserOverrideManager.swift
[6/9] Compiling FeatureFlags FeatureRegistry.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/9] Compiling FeatureFlags FeatureFlag.swift
[8/9] Emitting module FeatureFlags
/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.
/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.
[9/9] Compiling FeatureFlags FeatureFlags.swift
/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.
/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.
BUILD FAILURE 6.1 wasm