The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build CoreKit, reference master (2273a7), with Swift 5.9 for Linux on 11 Aug 2024 08:31:42 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.49.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/electricbolt/corekit.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/electricbolt/corekit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/electricbolt/corekit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:2fbbf0786de06d5b5ae93c54da051e64b9ddb960e317c9af2272259f6411b6fe
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-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/CoreKitTests/Info.plist
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...
[1/8] Compiling CoreKit MoneyFormatter.swift
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:99:26: error: method does not override any method from its superclass
    public override func attributedString(for obj: Any, withDefaultAttributes attrs: [NSAttributedString.Key : Any]? = nil) -> NSAttributedString? {
           ~~~~~~~~      ^
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:176:48: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
    public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription errorObj: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:176:143: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
    public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription errorObj: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
                                                                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:176:26: error: method does not override any method from its superclass
    public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription errorObj: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
           ~~~~~~~~      ^
[2/9] Compiling CoreKit Money.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Emitting module CoreKit
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:99:26: error: method does not override any method from its superclass
    public override func attributedString(for obj: Any, withDefaultAttributes attrs: [NSAttributedString.Key : Any]? = nil) -> NSAttributedString? {
           ~~~~~~~~      ^
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:176:48: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
    public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription errorObj: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:176:143: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
    public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription errorObj: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
                                                                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/CoreKit/Model/MoneyFormatter.swift:176:26: error: method does not override any method from its superclass
    public override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, errorDescription errorObj: AutoreleasingUnsafeMutablePointer<NSString?>?) -> Bool {
           ~~~~~~~~      ^
[4/9] Compiling CoreKit Data+Codec.swift
[5/9] Compiling CoreKit String+Subscript.swift
[6/9] Compiling CoreKit String+Utility.swift
[7/9] Compiling CoreKit Currency.swift
[8/9] Compiling CoreKit CurrencyManager.swift
[9/9] Compiling CoreKit DecimalNumberBuilder.swift
error: fatalError
BUILD FAILURE 5.9 linux