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 main (713795), with Swift 6.0 for macOS (SPM) on 29 Mar 2025 15:47:56 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.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 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 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
[8/702] Fetching localesupport
Fetched https://github.com/richardpiazza/LocaleSupport.git from cache (0.85s)
Creating working copy for https://github.com/richardpiazza/LocaleSupport.git
Working copy of https://github.com/richardpiazza/LocaleSupport.git resolved at main (713795a)
warning: '.resolve-product-dependencies': dependency 'localesupport' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
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.2.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-5BDAB9E9C0126B9D.txt
[3/10] Compiling LocaleSupport ScriptCode.swift
[4/10] Compiling LocaleSupport LocalizedStringConvertible.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: annotate 'defaultIndicators' with '@MainActor' if property should only be accessed from the main actor
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
[5/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | }
264 |
[6/10] Compiling LocaleSupport LocaleSupportError.swift
[7/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: annotate 'defaultIndicators' with '@MainActor' if property should only be accessed from the main actor
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
[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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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: annotate 'defaultIndicators' with '@MainActor' if property should only be accessed from the main actor
  |                       `- 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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! (7.56s)
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/main
Repository:               richardpiazza/LocaleSupport
Swift version used:       6.0
Target:                   LocaleSupport
Extracting symbol information for 'LocaleSupport'...
Finished extracting symbol information for 'LocaleSupport'. (2.65s)
Building documentation for 'LocaleSupport'...
Finished building documentation for 'LocaleSupport' (0.62s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/richardpiazza/localesupport/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2050] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.12s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.25s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3349] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.26s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.54s)
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
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Compiling Snippets SnippetParser.swift
[7/53] Emitting module SymbolKit
[8/57] Compiling SymbolKit GenericConstraint.swift
[9/57] Compiling SymbolKit GenericParameter.swift
[10/57] Compiling SymbolKit Generics.swift
[11/57] Compiling SymbolKit Namespace.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 SymbolKit DeclarationFragments.swift
[18/57] Compiling SymbolKit Fragment.swift
[19/57] Compiling SymbolKit FragmentKind.swift
[20/57] Compiling SymbolKit FunctionParameter.swift
[21/57] Compiling SymbolKit FunctionSignature.swift
[22/57] Compiling SymbolKit Identifier.swift
[23/57] Compiling SymbolKit KindIdentifier.swift
[24/57] Compiling SymbolKit Location.swift
[25/57] Compiling SymbolKit Mutability.swift
[26/57] Compiling Snippets Snippet.swift
[27/57] Emitting module Snippets
[28/57] Compiling SymbolKit Symbol.swift
[29/57] Compiling SymbolKit SymbolKind.swift
[30/57] Compiling SymbolKit SymbolGraph.swift
[31/57] Compiling SymbolKit GraphCollector.swift
[32/57] Compiling SymbolKit SemanticVersion.swift
[33/57] Compiling SymbolKit AccessControl.swift
[34/57] Compiling SymbolKit Availability.swift
[35/57] Compiling SymbolKit AvailabilityItem.swift
[36/57] Compiling SymbolKit Domain.swift
[37/57] Compiling SymbolKit Names.swift
[38/57] Compiling SymbolKit SPI.swift
[39/57] Compiling SymbolKit Snippet.swift
[40/57] Compiling SymbolKit Extension.swift
[41/57] Compiling SymbolKit Mixin+Equals.swift
[42/57] Compiling SymbolKit Mixin+Hash.swift
[43/57] Compiling SymbolKit Mixin.swift
[44/57] Compiling SymbolKit LineList.swift
[45/57] Compiling SymbolKit Position.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 SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.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.75s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/9] Compiling LocaleSupport LocaleSupportError.swift
[3/9] Compiling LocaleSupport ScriptCode.swift
[4/9] Compiling LocaleSupport LocalizedStringConvertible.swift
[5/9] Compiling LocaleSupport RegionCode.swift
[6/9] Compiling LocaleSupport LocaleSupportConfiguration.swift
[7/9] Compiling LocaleSupport LanguageCode.swift
[8/9] Emitting module LocaleSupport
[9/9] Compiling LocaleSupport Locale+LocaleSupport.swift
Build of target: 'LocaleSupport' complete! (0.85s)
    1922
10	/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: 1922
Doc size:   10.0MB
Preparing doc bundle ...
Uploading prod-richardpiazza-localesupport-main-0da6b2bf.zip to s3://spi-docs-inbox/prod-richardpiazza-localesupport-main-0da6b2bf.zip
Copying... [12%]
Copying... [21%]
Copying... [30%]
Copying... [42%]
Copying... [51%]
Copying... [61%]
Copying... [73%]
Copying... [82%]
Copying... [91%]
Copying... [100%]
Done.