The Swift Package Index logo.Swift Package Index

Build Information

Successful build of GOFeatureFlag, reference v0.4.0 (bd7039), with Swift 6.2 for macOS (SPM) on 23 Jun 2025 08:30:50 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/go-feature-flag/openfeature-swift-provider.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-1EA4D86E10B52AF.txt
[5/32] Compiling OpenFeature ProviderEvents.swift
[6/32] Compiling OpenFeature ProviderMetadata.swift
[7/32] Compiling OpenFeature ProviderStatus.swift
[8/34] Emitting module OpenFeature
[9/34] Compiling OpenFeature BaseEvaluation.swift
[10/34] Compiling OpenFeature Client.swift
[11/34] Compiling OpenFeature ClientMetadata.swift
[12/34] Compiling OpenFeature MutableStructure.swift
[13/34] Compiling OpenFeature OpenFeatureAPI.swift
[14/34] Compiling OpenFeature OpenFeatureClient.swift
[15/34] Compiling OpenFeature FeatureProvider.swift
[16/34] Compiling OpenFeature NoOpProvider.swift
[17/34] Compiling OpenFeature ProviderEvaluation.swift
[18/34] Compiling OpenFeature FlagMetadataValue.swift
[19/34] Compiling OpenFeature FlagValueType.swift
[20/34] Compiling OpenFeature Hook.swift
[21/34] Compiling OpenFeature EvaluationContext.swift
[22/34] Compiling OpenFeature EventHandler.swift
[23/34] Compiling OpenFeature Features+Defaults.swift
[24/34] Compiling OpenFeature Features.swift
[25/34] Compiling OpenFeature FlagEvaluationDetails.swift
[26/34] Compiling OpenFeature FlagEvaluationOptions.swift
[27/34] Compiling OpenFeature Reason.swift
[28/34] Compiling OpenFeature Structure.swift
[29/34] Compiling OpenFeature Value.swift
[30/34] Compiling OpenFeature HookContext.swift
[31/34] Compiling OpenFeature HookSupport.swift
[32/34] Compiling OpenFeature MutableContext.swift
[33/34] Compiling OpenFeature ErrorCode.swift
[34/34] Compiling OpenFeature OpenFeatureError.swift
[35/44] Compiling OFREP bulk_evaluation_status.swift
[36/45] Compiling OFREP ofrep.swift
[37/45] Compiling OFREP option_exceptions.swift
[38/45] Compiling OFREP ofrep_api.swift
[39/45] Compiling OFREP networking_service.swift
[40/45] Compiling OFREP options.swift
[41/45] Compiling OFREP ofrep_errors.swift
[42/45] Compiling OFREP bulk_evalutaion_request.swift
[43/45] Compiling OFREP bulk_evaluation_response.swift
[44/45] Emitting module OFREP
[45/45] Compiling OFREP json_value.swift
[46/60] Compiling GOFeatureFlag value_extension.swift
[47/61] Compiling GOFeatureFlag data_collector_string_hook.swift
[48/61] Compiling GOFeatureFlag data_collector_request.swift
[49/61] Compiling GOFeatureFlag data_collector_bool_hook.swift
[50/61] Compiling GOFeatureFlag data_collector_double_hook.swift
[51/61] Compiling GOFeatureFlag data_collector_integer_hook.swift
[52/61] Compiling GOFeatureFlag data_collector_object_hook.swift
[53/61] Compiling GOFeatureFlag goff_api.swift
[54/61] Compiling GOFeatureFlag goff_errors.swift
[55/61] Compiling GOFeatureFlag data_collector_response.swift
[56/61] Compiling GOFeatureFlag options.swift
[57/61] Compiling GOFeatureFlag feature_event.swift
[58/61] Emitting module GOFeatureFlag
[59/61] Compiling GOFeatureFlag data_collector_manager.swift
/Users/admin/builder/spi-builder-workspace/Sources/GOFeatureFlag/controller/data_collector_manager.swift:40:25: warning: capture of 'self' with non-sendable type 'DataCollectorManager' in a '@Sendable' closure [#SendableClosureCaptures]
 3 | import Combine
 4 |
 5 | class DataCollectorManager {
   |       `- note: class 'DataCollectorManager' does not conform to the 'Sendable' protocol
 6 |     var events: [FeatureEvent] = []
 7 |     var hooks: [any Hook] = []
   :
38 |             Task {
39 |                 do {
40 |                     if !self.events.isEmpty {
   |                         `- warning: capture of 'self' with non-sendable type 'DataCollectorManager' in a '@Sendable' closure [#SendableClosureCaptures]
41 |                         (_,_) = try await self.goffAPI.postDataCollector(events: self.events)
42 |                         self.events = []
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[60/61] Compiling GOFeatureFlag exporter_metadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/GOFeatureFlag/controller/data_collector_manager.swift:40:25: warning: capture of 'self' with non-sendable type 'DataCollectorManager' in a '@Sendable' closure [#SendableClosureCaptures]
 3 | import Combine
 4 |
 5 | class DataCollectorManager {
   |       `- note: class 'DataCollectorManager' does not conform to the 'Sendable' protocol
 6 |     var events: [FeatureEvent] = []
 7 |     var hooks: [any Hook] = []
   :
38 |             Task {
39 |                 do {
40 |                     if !self.events.isEmpty {
   |                         `- warning: capture of 'self' with non-sendable type 'DataCollectorManager' in a '@Sendable' closure [#SendableClosureCaptures]
41 |                         (_,_) = try await self.goffAPI.postDataCollector(events: self.events)
42 |                         self.events = []
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[61/61] Compiling GOFeatureFlag provider.swift
Build complete! (9.81s)
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.85s)
Computing version for https://github.com/open-feature/swift-sdk.git
Computed https://github.com/open-feature/swift-sdk.git at 0.3.0 (1.40s)
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
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/open-feature/swift-sdk.git"
    }
  ],
  "manifest_display_name" : "GOFeatureFlag",
  "name" : "GOFeatureFlag",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "GOFeatureFlag",
      "targets" : [
        "GOFeatureFlag"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OFREP",
      "targets" : [
        "OFREP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OFREPTests",
      "module_type" : "SwiftTarget",
      "name" : "OFREPTests",
      "path" : "Tests/OFREPTests",
      "sources" : [
        "mock_networking_service.swift",
        "ofrep_api_tests.swift",
        "provider_tests.swift"
      ],
      "target_dependencies" : [
        "OFREP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OFREP",
      "module_type" : "SwiftTarget",
      "name" : "OFREP",
      "path" : "Sources/OFREP",
      "product_dependencies" : [
        "OpenFeature"
      ],
      "product_memberships" : [
        "GOFeatureFlag",
        "OFREP"
      ],
      "sources" : [
        "controller/ofrep_api.swift",
        "exception/ofrep_errors.swift",
        "exception/option_exceptions.swift",
        "model/bulk_evaluation_response.swift",
        "model/bulk_evaluation_status.swift",
        "model/bulk_evalutaion_request.swift",
        "model/json_value.swift",
        "model/options.swift",
        "ofrep.swift",
        "protocol/networking_service.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GOFeatureFlagTests",
      "module_type" : "SwiftTarget",
      "name" : "GOFeatureFlagTests",
      "path" : "Tests/GOFeatureFlagTests",
      "sources" : [
        "goff_api_tests.swift",
        "mock_networking_service.swift",
        "provider_tests.swift"
      ],
      "target_dependencies" : [
        "GOFeatureFlag"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GOFeatureFlag",
      "module_type" : "SwiftTarget",
      "name" : "GOFeatureFlag",
      "path" : "Sources/GOFeatureFlag",
      "product_memberships" : [
        "GOFeatureFlag"
      ],
      "sources" : [
        "controller/data_collector_manager.swift",
        "controller/exporter_metadata.swift",
        "controller/goff_api.swift",
        "exception/goff_errors.swift",
        "hook/data_collector_bool_hook.swift",
        "hook/data_collector_double_hook.swift",
        "hook/data_collector_integer_hook.swift",
        "hook/data_collector_object_hook.swift",
        "hook/data_collector_string_hook.swift",
        "model/data_collector_request.swift",
        "model/data_collector_response.swift",
        "model/feature_event.swift",
        "model/value_extension.swift",
        "options.swift",
        "provider.swift"
      ],
      "target_dependencies" : [
        "OFREP"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.