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 LocaleSupport, reference 0.8.2 (249bf9), with Swift 6.1 for Linux on 23 Sep 2025 19:46:59 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/LocaleSupport.git
Reference: 0.8.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/richardpiazza/LocaleSupport
 * tag               0.8.2      -> FETCH_HEAD
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 0.8.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/richardpiazza/LocaleSupport.git
https://github.com/richardpiazza/LocaleSupport.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "LocaleSupport",
  "name" : "LocaleSupport",
  "path" : "/host/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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling LocaleSupport LocalizationKey.swift
[4/13] Compiling LocaleSupport LocaleSupportConfiguration.swift
/host/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 SwiftUI+LocaleSupport.swift
[6/13] Compiling LocaleSupport LocaleSupportError.swift
[7/13] Compiling LocaleSupport LocalizationKeyStrategy.swift
/host/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.
[8/13] Compiling LocaleSupport LocalizedStringConvertible.swift
[9/13] Emitting module LocaleSupport
/host/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 |
/host/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.
[10/13] Compiling LocaleSupport Locale+LocaleSupport.swift
[11/13] Compiling LocaleSupport Locale.LanguageCode+LocaleSupport.swift
[12/13] Compiling LocaleSupport Locale.Region+LocaleSupport.swift
[13/13] Compiling LocaleSupport Locale.Script+LocaleSupport.swift
Build complete! (14.00s)
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "LocaleSupport",
  "name" : "LocaleSupport",
  "path" : "/host/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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.