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

Successful build of FeatureToggles, reference 0.1.5 (3a39be), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 17:15:07 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/invia-flights/swift-feature-toggles.git
Reference: 0.1.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/invia-flights/swift-feature-toggles
 * tag               0.1.5      -> FETCH_HEAD
HEAD is now at 3a39bee Lower `swift-tools-version` requirement
Cloned https://github.com/invia-flights/swift-feature-toggles.git
Revision (git rev-parse @):
3a39bee52f105b5d6b545d47bb72dbbed806ac5d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/invia-flights/swift-feature-toggles.git at 0.1.5
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin.git
[1/2049] Fetching swift-docc-plugin
[227/5424] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.21s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.21s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.3.0 (1.81s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.66s)
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-feature-toggles",
      "name": "FeatureToggles",
      "url": "https://github.com/invia-flights/swift-feature-toggles.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-feature-toggles",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/invia-flights/swift-feature-toggles.git
[1/417] Fetching swift-feature-toggles
Fetched https://github.com/invia-flights/swift-feature-toggles.git from cache (1.29s)
Creating working copy for https://github.com/invia-flights/swift-feature-toggles.git
Working copy of https://github.com/invia-flights/swift-feature-toggles.git resolved at 0.1.5 (3a39bee)
warning: '.resolve-product-dependencies': dependency 'swift-feature-toggles' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/invia-flights/swift-feature-toggles.git
https://github.com/invia-flights/swift-feature-toggles.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "FeatureToggles",
  "name" : "FeatureToggles",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "FeatureToggles",
      "targets" : [
        "FeatureToggles"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FeatureTogglesTests",
      "module_type" : "SwiftTarget",
      "name" : "FeatureTogglesTests",
      "path" : "Tests/FeatureTogglesTests",
      "sources" : [
        "FeatureTogglesTests.swift"
      ],
      "target_dependencies" : [
        "FeatureToggles"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FeatureToggles",
      "module_type" : "SwiftTarget",
      "name" : "FeatureToggles",
      "path" : "Sources/FeatureToggles",
      "product_memberships" : [
        "FeatureToggles"
      ],
      "sources" : [
        "FeatureToggle.swift",
        "FeatureToggleKey.swift",
        "FeatureToggleValues.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/8] Compiling FeatureToggles FeatureToggleKey.swift
[6/8] Compiling FeatureToggles FeatureToggle.swift
[7/8] Emitting module FeatureToggles
/Users/admin/builder/spi-builder-workspace/Sources/FeatureToggles/FeatureToggleValues.swift:8:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 |
 7 | 	/// A shared instance.
 8 |   public static var shared = FeatureToggleValues()
   |                     |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |   internal let userDefaults: UserDefaults
/Users/admin/builder/spi-builder-workspace/Sources/FeatureToggles/FeatureToggleValues.swift:78:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
76 | }
77 |
78 | extension UserDefaults: @unchecked Sendable {}
   | |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
79 |
[8/8] Compiling FeatureToggles FeatureToggleValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/FeatureToggles/FeatureToggleValues.swift:8:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 |
 7 | 	/// A shared instance.
 8 |   public static var shared = FeatureToggleValues()
   |                     |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |   internal let userDefaults: UserDefaults
/Users/admin/builder/spi-builder-workspace/Sources/FeatureToggles/FeatureToggleValues.swift:78:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
76 | }
77 |
78 | extension UserDefaults: @unchecked Sendable {}
   | |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
79 |
Build complete! (14.06s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "FeatureToggles",
  "name" : "FeatureToggles",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "FeatureToggles",
      "targets" : [
        "FeatureToggles"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FeatureTogglesTests",
      "module_type" : "SwiftTarget",
      "name" : "FeatureTogglesTests",
      "path" : "Tests/FeatureTogglesTests",
      "sources" : [
        "FeatureTogglesTests.swift"
      ],
      "target_dependencies" : [
        "FeatureToggles"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FeatureToggles",
      "module_type" : "SwiftTarget",
      "name" : "FeatureToggles",
      "path" : "Sources/FeatureToggles",
      "product_memberships" : [
        "FeatureToggles"
      ],
      "sources" : [
        "FeatureToggle.swift",
        "FeatureToggleKey.swift",
        "FeatureToggleValues.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/invia-flights/swift-feature-toggles/0.1.5
Repository:               invia-flights/swift-feature-toggles
Swift version used:       6.1
    .package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.0.0")
Target:                   FeatureToggles
Generating documentation for 'FeatureToggles'...
Converting documentation...
Conversion complete! (0.14s)
Generated DocC archive at '/Users/admin/builder/spi-builder-workspace/.docs/invia-flights/swift-feature-toggles/0.1.5'
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[3/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module Snippets
[7/53] Compiling Snippets Snippet.swift
[8/53] Compiling Snippets SnippetParser.swift
[9/53] Compiling SymbolKit Mixin+Equals.swift
[10/53] Compiling SymbolKit Mixin+Hash.swift
[11/53] Compiling SymbolKit Mixin.swift
[12/53] Compiling SymbolKit LineList.swift
[13/53] Compiling SymbolKit Position.swift
[14/57] Emitting module SymbolKit
[15/57] Compiling SymbolKit GenericConstraint.swift
[16/57] Compiling SymbolKit GenericParameter.swift
[17/57] Compiling SymbolKit Generics.swift
[18/57] Compiling SymbolKit Namespace.swift
[19/57] Compiling SymbolKit SemanticVersion.swift
[20/57] Compiling SymbolKit AccessControl.swift
[21/57] Compiling SymbolKit Availability.swift
[22/57] Compiling SymbolKit AvailabilityItem.swift
[23/57] Compiling SymbolKit Domain.swift
[24/57] Compiling SymbolKit DeclarationFragments.swift
[25/57] Compiling SymbolKit Fragment.swift
[26/57] Compiling SymbolKit FragmentKind.swift
[27/57] Compiling SymbolKit FunctionParameter.swift
[28/57] Compiling SymbolKit FunctionSignature.swift
[29/57] Compiling SymbolKit Symbol.swift
[30/57] Compiling SymbolKit SymbolKind.swift
[31/57] Compiling SymbolKit SymbolGraph.swift
[32/57] Compiling SymbolKit GraphCollector.swift
[33/57] Compiling SymbolKit Relationship.swift
[34/57] Compiling SymbolKit RelationshipKind.swift
[35/57] Compiling SymbolKit SourceOrigin.swift
[36/57] Compiling SymbolKit GenericConstraints.swift
[37/57] Compiling SymbolKit Swift.swift
[38/57] Compiling SymbolKit Names.swift
[39/57] Compiling SymbolKit SPI.swift
[40/57] Compiling SymbolKit Snippet.swift
[41/57] Compiling SymbolKit Extension.swift
[42/57] Compiling SymbolKit Identifier.swift
[43/57] Compiling SymbolKit KindIdentifier.swift
[44/57] Compiling SymbolKit Location.swift
[45/57] Compiling SymbolKit Mutability.swift
[46/57] Compiling SymbolKit SourceRange.swift
[47/57] Compiling SymbolKit Metadata.swift
[48/57] Compiling SymbolKit Module.swift
[49/57] Compiling SymbolKit OperatingSystem.swift
[50/57] Compiling SymbolKit Platform.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SnippetBuildCommand.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.23s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/5] Compiling FeatureToggles FeatureToggle.swift
[3/5] Compiling FeatureToggles FeatureToggleKey.swift
[4/5] Compiling FeatureToggles FeatureToggleValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/FeatureToggles/FeatureToggleValues.swift:78:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
76 | }
77 |
78 | extension UserDefaults: @unchecked Sendable {}
   | |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
79 |
[5/5] Emitting module FeatureToggles
/Users/admin/builder/spi-builder-workspace/Sources/FeatureToggles/FeatureToggleValues.swift:78:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
76 | }
77 |
78 | extension UserDefaults: @unchecked Sendable {}
   | |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
79 |
Build of target: 'FeatureToggles' complete! (0.52s)
     103
11	/Users/admin/builder/spi-builder-workspace/.docs/invia-flights/swift-feature-toggles/0.1.5
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/invia-flights/swift-feature-toggles/0.1.5
File count: 103
Doc size:   11.0MB
Preparing doc bundle ...
Uploading prod-invia-flights-swift-feature-toggles-0.1.5-ea2f96b8.zip to s3://spi-docs-inbox/prod-invia-flights-swift-feature-toggles-0.1.5-ea2f96b8.zip
Copying... [10%]
Copying... [21%]
Copying... [30%]
Copying... [41%]
Copying... [50%]
Copying... [60%]
Copying... [70%]
Copying... [80%]
Copying... [91%]
Copying... [100%]
Done.