The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of LocaleSupport, reference 0.6.0 (713795), with Swift 6.1 for macOS (SPM) on 1 May 2025 03:52:27 UTC.

Swift 6 data race errors: 3

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.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/LocaleSupport.git
Reference: 0.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/richardpiazza/LocaleSupport
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at 713795a Sendable & Retroactive Attributes (#11)
Cloned https://github.com/richardpiazza/LocaleSupport.git
Revision (git rev-parse @):
713795ac3cc73f2f340723ace514ac6cee3dfe1e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/richardpiazza/LocaleSupport.git at 0.6.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": "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/702] Fetching localesupport
Fetched https://github.com/richardpiazza/LocaleSupport.git from cache (0.82s)
Creating working copy for https://github.com/richardpiazza/LocaleSupport.git
Working copy of https://github.com/richardpiazza/LocaleSupport.git resolved at 0.6.0 (713795a)
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" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.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" : [
        "LocalizedStringConvertibleTests.swift",
        "LocalizedStrings.swift"
      ],
      "target_dependencies" : [
        "LocaleSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LocaleSupport",
      "module_type" : "SwiftTarget",
      "name" : "LocaleSupport",
      "path" : "Sources/LocaleSupport",
      "product_memberships" : [
        "LocaleSupport"
      ],
      "sources" : [
        "LanguageCode.swift",
        "Locale+LocaleSupport.swift",
        "LocaleSupportConfiguration.swift",
        "LocaleSupportError.swift",
        "LocalizedStringConvertible.swift",
        "RegionCode.swift",
        "ScriptCode.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
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/10] Compiling LocaleSupport RegionCode.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/RegionCode.swift:262:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
260 |     case ZW
261 |
262 |     public static var `default`: Self = .US
    |                       |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- 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
263 | }
264 |
[4/10] Compiling LocaleSupport ScriptCode.swift
[5/10] Compiling LocaleSupport LocalizedStringConvertible.swift
[6/10] Compiling LocaleSupport LocaleSupportConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/LocaleSupportConfiguration.swift:7: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
5 |
6 |     /// Characters that will be prepended/appended to any default `LocalizedStringConvertible` implementation.
7 |     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
8 | }
9 |
[7/10] Compiling LocaleSupport LocaleSupportError.swift
[8/10] Compiling LocaleSupport LanguageCode.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/LanguageCode.swift:602:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
600 |     case zza
601 |
602 |     public static var `default`: Self = .en
    |                       |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- 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
603 | }
604 |
[9/10] Emitting module LocaleSupport
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/LanguageCode.swift:602:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
600 |     case zza
601 |
602 |     public static var `default`: Self = .en
    |                       |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- 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
603 | }
604 |
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/LocaleSupportConfiguration.swift:7: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
5 |
6 |     /// Characters that will be prepended/appended to any default `LocalizedStringConvertible` implementation.
7 |     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
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/RegionCode.swift:262:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
260 |     case ZW
261 |
262 |     public static var `default`: Self = .US
    |                       |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- 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
263 | }
264 |
[10/10] Compiling LocaleSupport Locale+LocaleSupport.swift
Build complete! (4.95s)
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "LocaleSupport",
  "name" : "LocaleSupport",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.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" : [
        "LocalizedStringConvertibleTests.swift",
        "LocalizedStrings.swift"
      ],
      "target_dependencies" : [
        "LocaleSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LocaleSupport",
      "module_type" : "SwiftTarget",
      "name" : "LocaleSupport",
      "path" : "Sources/LocaleSupport",
      "product_memberships" : [
        "LocaleSupport"
      ],
      "sources" : [
        "LanguageCode.swift",
        "Locale+LocaleSupport.swift",
        "LocaleSupportConfiguration.swift",
        "LocaleSupportError.swift",
        "LocalizedStringConvertible.swift",
        "RegionCode.swift",
        "ScriptCode.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/richardpiazza/localesupport/0.6.0
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            release/6.2 -> FETCH_HEAD
 * [new branch]      release/6.2 -> origin/release/6.2
HEAD is now at 8799b69 Update the artifact
Cloned https://github.com/swiftlang/swift-docc-render-artifact
Extracting symbol information for 'LocaleSupport'...
Finished extracting symbol information for 'LocaleSupport'. (2.73s)
Building documentation for 'LocaleSupport'...
Finished building documentation for 'LocaleSupport' (0.47s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/richardpiazza/localesupport/0.6.0
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.47s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (1.14s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.75s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.37s)
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.3
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
[2/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Compiling SymbolKit Relationship.swift
[7/53] Compiling SymbolKit RelationshipKind.swift
[8/53] Compiling SymbolKit SourceOrigin.swift
[9/53] Compiling SymbolKit GenericConstraints.swift
[10/53] Compiling SymbolKit Swift.swift
[11/57] Compiling Snippets Snippet.swift
[12/57] Emitting module Snippets
[13/57] Compiling Snippets SnippetParser.swift
[14/57] Compiling SymbolKit Identifier.swift
[15/57] Compiling SymbolKit KindIdentifier.swift
[16/57] Compiling SymbolKit Location.swift
[17/57] Compiling SymbolKit Mutability.swift
[18/57] Compiling SymbolKit Names.swift
[19/57] Compiling SymbolKit SPI.swift
[20/57] Compiling SymbolKit Snippet.swift
[21/57] Compiling SymbolKit Extension.swift
[22/57] Emitting module SymbolKit
[23/57] Compiling SymbolKit GenericConstraint.swift
[24/57] Compiling SymbolKit GenericParameter.swift
[25/57] Compiling SymbolKit Generics.swift
[26/57] Compiling SymbolKit Namespace.swift
[27/57] Compiling SymbolKit SemanticVersion.swift
[28/57] Compiling SymbolKit AccessControl.swift
[29/57] Compiling SymbolKit Availability.swift
[30/57] Compiling SymbolKit AvailabilityItem.swift
[31/57] Compiling SymbolKit Domain.swift
[32/57] Compiling SymbolKit SourceRange.swift
[33/57] Compiling SymbolKit Metadata.swift
[34/57] Compiling SymbolKit Module.swift
[35/57] Compiling SymbolKit OperatingSystem.swift
[36/57] Compiling SymbolKit Platform.swift
[37/57] Compiling SymbolKit Symbol.swift
[38/57] Compiling SymbolKit SymbolKind.swift
[39/57] Compiling SymbolKit SymbolGraph.swift
[40/57] Compiling SymbolKit GraphCollector.swift
[41/57] Compiling SymbolKit DeclarationFragments.swift
[42/57] Compiling SymbolKit Fragment.swift
[43/57] Compiling SymbolKit FragmentKind.swift
[44/57] Compiling SymbolKit FunctionParameter.swift
[45/57] Compiling SymbolKit FunctionSignature.swift
[46/57] Compiling SymbolKit Mixin+Equals.swift
[47/57] Compiling SymbolKit Mixin+Hash.swift
[48/57] Compiling SymbolKit Mixin.swift
[49/57] Compiling SymbolKit LineList.swift
[50/57] Compiling SymbolKit Position.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] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.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.28s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/9] Compiling LocaleSupport LocaleSupportError.swift
[3/9] Compiling LocaleSupport ScriptCode.swift
[4/9] Compiling LocaleSupport LocalizedStringConvertible.swift
[5/9] Compiling LocaleSupport LocaleSupportConfiguration.swift
[6/9] Compiling LocaleSupport Locale+LocaleSupport.swift
[7/9] Compiling LocaleSupport RegionCode.swift
[8/9] Emitting module LocaleSupport
[9/9] Compiling LocaleSupport LanguageCode.swift
Build of target: 'LocaleSupport' complete! (0.84s)
    1922
10	/Users/admin/builder/spi-builder-workspace/.docs/richardpiazza/localesupport/0.6.0
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/richardpiazza/localesupport/0.6.0
File count: 1922
Doc size:   10.0MB
Preparing doc bundle ...
Uploading prod-richardpiazza-localesupport-0.6.0-f3c1a9a6.zip to s3://spi-docs-inbox/prod-richardpiazza-localesupport-0.6.0-f3c1a9a6.zip
Copying... [12%]
Copying... [21%]
Copying... [30%]
Copying... [42%]
Copying... [51%]
Copying... [60%]
Copying... [73%]
Copying... [82%]
Copying... [91%]
Copying... [100%]
Done.