The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftLocaleKit, reference main (349692), with Swift 6.1 for Linux on 7 Jul 2026 06:46:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FuturraGroup/SwiftLocaleKit.git
Reference: main
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/FuturraGroup/SwiftLocaleKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 349692b Made language equality strict full-code identity and added isSameLanguageFamily(as:) for short-code (family) matching. A region-decorated preferred language (e.g. en-GB) no longer compares equal to a different region of the same language (en-UA), which fixes duplicate "selected" highlighting when several preferred entries share a short code. Made selectedAppLocale deterministic — it resolves to exactly one language (exact full code, otherwise the first same-family match with preferred entries first, otherwise English) and is always an element of sortedLanguages. Reworked sortedLanguages and the system/default seed checks to use explicit family matching, preserving the existing list output. Added Hashable conformance consistent with the strict equality, and unit tests for the resolution. Bumped version to 1.6.3.
Cloned https://github.com/FuturraGroup/SwiftLocaleKit.git
Revision (git rev-parse @):
349692b394bab5529fb4c094b3efb42cfff9bce1
SUCCESS checkout https://github.com/FuturraGroup/SwiftLocaleKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/FuturraGroup/SwiftLocaleKit.git
https://github.com/FuturraGroup/SwiftLocaleKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Emitting module SwiftLocaleKit
/host/spi-builder-workspace/Sources/SwiftLocaleKit/Extensions/Foundation/UserDefaults.swift:18:12: warning: let 'LocaleKitStorage' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
16 | @available(swift 5.5)
17 | @available(macOS 10.15, iOS 12, watchOS 6, tvOS 13, *)
18 | public let LocaleKitStorage = { () -> UserDefaults in
   |            |- warning: let 'LocaleKitStorage' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'LocaleKitStorage' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | 	var localeKitBundleId = Bundle.main.bundleIdentifier ?? "locale.kit.lib"
20 | 	localeKitBundleId += ".storage"
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 1 | open class UserDefaults : NSObject {
   |            `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 2 |     open class var standard: UserDefaults { get }
 3 |     open class func resetStandardUserDefaults()
/host/spi-builder-workspace/Sources/SwiftLocaleKit/SwiftLocaleKit.swift:13:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LocaleKit' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | @available(swift 5.5)
 11 | @available(macOS 10.15, iOS 12, watchOS 6, tvOS 13, *)
 12 | public final class LocaleKit {
    |                    `- note: class 'LocaleKit' does not conform to the 'Sendable' protocol
 13 | 	public static let shared = LocaleKit()
    |                    |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LocaleKit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 | 	/// Fallback language used when the device's first preferred language is not one of the
/host/spi-builder-workspace/Sources/SwiftLocaleKit/SwiftLocaleKit.swift:18:21: warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 | 	/// app's supported localizations. Set it through `configure(defaultLanguage:)` as early as
 17 | 	/// possible — before the first access to `shared`.
 18 | 	private static var defaultLanguage: LocaleKitLanguage?
    |                     |- warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'defaultLanguage' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'defaultLanguage' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 | 	private init() {
[4/8] Compiling SwiftLocaleKit String.swift
[5/8] Compiling SwiftLocaleKit Bundle.swift
[6/8] Compiling SwiftLocaleKit LocaleKitLanguage.swift
/host/spi-builder-workspace/Sources/SwiftLocaleKit/Models/LocaleKitLanguage.swift:44:26: warning: 'characterDirection(forLanguage:)' is deprecated: Use `Locale.Language(identifier:).characterDirection`
42 | 	/// Text/character direction of this language. Unknown directions default to `.leftToRight`.
43 | 	public var characterDirection: Locale.LanguageDirection {
44 | 		let direction = Locale.characterDirection(forLanguage: code)
   |                          `- warning: 'characterDirection(forLanguage:)' is deprecated: Use `Locale.Language(identifier:).characterDirection`
45 | 		switch direction {
46 | 		case .leftToRight, .rightToLeft:
[7/8] Compiling SwiftLocaleKit SwiftLocaleKit.swift
/host/spi-builder-workspace/Sources/SwiftLocaleKit/SwiftLocaleKit.swift:13:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LocaleKit' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | @available(swift 5.5)
 11 | @available(macOS 10.15, iOS 12, watchOS 6, tvOS 13, *)
 12 | public final class LocaleKit {
    |                    `- note: class 'LocaleKit' does not conform to the 'Sendable' protocol
 13 | 	public static let shared = LocaleKit()
    |                    |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LocaleKit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 | 	/// Fallback language used when the device's first preferred language is not one of the
/host/spi-builder-workspace/Sources/SwiftLocaleKit/SwiftLocaleKit.swift:18:21: warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 | 	/// app's supported localizations. Set it through `configure(defaultLanguage:)` as early as
 17 | 	/// possible — before the first access to `shared`.
 18 | 	private static var defaultLanguage: LocaleKitLanguage?
    |                     |- warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'defaultLanguage' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'defaultLanguage' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 | 	private init() {
[8/8] Compiling SwiftLocaleKit UserDefaults.swift
/host/spi-builder-workspace/Sources/SwiftLocaleKit/Extensions/Foundation/UserDefaults.swift:18:12: warning: let 'LocaleKitStorage' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
16 | @available(swift 5.5)
17 | @available(macOS 10.15, iOS 12, watchOS 6, tvOS 13, *)
18 | public let LocaleKitStorage = { () -> UserDefaults in
   |            |- warning: let 'LocaleKitStorage' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'LocaleKitStorage' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | 	var localeKitBundleId = Bundle.main.bundleIdentifier ?? "locale.kit.lib"
20 | 	localeKitBundleId += ".storage"
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 1 | open class UserDefaults : NSObject {
   |            `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 2 |     open class var standard: UserDefaults { get }
 3 |     open class func resetStandardUserDefaults()
/host/spi-builder-workspace/Sources/SwiftLocaleKit/Extensions/Foundation/UserDefaults.swift:29:14: error: value of type 'UserDefaults' has no member 'value'
27 | public extension UserDefaults {
28 | 	private(set) var systemLocaleUpdateDate: Date? {
29 | 		get { self.value(forKey: lastUpdateSystemLocaleKey) as? Date }
   |              `- error: value of type 'UserDefaults' has no member 'value'
30 | 		set { self.set(newValue, forKey: lastUpdateSystemLocaleKey) }
31 | 	}
/host/spi-builder-workspace/Sources/SwiftLocaleKit/Extensions/Foundation/UserDefaults.swift:42:14: error: value of type 'UserDefaults' has no member 'value'
40 |
41 | 	private(set) var appLocaleUpdateDate: Date? {
42 | 		get { self.value(forKey: lastUpdateAppLocaleKey) as? Date }
   |              `- error: value of type 'UserDefaults' has no member 'value'
43 | 		set { self.set(newValue, forKey: lastUpdateAppLocaleKey) }
44 | 	}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Emitting module SwiftLocaleKit
[3/7] Compiling SwiftLocaleKit String.swift
[4/7] Compiling SwiftLocaleKit LocaleKitLanguage.swift
/host/spi-builder-workspace/Sources/SwiftLocaleKit/Models/LocaleKitLanguage.swift:44:26: warning: 'characterDirection(forLanguage:)' is deprecated: Use `Locale.Language(identifier:).characterDirection`
42 | 	/// Text/character direction of this language. Unknown directions default to `.leftToRight`.
43 | 	public var characterDirection: Locale.LanguageDirection {
44 | 		let direction = Locale.characterDirection(forLanguage: code)
   |                          `- warning: 'characterDirection(forLanguage:)' is deprecated: Use `Locale.Language(identifier:).characterDirection`
45 | 		switch direction {
46 | 		case .leftToRight, .rightToLeft:
[5/7] Compiling SwiftLocaleKit SwiftLocaleKit.swift
[6/7] Compiling SwiftLocaleKit Bundle.swift
[7/7] Compiling SwiftLocaleKit UserDefaults.swift
/host/spi-builder-workspace/Sources/SwiftLocaleKit/Extensions/Foundation/UserDefaults.swift:29:14: error: value of type 'UserDefaults' has no member 'value'
27 | public extension UserDefaults {
28 | 	private(set) var systemLocaleUpdateDate: Date? {
29 | 		get { self.value(forKey: lastUpdateSystemLocaleKey) as? Date }
   |              `- error: value of type 'UserDefaults' has no member 'value'
30 | 		set { self.set(newValue, forKey: lastUpdateSystemLocaleKey) }
31 | 	}
/host/spi-builder-workspace/Sources/SwiftLocaleKit/Extensions/Foundation/UserDefaults.swift:42:14: error: value of type 'UserDefaults' has no member 'value'
40 |
41 | 	private(set) var appLocaleUpdateDate: Date? {
42 | 		get { self.value(forKey: lastUpdateAppLocaleKey) as? Date }
   |              `- error: value of type 'UserDefaults' has no member 'value'
43 | 		set { self.set(newValue, forKey: lastUpdateAppLocaleKey) }
44 | 	}
BUILD FAILURE 6.1 linux