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

Failed to build SwiftLocaleKit, reference 1.5.3 (b75d24), with Swift 6.0 for Linux on 22 Jan 2025 21:37:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FuturraGroup/SwiftLocaleKit.git
Reference: 1.5.3
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
 * tag               1.5.3      -> FETCH_HEAD
HEAD is now at b75d240 Updated iOS minimum target
Cloned https://github.com/FuturraGroup/SwiftLocaleKit.git
Revision (git rev-parse @):
b75d2403b00f995365b8ad70cca04d8796d6637e
SUCCESS checkout https://github.com/FuturraGroup/SwiftLocaleKit.git at 1.5.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
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
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftLocaleKit",
  "name" : "SwiftLocaleKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftLocaleKit",
      "targets" : [
        "SwiftLocaleKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftLocaleKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLocaleKitTests",
      "path" : "Tests/SwiftLocaleKitTests",
      "sources" : [
        "SwiftLocaleKitTests.swift"
      ],
      "target_dependencies" : [
        "SwiftLocaleKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftLocaleKit",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLocaleKit",
      "path" : "Sources/SwiftLocaleKit",
      "product_memberships" : [
        "SwiftLocaleKit"
      ],
      "sources" : [
        "Extensions/Foundation/Bundle.swift",
        "Extensions/Foundation/String.swift",
        "Extensions/Foundation/UserDefaults.swift",
        "Models/LocaleKitLanguage.swift",
        "SwiftLocaleKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling SwiftLocaleKit LocaleKitLanguage.swift
/host/spi-builder-workspace/Sources/SwiftLocaleKit/SwiftLocaleKit.swift:9: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
 6 | @available(swift 5.5)
 7 | @available(macOS 10.15, iOS 12, watchOS 6, tvOS 13, *)
 8 | public final class LocaleKit {
   |                    `- note: class 'LocaleKit' does not conform to the 'Sendable' protocol
 9 | 	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: annotate 'shared' 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 |
11 | 	private init() {
[4/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: annotate 'LocaleKitStorage' 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
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 | 	}
[5/8] Compiling SwiftLocaleKit String.swift
[6/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: annotate 'LocaleKitStorage' 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
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:9: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
 6 | @available(swift 5.5)
 7 | @available(macOS 10.15, iOS 12, watchOS 6, tvOS 13, *)
 8 | public final class LocaleKit {
   |                    `- note: class 'LocaleKit' does not conform to the 'Sendable' protocol
 9 | 	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: annotate 'shared' 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 |
11 | 	private init() {
[7/8] Compiling SwiftLocaleKit Bundle.swift
/host/spi-builder-workspace/Sources/SwiftLocaleKit/SwiftLocaleKit.swift:9: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
 6 | @available(swift 5.5)
 7 | @available(macOS 10.15, iOS 12, watchOS 6, tvOS 13, *)
 8 | public final class LocaleKit {
   |                    `- note: class 'LocaleKit' does not conform to the 'Sendable' protocol
 9 | 	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: annotate 'shared' 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 |
11 | 	private init() {
[8/8] Compiling SwiftLocaleKit SwiftLocaleKit.swift
/host/spi-builder-workspace/Sources/SwiftLocaleKit/SwiftLocaleKit.swift:9: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
 6 | @available(swift 5.5)
 7 | @available(macOS 10.15, iOS 12, watchOS 6, tvOS 13, *)
 8 | public final class LocaleKit {
   |                    `- note: class 'LocaleKit' does not conform to the 'Sendable' protocol
 9 | 	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: annotate 'shared' 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 |
11 | 	private init() {
/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: annotate 'LocaleKitStorage' 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
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()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling SwiftLocaleKit Bundle.swift
[3/7] Emitting module SwiftLocaleKit
[4/7] Compiling SwiftLocaleKit LocaleKitLanguage.swift
[5/7] Compiling SwiftLocaleKit String.swift
[6/7] Compiling SwiftLocaleKit SwiftLocaleKit.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.0 linux