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 CoreKit, reference 1.0.5 (2273a7), with Swift 6.0 for Linux on 1 Dec 2024 13:22:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/electricbolt/corekit.git
Reference: 1.0.5
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/electricbolt/corekit
 * tag               1.0.5      -> FETCH_HEAD
HEAD is now at 2273a76 Update to Xcode 15.4, Swift 5.10, iOS 13 minimum deployment target
Cloned https://github.com/electricbolt/corekit.git
Revision (git rev-parse @):
2273a76bd68fc68606d079e55c8c7299cfd611f4
SUCCESS checkout https://github.com/electricbolt/corekit.git at 1.0.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/electricbolt/corekit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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/CoreKit/Info.plist
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling CoreKit String+Utility.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/11] Compiling CoreKit String+Subscript.swift
[5/11] Emitting module CoreKit
/host/spi-builder-workspace/CoreKit/Foundation/Data+Codec.swift:37:20: warning: static property 'upperCase' is not concurrency-safe because non-'Sendable' type 'Data.HexEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
33 |     }
34 |
35 |     struct HexEncodingOptions: OptionSet {
   |            `- note: consider making struct 'HexEncodingOptions' conform to the 'Sendable' protocol
36 |
37 |         static let upperCase = HexEncodingOptions(rawValue: 1 << 0)
   |                    |- warning: static property 'upperCase' is not concurrency-safe because non-'Sendable' type 'Data.HexEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'upperCase' 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
38 |
39 |         public let rawValue: Int
/host/spi-builder-workspace/CoreKit/Model/CurrencyManager.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CurrencyManager' may have shared mutable state; this is an error in the Swift 6 language mode
 11 |  */
 12 |
 13 | public class CurrencyManager {
    |              `- note: class 'CurrencyManager' does not conform to the 'Sendable' protocol
 14 |
 15 |     /**
 16 |      The shared currency manager object for the process. This method always represents the same currency manager object.
 17 |      */
 18 |     public static let shared = CurrencyManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CurrencyManager' 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
 19 |
 20 |     /**
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:45:23: warning: static property 'defaultAccessibilityPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |      currency. The defaultAccessibilityPrefix currency is NZD.
 44 |      */
 45 |     public static var defaultAccessibilityPrefix: Currency? = {
    |                       |- warning: static property 'defaultAccessibilityPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultAccessibilityPrefix' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'defaultAccessibilityPrefix' 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
 46 |         return CurrencyManager.shared.get(code: "NZD")
 47 |     }()
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:99:26: error: method does not override any method from its superclass
 97 |      Not currently implemented - returns nil.
 98 |      */
 99 |     public override func attributedString(for obj: Any, withDefaultAttributes attrs: [NSAttributedString.Key : Any]? = nil) -> NSAttributedString? {
    |                          `- error: method does not override any method from its superclass
100 |         return nil
101 |     }
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:176:48: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
174 |      - Returns: true if the string was parsed correctly, or false if an error occured.
175 |      */
176 |     public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription errorObj: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
    |                                                `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
177 |         if currency == nil {
178 |             errorObj?.pointee = NSString(utf8String: "No currency object configured for input string '\(string)'")
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:176:143: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
174 |      - Returns: true if the string was parsed correctly, or false if an error occured.
175 |      */
176 |     public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription errorObj: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
    |                                                                                                                                               `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
177 |         if currency == nil {
178 |             errorObj?.pointee = NSString(utf8String: "No currency object configured for input string '\(string)'")
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:176:26: error: method does not override any method from its superclass
174 |      - Returns: true if the string was parsed correctly, or false if an error occured.
175 |      */
176 |     public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription errorObj: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
    |                          `- error: method does not override any method from its superclass
177 |         if currency == nil {
178 |             errorObj?.pointee = NSString(utf8String: "No currency object configured for input string '\(string)'")
[6/11] Compiling CoreKit MoneyFormatter.swift
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:45:23: warning: static property 'defaultAccessibilityPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |      currency. The defaultAccessibilityPrefix currency is NZD.
 44 |      */
 45 |     public static var defaultAccessibilityPrefix: Currency? = {
    |                       |- warning: static property 'defaultAccessibilityPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultAccessibilityPrefix' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'defaultAccessibilityPrefix' 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
 46 |         return CurrencyManager.shared.get(code: "NZD")
 47 |     }()
/host/spi-builder-workspace/CoreKit/Model/CurrencyManager.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CurrencyManager' may have shared mutable state; this is an error in the Swift 6 language mode
 11 |  */
 12 |
 13 | public class CurrencyManager {
    |              `- note: class 'CurrencyManager' does not conform to the 'Sendable' protocol
 14 |
 15 |     /**
 16 |      The shared currency manager object for the process. This method always represents the same currency manager object.
 17 |      */
 18 |     public static let shared = CurrencyManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CurrencyManager' 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
 19 |
 20 |     /**
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:99:26: error: method does not override any method from its superclass
 97 |      Not currently implemented - returns nil.
 98 |      */
 99 |     public override func attributedString(for obj: Any, withDefaultAttributes attrs: [NSAttributedString.Key : Any]? = nil) -> NSAttributedString? {
    |                          `- error: method does not override any method from its superclass
100 |         return nil
101 |     }
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:176:48: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
174 |      - Returns: true if the string was parsed correctly, or false if an error occured.
175 |      */
176 |     public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription errorObj: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
    |                                                `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
177 |         if currency == nil {
178 |             errorObj?.pointee = NSString(utf8String: "No currency object configured for input string '\(string)'")
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:176:143: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
174 |      - Returns: true if the string was parsed correctly, or false if an error occured.
175 |      */
176 |     public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription errorObj: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
    |                                                                                                                                               `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
177 |         if currency == nil {
178 |             errorObj?.pointee = NSString(utf8String: "No currency object configured for input string '\(string)'")
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:176:26: error: method does not override any method from its superclass
174 |      - Returns: true if the string was parsed correctly, or false if an error occured.
175 |      */
176 |     public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription errorObj: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
    |                          `- error: method does not override any method from its superclass
177 |         if currency == nil {
178 |             errorObj?.pointee = NSString(utf8String: "No currency object configured for input string '\(string)'")
[7/11] Compiling CoreKit Currency.swift
[8/11] Compiling CoreKit CurrencyManager.swift
/host/spi-builder-workspace/CoreKit/Model/CurrencyManager.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CurrencyManager' may have shared mutable state; this is an error in the Swift 6 language mode
 11 |  */
 12 |
 13 | public class CurrencyManager {
    |              `- note: class 'CurrencyManager' does not conform to the 'Sendable' protocol
 14 |
 15 |     /**
 16 |      The shared currency manager object for the process. This method always represents the same currency manager object.
 17 |      */
 18 |     public static let shared = CurrencyManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CurrencyManager' 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
 19 |
 20 |     /**
[9/11] Compiling CoreKit Data+Codec.swift
/host/spi-builder-workspace/CoreKit/Foundation/Data+Codec.swift:37:20: warning: static property 'upperCase' is not concurrency-safe because non-'Sendable' type 'Data.HexEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
33 |     }
34 |
35 |     struct HexEncodingOptions: OptionSet {
   |            `- note: consider making struct 'HexEncodingOptions' conform to the 'Sendable' protocol
36 |
37 |         static let upperCase = HexEncodingOptions(rawValue: 1 << 0)
   |                    |- warning: static property 'upperCase' is not concurrency-safe because non-'Sendable' type 'Data.HexEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: annotate 'upperCase' 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
38 |
39 |         public let rawValue: Int
[10/11] Compiling CoreKit Money.swift
[11/11] Compiling CoreKit DecimalNumberBuilder.swift
BUILD FAILURE 6.0 linux