The Swift Package Index logo.Swift Package Index

Build Information

Successful build of LocaleSupport, reference main (249bf9), with Swift 6.1 for macOS (SPM) on 24 Sep 2025 03:32:36 UTC.

Swift 6 data race errors: 2

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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/LocaleSupport.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/richardpiazza/LocaleSupport
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 249bf91 Key Generation (#17)
Cloned https://github.com/richardpiazza/LocaleSupport.git
Revision (git rev-parse @):
249bf91236b05239b8d05aefa9b016b4d5aafbee
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/richardpiazza/LocaleSupport.git at main
========================================
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": "localesupport",
      "name": "LocaleSupport",
      "url": "https://github.com/richardpiazza/LocaleSupport.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LocaleSupport",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/richardpiazza/LocaleSupport.git
[1/795] Fetching localesupport
Fetched https://github.com/richardpiazza/LocaleSupport.git from cache (0.83s)
Creating working copy for https://github.com/richardpiazza/LocaleSupport.git
Working copy of https://github.com/richardpiazza/LocaleSupport.git resolved at main (249bf91)
warning: '.resolve-product-dependencies': dependency 'localesupport' 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/richardpiazza/LocaleSupport.git
https://github.com/richardpiazza/LocaleSupport.git
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "LocaleSupport",
  "name" : "LocaleSupport",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "LocaleSupport",
      "targets" : [
        "LocaleSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "LocaleSupportTests",
      "module_type" : "SwiftTarget",
      "name" : "LocaleSupportTests",
      "path" : "Tests/LocaleSupportTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/LocaleSupportTests/Resources/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        }
      ],
      "sources" : [
        "LocaleTests.swift",
        "LocalizationKeyStrategyTests.swift",
        "LocalizedStringConvertibleTests.swift",
        "LocalizedStrings.swift"
      ],
      "target_dependencies" : [
        "LocaleSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LocaleSupport",
      "module_type" : "SwiftTarget",
      "name" : "LocaleSupport",
      "path" : "Sources/LocaleSupport",
      "product_memberships" : [
        "LocaleSupport"
      ],
      "sources" : [
        "Locale+LocaleSupport.swift",
        "Locale.LanguageCode+LocaleSupport.swift",
        "Locale.Region+LocaleSupport.swift",
        "Locale.Script+LocaleSupport.swift",
        "LocaleSupportConfiguration.swift",
        "LocaleSupportError.swift",
        "LocalizationKey.swift",
        "LocalizationKeyStrategy.swift",
        "LocalizedStringConvertible.swift",
        "SwiftUI+LocaleSupport.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/12] Compiling LocaleSupport LocaleSupportError.swift
[4/13] Compiling LocaleSupport LocaleSupportConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/LocaleSupportConfiguration.swift:6:23: warning: static property 'defaultIndicators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 |     /// Characters that will be prepended/appended to any default `LocalizedStringConvertible` implementation.
6 |     public static var defaultIndicators: (prefix: Character, suffix: Character)?
  |                       |- warning: static property 'defaultIndicators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'defaultIndicators' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: add '@MainActor' to make static property 'defaultIndicators' part of global actor 'MainActor'
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[5/13] Compiling LocaleSupport LocalizationKeyStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/LocalizationKeyStrategy.swift:25:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LocalizationKeyStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct LocalizationKeyStrategy {
   |               `- note: consider making struct 'LocalizationKeyStrategy' conform to the 'Sendable' protocol
 2 |     public enum Casing {
 3 |         case uppercase
   :
23 |     }
24 |
25 |     public static let `default`: LocalizationKeyStrategy = LocalizationKeyStrategy()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LocalizationKeyStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |     /// Generates a '.strings' key applying casing, splitting & prefixing as needed.
[6/13] Compiling LocaleSupport LocalizationKey.swift
[7/13] Compiling LocaleSupport LocalizedStringConvertible.swift
[8/13] Compiling LocaleSupport Locale.Script+LocaleSupport.swift
[9/13] Compiling LocaleSupport Locale+LocaleSupport.swift
[10/13] Emitting module LocaleSupport
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/LocaleSupportConfiguration.swift:6:23: warning: static property 'defaultIndicators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 |     /// Characters that will be prepended/appended to any default `LocalizedStringConvertible` implementation.
6 |     public static var defaultIndicators: (prefix: Character, suffix: Character)?
  |                       |- warning: static property 'defaultIndicators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: convert 'defaultIndicators' to a 'let' constant to make 'Sendable' shared state immutable
  |                       |- note: add '@MainActor' to make static property 'defaultIndicators' part of global actor 'MainActor'
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/LocalizationKeyStrategy.swift:25:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LocalizationKeyStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct LocalizationKeyStrategy {
   |               `- note: consider making struct 'LocalizationKeyStrategy' conform to the 'Sendable' protocol
 2 |     public enum Casing {
 3 |         case uppercase
   :
23 |     }
24 |
25 |     public static let `default`: LocalizationKeyStrategy = LocalizationKeyStrategy()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'LocalizationKeyStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |     /// Generates a '.strings' key applying casing, splitting & prefixing as needed.
[11/13] Compiling LocaleSupport Locale.Region+LocaleSupport.swift
[12/13] Compiling LocaleSupport Locale.LanguageCode+LocaleSupport.swift
[13/13] Compiling LocaleSupport SwiftUI+LocaleSupport.swift
Build complete! (8.69s)
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "LocaleSupport",
  "name" : "LocaleSupport",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "LocaleSupport",
      "targets" : [
        "LocaleSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "LocaleSupportTests",
      "module_type" : "SwiftTarget",
      "name" : "LocaleSupportTests",
      "path" : "Tests/LocaleSupportTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/LocaleSupportTests/Resources/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        }
      ],
      "sources" : [
        "LocaleTests.swift",
        "LocalizationKeyStrategyTests.swift",
        "LocalizedStringConvertibleTests.swift",
        "LocalizedStrings.swift"
      ],
      "target_dependencies" : [
        "LocaleSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LocaleSupport",
      "module_type" : "SwiftTarget",
      "name" : "LocaleSupport",
      "path" : "Sources/LocaleSupport",
      "product_memberships" : [
        "LocaleSupport"
      ],
      "sources" : [
        "Locale+LocaleSupport.swift",
        "Locale.LanguageCode+LocaleSupport.swift",
        "Locale.Region+LocaleSupport.swift",
        "Locale.Script+LocaleSupport.swift",
        "LocaleSupportConfiguration.swift",
        "LocaleSupportError.swift",
        "LocalizationKey.swift",
        "LocalizationKeyStrategy.swift",
        "LocalizedStringConvertible.swift",
        "SwiftUI+LocaleSupport.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/richardpiazza/localesupport/main
Repository:               richardpiazza/LocaleSupport
Swift version used:       6.1
Target:                   LocaleSupport
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            4633b45fc732d8c55568be09dd852f9dc1582c25 -> FETCH_HEAD
HEAD is now at 4633b45 Update the artifact
Cloned https://github.com/swiftlang/swift-docc-render-artifact
Extracting symbol information for 'LocaleSupport'...
Finished extracting symbol information for 'LocaleSupport'. (4.88s)
Building documentation for 'LocaleSupport'...
Finished building documentation for 'LocaleSupport' (0.13s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/richardpiazza/localesupport/main
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.64s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (3.05s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.99s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.63s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit DeclarationFragments.swift
[8/57] Compiling SymbolKit Fragment.swift
[9/57] Compiling SymbolKit FragmentKind.swift
[10/57] Compiling SymbolKit FunctionParameter.swift
[11/57] Compiling SymbolKit FunctionSignature.swift
[12/57] Compiling SymbolKit Relationship.swift
[13/57] Compiling SymbolKit RelationshipKind.swift
[14/57] Compiling SymbolKit SourceOrigin.swift
[15/57] Compiling SymbolKit GenericConstraints.swift
[16/57] Compiling SymbolKit Swift.swift
[17/57] Compiling Snippets Snippet.swift
[18/57] Compiling Snippets SnippetParser.swift
[19/57] Emitting module Snippets
[20/57] Compiling SymbolKit Mixin+Equals.swift
[21/57] Compiling SymbolKit Mixin+Hash.swift
[22/57] Compiling SymbolKit Mixin.swift
[23/57] Compiling SymbolKit LineList.swift
[24/57] Compiling SymbolKit Position.swift
[25/57] Compiling SymbolKit Symbol.swift
[26/57] Compiling SymbolKit SymbolKind.swift
[27/57] Compiling SymbolKit SymbolGraph.swift
[28/57] Compiling SymbolKit GraphCollector.swift
[29/57] Compiling SymbolKit SourceRange.swift
[30/57] Compiling SymbolKit Metadata.swift
[31/57] Compiling SymbolKit Module.swift
[32/57] Compiling SymbolKit OperatingSystem.swift
[33/57] Compiling SymbolKit Platform.swift
[34/57] Compiling SymbolKit Identifier.swift
[35/57] Compiling SymbolKit KindIdentifier.swift
[36/57] Compiling SymbolKit Location.swift
[37/57] Compiling SymbolKit Mutability.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 SemanticVersion.swift
[43/57] Compiling SymbolKit AccessControl.swift
[44/57] Compiling SymbolKit Availability.swift
[45/57] Compiling SymbolKit AvailabilityItem.swift
[46/57] Compiling SymbolKit Domain.swift
[47/57] Compiling SymbolKit GenericConstraint.swift
[48/57] Compiling SymbolKit GenericParameter.swift
[49/57] Compiling SymbolKit Generics.swift
[50/57] Compiling SymbolKit Namespace.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 SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.84s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/11] Compiling LocaleSupport LocalizedStringConvertible.swift
[3/11] Compiling LocaleSupport LocalizationKey.swift
[4/11] Compiling LocaleSupport LocalizationKeyStrategy.swift
[5/12] Compiling LocaleSupport LocaleSupportConfiguration.swift
[6/12] Compiling LocaleSupport Locale+LocaleSupport.swift
[7/12] Compiling LocaleSupport Locale.Script+LocaleSupport.swift
[8/12] Compiling LocaleSupport LocaleSupportError.swift
[9/12] Compiling LocaleSupport Locale.LanguageCode+LocaleSupport.swift
[10/12] Compiling LocaleSupport Locale.Region+LocaleSupport.swift
[11/12] Emitting module LocaleSupport
[12/12] Compiling LocaleSupport SwiftUI+LocaleSupport.swift
Build of target: 'LocaleSupport' complete! (1.24s)
     240
3	/Users/admin/builder/spi-builder-workspace/.docs/richardpiazza/localesupport/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/richardpiazza/localesupport/main
File count: 240
Doc size:   3.0MB
Preparing doc bundle ...
Uploading prod-richardpiazza-localesupport-main-0f8ea667.zip to s3://spi-docs-inbox/prod-richardpiazza-localesupport-main-0f8ea667.zip
Copying... [12%]
Copying... [25%]
Copying... [37%]
Copying... [49%]
Copying... [61%]
Copying... [74%]
Copying... [86%]
Copying... [98%]
Copying... [100%]
Done.