The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CoreKit, reference master (2273a7), with Swift 6.3 for Wasm on 14 Apr 2026 22:12:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/electricbolt/corekit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/10] Compiling CoreKit String+Utility.swift
[4/10] Compiling CoreKit String+Subscript.swift
[5/10] Compiling CoreKit Data+Codec.swift
[6/10] Emitting module CoreKit
/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)'")
[7/10] Compiling CoreKit Currency.swift
[8/11] Compiling CoreKit Money.swift
[9/11] Compiling CoreKit CurrencyManager.swift
/host/spi-builder-workspace/CoreKit/Model/CurrencyManager.swift:24:17: error: cannot find 'pthread_rwlock_unlock' in scope
 22 |      */
 23 |     public func get(code: String) -> Currency? {
 24 |         defer { pthread_rwlock_unlock(&storageLock) }
    |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
 25 |         pthread_rwlock_rdlock(&storageLock)
 26 |         return storage[code]
/host/spi-builder-workspace/CoreKit/Model/CurrencyManager.swift:25:9: error: cannot find 'pthread_rwlock_rdlock' in scope
 23 |     public func get(code: String) -> Currency? {
 24 |         defer { pthread_rwlock_unlock(&storageLock) }
 25 |         pthread_rwlock_rdlock(&storageLock)
    |         `- error: cannot find 'pthread_rwlock_rdlock' in scope
 26 |         return storage[code]
 27 |     }
/host/spi-builder-workspace/CoreKit/Model/CurrencyManager.swift:34:17: error: cannot find 'pthread_rwlock_unlock' in scope
 32 |      */
 33 |     public func add(_ currency: Currency) {
 34 |         defer { pthread_rwlock_unlock(&storageLock) }
    |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
 35 |         pthread_rwlock_wrlock(&storageLock)
 36 |         storage[currency.code] = currency
/host/spi-builder-workspace/CoreKit/Model/CurrencyManager.swift:35:9: error: cannot find 'pthread_rwlock_wrlock' in scope
 33 |     public func add(_ currency: Currency) {
 34 |         defer { pthread_rwlock_unlock(&storageLock) }
 35 |         pthread_rwlock_wrlock(&storageLock)
    |         `- error: cannot find 'pthread_rwlock_wrlock' in scope
 36 |         storage[currency.code] = currency
 37 |     }
/host/spi-builder-workspace/CoreKit/Model/CurrencyManager.swift:44:17: error: cannot find 'pthread_rwlock_unlock' in scope
 42 |      */
 43 |     public func remove(code: String) {
 44 |         defer { pthread_rwlock_unlock(&storageLock) }
    |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
 45 |         pthread_rwlock_wrlock(&storageLock)
 46 |         storage.removeValue(forKey: code)
/host/spi-builder-workspace/CoreKit/Model/CurrencyManager.swift:45:9: error: cannot find 'pthread_rwlock_wrlock' in scope
 43 |     public func remove(code: String) {
 44 |         defer { pthread_rwlock_unlock(&storageLock) }
 45 |         pthread_rwlock_wrlock(&storageLock)
    |         `- error: cannot find 'pthread_rwlock_wrlock' in scope
 46 |         storage.removeValue(forKey: code)
 47 |     }
/host/spi-builder-workspace/CoreKit/Model/CurrencyManager.swift:53:17: error: cannot find 'pthread_rwlock_unlock' in scope
 51 |      */
 52 |     public func removeAll() {
 53 |         defer { pthread_rwlock_unlock(&storageLock) }
    |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
 54 |         pthread_rwlock_wrlock(&storageLock)
 55 |         storage.removeAll()
/host/spi-builder-workspace/CoreKit/Model/CurrencyManager.swift:54:9: error: cannot find 'pthread_rwlock_wrlock' in scope
 52 |     public func removeAll() {
 53 |         defer { pthread_rwlock_unlock(&storageLock) }
 54 |         pthread_rwlock_wrlock(&storageLock)
    |         `- error: cannot find 'pthread_rwlock_wrlock' in scope
 55 |         storage.removeAll()
 56 |     }
/host/spi-builder-workspace/CoreKit/Model/CurrencyManager.swift:62:17: error: cannot find 'pthread_rwlock_unlock' in scope
 60 |      */
 61 |     public func list() -> [Currency] {
 62 |         defer { pthread_rwlock_unlock(&storageLock) }
    |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
 63 |         pthread_rwlock_rdlock(&storageLock)
 64 |         return Array(storage.values).sorted()
/host/spi-builder-workspace/CoreKit/Model/CurrencyManager.swift:63:9: error: cannot find 'pthread_rwlock_rdlock' in scope
 61 |     public func list() -> [Currency] {
 62 |         defer { pthread_rwlock_unlock(&storageLock) }
 63 |         pthread_rwlock_rdlock(&storageLock)
    |         `- error: cannot find 'pthread_rwlock_rdlock' in scope
 64 |         return Array(storage.values).sorted()
 65 |     }
/host/spi-builder-workspace/CoreKit/Model/CurrencyManager.swift:72:9: error: cannot find 'pthread_rwlock_init' in scope
 70 |
 71 |     internal init() {
 72 |         pthread_rwlock_init(&storageLock, nil)
    |         `- error: cannot find 'pthread_rwlock_init' in scope
 73 |         storage = [String: Currency]()
 74 |         populateWithStaticList()
/host/spi-builder-workspace/CoreKit/Model/CurrencyManager.swift:72:43: error: 'nil' requires a contextual type
 70 |
 71 |     internal init() {
 72 |         pthread_rwlock_init(&storageLock, nil)
    |                                           `- error: 'nil' requires a contextual type
 73 |         storage = [String: Currency]()
 74 |         populateWithStaticList()
/host/spi-builder-workspace/CoreKit/Model/CurrencyManager.swift:78:9: error: cannot find 'pthread_rwlock_destroy' in scope
 76 |
 77 |     deinit {
 78 |         pthread_rwlock_destroy(&storageLock)
    |         `- error: cannot find 'pthread_rwlock_destroy' in scope
 79 |     }
 80 |
[10/11] Compiling CoreKit MoneyFormatter.swift
/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)'")
[11/11] Compiling CoreKit DecimalNumberBuilder.swift
BUILD FAILURE 6.3 wasm