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 ISO639, reference master (92cb77), with Swift 6.1 for Android on 28 May 2025 06:56:58 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftPackageRepository/ISO639.swift.git
Reference: master
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/SwiftPackageRepository/ISO639.swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 92cb77c added base ukraine
Cloned https://github.com/SwiftPackageRepository/ISO639.swift.git
Revision (git rev-parse @):
92cb77c9b0da6ec1d9ad5fd8043257c90ccc0a65
SUCCESS checkout https://github.com/SwiftPackageRepository/ISO639.swift.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SwiftPackageRepository/ISO639.swift.git
https://github.com/SwiftPackageRepository/ISO639.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "ISO639",
  "name" : "ISO639",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "ISO639",
      "targets" : [
        "ISO639"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ISO639Tests",
      "module_type" : "SwiftTarget",
      "name" : "ISO639Tests",
      "path" : "Tests/ISO639Tests",
      "sources" : [
        "GenerateResourcesTests.swift",
        "LanguageCharactersTests.swift",
        "LanguageTests.swift",
        "String+ExtensionsTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ISO639"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ISO639",
      "module_type" : "SwiftTarget",
      "name" : "ISO639",
      "path" : "Sources/ISO639",
      "product_memberships" : [
        "ISO639"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/bg.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "bg"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/cs.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "cs"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/da.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "da"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/de.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "de"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/el.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "el"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/es.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "es"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/fi.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "fi"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/fr.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "fr"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/it.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "it"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/ja.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ja"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/lv.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "lv"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/nl.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "nl"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/pl.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "pl"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/pt.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "pt"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/ro.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ro"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/ru.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ru"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/uk.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "uk"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/zh.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh"
            }
          }
        }
      ],
      "sources" : [
        "Character+Extensions.swift",
        "CharacterArray+Extensions.swift",
        "ISO639Alpha1.swift",
        "ISO639Alpha2.swift",
        "Language+All.swift",
        "Language+Extensions.swift",
        "Language.swift",
        "LanguageArray+Extensions.swift",
        "LanguageSymbols+Characters.swift",
        "LanguageSymbols.swift",
        "LanguageSymbols/ChineseLanguageSymbols.swift",
        "LanguageSymbols/JapaneseLanguageSymbols.swift",
        "LetterCase.swift",
        "LocaleHelper.swift",
        "String+Extensions.swift",
        "WritingSystem.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/ISO639/Resources/Localizable.strings
Building for debugging...
[0/22] Write sources
[1/22] Copying Localizable.strings
[10/22] Copying Info.plist
[13/22] Copying Localizable.strings
[21/22] Write swift-version-24593BA9C3E375BF.txt
[23/38] Compiling ISO639 LocaleHelper.swift
/host/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:11:23: warning: static property 'currentLanguageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | internal struct LocaleHelper {
11 |     public static var currentLanguageCode: String? = Locale.current.languageCode?.cutLanguageCode()
   |                       |- warning: static property 'currentLanguageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'currentLanguageCode' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'currentLanguageCode' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static var preferredLanguageCodes: [String] = Locale.preferredLanguages.map { $0.cutLanguageCode() }
13 | }
/host/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:12:23: warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | internal struct LocaleHelper {
11 |     public static var currentLanguageCode: String? = Locale.current.languageCode?.cutLanguageCode()
12 |     public static var preferredLanguageCodes: [String] = Locale.preferredLanguages.map { $0.cutLanguageCode() }
   |                       |- warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'preferredLanguageCodes' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'preferredLanguageCodes' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
[24/38] Compiling ISO639 String+Extensions.swift
/host/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:11:23: warning: static property 'currentLanguageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | internal struct LocaleHelper {
11 |     public static var currentLanguageCode: String? = Locale.current.languageCode?.cutLanguageCode()
   |                       |- warning: static property 'currentLanguageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'currentLanguageCode' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'currentLanguageCode' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static var preferredLanguageCodes: [String] = Locale.preferredLanguages.map { $0.cutLanguageCode() }
13 | }
/host/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:12:23: warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | internal struct LocaleHelper {
11 |     public static var currentLanguageCode: String? = Locale.current.languageCode?.cutLanguageCode()
12 |     public static var preferredLanguageCodes: [String] = Locale.preferredLanguages.map { $0.cutLanguageCode() }
   |                       |- warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'preferredLanguageCodes' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'preferredLanguageCodes' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
[25/40] Compiling ISO639 JapaneseLanguageSymbols.swift
[26/40] Compiling ISO639 LetterCase.swift
[27/40] Compiling ISO639 LanguageArray+Extensions.swift
[28/40] Compiling ISO639 LanguageSymbols+Characters.swift
[29/40] Compiling ISO639 ISO639Alpha2.swift
[30/40] Compiling ISO639 Language+All.swift
[31/40] Compiling ISO639 Language+Extensions.swift
[32/40] Compiling ISO639 Language.swift
[33/40] Compiling ISO639 LanguageSymbols.swift
[34/40] Compiling ISO639 ChineseLanguageSymbols.swift
[35/40] Emitting module ISO639
/host/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:11:23: warning: static property 'currentLanguageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | internal struct LocaleHelper {
11 |     public static var currentLanguageCode: String? = Locale.current.languageCode?.cutLanguageCode()
   |                       |- warning: static property 'currentLanguageCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'currentLanguageCode' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'currentLanguageCode' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static var preferredLanguageCodes: [String] = Locale.preferredLanguages.map { $0.cutLanguageCode() }
13 | }
/host/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:12:23: warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | internal struct LocaleHelper {
11 |     public static var currentLanguageCode: String? = Locale.current.languageCode?.cutLanguageCode()
12 |     public static var preferredLanguageCodes: [String] = Locale.preferredLanguages.map { $0.cutLanguageCode() }
   |                       |- warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'preferredLanguageCodes' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'preferredLanguageCodes' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
[36/40] Compiling ISO639 Character+Extensions.swift
[37/40] Compiling ISO639 CharacterArray+Extensions.swift
[38/40] Compiling ISO639 ISO639Alpha1.swift
[39/40] Compiling ISO639 WritingSystem.swift
[40/40] Compiling ISO639 resource_bundle_accessor.swift
Build complete! (11.67s)
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "ISO639",
  "name" : "ISO639",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "ISO639",
      "targets" : [
        "ISO639"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ISO639Tests",
      "module_type" : "SwiftTarget",
      "name" : "ISO639Tests",
      "path" : "Tests/ISO639Tests",
      "sources" : [
        "GenerateResourcesTests.swift",
        "LanguageCharactersTests.swift",
        "LanguageTests.swift",
        "String+ExtensionsTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ISO639"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ISO639",
      "module_type" : "SwiftTarget",
      "name" : "ISO639",
      "path" : "Sources/ISO639",
      "product_memberships" : [
        "ISO639"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/bg.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "bg"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/cs.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "cs"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/da.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "da"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/de.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "de"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/el.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "el"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/es.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "es"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/fi.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "fi"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/fr.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "fr"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/it.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "it"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/ja.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ja"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/lv.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "lv"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/nl.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "nl"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/pl.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "pl"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/pt.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "pt"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/ro.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ro"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/ru.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ru"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/uk.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "uk"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/zh.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh"
            }
          }
        }
      ],
      "sources" : [
        "Character+Extensions.swift",
        "CharacterArray+Extensions.swift",
        "ISO639Alpha1.swift",
        "ISO639Alpha2.swift",
        "Language+All.swift",
        "Language+Extensions.swift",
        "Language.swift",
        "LanguageArray+Extensions.swift",
        "LanguageSymbols+Characters.swift",
        "LanguageSymbols.swift",
        "LanguageSymbols/ChineseLanguageSymbols.swift",
        "LanguageSymbols/JapaneseLanguageSymbols.swift",
        "LetterCase.swift",
        "LocaleHelper.swift",
        "String+Extensions.swift",
        "WritingSystem.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.