The Swift Package Index logo.Swift Package Index

Build Information

Failed to build pulse, reference main (5d95a3), with Swift 6.3 for Wasm on 15 Apr 2026 16:37:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/space-code/pulse.git
Reference: main
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/space-code/pulse
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5d95a31 Bump actions/checkout from 3 to 4 (#2)
Cloned https://github.com/space-code/pulse.git
Revision (git rev-parse @):
5d95a31b08522ac807db72ff944ee813a0bd4651
SUCCESS checkout https://github.com/space-code/pulse.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/space-code/pulse.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
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/6] Compiling Pulse StateMachine.swift
[4/6] Emitting module Pulse
/host/spi-builder-workspace/Sources/Pulse/Classes/Core/SafeStorage.swift:16:29: error: cannot find type 'os_unfair_lock_t' in scope
14 |
15 |     /// A pointer to an `os_unfair_lock`, used for efficient thread synchronization.
16 |     private let unfairLock: os_unfair_lock_t
   |                             `- error: cannot find type 'os_unfair_lock_t' in scope
17 |
18 |     /// The value being safely stored and accessed.
[5/6] Compiling Pulse Debouncer.swift
/host/spi-builder-workspace/Sources/Pulse/Classes/Core/SafeStorage.swift:16:29: error: cannot find type 'os_unfair_lock_t' in scope
14 |
15 |     /// A pointer to an `os_unfair_lock`, used for efficient thread synchronization.
16 |     private let unfairLock: os_unfair_lock_t
   |                             `- error: cannot find type 'os_unfair_lock_t' in scope
17 |
18 |     /// The value being safely stored and accessed.
[6/6] Compiling Pulse SafeStorage.swift
/host/spi-builder-workspace/Sources/Pulse/Classes/Core/SafeStorage.swift:16:29: error: cannot find type 'os_unfair_lock_t' in scope
14 |
15 |     /// A pointer to an `os_unfair_lock`, used for efficient thread synchronization.
16 |     private let unfairLock: os_unfair_lock_t
   |                             `- error: cannot find type 'os_unfair_lock_t' in scope
17 |
18 |     /// The value being safely stored and accessed.
/host/spi-builder-workspace/Sources/Pulse/Classes/Core/SafeStorage.swift:28:23: error: cannot infer contextual base in reference to member 'allocate'
26 |     init(value: T) {
27 |         // Allocate memory for the unfair lock and initialize it.
28 |         unfairLock = .allocate(capacity: 1)
   |                       `- error: cannot infer contextual base in reference to member 'allocate'
29 |         unfairLock.initialize(to: os_unfair_lock())
30 |         self.value = value
/host/spi-builder-workspace/Sources/Pulse/Classes/Core/SafeStorage.swift:29:35: error: cannot find 'os_unfair_lock' in scope
27 |         // Allocate memory for the unfair lock and initialize it.
28 |         unfairLock = .allocate(capacity: 1)
29 |         unfairLock.initialize(to: os_unfair_lock())
   |                                   `- error: cannot find 'os_unfair_lock' in scope
30 |         self.value = value
31 |     }
/host/spi-builder-workspace/Sources/Pulse/Classes/Core/SafeStorage.swift:46:9: error: cannot find 'os_unfair_lock_lock' in scope
44 |     /// - Returns: The current value.
45 |     func get() -> T {
46 |         os_unfair_lock_lock(unfairLock)
   |         `- error: cannot find 'os_unfair_lock_lock' in scope
47 |         defer { os_unfair_lock_unlock(unfairLock) }
48 |         return value
/host/spi-builder-workspace/Sources/Pulse/Classes/Core/SafeStorage.swift:47:17: error: cannot find 'os_unfair_lock_unlock' in scope
45 |     func get() -> T {
46 |         os_unfair_lock_lock(unfairLock)
47 |         defer { os_unfair_lock_unlock(unfairLock) }
   |                 `- error: cannot find 'os_unfair_lock_unlock' in scope
48 |         return value
49 |     }
/host/spi-builder-workspace/Sources/Pulse/Classes/Core/SafeStorage.swift:54:9: error: cannot find 'os_unfair_lock_lock' in scope
52 |     /// - Parameter value: The new value to store.
53 |     func set(value: T) {
54 |         os_unfair_lock_lock(unfairLock)
   |         `- error: cannot find 'os_unfair_lock_lock' in scope
55 |         defer { os_unfair_lock_unlock(unfairLock) }
56 |         self.value = value
/host/spi-builder-workspace/Sources/Pulse/Classes/Core/SafeStorage.swift:55:17: error: cannot find 'os_unfair_lock_unlock' in scope
53 |     func set(value: T) {
54 |         os_unfair_lock_lock(unfairLock)
55 |         defer { os_unfair_lock_unlock(unfairLock) }
   |                 `- error: cannot find 'os_unfair_lock_unlock' in scope
56 |         self.value = value
57 |     }
/host/spi-builder-workspace/Sources/Pulse/Classes/Core/SafeStorage.swift:64:9: error: cannot find 'os_unfair_lock_lock' in scope
62 |     /// - Returns: The result of the closure.
63 |     func apply<R>(block: (inout T) -> R) -> R {
64 |         os_unfair_lock_lock(unfairLock)
   |         `- error: cannot find 'os_unfair_lock_lock' in scope
65 |         defer { os_unfair_lock_unlock(unfairLock) }
66 |         return block(&value)
/host/spi-builder-workspace/Sources/Pulse/Classes/Core/SafeStorage.swift:65:17: error: cannot find 'os_unfair_lock_unlock' in scope
63 |     func apply<R>(block: (inout T) -> R) -> R {
64 |         os_unfair_lock_lock(unfairLock)
65 |         defer { os_unfair_lock_unlock(unfairLock) }
   |                 `- error: cannot find 'os_unfair_lock_unlock' in scope
66 |         return block(&value)
67 |     }
BUILD FAILURE 6.3 wasm