Build Information
Successful build of Inflection, reference main (9c0252
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 00:03:27 UTC.
Swift 6 data race errors: 12
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftDocOrg/Inflection.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftDocOrg/Inflection
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9c0252e Fix titleization handling of colons (#3)
Cloned https://github.com/SwiftDocOrg/Inflection.git
Revision (git rev-parse @):
9c0252e7fffae25563c4c1056db3a18edb972c23
SUCCESS checkout https://github.com/SwiftDocOrg/Inflection.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": "inflection",
"name": "Inflection",
"url": "https://github.com/SwiftDocOrg/Inflection.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Inflection",
"dependencies": [
]
}
]
}
Fetching https://github.com/SwiftDocOrg/Inflection.git
[1/105] Fetching inflection
Fetched https://github.com/SwiftDocOrg/Inflection.git from cache (0.70s)
Creating working copy for https://github.com/SwiftDocOrg/Inflection.git
Working copy of https://github.com/SwiftDocOrg/Inflection.git resolved at main (9c0252e)
warning: '.resolve-product-dependencies': dependency 'inflection' 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/SwiftDocOrg/Inflection.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[3/15] Compiling Inflection se.swift
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/se.swift:11:16: warning: static property 'se' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | // - David Celis (https://github.com/davidcelis)
10 | extension Inflector {
11 | static var se: Inflector = {
| |- warning: static property 'se' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'se' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'se' 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
12 | let locale = Locale(identifier: "se")
13 | let inflector = Inflector(locale: locale)
[4/15] Compiling Inflection la.swift
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/la.swift:9:16: warning: static property 'la' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var la: Inflector = {
| |- warning: static property 'la' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'la' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'la' 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
10 | let locale = Locale(identifier: "la")
11 | let inflector = Inflector(locale: locale)
[5/15] Compiling Inflection pt-BR.swift
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/pt-BR.swift:9:16: warning: static property 'pt_BR' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var pt_BR: Inflector = {
| |- warning: static property 'pt_BR' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pt_BR' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pt_BR' 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
10 | let locale = Locale(identifier: "en")
11 | let inflector = Inflector(locale: locale)
[6/15] Compiling Inflection it.swift
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/it.swift:10:16: warning: static property 'it' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | // - David Celis (https://github.com/davidcelis)
9 | extension Inflector {
10 | static var it: Inflector = {
| |- warning: static property 'it' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'it' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'it' 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
11 | let locale = Locale(identifier: "it")
12 | let inflector = Inflector(locale: locale)
[7/15] Compiling Inflection az.swift
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/az.swift:9:16: warning: static property 'az' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var az: Inflector = {
| |- warning: static property 'az' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'az' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'az' 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
10 | let locale = Locale(identifier: "az")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/en.swift:5:16: warning: static property 'en' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | // Ported from https://github.com/rails/rails
4 | extension Inflector {
5 | static var en: Inflector = {
| |- warning: static property 'en' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'en' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'en' 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
6 | let locale = Locale(identifier: "en")
7 | let inflector = Inflector(locale: locale)
[8/15] Compiling Inflection en.swift
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/az.swift:9:16: warning: static property 'az' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var az: Inflector = {
| |- warning: static property 'az' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'az' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'az' 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
10 | let locale = Locale(identifier: "az")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/en.swift:5:16: warning: static property 'en' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | // Ported from https://github.com/rails/rails
4 | extension Inflector {
5 | static var en: Inflector = {
| |- warning: static property 'en' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'en' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'en' 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
6 | let locale = Locale(identifier: "en")
7 | let inflector = Inflector(locale: locale)
[9/15] Compiling Inflection es.swift
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/es.swift:9:16: warning: static property 'es' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var es: Inflector = {
| |- warning: static property 'es' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'es' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'es' 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
10 | let locale = Locale(identifier: "es")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/fr.swift:9:16: warning: static property 'fr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var fr: Inflector = {
| |- warning: static property 'fr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fr' 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
10 | let locale = Locale(identifier: "fr")
11 | let inflector = Inflector(locale: locale)
[10/15] Compiling Inflection fr.swift
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/es.swift:9:16: warning: static property 'es' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var es: Inflector = {
| |- warning: static property 'es' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'es' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'es' 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
10 | let locale = Locale(identifier: "es")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/fr.swift:9:16: warning: static property 'fr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var fr: Inflector = {
| |- warning: static property 'fr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fr' 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
10 | let locale = Locale(identifier: "fr")
11 | let inflector = Inflector(locale: locale)
[11/15] Emitting module Inflection
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Inflector.swift:31:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Inflector' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A string inflector.
4 | public final class Inflector {
| `- note: class 'Inflector' does not conform to the 'Sendable' protocol
5 |
6 | /// An inflection rule.
:
29 |
30 | /// The default string inflector.
31 | public static let `default`: Inflector = en
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Inflector' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
32 |
33 | /// The default string inflector for the specified locale, if any.
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/en.swift:5:16: warning: static property 'en' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | // Ported from https://github.com/rails/rails
4 | extension Inflector {
5 | static var en: Inflector = {
| |- warning: static property 'en' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'en' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'en' 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
6 | let locale = Locale(identifier: "en")
7 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/az.swift:9:16: warning: static property 'az' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var az: Inflector = {
| |- warning: static property 'az' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'az' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'az' 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
10 | let locale = Locale(identifier: "az")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/es.swift:9:16: warning: static property 'es' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var es: Inflector = {
| |- warning: static property 'es' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'es' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'es' 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
10 | let locale = Locale(identifier: "es")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/fr.swift:9:16: warning: static property 'fr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var fr: Inflector = {
| |- warning: static property 'fr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fr' 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
10 | let locale = Locale(identifier: "fr")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/it.swift:10:16: warning: static property 'it' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | // - David Celis (https://github.com/davidcelis)
9 | extension Inflector {
10 | static var it: Inflector = {
| |- warning: static property 'it' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'it' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'it' 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
11 | let locale = Locale(identifier: "it")
12 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/kk.swift:9:16: warning: static property 'kk' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var kk: Inflector = {
| |- warning: static property 'kk' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kk' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kk' 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
10 | let locale = Locale(identifier: "kk")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/la.swift:9:16: warning: static property 'la' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var la: Inflector = {
| |- warning: static property 'la' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'la' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'la' 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
10 | let locale = Locale(identifier: "la")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/nb.swift:9:16: warning: static property 'nb' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var nb: Inflector = {
| |- warning: static property 'nb' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nb' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'nb' 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
10 | let locale = Locale(identifier: "nb")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/pt-BR.swift:9:16: warning: static property 'pt_BR' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var pt_BR: Inflector = {
| |- warning: static property 'pt_BR' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pt_BR' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pt_BR' 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
10 | let locale = Locale(identifier: "en")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/se.swift:11:16: warning: static property 'se' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | // - David Celis (https://github.com/davidcelis)
10 | extension Inflector {
11 | static var se: Inflector = {
| |- warning: static property 'se' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'se' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'se' 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
12 | let locale = Locale(identifier: "se")
13 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/tr.swift:9:16: warning: static property 'tr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var tr: Inflector = {
| |- warning: static property 'tr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tr' 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
10 | let locale = Locale(identifier: "tr")
11 | let inflector = Inflector(locale: locale)
[12/15] Compiling Inflection StringProtocol+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Inflector.swift:31:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Inflector' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A string inflector.
4 | public final class Inflector {
| `- note: class 'Inflector' does not conform to the 'Sendable' protocol
5 |
6 | /// An inflection rule.
:
29 |
30 | /// The default string inflector.
31 | public static let `default`: Inflector = en
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Inflector' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
32 |
33 | /// The default string inflector for the specified locale, if any.
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/en.swift:5:16: warning: static property 'en' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | // Ported from https://github.com/rails/rails
4 | extension Inflector {
5 | static var en: Inflector = {
| |- warning: static property 'en' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'en' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'en' 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
6 | let locale = Locale(identifier: "en")
7 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/az.swift:9:16: warning: static property 'az' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var az: Inflector = {
| |- warning: static property 'az' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'az' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'az' 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
10 | let locale = Locale(identifier: "az")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/es.swift:9:16: warning: static property 'es' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var es: Inflector = {
| |- warning: static property 'es' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'es' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'es' 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
10 | let locale = Locale(identifier: "es")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/fr.swift:9:16: warning: static property 'fr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var fr: Inflector = {
| |- warning: static property 'fr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fr' 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
10 | let locale = Locale(identifier: "fr")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/it.swift:10:16: warning: static property 'it' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | // - David Celis (https://github.com/davidcelis)
9 | extension Inflector {
10 | static var it: Inflector = {
| |- warning: static property 'it' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'it' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'it' 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
11 | let locale = Locale(identifier: "it")
12 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/kk.swift:9:16: warning: static property 'kk' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var kk: Inflector = {
| |- warning: static property 'kk' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kk' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kk' 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
10 | let locale = Locale(identifier: "kk")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/la.swift:9:16: warning: static property 'la' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var la: Inflector = {
| |- warning: static property 'la' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'la' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'la' 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
10 | let locale = Locale(identifier: "la")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/nb.swift:9:16: warning: static property 'nb' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var nb: Inflector = {
| |- warning: static property 'nb' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nb' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'nb' 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
10 | let locale = Locale(identifier: "nb")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/pt-BR.swift:9:16: warning: static property 'pt_BR' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var pt_BR: Inflector = {
| |- warning: static property 'pt_BR' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pt_BR' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pt_BR' 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
10 | let locale = Locale(identifier: "en")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/se.swift:11:16: warning: static property 'se' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | // - David Celis (https://github.com/davidcelis)
10 | extension Inflector {
11 | static var se: Inflector = {
| |- warning: static property 'se' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'se' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'se' 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
12 | let locale = Locale(identifier: "se")
13 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/tr.swift:9:16: warning: static property 'tr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var tr: Inflector = {
| |- warning: static property 'tr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tr' 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
10 | let locale = Locale(identifier: "tr")
11 | let inflector = Inflector(locale: locale)
[13/15] Compiling Inflection Inflector.swift
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Inflector.swift:31:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Inflector' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A string inflector.
4 | public final class Inflector {
| `- note: class 'Inflector' does not conform to the 'Sendable' protocol
5 |
6 | /// An inflection rule.
:
29 |
30 | /// The default string inflector.
31 | public static let `default`: Inflector = en
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Inflector' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
32 |
33 | /// The default string inflector for the specified locale, if any.
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/en.swift:5:16: warning: static property 'en' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | // Ported from https://github.com/rails/rails
4 | extension Inflector {
5 | static var en: Inflector = {
| |- warning: static property 'en' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'en' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'en' 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
6 | let locale = Locale(identifier: "en")
7 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/az.swift:9:16: warning: static property 'az' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var az: Inflector = {
| |- warning: static property 'az' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'az' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'az' 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
10 | let locale = Locale(identifier: "az")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/es.swift:9:16: warning: static property 'es' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var es: Inflector = {
| |- warning: static property 'es' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'es' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'es' 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
10 | let locale = Locale(identifier: "es")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/fr.swift:9:16: warning: static property 'fr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var fr: Inflector = {
| |- warning: static property 'fr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fr' 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
10 | let locale = Locale(identifier: "fr")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/it.swift:10:16: warning: static property 'it' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | // - David Celis (https://github.com/davidcelis)
9 | extension Inflector {
10 | static var it: Inflector = {
| |- warning: static property 'it' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'it' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'it' 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
11 | let locale = Locale(identifier: "it")
12 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/kk.swift:9:16: warning: static property 'kk' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var kk: Inflector = {
| |- warning: static property 'kk' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kk' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kk' 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
10 | let locale = Locale(identifier: "kk")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/la.swift:9:16: warning: static property 'la' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var la: Inflector = {
| |- warning: static property 'la' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'la' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'la' 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
10 | let locale = Locale(identifier: "la")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/nb.swift:9:16: warning: static property 'nb' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var nb: Inflector = {
| |- warning: static property 'nb' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nb' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'nb' 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
10 | let locale = Locale(identifier: "nb")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/pt-BR.swift:9:16: warning: static property 'pt_BR' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var pt_BR: Inflector = {
| |- warning: static property 'pt_BR' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pt_BR' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pt_BR' 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
10 | let locale = Locale(identifier: "en")
11 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/se.swift:11:16: warning: static property 'se' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | // - David Celis (https://github.com/davidcelis)
10 | extension Inflector {
11 | static var se: Inflector = {
| |- warning: static property 'se' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'se' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'se' 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
12 | let locale = Locale(identifier: "se")
13 | let inflector = Inflector(locale: locale)
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/tr.swift:9:16: warning: static property 'tr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var tr: Inflector = {
| |- warning: static property 'tr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tr' 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
10 | let locale = Locale(identifier: "tr")
11 | let inflector = Inflector(locale: locale)
[14/15] Compiling Inflection nb.swift
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/nb.swift:9:16: warning: static property 'nb' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var nb: Inflector = {
| |- warning: static property 'nb' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'nb' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'nb' 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
10 | let locale = Locale(identifier: "nb")
11 | let inflector = Inflector(locale: locale)
[15/15] Compiling Inflection kk.swift
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/kk.swift:9:16: warning: static property 'kk' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var kk: Inflector = {
| |- warning: static property 'kk' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kk' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kk' 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
10 | let locale = Locale(identifier: "kk")
11 | let inflector = Inflector(locale: locale)
[16/16] Compiling Inflection tr.swift
/Users/admin/builder/spi-builder-workspace/Sources/Inflection/Locales/tr.swift:9:16: warning: static property 'tr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | // - David Celis (https://github.com/davidcelis)
8 | extension Inflector {
9 | static var tr: Inflector = {
| |- warning: static property 'tr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tr' 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
10 | let locale = Locale(identifier: "tr")
11 | let inflector = Inflector(locale: locale)
Build complete! (14.37s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Inflection",
"name" : "Inflection",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
}
],
"products" : [
{
"name" : "Inflection",
"targets" : [
"Inflection"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "InflectionTests",
"module_type" : "SwiftTarget",
"name" : "InflectionTests",
"path" : "Tests/InflectionTests",
"sources" : [
"InflectorTests.swift",
"Localization Tests/AzerbaijaniLocalizationTests.swift",
"Localization Tests/BrazillianPortugueseLocalizationTests.swift",
"Localization Tests/EnglishLocalizationTests.swift",
"Localization Tests/FrenchLocalizationTests.swift",
"Localization Tests/ItalianLocalizationTests.swift",
"Localization Tests/KazakhLocalizationTests.swift",
"Localization Tests/LatinLocalizationTests.swift",
"Localization Tests/NorweigianBokmalLocalizationTests.swift",
"Localization Tests/SpanishLocalizationTests.swift",
"Localization Tests/SwedishLocalizationTests.swift",
"Localization Tests/TurkishLocalizationTests.swift",
"StringInflectionTests.swift",
"Supporting Types/LocalizationTestCase.swift"
],
"target_dependencies" : [
"Inflection"
],
"type" : "test"
},
{
"c99name" : "Inflection",
"module_type" : "SwiftTarget",
"name" : "Inflection",
"path" : "Sources/Inflection",
"product_memberships" : [
"Inflection"
],
"sources" : [
"Extensions/StringProtocol+Extensions.swift",
"Inflector.swift",
"Locales/az.swift",
"Locales/en.swift",
"Locales/es.swift",
"Locales/fr.swift",
"Locales/it.swift",
"Locales/kk.swift",
"Locales/la.swift",
"Locales/nb.swift",
"Locales/pt-BR.swift",
"Locales/se.swift",
"Locales/tr.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.