The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BlackBox, reference 6.1.0 (a72ddb), with Swift 6.3 for Wasm on 30 Sep 2026 08:02:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dodobrands/BlackBox.git
Reference: 6.1.0
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/dodobrands/BlackBox
 * tag               6.1.0      -> FETCH_HEAD
HEAD is now at a72ddba Let errors provide their own log message (#102)
Cloned https://github.com/dodobrands/BlackBox.git
Revision (git rev-parse @):
a72ddba66a6a4b6f39c1acb20137d0ccbcedb724
SUCCESS checkout https://github.com/dodobrands/BlackBox.git at 6.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/dodobrands/BlackBox.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/dodobrands/DBThreadSafe-ios.git
[1/386] Fetching dbthreadsafe-ios
Fetched https://github.com/dodobrands/DBThreadSafe-ios.git from cache (0.42s)
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.20s)
Computing version for https://github.com/dodobrands/DBThreadSafe-ios.git
Computed https://github.com/dodobrands/DBThreadSafe-ios.git at 3.1.0 (1.37s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.90s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3832] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.72s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.94s)
Creating working copy for https://github.com/dodobrands/DBThreadSafe-ios.git
Working copy of https://github.com/dodobrands/DBThreadSafe-ios.git resolved at 3.1.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/12] Compiling DBThreadSafe ThreadSafe.swift
[8/12] Compiling DBThreadSafe Lock.swift
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:112:22: error: cannot find 'pthread_rwlock_init' in scope
110 |
111 |     init() {
112 |         precondition(pthread_rwlock_init(lock, nil) == 0, "Failed to initialize the lock")
    |                      `- error: cannot find 'pthread_rwlock_init' in scope
113 |     }
114 |
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:112:48: error: 'nil' requires a contextual type
110 |
111 |     init() {
112 |         precondition(pthread_rwlock_init(lock, nil) == 0, "Failed to initialize the lock")
    |                                                `- error: 'nil' requires a contextual type
113 |     }
114 |
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:116:9: error: cannot find 'pthread_rwlock_rdlock' in scope
114 |
115 |     func readLock() {
116 |         pthread_rwlock_rdlock(lock)
    |         `- error: cannot find 'pthread_rwlock_rdlock' in scope
117 |     }
118 |
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:120:9: error: cannot find 'pthread_rwlock_wrlock' in scope
118 |
119 |     func writeLock() {
120 |         pthread_rwlock_wrlock(lock)
    |         `- error: cannot find 'pthread_rwlock_wrlock' in scope
121 |     }
122 |
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:124:9: error: cannot find 'pthread_rwlock_unlock' in scope
122 |
123 |     func unlock() {
124 |         pthread_rwlock_unlock(lock)
    |         `- error: cannot find 'pthread_rwlock_unlock' in scope
125 |     }
126 |
/host/spi-builder-workspace/.build/checkouts/DBThreadSafe-ios/Sources/DBThreadSafe/Lock.swift:128:22: error: cannot find 'pthread_rwlock_destroy' in scope
126 |
127 |     deinit {
128 |         precondition(pthread_rwlock_destroy(lock) == 0, "Failed to destroy the lock")
    |                      `- error: cannot find 'pthread_rwlock_destroy' in scope
129 |
130 |         lock.deallocate()
[9/12] Emitting module DBThreadSafe
[10/12] Compiling DBThreadSafe DBThreadSafeWeakContainer.swift
[11/12] Compiling DBThreadSafe DBThreadSafeContainer.swift
[12/12] Compiling DBThreadSafe DBThreadSafeLock.swift
BUILD FAILURE 6.3 wasm