Build Information
Failed to build pulse, reference main (5d95a3
), with Swift 6.2 (beta) for Android on 22 Jun 2025 23:52:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/space-code/pulse.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
error: compile command failed due to signal 6 (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 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 | }
Failed to reconstruct type for $sXeD
Original type:
(error_type)
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Pass '-Xfrontend -disable-round-trip-debug-types' to disable this assertion.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Pulse/Classes/Core/SafeStorage.swift /host/spi-builder-workspace/Sources/Pulse/Classes/Core/StateMachine.swift -primary-file /host/spi-builder-workspace/Sources/Pulse/Classes/Debouncer.swift -emit-dependencies-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Pulse.build/Debouncer.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Pulse.build/Debouncer.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Pulse.build/Debouncer.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot -I /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Modules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/ModuleCache -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -no-auto-bridging-header-chaining -module-name Pulse -package-name spi_builder_workspace -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Pulse.build/Debouncer.swift.o -index-store-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/index/store -index-system-modules
1. Swift version 6.2-dev (LLVM 74f18b3ab32b72c, Swift 245514cab31b823)
2. Compiling with the current language version
3. While evaluating request IRGenRequest(IR Generation for file "/host/spi-builder-workspace/Sources/Pulse/Classes/Debouncer.swift")
4. While emitting IR SIL function "@$s5Pulse9DebouncerC8duration6outputACyxGs8DurationV_yxYaYbctcfc".
for 'init(duration:output:)' (at /host/spi-builder-workspace/Sources/Pulse/Classes/Debouncer.swift:32:12)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x00005618b7297c58
1 swift-frontend 0x00005618b729577e
2 swift-frontend 0x00005618b72982f1
3 libc.so.6 0x00007f49c694b520
4 libc.so.6 0x00007f49c699f9fc pthread_kill + 300
5 libc.so.6 0x00007f49c694b476 raise + 22
6 libc.so.6 0x00007f49c69317f3 abort + 211
7 swift-frontend 0x00005618afda8fe1
8 swift-frontend 0x00005618afda4e03
9 swift-frontend 0x00005618afdaa177
10 swift-frontend 0x00005618afda761f
11 swift-frontend 0x00005618afda54e5
12 swift-frontend 0x00005618afda9ef8
13 swift-frontend 0x00005618afda761f
14 swift-frontend 0x00005618afda54e5
15 swift-frontend 0x00005618afdaa177
16 swift-frontend 0x00005618afda761f
17 swift-frontend 0x00005618afda54e5
18 swift-frontend 0x00005618afd9e7dd
19 swift-frontend 0x00005618afd9e54c
20 swift-frontend 0x00005618afdd7bf3
21 swift-frontend 0x00005618afdbf750
22 swift-frontend 0x00005618afdbc273
23 swift-frontend 0x00005618afc5567f
24 swift-frontend 0x00005618afacadae
25 swift-frontend 0x00005618afb407dc
26 swift-frontend 0x00005618afb40739
27 swift-frontend 0x00005618afad5404
28 swift-frontend 0x00005618afacd668
29 swift-frontend 0x00005618af6384a6
30 swift-frontend 0x00005618af633f95
31 swift-frontend 0x00005618af632c5e
32 swift-frontend 0x00005618af6447da
33 swift-frontend 0x00005618af635bbe
34 swift-frontend 0x00005618af634c5c
35 swift-frontend 0x00005618af3b05ab
36 libc.so.6 0x00007f49c6932d90
37 libc.so.6 0x00007f49c6932e40 __libc_start_main + 128
38 swift-frontend 0x00005618af3af5a5
BUILD FAILURE 6.2 android